Switch to use configure_keystone_authtoken_middleware in devstack plugin
Function "configure_auth_token_middleware" was deprecated in devstack in [1]. Patch [1] also introduced regression which cause failures in neutron's neutron-tempest-plugin-designate-scenario job. New function configure_keystone_authtoken_middleware should be used instead. This patch switches to use this new function to solve problem caused by patch [1] when old function is used. [1] https://review.opendev.org/#/c/628651/ Change-Id: I96d69bc7a1489377b5e95965e95dc3d3f2f3a933 Closes-Bug: #1834849
This commit is contained in:
parent
49c67014c2
commit
538e663f0d
@ -4,7 +4,7 @@ function configure_dns_extension {
|
|||||||
function configure_dns_integration {
|
function configure_dns_integration {
|
||||||
iniset $NEUTRON_CONF DEFAULT external_dns_driver designate
|
iniset $NEUTRON_CONF DEFAULT external_dns_driver designate
|
||||||
iniset $NEUTRON_CONF designate url "$DESIGNATE_SERVICE_PROTOCOL://$DESIGNATE_SERVICE_HOST:$DESIGNATE_SERVICE_PORT/v2"
|
iniset $NEUTRON_CONF designate url "$DESIGNATE_SERVICE_PROTOCOL://$DESIGNATE_SERVICE_HOST:$DESIGNATE_SERVICE_PORT/v2"
|
||||||
configure_auth_token_middleware $NEUTRON_CONF designate $NEUTRON_AUTH_CACHE_DIR designate
|
configure_keystone_authtoken_middleware $NEUTRON_CONF designate designate
|
||||||
}
|
}
|
||||||
function post_config_dns_extension {
|
function post_config_dns_extension {
|
||||||
iniset $NEUTRON_CONF DEFAULT dns_domain openstackgate.local
|
iniset $NEUTRON_CONF DEFAULT dns_domain openstackgate.local
|
||||||
|
Loading…
Reference in New Issue
Block a user