yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #46735
[Bug 1548289] [NEW] Scrubber exits with 0 even though it didn't work
Public bug reported:
glance-scrubber fails to work with:
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client [req-3200d95d-a3d7-4347-a4a3-9e00dc2fbc53 glance service - - -] Registry client request GET /images/detail raised AuthUrlNotFound
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client Traceback (most recent call last):
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py", line 121, in do_request
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client **kwargs)
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 71, in wrapped
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client return func(self, *args, **kwargs)
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 367, in do_request
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client self._authenticate()
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 345, in _authenticate
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client auth_plugin.authenticate()
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/auth.py", line 131, in authenticate
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client _authenticate(auth_url)
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/auth.py", line 125, in _authenticate
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client self._v1_auth(token_url)
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/auth.py", line 188, in _v1_auth
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client raise exception.AuthUrlNotFound(url=token_url)
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client AuthUrlNotFound: Auth service at URL http://10.164.0.2:5000/v3/tokens not found.
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client
08:52:43 2016-02-21 07:52:43.011 16387 ERROR glance.scrubber [req-3200d95d-a3d7-4347-a4a3-9e00dc2fbc53 glance service - - -] Can not get scrub jobs from queue: Auth service at URL http://10.164.0.2:5000/v3/tokens not found.
(this was due to using keystone v3 API -- but ignore the error itself,
just consider that it failed for some reason)
However, when I run it, the exit code of the process is still 0, while
it should be 1.
** Affects: glance
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1548289
Title:
Scrubber exits with 0 even though it didn't work
Status in Glance:
New
Bug description:
glance-scrubber fails to work with:
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client [req-3200d95d-a3d7-4347-a4a3-9e00dc2fbc53 glance service - - -] Registry client request GET /images/detail raised AuthUrlNotFound
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client Traceback (most recent call last):
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py", line 121, in do_request
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client **kwargs)
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 71, in wrapped
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client return func(self, *args, **kwargs)
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 367, in do_request
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client self._authenticate()
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 345, in _authenticate
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client auth_plugin.authenticate()
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/auth.py", line 131, in authenticate
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client _authenticate(auth_url)
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/auth.py", line 125, in _authenticate
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client self._v1_auth(token_url)
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/auth.py", line 188, in _v1_auth
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client raise exception.AuthUrlNotFound(url=token_url)
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client AuthUrlNotFound: Auth service at URL http://10.164.0.2:5000/v3/tokens not found.
08:52:43 2016-02-21 07:52:43.009 16387 ERROR glance.registry.client.v1.client
08:52:43 2016-02-21 07:52:43.011 16387 ERROR glance.scrubber [req-3200d95d-a3d7-4347-a4a3-9e00dc2fbc53 glance service - - -] Can not get scrub jobs from queue: Auth service at URL http://10.164.0.2:5000/v3/tokens not found.
(this was due to using keystone v3 API -- but ignore the error itself,
just consider that it failed for some reason)
However, when I run it, the exit code of the process is still 0, while
it should be 1.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1548289/+subscriptions
Follow ups