From 05c64f7651a93bfa987a939fce680c3d4b13df30 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Mon, 8 Aug 2022 16:55:59 +0100 Subject: [PATCH] Check the service status during bootstrap against the internal VIP This change brings the keystone role into line with others such as cinder which check the service status using the loadbalancer. This is useful in environments using a proxy server where the internal VIP can be included in "no_proxy" but the service IP for the containers are too numerous to list in "no_proxy" and stay within the 1024 character limit for pam_env. Change-Id: I1a4aec40618237aa23b4f40b335c141071a56f08 --- tasks/keystone_service_bootstrap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/keystone_service_bootstrap.yml b/tasks/keystone_service_bootstrap.yml index 8e44b18e..12089d27 100644 --- a/tasks/keystone_service_bootstrap.yml +++ b/tasks/keystone_service_bootstrap.yml @@ -15,7 +15,7 @@ - name: Wait for service to be up uri: - url: "http://{{ keystone_uwsgi_bind_address }}:{{ keystone_uwsgi_ports['keystone-wsgi-public']['http'] }}" + url: "{{ keystone_service_internaluri }}" method: "HEAD" status_code: 300 register: _wait_check