Description of problem: When trying to attach a second bootable disk to VM, the CDA message in engine.log is wrong: "Cannot attach Virtual Disk. Disk ${DiskName} in VM ${VmName} is already marked as boot., vmname, vm type 22113446, diskname, vm type 22113446 disk1" Version-Release number of selected component (if applicable): ovirt-engine-4.0.2.6-0.1.el7ev.noarch How reproducible: 100& Steps to Reproduce: 1. Attach second boot disk to VM with already attached disk as boot 2. 3. Actual results: Expected results: Additional info:
Tal, Should I open a new bug on wrong log message when moving template disk? the log message: Status: 400 Reason: Bad Request Detail: [Cannot move Virtual Disk. The following disk(s) are not attached to any VM: ${diskAliases}.]
Tested with the following code: ---------------------------------------- rhevm-4.0.4-0.1.el7ev.noarch vdsm-4.18.12-1.el7ev.x86_64 Tested with the following scenario: Steps to Reproduce: 1. Attach second boot disk to VM with already attached disk as boot >>>> The following error is generated: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <fault> <reason>Operation Failed</reason> <detail>[Cannot add Virtual Disk. Disk vm44_Disk1 in VM vm44 is already marked as boot.]</detail> </fault> Actual results: The correct error is reported indicating that the vm already has a bootable disk Expected results: Moving to VERIFIED!
*** Bug 1373880 has been marked as a duplicate of this bug. ***