diff options
| author | caoyuan <cao.yuan@99cloud.net> | 2016-09-28 10:55:24 +0800 |
|---|---|---|
| committer | caoyuan <cao.yuan@99cloud.net> | 2016-09-28 11:13:30 +0800 |
| commit | ff708f1304c7b779ad45a6f9e650c1a7d10e320d (patch) | |
| tree | 13ae4d99d1365f2b8020962ebc1e361b4ebed16d | |
| parent | 622c88ec99c537fec3bd66d913b82ce3462e8a3a (diff) | |
| download | kolla-ff708f1304c7b779ad45a6f9e650c1a7d10e320d.tar.gz kolla-ff708f1304c7b779ad45a6f9e650c1a7d10e320d.zip | |
Update the location of Glance Registry HAProxy checks
TrivialFix
Change-Id: I7957bd4faf391775289a6b0210fadba66b041002
| -rw-r--r-- | ansible/roles/prechecks/tasks/port_checks.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ansible/roles/prechecks/tasks/port_checks.yml b/ansible/roles/prechecks/tasks/port_checks.yml index 6c741cd8a..3f14cb7d9 100644 --- a/ansible/roles/prechecks/tasks/port_checks.yml +++ b/ansible/roles/prechecks/tasks/port_checks.yml @@ -87,6 +87,14 @@ state: stopped when: inventory_hostname in groups['glance-registry'] +- name: Checking free port for Glance Registry HAProxy + wait_for: + host: "{{ kolla_internal_vip_address }}" + port: "{{ glance_registry_port }}" + connect_timeout: 1 + state: stopped + when: inventory_hostname in groups['haproxy'] + - name: Checking free port for Gnocchi API wait_for: host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" @@ -103,14 +111,6 @@ state: stopped when: inventory_hostname in groups['haproxy'] -- name: Checking free port for Glance Registry HAProxy - wait_for: - host: "{{ kolla_internal_vip_address }}" - port: "{{ glance_registry_port }}" - connect_timeout: 1 - state: stopped - when: inventory_hostname in groups['haproxy'] - - name: Checking free port for Sahara API wait_for: host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" |
