From 2a4aeacd7f76e89e7af0e3648dd44bfecb6aaa92 Mon Sep 17 00:00:00 2001 From: Pradeep Kilambi Date: Thu, 9 Mar 2017 13:01:36 -0500 Subject: [PATCH] Set OS_AUTH_TYPE on undercloud stackrc This is required for clients with default auth not set to keystone. For example, gnocchiclient. So lets set this explicitly. This should hurt the existing behavior for rest of the clients. Closes-bug: #1671829 Change-Id: I2271584aab410287c55408deaebb418346f13e8d --- elements/undercloud-install/os-apply-config/root/stackrc | 2 ++ releasenotes/notes/add-os-auth-type-5ed9338e73e0e172.yaml | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 releasenotes/notes/add-os-auth-type-5ed9338e73e0e172.yaml diff --git a/elements/undercloud-install/os-apply-config/root/stackrc b/elements/undercloud-install/os-apply-config/root/stackrc index f4d41e682..b4fb48bdd 100644 --- a/elements/undercloud-install/os-apply-config/root/stackrc +++ b/elements/undercloud-install/os-apply-config/root/stackrc @@ -6,6 +6,8 @@ NOVA_VERSION=1.1 export NOVA_VERSION OS_PASSWORD=$(sudo hiera admin_password) export OS_PASSWORD +OS_AUTH_TYPE=password +export OS_AUTH_TYPE {{#service_certificate}} OS_AUTH_URL=https://{{public_host}}:13000/v2.0 PYTHONWARNINGS="ignore:Certificate has no, ignore:A true SSLContext object is not available" diff --git a/releasenotes/notes/add-os-auth-type-5ed9338e73e0e172.yaml b/releasenotes/notes/add-os-auth-type-5ed9338e73e0e172.yaml new file mode 100644 index 000000000..5f25ced5c --- /dev/null +++ b/releasenotes/notes/add-os-auth-type-5ed9338e73e0e172.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - Add OS_AUTH_TYPE to undercloud stackrc file. Not all clients default to + keystone auth, so lets explicitly set the auth type in env.