DNM: Testing endpoint_type without URL

Change-Id: Ic2908120b4a415c782734bee2c4cd02aa5fd63f3
This commit is contained in:
Takashi Kajinami 2024-04-22 15:48:12 +09:00
parent 152459abf3
commit fb29f8b1cf
1 changed files with 4 additions and 0 deletions

View File

@ -265,15 +265,19 @@ function configure_manila {
if is_service_enabled neutron; then
configure_keystone_authtoken_middleware $MANILA_CONF neutron neutron
iniset $MANILA_CONF neutron endpoint_type public
fi
if is_service_enabled nova; then
configure_keystone_authtoken_middleware $MANILA_CONF nova nova
iniset $MANILA_CONF nova endpoint_type public
fi
if is_service_enabled cinder; then
configure_keystone_authtoken_middleware $MANILA_CONF cinder cinder
iniset $MANILA_CONF cinder endpoint_type public
fi
if is_service_enabled glance; then
configure_keystone_authtoken_middleware $MANILA_CONF glance glance
iniset $MANILA_CONF glance endpoint_type public
fi
if [ ! $MANILA_ENABLED_BACKENDS ]; then
# MANILA_ENABLED_BACKENDS is a required option