[Openstack-operators] Glance issues with ceph after Juno upgrade
Ian Cordasco
ian.cordasco at RACKSPACE.COM
Thu Mar 12 14:57:44 UTC 2015
Hey Nathan,
It looks like the RBD store uses your /etc/ceph/ceph.conf file to get a
bunch of settings. Is that properly configured? (See:
https://github.com/openstack/glance/blob/008662b82dbf16e1d9179095a2809f9037
0393b7/etc/glance-api.conf#L615)
Alternatively, if you have the file named differently, you’ll probably
want to override that default.
Cheers,
Ian
On 3/9/15, 19:33, "Nathan Stratton" <nathan at robotics.net> wrote:
>On Mon, Mar 9, 2015 at 6:42 PM, Abel Lopez
><alopgeek at gmail.com> wrote:
>
>IIRC, The config file looks dramatically different in Juno.
>Take a look at the new sections in
>https://github.com/openstack/glance/blob/stable/juno/etc/glance-api.conf
>
>
>In the sample config, it lists the stores as 'glance.store.{type}.Store',
>so in your [glance_store] section, you may want to try
>stores = glance.store.rbd.Store
>
>
>
>
>
>Tried that, still getting the same UnknownScheme: None error:
>
>
>2015-03-09 20:29:52.175 5657 INFO glance.wsgi.server
>[3be74fd3-1bea-4986-98a9-878255c4bad8 b4397deb6a884a8c8e70fbc255ce6d80
>0ebcdedac0a3480ca81050bfedd97cf1 - - -] 10.71.0.218 - -
>[09/Mar/2015 20:29:52] "HEAD
>/v1/images/52423bc4-aa33-4dae-a122-d1d421ebcb90 HTTP/1.1" 200 773 0.269496
>2015-03-09 20:29:52.195 5657 INFO glance.wsgi.server
>[3be74fd3-1bea-4986-98a9-878255c4bad8 b4397deb6a884a8c8e70fbc255ce6d80
>0ebcdedac0a3480ca81050bfedd97cf1 - - -] 10.71.0.218 - -
>[09/Mar/2015 20:29:52] "HEAD
>/v1/images/52423bc4-aa33-4dae-a122-d1d421ebcb90 HTTP/1.1" 200 773 0.016802
>2015-03-09 20:29:52.637 5657 INFO glance.wsgi.server
>[3be74fd3-1bea-4986-98a9-878255c4bad8 b4397deb6a884a8c8e70fbc255ce6d80
>0ebcdedac0a3480ca81050bfedd97cf1 - - -] Traceback (most
>recent call 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 99, 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/common/utils.py", line
>449, in wrapped
> return func(self, req, *args, **kwargs)
> File "/usr/lib/python2.7/site-packages/glance/api/v1/images.py", line
>1073, in delete
> {'status': ori_status})
> File
>"/usr/lib/python2.7/site-packages/glance/openstack/common/excutils.py",
>line 82, in __exit__
> six.reraise(self.type_, self.value, self.tb)
> File "/usr/lib/python2.7/site-packages/glance/api/v1/images.py", line
>1069, in delete
> upload_utils.initiate_deletion(req, loc_data, id)
> File "/usr/lib/python2.7/site-packages/glance/api/v1/upload_utils.py",
>line 46, in initiate_deletion
> id, location_data)
> File "/usr/lib/python2.7/site-packages/glance/common/store_utils.py",
>line 124, in delete_image_location_from_backend
> safe_delete_from_backend(context, image_id, location)
> File "/usr/lib/python2.7/site-packages/glance/common/store_utils.py",
>line 58, in safe_delete_from_backend
> ret = store_api.delete_from_backend(location['url'], context=context)
> File "/usr/lib/python2.7/site-packages/glance_store/backend.py", line
>276, in delete_from_backend
> loc = location.get_location_from_uri(uri, conf=CONF)
> File "/usr/lib/python2.7/site-packages/glance_store/location.py", line
>75, in get_location_from_uri
> raise exceptions.UnknownScheme(scheme=pieces.scheme)
>UnknownScheme: None
>2015-03-09 20:29:52.638 5657 INFO glance.wsgi.server
>[3be74fd3-1bea-4986-98a9-878255c4bad8 b4397deb6a884a8c8e70fbc255ce6d80
>0ebcdedac0a3480ca81050bfedd97cf1 - - -] 10.71.0.218 - -
>[09/Mar/2015 20:29:52] "DELETE
>/v1/images/52423bc4-aa33-4dae-a122-d1d421ebcb90 HTTP/1.1" 500 139 0.439807
>
>
>
>
>
>
More information about the OpenStack-operators
mailing list