diff options
| author | Mauricio Lima <mauriciolimab@gmail.com> | 2016-09-08 10:21:33 -0400 |
|---|---|---|
| committer | Mauricio Lima <mauriciolimab@gmail.com> | 2016-09-08 10:22:23 -0400 |
| commit | ffe56f8b1d2f2e857da423eac16e53d097877f4f (patch) | |
| tree | dbe68a226cc95207d7e636e835b5d64e2dc2be46 /ansible | |
| parent | 15228232e11355d459a70beacd263109ea229b27 (diff) | |
| download | kolla-ffe56f8b1d2f2e857da423eac16e53d097877f4f.tar.gz kolla-ffe56f8b1d2f2e857da423eac16e53d097877f4f.zip | |
Add Checking free port for Manila API
TrivialFix
Change-Id: I583e1a5a2563b0b0617b5ab0c304fe2092d827bc
Diffstat (limited to 'ansible')
| -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 482bc41b1..b864c8577 100644 --- a/ansible/roles/prechecks/tasks/port_checks.yml +++ b/ansible/roles/prechecks/tasks/port_checks.yml @@ -215,6 +215,22 @@ state: stopped when: inventory_hostname in groups['mariadb'] +- name: Checking free port for Manila API + wait_for: + host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" + port: "{{ manila_api_port }}" + connect_timeout: 1 + state: stopped + when: inventory_hostname in groups['manila-api'] + +- name: Checking free port for Manila API HAProxy + wait_for: + host: "{{ kolla_internal_vip_address }}" + port: "{{ manila_api_port }}" + connect_timeout: 1 + state: stopped + when: inventory_hostname in groups['haproxy'] + - name: Checking free port for Memcached wait_for: host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" |
