Fix live-migration in containers setup
Based on lab testing, need to set per host config option libvirt/live_migration_inbound_addr to an IP instead of hostname based address as nova-compute pod can't translate the host address. Setting will be primary infra address if it exists or else primary management address. This may require further revision to support IPv6 addresses. Goal is to enable further integration testing in the near term. We can move back to a hostname based address when that becomes available. Story: 2003909 Task: 27081 Change-Id: I8727583186f2f3253bd44d0fa22017261d30c7ca Signed-off-by: Gerry Kopec <gerry.kopec@windriver.com>
This commit is contained in:
parent
b8bb709f18
commit
284f0266f2
|
@ -356,7 +356,7 @@ class NovaHelm(openstack.OpenstackBaseHelm):
|
|||
elif ip_family == 6:
|
||||
vnc_config.update({'vncserver_listen': '::0'})
|
||||
|
||||
libvirt_config.update({'live_migration_inbound_addr': str(host.hostname) + '-infra'})
|
||||
libvirt_config.update({'live_migration_inbound_addr': migration_ip})
|
||||
vnc_config.update({'vncserver_proxyclient_address': mgmt_ip})
|
||||
|
||||
def _update_host_memory(self, host, default_config):
|
||||
|
|
Loading…
Reference in New Issue