Bug 1545156
Summary: | discover-tempest-config disables both identity api versions features when available | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Pavel Sedlák <psedlak> |
Component: | python-tempestconf | Assignee: | Martin Kopec <mkopec> |
Status: | CLOSED ERRATA | QA Contact: | Chandan Kumar <chkumar> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 13.0 (Queens) | CC: | acruz, jschluet, skatlapa, udesale, whayutin |
Target Milestone: | beta | Keywords: | AutomationBlocker, Triaged |
Target Release: | 13.0 (Queens) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-tempestconf-1.1.4-0.20180219181729.b031af6.el7ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-06-27 13:44:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pavel Sedlák
2018-02-14 11:49:28 UTC
The problem was found in discovering identity versions [1], python-tempestconf returns an empty list when URL of the identity service doesn't contain "v2". There is proposed patch which should resolve the issue [2]. [1] https://github.com/openstack/python-tempestconf/blob/5fa5f9c51d196c4c046c28eee865f6f34d8750a1/config_tempest/api_discovery.py#L162 [2] https://review.openstack.org/#/c/544517/ One additional note:
identity api_v2 is deprecated in Queens, so it won't be discovered by python-tempestconf, only v3 versions will be discovered. However, if you still want to run api.v2 tests, you need to either manually edit tempest.conf or pass a new parameter, for example:
> source ~/keystonerc
>
> /usr/bin/discover-tempest-config \
> --deployer-input ~/ir-tempest-deployer-input.conf \
> --debug -v --create \
> --image http://rhos-qe-mirror-qeos.usersys.redhat.com/images/cirros-0.3.5-x86_64-disk.img \
> identity.uri $OS_AUTH_URL identity.admin_password $OS_PASSWORD scenario.img_dir ~/tempest-dir/etc \
> image.http_image http://rhos-qe-mirror-qeos.usersys.redhat.com/images/cirros-0.3.5-x86_64-uec.tar.gz \
> identity.region regionOne \
> orchestration.stack_owner_role heat_stack_owner \
> identity-feature-enabled.api_v2 True \
> --out ~/tempest-dir/etc/tempest.conf
By adding `identity-feature-enabled.api_v2 True` you will force discover-tempest-config to enable api_v2.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:2086 |