test_container_synchronization fails with "AttributeError: 'NoneType' object has no attribute 'will_expire_soon'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Invalid
|
Undecided
|
Unassigned | ||
keystonemiddleware |
Expired
|
Undecided
|
Unassigned |
Bug Description
Console from the test failure:
2015-09-04 23:58:05.531 | Captured traceback:
2015-09-04 23:58:05.531 | ~~~~~~~~~~~~~~~~~~~
2015-09-04 23:58:05.531 | Traceback (most recent call last):
2015-09-04 23:58:05.531 | File "tempest/test.py", line 171, in wrapper
2015-09-04 23:58:05.531 | return func(*func_args, **func_kwargs)
2015-09-04 23:58:05.531 | File "tempest/
2015-09-04 23:58:05.531 | self._test_
2015-09-04 23:58:05.531 | File "tempest/
2015-09-04 23:58:05.532 | cont, params=params)
2015-09-04 23:58:05.532 | File "tempest/
2015-09-04 23:58:05.532 | resp, body = self.get(url, headers={})
2015-09-04 23:58:05.532 | File "/opt/stack/
2015-09-04 23:58:05.532 | return self.request('GET', url, extra_headers, headers)
2015-09-04 23:58:05.532 | File "/opt/stack/
2015-09-04 23:58:05.532 | resp, resp_body)
2015-09-04 23:58:05.532 | File "/opt/stack/
2015-09-04 23:58:05.532 | raise exceptions.
2015-09-04 23:58:05.532 | tempest_
2015-09-04 23:58:05.533 | Details: <html><
From the s-proxy logs:
proxy-server: Authorization failed for token
proxy-server: Identity response: {"error": {"message": "Could not find token: 929fe97e3b4f415
proxy-server: Token validation failure.
This job is not using the latest keystonemiddleware (2.0.2), it's using 2.1.0:
-e git+https:/ /git.openstack. org/openstack/ keystone@ 53623d0f42ca991 649822866094c4a a13dd52c39# egg=keystone- fetch_master are==2. 1.0
keystonemiddlew