From c13b8a1f33a3ea78388794896a3e7f3256c89ec9 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 20 Apr 2017 06:54:51 -0400 Subject: [PATCH] try to use unversioned keystone endpoints everywhere Change-Id: Iad2a3654d8ba181a7ad452d8aba872a8313d4ece --- lib/glance | 2 +- lib/neutron | 4 ++-- lib/neutron-legacy | 2 +- lib/nova_plugins/hypervisor-ironic | 2 +- lib/placement | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/glance b/lib/glance index 57f07f5aba..d6438a6b48 100644 --- a/lib/glance +++ b/lib/glance @@ -207,7 +207,7 @@ function configure_glance { iniset $GLANCE_CACHE_CONF DEFAULT use_syslog $SYSLOG iniset $GLANCE_CACHE_CONF DEFAULT image_cache_dir $GLANCE_CACHE_DIR/ iniuncomment $GLANCE_CACHE_CONF DEFAULT auth_url - iniset $GLANCE_CACHE_CONF DEFAULT auth_url $KEYSTONE_AUTH_URI/v3 + iniset $GLANCE_CACHE_CONF DEFAULT auth_url $KEYSTONE_AUTH_URI iniuncomment $GLANCE_CACHE_CONF DEFAULT auth_tenant_name iniset $GLANCE_CACHE_CONF DEFAULT admin_tenant_name $SERVICE_PROJECT_NAME iniuncomment $GLANCE_CACHE_CONF DEFAULT auth_user diff --git a/lib/neutron b/lib/neutron index 492a0ee8fb..c7f62ed4a9 100644 --- a/lib/neutron +++ b/lib/neutron @@ -226,7 +226,7 @@ function configure_neutron_new { iniset $NEUTRON_META_CONF agent root_helper_daemon "$NEUTRON_ROOTWRAP_DAEMON_CMD" # TODO(dtroyer): remove the v2.0 hard code below - iniset $NEUTRON_META_CONF DEFAULT auth_url $KEYSTONE_SERVICE_URI/v2.0 + iniset $NEUTRON_META_CONF DEFAULT auth_url $KEYSTONE_SERVICE_URI configure_auth_token_middleware $NEUTRON_META_CONF neutron $NEUTRON_AUTH_CACHE_DIR DEFAULT fi @@ -284,7 +284,7 @@ function configure_neutron_rootwrap { function configure_neutron_nova_new { iniset $NOVA_CONF DEFAULT use_neutron True iniset $NOVA_CONF neutron auth_type "password" - iniset $NOVA_CONF neutron auth_url "$KEYSTONE_SERVICE_URI/v3" + iniset $NOVA_CONF neutron auth_url "$KEYSTONE_SERVICE_URI" iniset $NOVA_CONF neutron username neutron iniset $NOVA_CONF neutron password "$SERVICE_PASSWORD" iniset $NOVA_CONF neutron user_domain_name "Default" diff --git a/lib/neutron-legacy b/lib/neutron-legacy index af9a3d25b9..fa508f8180 100644 --- a/lib/neutron-legacy +++ b/lib/neutron-legacy @@ -368,7 +368,7 @@ function configure_mutnauq { function create_nova_conf_neutron { iniset $NOVA_CONF DEFAULT use_neutron True iniset $NOVA_CONF neutron auth_type "password" - iniset $NOVA_CONF neutron auth_url "$KEYSTONE_AUTH_URI/v3" + iniset $NOVA_CONF neutron auth_url "$KEYSTONE_AUTH_URI" iniset $NOVA_CONF neutron username "$Q_ADMIN_USERNAME" iniset $NOVA_CONF neutron password "$SERVICE_PASSWORD" iniset $NOVA_CONF neutron user_domain_name "$SERVICE_DOMAIN_NAME" diff --git a/lib/nova_plugins/hypervisor-ironic b/lib/nova_plugins/hypervisor-ironic index c9544fe6c7..7d47ef070c 100644 --- a/lib/nova_plugins/hypervisor-ironic +++ b/lib/nova_plugins/hypervisor-ironic @@ -49,7 +49,7 @@ function configure_nova_hypervisor { iniset $NOVA_CONF ironic auth_type password iniset $NOVA_CONF ironic username admin iniset $NOVA_CONF ironic password $ADMIN_PASSWORD - iniset $NOVA_CONF ironic auth_url $KEYSTONE_AUTH_URI/v3 + iniset $NOVA_CONF ironic auth_url $KEYSTONE_AUTH_URI iniset $NOVA_CONF ironic project_domain_id default iniset $NOVA_CONF ironic user_domain_id default iniset $NOVA_CONF ironic project_name demo diff --git a/lib/placement b/lib/placement index 4755a58bf2..2c51ed69b4 100644 --- a/lib/placement +++ b/lib/placement @@ -102,7 +102,7 @@ function _config_placement_apache_wsgi { function configure_placement_nova_compute { iniset $NOVA_CONF placement auth_type "password" - iniset $NOVA_CONF placement auth_url "$KEYSTONE_SERVICE_URI/v3" + iniset $NOVA_CONF placement auth_url "$KEYSTONE_SERVICE_URI" iniset $NOVA_CONF placement username placement iniset $NOVA_CONF placement password "$SERVICE_PASSWORD" iniset $NOVA_CONF placement user_domain_name "$SERVICE_DOMAIN_NAME"