Use FQDN to communicate with Kibana and Elasticsearch

Switch URL composition from using VIP to FQDN to connect with Kibana and
Elasticsearch services.

Change-Id: I5d559ead1d6d5e928e76bb685e0f730868fd7b89
Closes-Bug: #1862419
This commit is contained in:
generalfuzz 2020-05-05 09:55:50 -07:00
parent 7d73246fe7
commit f165b81e2a
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
---
- name: Set fact for Elasticsearch URL
set_fact:
elasticsearch_url: "{{ internal_protocol }}://{{ kolla_internal_vip_address | put_address_in_context('url') }}:{{ elasticsearch_port }}"
elasticsearch_url: "{{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ elasticsearch_port }}"
- name: Wait for Elasticsearch
become: true

View File

@ -1,7 +1,7 @@
---
- name: Wait for kibana port
wait_for:
host: "{{ kolla_internal_vip_address }}"
host: "{{ kolla_internal_fqdn }}"
port: "{{ kibana_server_port }}"
run_once: true