From ed6e3efcf67e5fc194aa9f0cb7776ed77af38837 Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Fri, 27 Jan 2012 17:58:17 +0000 Subject: 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 --- bin/nova-manage | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin') 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() -- cgit