Bug 1066834

Summary: [engine-backend] Can add multiple boot disks to a vm
Product: Red Hat Enterprise Virtualization Manager Reporter: Liron Aravot <laravot>
Component: ovirt-engineAssignee: Liron Aravot <laravot>
Status: CLOSED CURRENTRELEASE QA Contact: Carlos Mestre González <cmestreg>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acanan, acathrow, amureini, gklein, iheim, lnatapov, lpeer, Rhev-m-bugs, scohen, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: ovirt-engine-3.4.0_av2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1078909, 1142926    

Description Liron Aravot 2014-02-19 08:04:20 UTC
Description of problem:
Few boot disks can be added to a vm through rest-api (can't be done through UI as the button is blocked, the problem is in the backend)

How reproducible:
always


Steps to Reproduce:
1.Create a vm with bootable disk,
2.try to add another new bootable disk to the vm

Actual results:
the operation is succesful and the vm has 2 bootable disks attached


Expected results:
CDA message should be returned

Comment 1 Leonid Natapov 2014-03-13 09:09:18 UTC
only one boot disk can be added to VM. 3.4.0-0.3.master.el6ev

Comment 2 Leonid Natapov 2014-03-13 09:22:11 UTC
moved to verified by mistake. should be tested with REST.

Comment 3 Carlos Mestre González 2014-03-19 10:41:04 UTC
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <fault>
    <reason>Operation Failed</reason>
    <detail>[Cannot add Virtual Machine Disk. Disk vm_multiple_bootable_disks_Disk1 in VM vm_multiple_bootable_disks is already marked as boot.]</detail>
</fault>

Verified in: rhevm 3.4.0-0.3.master.el6ev

Comment 4 Itamar Heim 2014-06-12 14:10:19 UTC
Closing as part of 3.4.0