summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorPádraig Brady <pbrady@redhat.com>2012-01-27 17:58:17 +0000
committerPádraig Brady <pbrady@redhat.com>2012-01-27 20:34:30 +0000
commited6e3efcf67e5fc194aa9f0cb7776ed77af38837 (patch)
tree0f5bd7032e03585d4feeae7c12c5cbd0fc560b72 /bin
parent58e652845e0762e62e3b7a8ec02e742c6a78ba11 (diff)
fix `nova-manage image convert` exception
* bin/nova-manage (_convert_images): Don't convert the image id to a number as it's now a uuid. Change-Id: I4dfe5693d8f394fb9ee3f2c18c7e0b3f2524e931
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nova-manage3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/nova-manage b/bin/nova-manage
index efe24a89a..1275d72d9 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -1962,8 +1962,7 @@ class ImageCommands(object):
with open(image_path) as ifile:
image = self.image_service.create(elevated, meta, ifile)
new = image['id']
- print _("Image %(old)s converted to " \
- "%(new)s (%(new)08x).") % locals()
+ print _("Image %(old)s converted to %(new)s.") % locals()
except Exception as exc:
print _("Failed to convert %(old)s: %(exc)s") % locals()