Reviewed: https://review.openstack.org/589548 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=8b019d6f1e7893a7e308bd79c879e94d3400e007 Submitter: Zuul Branch: master
commit 8b019d6f1e7893a7e308bd79c879e94d3400e007 Author: Sergii Golovatiuk <[email protected]> Date: Tue Aug 7 19:49:37 2018 +0300 libvirt: Always escape IPv6 addresses when used in migration URI If IPv6 is passed to URI it should be wrapped within square brackets. This patch detects IPv6 to form migration URI properly. Domain name, IPv4 or already bracketed IPv6 address will pass as is Extend tests to include collapsed IPv6 addresses and IPv6 addresses with port Change-Id: I1201db996ea6ceaebd49479b298d74585a78b006 Closes-Bug: #1786058 ** Changed in: nova Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1786058 Title: Live migration failed: Unable to parse URI qemu+ssh://nova_migration@fd00: Status in OpenStack Compute (nova): Fix Released Bug description: Unable to parse URI qemu+ssh://nova_migration@fd00:fd00:fd00:2000::1e/system?keyfile=/etc/nova/migration/identity IPv6 URI should be wrapped in [], to avoid ambiguity wrt port number. nova/virt/libvirt/driver.py needs some logic to wrap IPv6 addresses to brackets. Otherwise live migration will fail due to malformed URI To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1786058/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

