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

[Machines] Stop configuring spice for new VMs

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • rhel-8.10
    • rhel-8.10
    • cockpit-appstream
    • None
    • cockpit-appstream-307-1.el8
    • None
    • None
    • rhel-sst-cockpit
    • ssg_front_door
    • None
    • Dev ack
    • False
    • None
    • Red Hat Enterprise Linux
    • None
    • None

      SPICE has been deprecated since RHEL 8.3 and users are encouraged to move to VNC.

      However, creating new VMs in cockpit as of today in RHEL 8.9 still comes up with SPICE (and VNC) configured.

      Doing LEAPP upgrades of RHEL8 hosts to RHEL9 has proven to be problematic, as Virtual Machines may not start after the process due to the RHEL9 host not supporting SPICE. The VMs need to be converted from SPICE to VNC, which at the moment is a manual and cumbersome process.

      Changing defaults in 8.9.z is probably not a good idea, but could you please evaluate if we could move Cockpit away from creating new VMs with SPICE and set just VNC?

      This would ensure any new VMs created on 8.10 would upgrade smoothly to RHEL9.

       

      Follow [1], and the result is:

       

      # virsh dumpxml centos-stream8-2023-12-5 | grep graphics
          <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'>
          </graphics>
          <graphics type='spice' autoport='yes' listen='::1'>
          </graphics> 
      

       

      [1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_virtualization/getting-started-with-virtualization-in-rhel-8_configuring-and-managing-virtualization#creating-vms-and-installing-an-os-using-the-rhel-web-console_assembly_creating-virtual-machines

       

              rhn-engineering-mpitt Martin Pitt
              rhn-support-gveitmic Germano Veit Michel
              Martin Pitt
              aliased-user aliased-user (Inactive)
              Yunming Yang Yunming Yang
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: