Tempest test test_create_tenant_request_without_token is failed
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | Status tracked in 10.0.x | |||||
10.0.x |
Invalid
|
High
|
Sofiia Andriichenko | |||
9.x |
Confirmed
|
High
|
MOS Keystone |
Bug Description
Detailed bug description:
tempest.
ISO: 9.0 mos iso #368
Configuration:
Settings:
Compute - QEMU.
Network - Neutron with VLAN segmentation.
Storage Backends - LVM
Additional services - Install Ironic, Install Sahara
In tab Settings->Compute check Nova quotas
In tab Settings->OpenStack Services check enable Install Ceilometer and Aodh
In tab Networks->Other check enable Neutron DVR
Nodes: controller, compute, ironic,cinder, Telemetry - MongoDB
Steps to reproduce:
1. Deploy ISO in configuration see (Detailed bug description)
2. Navigate to controller node
3. Install git (use apt-get install git)
4. Clone script to deploy rally + tempest
# git clone https:/
5. Navigate to the https:/
6. Execute necessary steps to deploy tempest
7. Tun test in debug mode
#rally --debug verify start --regex tempest.
Expected results:
Test is passed
Actual result:
Test is Failed
(see comments)
Reproducibility:
See attachment
Workaround:
---
Impact:
---
Description of the environment:
See (Detailed bug description)
Additional information:
Error Message
test failed
Stacktrace
Traceback (most recent call last):
File "/home/
tenant_name)
File "/usr/local/
self.
File "/usr/local/
raise mismatch_error
testtools.
Changed in mos: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → MOS Keystone (mos-keystone) |
milestone: | none → 9.0 |
description: | updated |
It's better to fix test logic: /github. com/openstack/ tempest/ blob/master/ tempest/ api/identity/ admin/v2/ test_tenant_ negative. py#L103
Here: https:/
Token gets deleted. Using Fernet token with revocation tree disabled this action has no effect:
token is issued and keystone has no information of it; on validation keystone just checks if the user has roles in project/tenant - and if roles are intact, the token is still valid.
I suggest just removing token issue and deletion as test is named "create_tenant without token" and not "create_tenant with deleted token"