Dashboard scenario test does not consider Horizon auth version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
Dan Nguyen |
Bug Description
Desc:
The current tempest configs requires a new property for the version of Keystone that Horizon is set too. The log in screen will require a domain name when Horizon's local_settings.py is set to Keystone v3 with multi-domain support enabled.
Details:
The Keystone API runs both version 2 and version 3 concurrently.
They are not compatible and have different methods of authentication.
Clients can choose which version of the API to talk to. (i.e. choosing the endpoint)
Horizon (The OpenStack Dashboard) uses the Keystone Client binding to authenticate to the Keystone API. Too choose which version of the Keystone API to use there are settings in Horizon.
When Horizon's settings are configured to talk to the Keystone V3 API the login screen will require additional credentials. Namely the the domain name of the user. When this is omitted, authentication will fail. There user will not be able to login and view the Overview screen.
Tempest has a scenario test that assumes Horizon will be configured to use Keystone V2. This tests fails when Horizon is configured to use Keystone V3.
The Proposed Fix:
Add a new property to skip the test based on a config property for the auth_version that horizon is using. This approach is consistent with how Tempest handles skipping over tests.
Changed in tempest: | |
assignee: | nobody → Dan Nguyen (daniel-a-nguyen) |
description: | updated |
Fix proposed to branch: master /review. openstack. org/264354
Review: https:/