Bug 2107279

Summary: VM Template's bootable disk can be marked as bootable
Product: Container Native Virtualization (CNV) Reporter: Hilda Stastna <hstastna>
Component: User ExperienceAssignee: Ugo Palatucci <upalatuc>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.11.0CC: gouyang, upalatuc
Target Milestone: ---   
Target Release: 4.12.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: 2023-01-24 13:38:02 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 Hilda Stastna 2022-07-14 16:29:47 UTC
Description of problem:
When editing template's bootable disk (custom template) whose disk source is not dataVolumeTemplate, user can still check the checkbox to "Use this disk as a boot source" in the "Edit disk" modal.

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

How reproducible:
always

Steps to Reproduce:
1. Go to VM Template's Disks tab, choose the template with some bootable disk whose disk source is not dataVolumeTemplate
2. Click on "Edit" to edit the disk
3. Look at the checkbox "Use this disk as a boot source"

Actual results:
The checkbox "Use this disk as a boot source" is unchecked, ready to be checked to mark the already bootable disk as bootable.

Expected results:
The checkbox should be already checked and disabled, as the disk is already bootable.

Additional info:

Comment 2 Guohua Ouyang 2022-07-27 04:59:41 UTC
verified in v4.12.0-88

Comment 6 errata-xmlrpc 2023-01-24 13:38:02 UTC
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 (Important: OpenShift Virtualization 4.12.0 Images security update), 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://access.redhat.com/errata/RHSA-2023:0408