diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-09-12 18:38:28 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-09-12 18:38:28 +0000 |
| commit | e1b9608733d6514ba5bc04a901c4e486d7f12f73 (patch) | |
| tree | 60780d8be22903850e3f46bea07aecc264a04456 /ansible | |
| parent | 7ad4249ead56fdcce8671f0afc40ddee881f7f8f (diff) | |
| parent | ffe56f8b1d2f2e857da423eac16e53d097877f4f (diff) | |
| download | kolla-e1b9608733d6514ba5bc04a901c4e486d7f12f73.tar.gz kolla-e1b9608733d6514ba5bc04a901c4e486d7f12f73.zip | |
Merge "Add Checking free port for Manila API"
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'] }}" |
