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

virt-install should display a warning that SPICE is deprecated

    • Icon: Bug Bug
    • Resolution: Can't Do
    • Icon: Undefined Undefined
    • None
    • rhel-8.9.0
    • virt-manager
    • None
    • Normal
    • sst_virtualization
    • ssg_virtualization
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • x86_64
    • None

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

      However, creating new VMs in with virt-install, as shown in the documentation as of today in RHEL 8.9 still comes up with SPICE configured.

       

      Follow [1] and the result is:

       

      # virt-install --name demo-guest3 --memory 2048 --vcpus 2 --os-variant rhel8.0 --import --disk /var/lib/libvirt/images/image.qcow2
      # virsh dumpxml demo-guest3 | grep graphics
          <graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'>
          </graphics>
      

       

      Probably not a good idea to change a default in 8.9.z, but could you please evaluate changing the defaults in 8.10 to VNC? The less VMs a customer has with SPICE the better, especially in late RHEL8 lifecycle, as the upgrade to 9 has proven to be problematic due to SPICE removal.

      Alternatively we need to change the entire documentation to suggest --graphics vnc.

       [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-virtual-machines-using-the-command-line-interface_assembly_creating-virtual-machines

            phrdina@redhat.com Pavel Hrdina
            rhn-support-gveitmic Germano Veit Michel
            Pavel Hrdina Pavel Hrdina
            Hongzhou Liu Hongzhou Liu
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: