diff options
author | Joshua Harlow <harlowja@gmail.com> | 2014-08-26 23:10:50 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@gmail.com> | 2014-08-26 23:10:50 -0700 |
commit | fb482ce4a36d9b4be75a8bf5b428189548a205d9 (patch) | |
tree | f7aa971f57ac2663fc74ac57a99fb4efb5bd1297 /cloudinit/sources/helpers | |
parent | 9a7587f35f327b9f8cafce8687832e9e77c1afde (diff) | |
download | vyos-cloud-init-fb482ce4a36d9b4be75a8bf5b428189548a205d9.tar.gz vyos-cloud-init-fb482ce4a36d9b4be75a8bf5b428189548a205d9.zip |
Show the available versions in the debug log message
Diffstat (limited to 'cloudinit/sources/helpers')
-rw-r--r-- | cloudinit/sources/helpers/openstack.py | 5 |
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): |