File tree Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 68
68
- nova_spicehtml5proxy.enabled | bool
69
69
- inventory_hostname in groups[nova_spicehtml5proxy.group]
70
70
71
- - name : Checking free port for Nova SSH
71
+ - name : Checking free port for Nova SSH (API interface)
72
+ vars :
73
+ nova_ssh : " {{ nova_cell_services['nova-ssh'] }}"
74
+ wait_for :
75
+ host : " {{ api_interface_address }}"
76
+ port : " {{ nova_ssh_port }}"
77
+ connect_timeout : 1
78
+ timeout : 1
79
+ state : stopped
80
+ when :
81
+ - container_facts['nova_ssh'] is not defined
82
+ - nova_ssh.enabled | bool
83
+ - inventory_hostname in groups[nova_ssh.group]
84
+
85
+ - name : Checking free port for Nova SSH (migration interface)
72
86
vars :
73
87
nova_ssh : " {{ nova_cell_services['nova-ssh'] }}"
74
88
wait_for :
78
92
timeout : 1
79
93
state : stopped
80
94
when :
95
+ - migration_interface_address != api_interface_address
81
96
- container_facts['nova_ssh'] is not defined
82
97
- nova_ssh.enabled | bool
83
98
- inventory_hostname in groups[nova_ssh.group]
Original file line number Diff line number Diff line change 1
1
Port {{ nova_ssh_port }}
2
+ ListenAddress {{ api_interface_address }}
3
+ {% if migration_interface_address != api_interface_address %}
2
4
ListenAddress {{ migration_interface_address }}
5
+ {% endif %}
3
6
4
7
SyslogFacility AUTHPRIV
5
8
UsePAM yes
Original file line number Diff line number Diff line change
1
+ ---
2
+ fixes :
3
+ - |
4
+ Fixes Nova resize failing when ``migration_interface`` is customised.
5
+ `LP#1956976 <https://launchpad.net/bugs/1956976>`__
You can’t perform that action at this time.
0 commit comments