Bug 960958
Summary: | Wrong error messages show when controller type in xml is different with guest | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | tingting zheng <tzheng> |
Component: | libvirt | Assignee: | Ján Tomko <jtomko> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | acathrow, bili, cwei, honzhang, jtomko, lcui, lsu, mzhan, xuzhang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.0.5-2.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 09:50:18 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: |
Description
tingting zheng
2013-05-08 11:50:47 UTC
If you delete the implicit USB controller with index 0 from domain XML, libvirt will auto-add it anyway, which is why the domain with the virtio-serial controller has one more controller. But I agree that the error message is wrong - only one of those 3 or 4 controller is a disk controller, so the word 'disk' doesn't belong there. I've proposed a patch to make the error more generic: https://www.redhat.com/archives/libvir-list/2013-May/msg00636.html Fixed upstream by: commit c075f89fa291478e5244d64cf528ca3e80705d26 Author: Ján Tomko <jtomko> AuthorDate: 2013-05-09 11:39:21 +0200 Commit: Ján Tomko <jtomko> CommitDate: 2013-05-09 14:25:11 +0200 don't mention disk controllers in generic controller errors The controller element supports non-disk controller types too. https://bugzilla.redhat.com/show_bug.cgi?id=960958 git describe: v1.0.5-110-gc075f89 Verifying the bug with package: libvirt-1.0.5-2.el7.x86_64 Steps as the bug description, after step 4 will get error info: # virsh migrate --live mig --xml test_controller.xml qemu+ssh://xx.xx.xx.xx/system root.xx.xx's password: error: unsupported configuration: Target domain controller count 5 does not match source 4 error info DO NOT shows "disk" as expected. Setting VERIFIED. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |