failure to communicate with core storage can result in draining of retracing queue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Daisy |
New
|
Low
|
Unassigned |
Bug Description
The retracers are designed to handle the occasional error with accessing core files by removing the item from the queue and moving on to the next item. However, on 2014-11-13 there was an error communicating with the core storage system due a package upgrade and the retracing queues were drained completely.
An example of the failure follows:
2014-11-14 00:07:23,
2014-11-14 00:07:23,
2014-11-14 00:07:23,
File "/srv/daisy.
resp_
File "/usr/lib/
resp_
File "/usr/lib/
rv = func(self.url, self.token, *args, **kwargs)
File "/usr/lib/
http_
ClientException: Object GET failed: /daisy-
The resource could not be found.
2014-11-14 00:07:23,
2014-11-14 00:07:23,
2014-11-14 00:07:23,
2014-11-14 00:07:23,
File "/srv/daisy.
_cached_
File "/usr/lib/
return self._retry(None, delete_object, container, obj)
File "/usr/lib/
rv = func(self.url, self.token, *args, **kwargs)
File "/usr/lib/
http_
ClientException: Object DELETE failed: daisy-productio
The resource could not be found.
Perhaps we should keep a count of the failures and exit after 100 or something.
Changed in daisy: | |
importance: | Undecided → Medium |
The daisy front ends had an authorization failure traceback.
File "/usr/lib/ python2. 7/dist- packages/ oops_wsgi/ middleware. py", line 208, in oops_middleware response) ) /daisy/ version_ middleware. py", line 34, in __call__ start_response) /daisy/ wsgi.py" , line 98, in app core_dump( _pool, environ, fileobj, components, content_type) /daisy/ wsgi.py" , line 47, in handle_core_dump core.submit( _pool, environ, fileobj, uuid, arch) /daisy/ submit_ core.py" , line 302, in submit storage_ provider( environ, fileobj, uuid) /daisy/ submit_ core.py" , line 229, in write_to_ storage_ provider swift(environ, fileobj, uuid, provider_data) /daisy/ submit_ core.py" , line 103, in write_to_swift swift.put_ container( bucket) python2. 7/dist- packages/ swiftclient/ client. py", line 1065, in put_container python2. 7/dist- packages/ swiftclient/ client. py", line 1003, in _retry python2. 7/dist- packages/ swiftclient/ client. py", line 991, in get_auth self.insecure) python2. 7/dist- packages/ swiftclient/ client. py", line 328, in get_auth insecure) python2. 7/dist- packages/ swiftclient/ client. py", line 265, in get_keystonecli ent_2_0 ('Authorization Failure. %s' % err)
app(environ, oops_start_
File "/<email address hidden>
return self.app(environ, custom_
File "/<email address hidden>
response = handle_
File "/<email address hidden>
return submit_
File "/<email address hidden>
message = write_to_
File "/<email address hidden>
written = write_to_
File "/<email address hidden>
_cached_
File "/usr/lib/
return self._retry(None, put_container, container, headers=headers)
File "/usr/lib/
self.url, self.token = self.get_auth()
File "/usr/lib/
insecure=
File "/usr/lib/
insecure=
File "/usr/lib/
raise ClientException