Bug 912744
| Summary: | Live migration fails. Libvirt says Cannot assign requested address. | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Jaroslav Henner <jhenner> | |
| Component: | openstack-nova | Assignee: | Daniel Berrangé <berrange> | |
| Status: | CLOSED DEFERRED | QA Contact: | Jaroslav Henner <jhenner> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 2.0 (Folsom) | CC: | breeler, derekh, ndipanov, sgordon | |
| Target Milestone: | --- | |||
| Target Release: | 2.1 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Release Note | ||
| Doc Text: |
If the vncserver_listen parameter in /etc/nova/nova.conf is set to the IP address of host, then it will no longer be possible to migrate virtual machine instances to another host. Attempts at migration will result in an error when starting the guest on the target host.
To workaround this flaw, the listen address must be set to the wildcard address (e.g. 0.0.0.0). Firewall rules on the host must then be used to lock down access to the VNC console port number range (as configured in /etc/libvirt/qemu.conf, to only those networks which should have access. In particular care must be taken to prevent virtual machines instances from accessing the VNC ports on the host, if the host and guest share any networks.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 958057 1178924 (view as bug list) | Environment: | ||
| Last Closed: | 2013-04-30 09:57:21 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 958057, 1180600, 1180602 | |||
|
Description
Jaroslav Henner
2013-02-19 15:04:15 UTC
Created attachment 699494 [details]
logs.tar.xz
Can you provide the /etc/nova/nova.conf file from *both* hosts. Also provide the /var/log/libvirt/qemu/instance-XXXXXXX.log file from *both* hosts involved. Ok, so the problem is that on the first host there is vncserver_listen=10.34.69.2 in nova.conf. This gets into the guest XML as listen="10.33.69.2" which is fine on the source host. During migration the XML from the source is sent across to the destination host, where this IP address is just wrong. If Nova is going to use host-specific IP addresses in the XML, then it needs to override the XML used during migration to provide an updated IP address. A simpler option is to not hard code the IP address at all - use 0.0.0.0 to make it listen on all interfaces. |