summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorSandy Walsh <sandy.walsh@rackspace.com>2011-01-26 16:39:50 +0000
committerTarmac <>2011-01-26 16:39:50 +0000
commit4ada8681832e17d8682dab65892b750604a9e74e (patch)
tree84d1bd6fc55a54e0dccfd603364c41fc98f75878 /nova
parent8d04abda758a6f322b97013142d9875369276259 (diff)
parent8dceebdf9ebce6aa94124504564b395b11c55682 (diff)
downloadnova-4ada8681832e17d8682dab65892b750604a9e74e.tar.gz
nova-4ada8681832e17d8682dab65892b750604a9e74e.tar.xz
nova-4ada8681832e17d8682dab65892b750604a9e74e.zip
Simple little changes related to openstack api to work better with glance.
Fixes ImageID missing from Glance and int->string id problem.
Diffstat (limited to 'nova')
-rw-r--r--nova/api/openstack/servers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py
index 9d308ea24..17c5519a1 100644
--- a/nova/api/openstack/servers.py
+++ b/nova/api/openstack/servers.py
@@ -138,6 +138,7 @@ class Controller(wsgi.Controller):
_("%(param)s property not found for image %(_image_id)s") %
locals())
+ image_id = str(image_id)
image = self._image_service.show(req.environ['nova.context'], image_id)
return lookup('kernel_id'), lookup('ramdisk_id')