Bug 1007228
Summary: | update-device report success when failing to set <boot order> to cdrom/floppy device. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Hu Jianwei <jiahu> |
Component: | libvirt | Assignee: | Martin Kletzander <mkletzan> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | dyuan, hhan, jdenemar, mzhan, rbalakri, shyu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.2.17-5.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-19 05:43:55 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
Hu Jianwei
2013-09-12 07:29:20 UTC
This bug was not selected to be addressed in Red Hat Enterprise Linux 6. We will look at it again within the Red Hat Enterprise Linux 7 product. Patch proposed upstream: https://www.redhat.com/archives/libvir-list/2015-July/msg00426.html Fixed upstream by v1.2.17-127-g717c99f36023: commit 717c99f3602354136ca97edca6afc8dce69aae85 Author: Martin Kletzander <mkletzan> Date: Thu Jul 9 18:28:38 2015 +0200 qemu: Reject updating unsupported disk information I can reproduce it with libvirt-1.2.17-3.el7.x86_64 Verify it on libvirt-1.2.17-5.el7.x86_64 Steps: 1. Prepare a domain with cdrom, floppy, network, and these device without <boot order>,<serial>,<wwn>,<vendor>,<product> 2. Prepare cdrom xml and with <boot order='2'/> or <serial>WD-WMAP9A966149</serial> or <wwn>0x5000c50015ea71aa</wwn> or <vendor>WestData</vendor> or <product>Disk</product> in it, then UpdateDevice. # virsh update-device tst iso.xml error: Failed to update device from iso.xml error: Operation not supported: cannot modify field 'boot order' of the disk # virsh update-device tst iso.xml error: Failed to update device from iso.xml error: Operation not supported: cannot modify field 'wwn' of the disk # virsh update-device tst iso.xml error: Failed to update device from iso.xml error: Operation not supported: cannot modify field 'vendor' of the disk # virsh update-device tst iso.xml error: Failed to update device from iso.xml error: Operation not supported: cannot modify field 'product' of the disk 3. Prepare floppy xml and do as step2 do to floppy disk # virsh update-device tst fd.xml error: Failed to update device from fd.xml error: Operation not supported: cannot modify field 'boot order' of the disk # virsh update-device tst fd.xml error: Failed to update device from fd.xml error: Operation not supported: cannot modify field 'wwn' of the disk # virsh update-device tst fd.xml error: Failed to update device from fd.xml error: Operation not supported: cannot modify field 'vendor' of the disk # virsh update-device tst fd.xml error: Failed to update device from fd.xml error: Operation not supported: cannot modify field 'product' of the disk 4. Prepare network interface xml with <boot order='2'/>, the UpdateDevice. # virsh update-device tst network.xml error: Failed to update device from network.xml error: Operation not supported: cannot modify network device boot index setting Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2202.html |