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
This commit is contained in:
Jonathan Rosser 2022-08-08 16:55:59 +01:00
parent e26aabe440
commit 05c64f7651

View File

@ -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