Merge "Fix live migration to use migration int. address"
This commit is contained in:
commit
969159cc17
|
@ -1,9 +1,11 @@
|
||||||
[libvirt]
|
[libvirt]
|
||||||
{% if libvirt_tls | bool %}
|
{% if libvirt_tls | bool %}
|
||||||
connection_uri = "qemu+tls://{{ migration_hostname }}/system"
|
connection_uri = "qemu+tls://{{ migration_hostname | put_address_in_context('url') }}/system"
|
||||||
live_migration_uri = "qemu+tls://%s/system"
|
live_migration_scheme = "tls"
|
||||||
|
live_migration_inbound_addr = "{{ migration_hostname }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
connection_uri = "qemu+tcp://{{ migration_interface_address | put_address_in_context('url') }}/system"
|
connection_uri = "qemu+tcp://{{ migration_interface_address | put_address_in_context('url') }}/system"
|
||||||
|
live_migration_inbound_addr = "{{ migration_interface_address }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if nova_backend == "rbd" %}
|
{% if nova_backend == "rbd" %}
|
||||||
images_type = rbd
|
images_type = rbd
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes an issue with Nova live migration not using
|
||||||
|
``migration_interface_address`` even when TLS was not used.
|
||||||
|
When migrating an instance to a newly added compute host, if addressing
|
||||||
|
depended on ``/etc/hosts`` and it had not been updated on the
|
||||||
|
source compute host to include the new compute host, live migration would
|
||||||
|
fail. This did not affect DNS-based name resolution.
|
||||||
|
Analogically, Nova live migration would fail if the address in
|
||||||
|
DNS/``/etc/hosts`` was not the same as ``migration_interface_address``
|
||||||
|
due to user customization.
|
||||||
|
`LP#1729566 <https://bugs.launchpad.net/kolla-ansible/+bug/1729566>`__
|
Loading…
Reference in New Issue