osi-dump 0.1.3.3.2.7__py3-none-any.whl → 0.1.3.3.2.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,12 +50,15 @@ class OpenStackImageImporter(ImageImporter):
50
50
 
51
51
  def _get_image_info(self, os_image: OSImage) -> Image:
52
52
 
53
- properties: dict = os_image.properties
54
-
55
- properties.pop("owner_specified.openstack.md5", None)
56
- properties.pop("owner_specified.openstack.sha256", None)
57
- properties.pop("owner_specified.openstack.object", None)
58
- properties.pop("stores", None)
53
+ try:
54
+ properties: dict = os_image.properties
55
+
56
+ properties.pop("owner_specified.openstack.md5", None)
57
+ properties.pop("owner_specified.openstack.sha256", None)
58
+ properties.pop("owner_specified.openstack.object", None)
59
+ properties.pop("stores", None)
60
+ except Exception as e:
61
+ logger.warn(f"properties for {os_image.id} is None")
59
62
 
60
63
  image = Image(
61
64
  image_id=os_image.id,
@@ -35,7 +35,7 @@ class OpenStackInstanceImporter(InstanceImporter):
35
35
  )
36
36
  except Exception as e:
37
37
  raise Exception(
38
- f"Can not fetch instances for {self.connection.auth['auth_url']}"
38
+ f"Can not fetch instances for {self.connection.auth['auth_url']}: {e}"
39
39
  ) from e
40
40
 
41
41
  instances: list[Instance] = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: osi-dump
3
- Version: 0.1.3.3.2.7
3
+ Version: 0.1.3.3.2.9
4
4
  Summary: OpenStack information dump tool
5
5
  Author: TVKain
6
6
  License: Apache-2.0
@@ -66,10 +66,10 @@ osi_dump/importer/hypervisor/hypervisor_importer.py,sha256=JuoJBltqFYhH-Ql9TLUPH
66
66
  osi_dump/importer/hypervisor/openstack_hypervisor_importer.py,sha256=lVxVGWKNlNAPhEHC_nWg9cxIGz8Lv6AVQXwIgQsWnP0,3923
67
67
  osi_dump/importer/image/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
68
  osi_dump/importer/image/image_importer.py,sha256=6zwAMnS58S2HGwARwebqf4VE9IBQBv5Ot6nmcn9H4fY,181
69
- osi_dump/importer/image/openstack_image_importer.py,sha256=ffc13qnIGu07OXnIPaKiVxGdufep82RfQoKqLb1bwHc,2455
69
+ osi_dump/importer/image/openstack_image_importer.py,sha256=dqQAsNDPljTDN82YPEjBbPDjvLOCtad_hgRWhIpCWXw,2585
70
70
  osi_dump/importer/instance/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
71
71
  osi_dump/importer/instance/instance_importer.py,sha256=TaaPgEFVVMRT3mSXrzQkSaSIBPBwwANpEaWCgRsgImc,196
72
- osi_dump/importer/instance/openstack_instance_importer.py,sha256=D-Q9AIN81g2GW-SRWpKxBeagxvJvhN_AumSt5WGQrEc,4244
72
+ osi_dump/importer/instance/openstack_instance_importer.py,sha256=HvA1hYLAneY0KtDTk7nz6TWXNGO5s6EOp7Hrm7-FxHI,4249
73
73
  osi_dump/importer/load_balancer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
74
74
  osi_dump/importer/load_balancer/load_balancer_importer.py,sha256=fzInBlkscqlbhCATeQYXvufc-WHq2pbofTJJifN0zaY,218
75
75
  osi_dump/importer/load_balancer/openstack_load_balancer_importer.py,sha256=8Wa-obk9WygQ-4G5aNqa6yhIPyjTxc__vDq9Ix5TC8E,3156
@@ -109,8 +109,8 @@ osi_dump/util/extract_hostname.py,sha256=IpdklGHevmtRu67xeSRE_5n2mvWGI1sDsnJwExo
109
109
  osi_dump/util/openstack_util.py,sha256=_o8LiRmQKtxQ8hU3rbrMNwIAxt0-aWD2rjq-NvVdK9E,1299
110
110
  osi_dump/util/panda_excel.py,sha256=owr8AffIxqN3yY8kIv55Ox4j2dRz7kXZvSZFZeft8dw,734
111
111
  osi_dump/util/validate_dir_path.py,sha256=pL_OrY8JnNwk3vj6Zp6bsZtgHXhszSGRoqIt-1G5S90,507
112
- osi_dump-0.1.3.3.2.7.dist-info/METADATA,sha256=CUVP1f6ORCJHciEIYPowNy2OOXEVNiFQp4aFc42-NDo,679
113
- osi_dump-0.1.3.3.2.7.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
114
- osi_dump-0.1.3.3.2.7.dist-info/entry_points.txt,sha256=ozm5sIBtXzLv6_FiUe26v1BgA3_xUReGLPhKQKZ56wQ,46
115
- osi_dump-0.1.3.3.2.7.dist-info/top_level.txt,sha256=OtAAwmJfcoPvlw_Cemo_H1aXIGV_7w0O2941KQt6faQ,9
116
- osi_dump-0.1.3.3.2.7.dist-info/RECORD,,
112
+ osi_dump-0.1.3.3.2.9.dist-info/METADATA,sha256=CeOKv2J2UOUZxzp_M3YIZ2dM2hKy9YaHdjsL9n_aXgs,679
113
+ osi_dump-0.1.3.3.2.9.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
114
+ osi_dump-0.1.3.3.2.9.dist-info/entry_points.txt,sha256=ozm5sIBtXzLv6_FiUe26v1BgA3_xUReGLPhKQKZ56wQ,46
115
+ osi_dump-0.1.3.3.2.9.dist-info/top_level.txt,sha256=OtAAwmJfcoPvlw_Cemo_H1aXIGV_7w0O2941KQt6faQ,9
116
+ osi_dump-0.1.3.3.2.9.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.2.0)
2
+ Generator: setuptools (75.3.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5