Skip to content
Snippets Groups Projects
Commit 9f56ce75 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Fix the Nova SSH port prechecks missing"

parents c9ce4e8e 312c3fe5
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@
- nova_novncproxy
- nova_serialproxy
- nova_spicehtml5proxy
- nova_ssh
- nova_libvirt
- placement_api
register: container_facts
......@@ -75,6 +76,19 @@
- nova_spicehtml5proxy.enabled | bool
- inventory_hostname in groups[nova_spicehtml5proxy.group]
- name: Checking free port for Nova SSH
vars:
nova_ssh: "{{ nova_services['nova-ssh'] }}"
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ nova_ssh_port }}"
connect_timeout: 1
state: stopped
when:
- container_facts['nova_ssh'] is not defined
- nova_ssh.enabled | bool
- inventory_hostname in groups[nova_ssh.group]
- name: Checking free port for Nova Placement API
vars:
placement_api: "{{ nova_services['placement-api'] }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment