I have deployment without OS-INHERIT keystone api extension enabled but tempest tries to run those tests even after using discover-tempest-config .
discover-tempest-config should populate the available identity features properly.
It seems the same issue was reported and resolved here:
If the solution mentioned there didn't help, please, provide more information like:
- test which is failing
- version of openstack-tempest
- content of tempest.conf used for testing
- parameters of config_tempest.py used to generate tempest.conf (in RHOS8 there is no discover-tempest-config command)
The solution mentioned is not merged and the patch also missing from the rpm.
The failing tests matching to .*inherits.* test selector.
source /root/keystonerc_admin ; /usr/share/openstack-tempest-*/tools/config_tempest.py --debug --create identity.uri $OS_AUTH_URL identity.admin_password $OS_PASSWORD
I have found the problem. The .*inherits.* tests are executed, because tempest.conf doesn't contain any identity.api_extensions, which means, all extensions are enabled (or allowed to be tested).
The config_tempest discovers identity extensions correctly, however, it doesn't print them to a generated tempest.conf - It's because the SERVICE_EXTENSION_KEY is missing the following key-value pair:
I've noticed, the change is already present in liberty branch, so just a new package needs to be released.
Created attachment 1513693 [details]
I verified that the package openstack-tempest-liberty-20160413.6.el7ost contains the fix for the issue.
I tested it on OpenStack Liberty installed via packstack, see the output in the attachment.
So when the package will be available in a puddle, the bug can be verified.
The package containing the fix (openstack-tempest-liberty-20160413.6.el7ost) is available in RHOS-8 repository via latest symlink. Based on my comment #10, I'm moving the status of the bug to VERIFIED.