summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@gmail.com>2014-08-26 23:10:50 -0700
committerJoshua Harlow <harlowja@gmail.com>2014-08-26 23:10:50 -0700
commitfb482ce4a36d9b4be75a8bf5b428189548a205d9 (patch)
treef7aa971f57ac2663fc74ac57a99fb4efb5bd1297 /cloudinit
parent9a7587f35f327b9f8cafce8687832e9e77c1afde (diff)
downloadvyos-cloud-init-fb482ce4a36d9b4be75a8bf5b428189548a205d9.tar.gz
vyos-cloud-init-fb482ce4a36d9b4be75a8bf5b428189548a205d9.zip
Show the available versions in the debug log message
Diffstat (limited to 'cloudinit')
-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 56986a94..3ceec837 100644
--- a/cloudinit/sources/helpers/openstack.py
+++ b/cloudinit/sources/helpers/openstack.py
@@ -424,8 +424,9 @@ class MetadataReader(BaseReader):
" version '%s' instead", version,
potential_version)
return potential_version
- LOG.debug("Version '%s' not available, searched %s, attempting to"
- " use '%s' instead", version, search_versions, OS_LATEST)
+ LOG.debug("Version '%s' not available, searched for %s (with available"
+ " versions being %s), attempting to use '%s' instead",
+ version, search_versions, versions_available, OS_LATEST)
return OS_LATEST
def _path_read(self, path):