Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1343168

Summary: Disable boot checkboxes in attach disk to VM dialog if a bootable disk was already chosen from the list
Product: [oVirt] ovirt-engine Reporter: Tal Nisan <tnisan>
Component: Frontend.WebAdminAssignee: Tal Nisan <tnisan>
Status: CLOSED CURRENTRELEASE QA Contact: Aharon Canan <acanan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: amureini, bugs, stirabos
Target Milestone: ovirt-4.0.0-rcFlags: rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
tnisan: devel_ack+
rule-engine: testing_ack+
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:59:16 UTC 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:
Embargoed:

Description Tal Nisan 2016-06-06 16:52:00 UTC
Description of problem:
Up until the change that moved the boot property to the relation between a disk and a VM the boot option could not be set when attaching a disk to VM and depended solely on whether the disk is defined as boot or not.
After this change we can decide whether to attach a disk as bootable or not and in that case when we already mark a disk from the list as bootable there's no logic in marking another one as bootable as the operation will fail hence once we mark one the other boxes should be disabled

Version-Release number of selected component (if applicable):

How reproducible:
100%

Steps to Reproduce:
1. Create a VM with either no disks or no bootable disk
2. Attempt to attach another disk from the VM disks subtab -> "Attach"
3. A list of disks will be displayed along with a changeable boot checkboxes for each
4. Mark one of the disks as boot

Actual results:
It is allowed to mark other disks as boot as well

Expected results:
After marking one disk as a boot the other boxes should be disabled

Additional info:

Comment 1 Gilad Lazarovich 2016-06-16 08:57:29 UTC
Verified to be fixed on build 4.0.0.4-0.1

Comment 3 Sandro Bonazzola 2016-07-05 07:59:16 UTC
oVirt 4.0.0 has been released, closing current release.