Identity Client always uses adminURL enpoint, so cannot test non-admin actions correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Medium
|
Ievgeniia Zadorozhna |
Bug Description
The tempest Identity Client always is initialized with adminURL as the endpoint, it is hard-coded in tempest/
This allows to run api/identity/admin tests with correct admin endpoint but this leads to the situation when we cannot run non-admin api/identity tests correctly, because non-admin user actions will try to use admin endpoint, when really publicURL endpoint is needed.
Now there is not many non-admin tests in api/identity and we (Refstack team) are working on creating new ones to expand the tempest coverage.
Since both admin and non-admin tests use the same identity_client we suggest that it's better to initialize identity_client with endpoint from tempest.conf ([identity]
The way where enpoint_type will be taken from config allows to run admin tests and non-admin tests in a separate way.
Changed in tempest: | |
assignee: | nobody → izadorozhna (izadorozhna) |
summary: |
Identity Client always uses adminURL enpoint, so cannot test public user - actions + actions correctly |
summary: |
- Identity Client always uses adminURL enpoint, so cannot test public user + Identity Client always uses adminURL enpoint, so cannot test non-admin actions correctly |
description: | updated |
description: | updated |
Changed in tempest: | |
status: | New → Confirmed |
description: | updated |
Changed in tempest: | |
importance: | Undecided → Medium |
Changed in tempest: | |
assignee: | izadorozhna (izadorozhna) → Sergey Slipushenko (sslypushenko) |
Changed in tempest: | |
assignee: | Sergey Slipushenko (sslypushenko) → izadorozhna (izadorozhna) |
Changed in tempest: | |
assignee: | izadorozhna (izadorozhna) → Sergey Slipushenko (sslypushenko) |
Changed in tempest: | |
assignee: | Sergey Slipushenko (sslypushenko) → izadorozhna (izadorozhna) |
Changed in tempest: | |
assignee: | izadorozhna (izadorozhna) → Brandon Palm (bapalm) |
Changed in tempest: | |
assignee: | Brandon Palm (bapalm) → izadorozhna (izadorozhna) |
Fix proposed to branch: master /review. openstack. org/200486
Review: https:/