-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
Quality / Stability / Reliability
-
2
-
False
-
-
False
-
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: