Comment 4 for bug 1317133

Revision history for this message
Matt Riedemann (mriedem) wrote :

Looks like this can still fail with a 401 from keystone:

http://logs.openstack.org/79/247579/1/check/gate-tempest-dsvm-full-ceph-src-glance_store/3033331/console.html#_2015-11-19_20_01_06_679

2015-11-19 20:01:06.412 | tempest.api.object_storage.test_container_sync_middleware.ContainerSyncMiddlewareTest.test_container_synchronization[id-ea4645a1-d147-4976-82f7-e5a7a3065f80,slow]
2015-11-19 20:01:06.412 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------
2015-11-19 20:01:06.412 |
2015-11-19 20:01:06.412 | Captured traceback:
2015-11-19 20:01:06.412 | ~~~~~~~~~~~~~~~~~~~
2015-11-19 20:01:06.412 | Traceback (most recent call last):
2015-11-19 20:01:06.412 | File "tempest/test.py", line 172, in wrapper
2015-11-19 20:01:06.412 | return func(*func_args, **func_kwargs)
2015-11-19 20:01:06.412 | File "tempest/api/object_storage/test_container_sync_middleware.py", line 52, in test_container_synchronization
2015-11-19 20:01:06.412 | self._test_container_synchronization(make_headers)
2015-11-19 20:01:06.412 | File "tempest/api/object_storage/test_container_sync.py", line 110, in _test_container_synchronization
2015-11-19 20:01:06.413 | cont, params=params)
2015-11-19 20:01:06.413 | File "tempest/services/object_storage/container_client.py", line 160, in list_container_contents
2015-11-19 20:01:06.413 | resp, body = self.get(url, headers={})
2015-11-19 20:01:06.413 | File "/opt/stack/new/tempest/.tox/all/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 274, in get
2015-11-19 20:01:06.413 | return self.request('GET', url, extra_headers, headers)
2015-11-19 20:01:06.413 | File "/opt/stack/new/tempest/.tox/all/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 639, in request
2015-11-19 20:01:06.413 | resp, resp_body)
2015-11-19 20:01:06.413 | File "/opt/stack/new/tempest/.tox/all/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 682, in _error_checker
2015-11-19 20:01:06.413 | raise exceptions.Unauthorized(resp_body, resp=resp)
2015-11-19 20:01:06.413 | tempest_lib.exceptions.Unauthorized: Unauthorized
2015-11-19 20:01:06.413 | Details: <html><h1>Unauthorized</h1><p>This server could not verify that you are authorized to access the document you requested.</p></html>

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message:%5C%22Response%20-%20Headers:%20%7B'status':%20'401'%5C%22%20AND%20message:%5C%22'Swift%20realm%5C%22%20AND%20tags:%5C%22console%5C%22

Only 3 hits in 7 days though, so not a high percentage failure.