Add the missing "ironic_inspector" into precheks
- remove the unnecessary blank - add "ironic_inspector" into its own prechecks and haproxy prechecks Change-Id: Id542971057a9116eef679f1eb0827266eb18ba30 Closes-bug: #1668178
This commit is contained in:
parent
9d295868a5
commit
a82aadd982
@ -203,7 +203,6 @@ horizon_port: "80"
|
|||||||
murano_api_port: "8082"
|
murano_api_port: "8082"
|
||||||
|
|
||||||
ironic_api_port: "6385"
|
ironic_api_port: "6385"
|
||||||
|
|
||||||
ironic_inspector_port: "5050"
|
ironic_inspector_port: "5050"
|
||||||
|
|
||||||
magnum_api_port: "9511"
|
magnum_api_port: "9511"
|
||||||
|
@ -201,6 +201,17 @@
|
|||||||
- inventory_hostname in groups['haproxy']
|
- inventory_hostname in groups['haproxy']
|
||||||
- "{{ 'ironic_api' not in haproxy_stat }}"
|
- "{{ 'ironic_api' not in haproxy_stat }}"
|
||||||
|
|
||||||
|
- name: Checking free port for Ironic Inspector HAProxy
|
||||||
|
wait_for:
|
||||||
|
host: "{{ kolla_internal_vip_address }}"
|
||||||
|
port: "{{ ironic_inspector_port }}"
|
||||||
|
connect_timeout: 1
|
||||||
|
state: stopped
|
||||||
|
when:
|
||||||
|
- enable_ironic | bool
|
||||||
|
- inventory_hostname in groups['haproxy']
|
||||||
|
- "{{ 'ironic_inspector' not in haproxy_stat }}"
|
||||||
|
|
||||||
- name: Checking free port for Karbor Admin HAProxy
|
- name: Checking free port for Karbor Admin HAProxy
|
||||||
wait_for:
|
wait_for:
|
||||||
host: "{{ kolla_internal_vip_address }}"
|
host: "{{ kolla_internal_vip_address }}"
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
name:
|
name:
|
||||||
- ironic_api
|
- ironic_api
|
||||||
|
- ironic_inspector
|
||||||
register: container_facts
|
register: container_facts
|
||||||
|
|
||||||
- name: Checking free port for Ironic
|
- name: Checking free port for Ironic
|
||||||
@ -15,6 +16,16 @@
|
|||||||
- container_facts['ironic_api'] is not defined
|
- container_facts['ironic_api'] is not defined
|
||||||
- inventory_hostname in groups['ironic-api']
|
- inventory_hostname in groups['ironic-api']
|
||||||
|
|
||||||
|
- name: Checking free port for Ironic Inspector
|
||||||
|
wait_for:
|
||||||
|
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
|
||||||
|
port: "{{ ironic_inspector_port }}"
|
||||||
|
connect_timeout: 1
|
||||||
|
state: stopped
|
||||||
|
when:
|
||||||
|
- container_facts['ironic_inspector'] is not defined
|
||||||
|
- inventory_hostname in groups['ironic-inspector']
|
||||||
|
|
||||||
- name: Checking ironic-agent files exist for Ironic
|
- name: Checking ironic-agent files exist for Ironic
|
||||||
local_action: stat path="{{ node_custom_config }}/ironic/{{ item }}"
|
local_action: stat path="{{ node_custom_config }}/ironic/{{ item }}"
|
||||||
register: result
|
register: result
|
||||||
|
Loading…
Reference in New Issue
Block a user