aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorzhubingbing <1392607554@qq.com>2016-09-28 08:31:01 +0000
committerzhubingbing <1392607554@qq.com>2016-11-02 10:00:37 +0800
commit4255c3b6441b50aa4db317cdc6fb180618e0dfa0 (patch)
tree6a23df2c70557017c32cbc998e87134dd29a52cf /ansible
parent0d5407d55ee2aa96a4cbeea25ae252e11c660371 (diff)
downloadkolla-4255c3b6441b50aa4db317cdc6fb180618e0dfa0.tar.gz
kolla-4255c3b6441b50aa4db317cdc6fb180618e0dfa0.zip
Add kuryr to precheck
TrivialFix Change-Id: Ia7bfa714521366818d848d924aa728819c97982a
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/prechecks/tasks/port_checks.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/ansible/roles/prechecks/tasks/port_checks.yml b/ansible/roles/prechecks/tasks/port_checks.yml
index a2472c1c7..9ed04e591 100644
--- a/ansible/roles/prechecks/tasks/port_checks.yml
+++ b/ansible/roles/prechecks/tasks/port_checks.yml
@@ -199,6 +199,16 @@
- inventory_hostname in groups['haproxy']
- enable_gnocchi | bool
+- name: Checking free port for Kuryr
+ wait_for:
+ host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
+ port: "{{ kuryr_port }}"
+ connect_timeout: 1
+ state: stopped
+ when:
+ - inventory_hostname in groups['compute']
+ - enable_kuryr | bool
+
- name: Checking free port for Sahara API
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"