[Openstack-operators] Glance image download failing in Juno with RBD store

Erik McCormick emccormick at cirrusseven.com
Mon Nov 10 16:45:11 UTC 2014


Hi everyone,

I've got a new deployment of Juno backed by Ceph set up and am getting a
rather unhelpful error message when attempting to download a stored image
out of Glance. I have no trouble uploading images or listing the image
details, and I'm able to manually manipulate and copy the image file with
the rbd client, so I'm fairly certain my Ceph permissions and connections
are working properly. Any help resolving this would be greatly appreciated.
The error is as follows:

2014-11-10 11:43:21.300 19337 DEBUG glance.registry.client.v1.client
[df7fad91-88f2-4e63-8f0f-22e52db33362 29c52a0d0fe0442092a4fdcac9ee5f68
786367085098450cad38bd4aebb322f0 - - -] Registry
request GET /images/bc388623-c6e4-49f2-a531-874617b3153b HTTP 200 request
id req-1343c49d-b3be-470a-a5e4-a15a576bb5f5 do_request
/usr/lib/python2.7/site-packages/glance/registry/client/v1/c
lient.py:122
2014-11-10 11:43:21.362 19337 INFO glance.wsgi.server
[df7fad91-88f2-4e63-8f0f-22e52db33362 29c52a0d0fe0442092a4fdcac9ee5f68
786367085098450cad38bd4aebb322f0 - - -] Traceback (most recent c
all last):
  File "/usr/lib/python2.7/site-packages/eventlet/wsgi.py", line 433, in
handle_one_response
    result = self.application(self.environ, start_response)
  File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in
__call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in
call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 394,
in __call__
    response = req.get_response(self.application)
  File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in
send
    application, catch_exc_info=False)
  File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in
call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in
__call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in
call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/osprofiler/web.py", line 106, in
__call__
    return request.get_response(self.application)
  File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in
send
    application, catch_exc_info=False)
  File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in
call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py",
line 748, in __call__
    return self._call_app(env, start_response)
  File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py",
line 684, in _call_app
    return self._app(env, _fake_start_response)
  File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in
__call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in
call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 394,
in __call__
    response = req.get_response(self.application)
  File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in
send
    application, catch_exc_info=False)
  File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in
call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python2.7/site-packages/paste/urlmap.py", line 203, in
__call__
    return app(environ, start_response)
  File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in
__call__
    return resp(environ, start_response)
  File "/usr/lib/python2.7/site-packages/routes/middleware.py", line 131,
in __call__
    response = self.app(environ, start_response)
  File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in
__call__
    return resp(environ, start_response)
  File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in
__call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in
call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 683,
in __call__
    request, **action_args)
  File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 707,
in dispatch
    return method(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/glance/api/v1/images.py", line
498, in show
    image_meta['location'])
  File "/usr/lib/python2.7/site-packages/glance/api/v1/images.py", line
460, in _get_from_store
    image_data, image_size = src_store.get(loc, context=context)
ValueError: too many values to unpack
2014-11-10 11:43:21.362 19337 INFO glance.wsgi.server
[df7fad91-88f2-4e63-8f0f-22e52db33362 29c52a0d0fe0442092a4fdcac9ee5f68
786367085098450cad38bd4aebb322f0 - - -] 10.40.3.20 - - [10/Nov/2
014 11:43:21] "GET /v1/images/bc388623-c6e4-49f2-a531-874617b3153b
HTTP/1.1" 500 139 0.081097

Thanks,
Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20141110/76fbacf4/attachment.html>


More information about the OpenStack-operators mailing list