In order to boot instances with the OSAPI I need just this change in image/glance.py:
+++ b/nova/image/glance.py @@ -54,7 +54,7 @@ def _parse_image_ref(image_href): o = urlparse(image_href) port = o.port or 80 host = o.netloc.split(':', 1)[0] - image_id = int(o.path.split('/')[-1]) + image_id = o.path.split('/')[-1] return (image_id, host, port)
In order to boot instances with the OSAPI I need just this change in image/glance.py:
+++ b/nova/ image/glance. py image_ref( image_href) : image_href) split(' /')[-1] ) split(' /')[-1]
@@ -54,7 +54,7 @@ def _parse_
o = urlparse(
port = o.port or 80
host = o.netloc.split(':', 1)[0]
- image_id = int(o.path.
+ image_id = o.path.
return (image_id, host, port)