diff --git a/ansible/roles/prechecks/tasks/port_checks.yml b/ansible/roles/prechecks/tasks/port_checks.yml index 482bc41b19..b864c85774 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'] }}"