When using 'use_dynamic_credentials = false' credentials are being modified somewhere in tempest lib
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
Lukáš Piwowarski |
Bug Description
When running the Patrole Tempest plugin and testing networking tests that require the Neutron Tempest plugin, the test fail to run when Tempest is configured with [auth] use_dynamic_
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "tempest/test.py", line 213, in setUpClass
File "tempest/test.py", line 201, in setUpClass
File "/opt/stack/
File "/opt/stack/
File "/opt/stack/
File "/opt/stack/
File "/opt/stack/
File "/opt/stack/
File "tempest/
File "tempest/
return self.request('GET', url, extra_headers, headers)
File "tempest/
File "tempest/
raise exceptions.
tempest.
Details: {u'message': u'Could not find user: None.', u'code': 404, u'title': u'Not Found'}
Somewhere in Tempest, the 'user_id' and 'tenant_id' are unset
and results in the tests not being executed: "Could not find user: None."
Both user_id and tenant_id are needed in Patrole rbac_utils: https:/
It appears that the manager.credentials are modified when clients.Manager is called: https:/
Please see https:/
Changed in tempest: | |
status: | New → Confirmed |
Looks like the "credentials. user_id" and "credentials. tenant_ id" is being dropped here: https:/ /github. com/openstack/ tempest/ blob/master/ tempest/ lib/auth. py#L251