Skip to content
Snippets Groups Projects
Commit c1d686fe authored by zhubingbing's avatar zhubingbing
Browse files

add cloudkitty port prechecks

add check cloudkitty prot and api haproxy in port_checks.yml

TrivialFix

Change-Id: I517a3e3becdc05cb0a5afeaff897ccd63813de09
parent 56603d92
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,22 @@
state: stopped
when: inventory_hostname in groups['haproxy']
- name: Checking free port for Cloudkitty API
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ cloudkitty_api_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['cloudkitty-api']
- name: Checking free port for Cloudkitty API HAProxy
wait_for:
host: "{{ kolla_internal_vip_address }}"
port: "{{ cloudkitty_api_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['haproxy']
- name: Checking free port for Glance API
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
......
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