Skip to content
Snippets Groups Projects
Commit ec0a7fbd authored by caoyuan's avatar caoyuan
Browse files

Add watcher checking to port_checks.yml

TrivialFix

Change-Id: Idf2a53025afb53a12cbe3c4e2feed1dd3dddfe02
parent 5661f72f
No related branches found
No related tags found
No related merge requests found
......@@ -601,6 +601,22 @@
state: stopped
when: inventory_hostname in groups['haproxy']
- name: Checking free port for Watcher API
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ watcher_api_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['watcher-api']
- name: Checking free port for Watcher API HAProxy
wait_for:
host: "{{ kolla_internal_vip_address }}"
port: "{{ watcher_api_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['haproxy']
- name: Checking if kolla_internal_vip_address and kolla_external_vip_address are not pingable from any node
command: ping -c 3 {{ item }}
register: ping_output
......
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