Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stack@server10326:~/stackimages$ glance -A 5a6a38ad-635b-4773-bb73-887c1abe9b54 add name="ubuntu-oneiric" is_public=true container_format=ovf disk_format=qcow2 < oneiric-server-cloudimg-amd64-disk1.img
- Failed to add image. Got error:
- Internal Server error: Traceback (most recent call last):
- File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 336, in handle_one_response
- result = self.application(self.environ, start_response)
- File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__
- resp = self.call_func(req, *args, **self.kwargs)
- File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 208, in call_func
- return self.func(req, *args, **kwargs)
- File "/opt/stack/glance/glance/common/wsgi.py", line 279, in __call__
- response = req.get_response(self.application)
- File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1053, in get_response
- application, catch_exc_info=False)
- File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1022, in call_application
- app_iter = application(self.environ, start_response)
- File "/opt/stack/keystone/keystone/middleware/auth_token.py", line 345, in __call__
- return self._forward_request(env, start_response, proxy_headers)
- File "/opt/stack/keystone/keystone/middleware/auth_token.py", line 608, in _forward_request
- return self.app(env, start_response)
- File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__
- resp = self.call_func(req, *args, **self.kwargs)
- File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 208, in call_func
- return self.func(req, *args, **kwargs)
- File "/opt/stack/glance/glance/common/wsgi.py", line 279, in __call__
- response = req.get_response(self.application)
- File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1053, in get_response
- application, catch_exc_info=False)
- File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1022, in call_application
- app_iter = application(self.environ, start_response)
- File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
- return resp(environ, start_response)
- File "/usr/lib/pymodules/python2.7/routes/middleware.py", line 131, in __call__
- response = self.app(environ, start_response)
- File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
- return resp(environ, start_response)
- File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__
- resp = self.call_func(req, *args, **self.kwargs)
- File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 208, in call_func
- return self.func(req, *args, **kwargs)
- File "/opt/stack/glance/glance/common/wsgi.py", line 477, in __call__
- request, **action_args)
- File "/opt/stack/glance/glance/common/wsgi.py", line 494, in dispatch
- return method(*args, **kwargs)
- File "/opt/stack/glance/glance/api/v1/images.py", line 531, in create
- image_meta = self._upload_and_activate(req, image_meta)
- File "/opt/stack/glance/glance/api/v1/images.py", line 483, in _upload_and_activate
- location = self._upload(req, image_meta)
- File "/opt/stack/glance/glance/api/v1/images.py", line 334, in _upload
- {'status': 'saving'})
- File "/opt/stack/glance/glance/registry/__init__.py", line 126, in update_image_metadata
- return c.update_image(image_id, image_meta, purge_props)
- File "/opt/stack/glance/glance/registry/client.py", line 142, in update_image
- res = self.do_request("PUT", "/images/%s" % image_id, body, headers)
- File "/opt/stack/glance/glance/common/client.py", line 51, in wrapped
- return func(self, *args, **kwargs)
- File "/opt/stack/glance/glance/common/client.py", line 338, in do_request
- headers=headers)
- File "/opt/stack/glance/glance/common/client.py", line 68, in wrapped
- return func(self, method, url, body, headers)
- File "/opt/stack/glance/glance/common/client.py", line 442, in _do_request
- raise exception.NotFound(res.read())
- NotFound: An object with the specified identifier was not found.
- Details: Image not found
- Note: Your image metadata may still be in the registry, but the image's status will likely be 'killed'.
- stack@server10326:~/stackimages$
Advertisement
Add Comment
Please, Sign In to add comment