Skip to content
Snippets Groups Projects
Commit b7babcdc authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Make nova_ssh listen on api_interface as well"

parents d5dcb664 75b69ea7
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,21 @@ ...@@ -68,7 +68,21 @@
- nova_spicehtml5proxy.enabled | bool - nova_spicehtml5proxy.enabled | bool
- inventory_hostname in groups[nova_spicehtml5proxy.group] - inventory_hostname in groups[nova_spicehtml5proxy.group]
- name: Checking free port for Nova SSH - name: Checking free port for Nova SSH (API interface)
vars:
nova_ssh: "{{ nova_cell_services['nova-ssh'] }}"
wait_for:
host: "{{ api_interface_address }}"
port: "{{ nova_ssh_port }}"
connect_timeout: 1
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 SSH (migration interface)
vars: vars:
nova_ssh: "{{ nova_cell_services['nova-ssh'] }}" nova_ssh: "{{ nova_cell_services['nova-ssh'] }}"
wait_for: wait_for:
...@@ -78,6 +92,7 @@ ...@@ -78,6 +92,7 @@
timeout: 1 timeout: 1
state: stopped state: stopped
when: when:
- migration_interface_address != api_interface_address
- container_facts['nova_ssh'] is not defined - container_facts['nova_ssh'] is not defined
- nova_ssh.enabled | bool - nova_ssh.enabled | bool
- inventory_hostname in groups[nova_ssh.group] - inventory_hostname in groups[nova_ssh.group]
......
Port {{ nova_ssh_port }} Port {{ nova_ssh_port }}
ListenAddress {{ api_interface_address }}
{% if migration_interface_address != api_interface_address %}
ListenAddress {{ migration_interface_address }} ListenAddress {{ migration_interface_address }}
{% endif %}
SyslogFacility AUTHPRIV SyslogFacility AUTHPRIV
UsePAM yes UsePAM yes
---
fixes:
- |
Fixes Nova resize failing when ``migration_interface`` is customised.
`LP#1956976 <https://launchpad.net/bugs/1956976>`__
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