admin's tenant_id is not the same with load_balancer's tenant_id in tempest tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Here is the following scenario:
This is happening only WITH tempest tests by inheriting the necessary class from 'tempest/
(a) When creating a loadbalancer for non_admin user, I could see the 'tenant_id' is equal to loadbalancer.
i.e.,
credentials = cls.isolated_
mgr = tempest_
client_args = [auth_provider, 'network', 'regionOne']
(b) whereas, when I create a loadbalancer using admin credentials, the tenant_id NOT equals loadbalancer.
i.e,.
mgr_admin = tempest_
client_args = [auth_provider_
Not sure why this is happening, the expected behavior should be "An user(either admin/non-admin) should be able to create a loadbalancer for the default tenant and that 'tenant_id' should be equal to the admin's 'tenant_id'. There are other test cases too specially for 'admin' role got succeeded and behaving properly.
Details about the code can be found at https:/
For the exact testcase:
(a) For admin_testcase: see line 55 - 61: https:/
(b) For non_admin testcase: see line 259 -266: https:/
affects: | ifupdown (Ubuntu) → neutron |
Changed in neutron: | |
status: | New → Invalid |