Random OpenStackApiAuthenticationException: Authentication error in nova functional tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Chris Dent |
Bug Description
Seen here when trying to create a flavor:
2017-07-21 14:55:31.534787 | Captured traceback:
2017-07-21 14:55:31.534797 | ~~~~~~~~~~~~~~~~~~~
2017-07-21 14:55:31.534812 | b'Traceback (most recent call last):'
2017-07-21 14:55:31.534858 | b' File "/home/
2017-07-21 14:55:31.534871 | b' self._create_
2017-07-21 14:55:31.534915 | b' File "/home/
2017-07-21 14:55:31.534926 | b' subs)'
2017-07-21 14:55:31.534965 | b' File "/home/
2017-07-21 14:55:31.534987 | b' return self._get_
2017-07-21 14:55:31.535028 | b' File "/home/
2017-07-21 14:55:31.535047 | b' headers=headers, strip_version=
2017-07-21 14:55:31.535085 | b' File "/home/
2017-07-21 14:55:31.535101 | b' auth_result = self._authentic
2017-07-21 14:55:31.535140 | b' File "/home/
2017-07-21 14:55:31.535161 | b' raise OpenStackApiAut
2017-07-21 14:55:31.535188 | b'nova.
2017-07-21 14:55:31.535196 | b''
Since we use noauth middleware this shouldn't be a problem.
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
importance: | Undecided → Low |
This could be related:
https:/ /github. com/openstack/ nova/blob/ master/ nova/api/ openstack/ placement/ auth.py# L41
Maybe requests are getting mixed up in eventlet and going to the placement NoAuthMiddleware and we aren't providing a token:
https:/ /github. com/openstack/ nova/blob/ master/ nova/tests/ functional/ api/client. py#L142
Compared to the compute NoAuthMiddleware:
https:/ /github. com/openstack/ nova/blob/ master/ nova/api/ openstack/ auth.py# L32