diff options
| author | zhubingbing <1392607554@qq.com> | 2016-09-28 08:42:59 +0000 |
|---|---|---|
| committer | zhubingbing <1392607554@qq.com> | 2016-10-14 03:21:41 +0000 |
| commit | 982e3bffa342001559bc9832e34614d670feb5f0 (patch) | |
| tree | 960046aa65f622ebadfe9a98f9a9448cae5f2b41 | |
| parent | 622c88ec99c537fec3bd66d913b82ce3462e8a3a (diff) | |
| download | kolla-982e3bffa342001559bc9832e34614d670feb5f0.tar.gz kolla-982e3bffa342001559bc9832e34614d670feb5f0.zip | |
add magnum to precheck
TrivialFix
Change-Id: Ib9b199c2edcc48972491b46b41ae502953cd8a81
| -rw-r--r-- | ansible/roles/prechecks/tasks/port_checks.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ansible/roles/prechecks/tasks/port_checks.yml b/ansible/roles/prechecks/tasks/port_checks.yml index 6c741cd8a..510e188cf 100644 --- a/ansible/roles/prechecks/tasks/port_checks.yml +++ b/ansible/roles/prechecks/tasks/port_checks.yml @@ -239,6 +239,22 @@ state: stopped when: inventory_hostname in groups['tgtd'] +- name: Checking free port for Magnum API + wait_for: + host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" + port: "{{ magnum_api_port }}" + connect_timeout: 1 + state: stopped + when: inventory_hostname in groups['magnum-api'] + +- name: Checking free port for Magnum API HAProxy + wait_for: + host: "{{ kolla_internal_vip_address }}" + port: "{{ magnum_api_port }}" + connect_timeout: 1 + state: stopped + when: inventory_hostname in groups['haproxy'] + - name: Checking free port for MariaDB wait_for: host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" |
