[Openstack-operators] Help with glance issue after upgrade from Icehouse to Juno
Nathan Stratton
nathan at robotics.net
Fri Mar 6 20:44:22 UTC 2015
Found it, I updated glance-api.conf with identity_uri =
http://10.71.0.218:35357, but did not also update glance-registry.conf.
><>
nathan stratton | vp technology | broadsoft, inc | +1-240-404-6580 |
www.broadsoft.com
On Fri, Mar 6, 2015 at 3:37 PM, Nathan Stratton <nathan at robotics.net> wrote:
> Sorry about that, never thought to look in registry.log, it points to the
> issue. However my config has admin_password={password} what could change in
> the upgrade that would now give me access denied?
>
>
> 2015-03-06 14:39:19.623 2688 ERROR glance.registry.api.v1.images
> [73bbe61a-d10a-4526-a6a1-1d8a50a56d0e - - - - -] Unable to get images
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images Traceback
> (most recent call last):
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images File
> "/usr/lib/python2.7/site-packages/glance/registry/api/v1/images.py", line
> 122, in _get_images
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images
> **params)
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images File
> "/usr/lib/python2.7/site-packages/glance/db/sqlalchemy/api.py", line 564,
> in image_get_all
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images
> visibility)
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images File
> "/usr/lib/python2.7/site-packages/glance/db/sqlalchemy/api.py", line 484,
> in _select_images_query
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images
> session = get_session()
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images File
> "/usr/lib/python2.7/site-packages/glance/db/sqlalchemy/api.py", line 97, in
> get_session
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images
> facade = _create_facade_lazily()
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images File
> "/usr/lib/python2.7/site-packages/glance/db/sqlalchemy/api.py", line 82, in
> _create_facade_lazily
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images
> _FACADE = session.EngineFacade.from_config(CONF)
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images File
> "/usr/lib/python2.7/site-packages/oslo/db/sqlalchemy/session.py", line 816,
> in from_config
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images
> retry_interval=conf.database.retry_interval)
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images File
> "/usr/lib/python2.7/site-packages/oslo/db/sqlalchemy/session.py", line 732,
> in __init__
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images
> **engine_kwargs)
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images File
> "/usr/lib/python2.7/site-packages/oslo/db/sqlalchemy/session.py", line 409,
> in create_engine
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images
> _test_connection(engine, max_retries, retry_interval)
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images File
> "/usr/lib/python2.7/site-packages/oslo/db/sqlalchemy/session.py", line 549,
> in _test_connection
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images
> return exc_filters.handle_connect_error(engine)
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images File
> "/usr/lib/python2.7/site-packages/oslo/db/sqlalchemy/exc_filters.py", line
> 351, in handle_connect_error
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images
> handler(ctx)
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images File
> "/usr/lib/python2.7/site-packages/oslo/db/sqlalchemy/exc_filters.py", line
> 323, in handler
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images
> context.is_disconnect)
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images File
> "/usr/lib/python2.7/site-packages/oslo/db/sqlalchemy/exc_filters.py", line
> 254, in _raise_operational_errors_directly_filter
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images raise
> operational_error
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images
> OperationalError: (OperationalError) (1045, "Access denied for user
> 'glance'@'localhost' (using password: YES)") None None
> 2015-03-06 14:39:19.623 2688 TRACE glance.registry.api.v1.images
> 2015-03-06 14:39:19.624 2688 INFO glance.wsgi.server
> [73bbe61a-d10a-4526-a6a1-1d8a50a56d0e - - - - -] 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)
>
>
>
> ><>
> nathan stratton | vp technology | broadsoft, inc | +1-240-404-6580 |
> www.broadsoft.com
>
> On Fri, Mar 6, 2015 at 3:08 PM, Fox, Kevin M <Kevin.Fox at pnnl.gov> wrote:
>
>> What about the other glance logfiles? It looks like it may be calling
>> out to a different server and thats failing...
>> Thanks,
>> Kevin
>> ------------------------------
>> *From:* Nathan Stratton [nathan at robotics.net]
>> *Sent:* Friday, March 06, 2015 11:42 AM
>> *To:* openstack-oper.
>> *Subject:* [Openstack-operators] Help with glance issue after upgrade
>> from Icehouse to Juno
>>
>> Everything is working but glance, I can't even glance image-list. My
>> logs don't look like they are saying anything useful.
>>
>>
>> 2015-03-06 14:39:19.625 3973 INFO glance.registry.client.v1.client
>> [1e5b5ed8-430a-4aec-928b-ebe14573ce42 a7602f2a62f046cda415c2ef3ff0a91c
>> b2b9a5f24d4b48d687efa67efde1dd6d - - -] Registry client request GET
>> /images/detail raised ServerError
>> 2015-03-06 14:39:19.626 3973 INFO glance.wsgi.server
>> [1e5b5ed8-430a-4aec-928b-ebe14573ce42 a7602f2a62f046cda415c2ef3ff0a91c
>> b2b9a5f24d4b48d687efa67efde1dd6d - - -] 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/api/v1/images.py", line
>> 347, in detail
>> images = registry.get_images_detail(req.context, **params)
>> File
>> "/usr/lib/python2.7/site-packages/glance/registry/client/v1/api.py", line
>> 150, in get_images_detail
>> return c.get_images_detailed(**kwargs)
>> File
>> "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py",
>> line 144, in get_images_detailed
>> res = self.do_request("GET", "/images/detail", params=params)
>> File
>> "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py",
>> line 130, in do_request
>> 'exc_name': exc_name})
>> 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/registry/client/v1/client.py",
>> line 115, in do_request
>> **kwargs)
>> File "/usr/lib/python2.7/site-packages/glance/common/client.py", line
>> 68, in wrapped
>> return func(self, *args, **kwargs)
>> File "/usr/lib/python2.7/site-packages/glance/common/client.py", line
>> 373, in do_request
>> headers=copy.deepcopy(headers))
>> File "/usr/lib/python2.7/site-packages/glance/common/client.py", line
>> 85, in wrapped
>> return func(self, method, url, body, headers)
>> File "/usr/lib/python2.7/site-packages/glance/common/client.py", line
>> 531, in _do_request
>> raise exception.ServerError()
>> ServerError: The request returned 500 Internal Server Error.
>> 2015-03-06 14:39:19.627 3973 INFO glance.wsgi.server
>> [1e5b5ed8-430a-4aec-928b-ebe14573ce42 a7602f2a62f046cda415c2ef3ff0a91c
>> b2b9a5f24d4b48d687efa67efde1dd6d - - -] 10.71.0.218 - - [06/Mar/2015
>> 14:39:19] "GET
>> /v1/images/detail?sort_key=created_at&sort_dir=desc&limit=21&is_public=None
>> HTTP/
>> 1.1" 500 139 0.059383
>>
>>
>> ><>
>> nathan stratton | vp technology | broadsoft, inc | +1-240-404-6580 |
>> www.broadsoft.com
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150306/03ec769e/attachment.html>
More information about the OpenStack-operators
mailing list