Created attachment 1728303 [details]
Description of problem:
OCP 4.6 with CNV 2.4 - golden images is not supported in CNV templates but th eoption to attach a PVC to a template is available in the UI.
Version-Release number of selected component (if applicable):
OCP 4.6 with CNV 2.4
Steps to Reproduce:
1. Storage -> Persistent Volume Claims
2. Create Persistent Volume Claim (with data upload form)
"Attach this data to a Virtual Machine operating system" checkbox is enabled, though the templates do not have the required information for this feature.
Checkbox should not be displayed.
See attached screenshot.
Matt and Ruth hi,
Is it OK to disable the check box (and add a hint why it's disabled) instead of hiding it ?
setting severity to medium because this issue does not disrupts customer operations (high severity: "...customer's operation is disrupted,...")
If we can't find any operating system that have a DV parameter, we should disable/hide the check box
I'm OK with both (hiding/disabling); however, if you decide to disable the checkbox, there should be a clear explanation as to why the checkbox is disabled.
sorry I'm not following why we wouldn't just hide it if it's not possible at all?
> why we wouldn't just hide it if it's not possible at all?
Matt, yes, the after discussion we desided to hide it.
The reason behind disabling, instead of hiding, was that upstream users (not using a released version) may have the option to install (or not install) templates with data volume support.
Disabling the checkbox may inform users that they have to option to use templates with data volumes if they install a new version of the templates.
verified on master ui, the checkbox is hiding when the cnv version is 2.4.
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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.