| Summary: | Migration should fail earlier if virGetHostname returns NULL on destination host | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | koka xiong <kxiong> |
| Component: | libvirt | Assignee: | Osier Yang <jyang> |
| Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.7 | CC: | dallan, dyuan, eblake, hjiang, kxiong, llim |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-15 20:05:31 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
koka xiong
2011-04-07 07:59:38 UTC
If you don't specify "--migrateuri", libvirt detects desination hostname to form the destination QEMU URI for starting migration on source host, so if you specify an ill hostname, then it's expected the migration fails. But it's a problem that it should quit migration early while "virGetHostname" returns NULL, not goes on passing a obvious incorrect QEMU URI and wait for the failure, this is trival, but need to fix. This bug could reproduce on the following components of rh5.6: kernel-2.6.18-238.el5 libvirt-0.8.2-15.el5 virt-manager-0.6.1-13.el5 Steps to reproduce: 1.Build the migration environment on two hosts 2.set hostname of the host with the ip address "10.66.6.149" to "1234",then # virsh migrate rh5 qemu+ssh://10.66.6.149/system root.6.149's password: error: operation failed: migration to 'tcp:(null):0' failed: migration failed 3.set hostname of the host with the ip address "10.66.6.149" to "jianghuming",then # virsh migrate rh5 qemu+ssh://10.66.6.149/system root.6.149's password: (success) This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update. Contact your manager or support representative in case you need to escalate this bug. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. |