-
Bug
-
Resolution: Unresolved
-
Undefined
-
CNV v4.20.0
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
CNV v4.21.0.rhel9-31, CNV v4.20.2.rhel9-4
-
-
Important
-
None
Description of problem:
CD-ROM eject and mount functionality, when not involving an ISO file, is available even when the associated feature gate is disabled. This behavior should be restricted.
Version-Release number of selected component (if applicable):
v4.20
How reproducible:
Always
Steps to Reproduce:
1. Make sure DeclarativeHotplugVolumes is disabled 2. Try to eject a CD-ROM or mount a CD-ROM drive without an ISO
Actual results:
Facing an error: You will get an error: Danger alert: An error occurred Error "DeclarativeHotplugVolumes feature gate not enabled, cannot define an empty CD-ROM disk" for field "spec.template.spec.domain.devices.disks[0].name".
Expected results:
Eject / adding a CD-ROM drive without an ISO operations will be blocked by the UI if DeclarativeHotplugVolumes (Feature gate) is disabled.
Additional info:
There are no Sub-Tasks for this issue.