summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/sources/helpers/openstack.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cloudinit/sources/helpers/openstack.py b/cloudinit/sources/helpers/openstack.py
index 418ab4d1..56986a94 100644
--- a/cloudinit/sources/helpers/openstack.py
+++ b/cloudinit/sources/helpers/openstack.py
@@ -407,8 +407,9 @@ class MetadataReader(BaseReader):
versions_available = []
try:
versions = self._path_read(version_path)
- except IOError:
- pass
+ except IOError as e:
+ LOG.warn("Unable to read openstack versions from %s due"
+ " to: %s", version_path, e)
else:
for line in versions.splitlines():
line = line.strip()