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

Merge "Fix live migration to use migration int. address"

parents ee21a7a5 628c27ce
No related branches found
No related tags found
No related merge requests found
[libvirt]
{% if libvirt_tls | bool %}
connection_uri = "qemu+tls://{{ migration_hostname }}/system"
live_migration_uri = "qemu+tls://%s/system"
connection_uri = "qemu+tls://{{ migration_hostname | put_address_in_context('url') }}/system"
live_migration_scheme = "tls"
live_migration_inbound_addr = "{{ migration_hostname }}"
{% else %}
connection_uri = "qemu+tcp://{{ migration_interface_address | put_address_in_context('url') }}/system"
live_migration_inbound_addr = "{{ migration_interface_address }}"
{% endif %}
{% if nova_backend == "rbd" %}
images_type = rbd
......
---
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>`__
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