Skip to content
Snippets Groups Projects
Commit 808aa0e5 authored by Vladislav Belogrudov's avatar Vladislav Belogrudov
Browse files

Ansible does not wait for virtual IP to appear

VIP takes time (10-30 seconds) to appear on one of network nodes.
Ansible does not wait for the VIP and starts keystone. The latter
fails because it cannot connect to database thru the VIP.

Change-Id: Ie951ee22565bdbe8ccb68522648758a7174ba156
Closes-Bug: #1494253
parent 0d09769d
No related branches found
No related tags found
No related merge requests found
...@@ -46,3 +46,6 @@ ...@@ -46,3 +46,6 @@
command: docker exec haproxy /opt/kolla/ensure_latest_config.sh command: docker exec haproxy /opt/kolla/ensure_latest_config.sh
register: status register: status
changed_when: status.stdout.find('changed') != -1 changed_when: status.stdout.find('changed') != -1
- name: Waiting for virtual IP to appear
wait_for: host="{{ kolla_internal_address }}" port="{{ mariadb_port }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment