OSTF tests don’t work with disabled Keystone V2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
New
|
Undecided
|
Fuel QA Team |
Bug Description
I have run some OSTF tests on MOS 9.1 RC2 with keystone V2 disabled and got the following error message on any tests:
Can not set proxy for Health Check.Make sure that network configuration for controllers is correct
I grep /var/log/
root@node-1:~# cat /var/log/
<46>Oct 6 10:41:54 node-1 keystone_
<46>Oct 6 10:41:54 node-1 keystone_
Steps to reproduce:
#1. Deploy env (1 controller, 1 compute)
#2. On controller make sure that Keystone V2 disabled
Here is a simple script how to disable keystone v2 on controller: https:/
#3. Run any OSTF test in Fuel Web
Expected results:
test PASSED
Actual result:
ERROR:
Can not set proxy for Health Check.Make sure that network configuration for controllers is correct
Changed in mos: | |
milestone: | none → 9.1 |
tags: | added: area-keystone keystone ostf |
Changed in mos: | |
assignee: | nobody → Fuel QA Team (fuel-qa) |
milestone: | 9.1 → 9.2 |
Changed in mos: | |
milestone: | 9.2 → 9.x-updates |
This is not how Keystone V3 is supposed to be disabled. The auth configuration for service users is generated during puppet run, and presumably all components in all their config files have auth_url or such pointing to Keystone v2.
The only way this could possibly work is if all components used keystoneauth lib and its auth_plugins, with dynamic auth_plugin "password" configured, which will choose V2/V3 depending on their availability. AFAIK not all components do this, and I am actually not sure this would work at all.
BTW, AFAIK in upstream there is no integration job (testing multiple components at once) that has Keystone V2 completely disabled, so re actual support for running the whole cloud on Keystone V3 only we are in a bit grey area for now.