Skip to content

Commit

Permalink
Merge "Add Checking free port for Manila API"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Sep 12, 2016
2 parents 7ad4249 + ffe56f8 commit e1b9608
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ansible/roles/prechecks/tasks/port_checks.yml
Expand Up @@ -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'] }}"
Expand Down

0 comments on commit e1b9608

Please sign in to comment.