Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-71598

Disable CD-ROM eject / mount without an ISO options when relevant feature gate is disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • CNV v4.20.z
    • CNV v4.20.0
    • CNV User Interface
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 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:

       

              rh-ee-gkremer Gal Kremer
              rh-ee-gkremer Gal Kremer
              Leon Kladnitsky Leon Kladnitsky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: