Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-4050

[Machines] The "Insert" / "Eject" buttons of CDROM are not disabled for Paused vm

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • None
    • Low
    • rhel-cockpit
    • ssg_front_door
    • None
    • QE ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None
    • 57,005

      Description of problem:
      [Machines] The "Insert" / "Eject" buttons of CDROM are not disabled for Paused vm

      Version-Release number of selected components (if applicable):
      cockpit-machines-291-1.el9.noarch
      cockpit-292-1.el9.x86_64
      libvirt-dbus-1.4.1-5.el9.x86_64
      libvirt-client-9.3.0-2.el9.x86_64

      How reproducible:
      100%

      Steps to Reproduce:
      1. Prepare a shut off vm , like cirros. Prepare a iso:

      1. touch /tmp/fake1.iso

      2. Attach a CD-ROM disk by "Custom path" :
      /tmp/fake1.iso

      3. Run the vm

      4. Pause the vm, the "Eject" button of the CD-ROM is not disabled.
      Click "Eject" and confirm eject, the dialog closed but eject does not take effect.

      5. Resume the vm

      6. Click "Eject" and confirm eject, the CD-ROM disk is ejected successfully

      7. Pause the vm, the "Insert" button of the CD-ROM disk is not disabled.
      Click "Insert" and add the CD-ROM disk again, the dialog closed byt insert does not take effect.

      Actual results:
      See step4 & step7.

      Expected results:
      The "Insert" / "Eject" buttons should be disabled for Paused vm, but if we insist to enable them, we should at least make them effective.

      Additional info:

              Unassigned Unassigned
              xchen@redhat.com Xiang Hua Chen
              Simon Kobyda Simon Kobyda (Inactive)
              Yunming Yang Yunming Yang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: