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

virt-install fails to create guest due to virtqemud restart

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • libvirt / General
    • None
    • No
    • None
    • rhel-virt-core-libvirt-1
    • ssg_virtualization
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

      Install an uefi guest on rhel10

      Please provide the package NVR for which the bug is seen:

      libvirt-10.10.0-1.el10.x86_64
      qemu-kvm-9.1.0-7.el10.x86_64
      virt-install-5.0.0-1.el10.noarch
      kernel-6.12.0-30.el10.x86_64

      How reproducible is this bug?:

      always

      Steps to reproduce

      run the command to install a uefi guest

      # virt-install \
      --location \
       --boot uefi \
      --name test_uefi \
       --memory 4096 \
      --osinfo rhel10.0
      
      Using rhel10.0 default --disk size=20
      WARNING  Graphics requested but DISPLAY is not set. Not running virt-viewer.
      WARNING  No console to launch for the guest, defaulting to --wait -1
      
      Starting install...
      Retrieving 'vmlinuz'                                                                                         |  15 MB  00:00:00
      Retrieving 'initrd.img'                                                                                      | 138 MB  00:00:01
      Allocating 'test_uefi.qcow2'                                                                                 |  20 GB  00:00:01
      ERROR    internal error: client socket is closed
      Domain installation does not appear to have been successful.
      If it was, you can restart your domain by running:
        virsh --connect qemu:///system start test_uefi
      otherwise, please restart your installation.
      

      Actual results

      install failed and libvirtd restarted

      # systemctl status virtqemud
      ○ virtqemud.service - libvirt QEMU daemon
           Loaded: loaded (/usr/lib/systemd/system/virtqemud.service; enabled; preset: enabled)
           Active: inactive (dead) since Thu 2024-12-05 01:43:31 EST; 3min 9s ago
         Duration: 50.903s
       Invocation: e442a5a494824c2fad51023d1409e0f9
      TriggeredBy: ○ virtqemud-admin.socket
                   ○ virtqemud.socket
                   ○ virtqemud-ro.socket
             Docs: man:virtqemud(8)
                   https://libvirt.org/
          Process: 99668 ExecStart=/usr/sbin/virtqemud $VIRTQEMUD_ARGS (code=exited, status=0/SUCCESS)
         Main PID: 99668 (code=exited, status=0/SUCCESS)
      
      Dec 05 01:42:41 dell-per750-12.lab.eng.pek2.redhat.com virtqemud[99668]: libvirt version: 10.10.0, package: 1.el10 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2024-12-02-11:57:57, )
      Dec 05 01:42:41 dell-per750-12.lab.eng.pek2.redhat.com virtqemud[99668]: hostname: dell-per750-12.lab.eng.pek2.redhat.com
      Dec 05 01:42:41 dell-per750-12.lab.eng.pek2.redhat.com virtqemud[99668]: Failed to connect socket to '/var/run/libvirt/virtnetworkd-sock': No such file or directory
      Dec 05 01:42:49 dell-per750-12.lab.eng.pek2.redhat.com virtqemud[99668]: Failed to connect socket to '/var/run/libvirt/virtstoraged-sock': No such file or directory
      Dec 05 01:42:49 dell-per750-12.lab.eng.pek2.redhat.com virtqemud[99668]: Failed to connect socket to '/var/run/libvirt/virtstoraged-sock': No such file or directory
      Dec 05 01:42:49 dell-per750-12.lab.eng.pek2.redhat.com virtqemud[99668]: Failed to connect socket to '/var/run/libvirt/virtstoraged-sock': No such file or directory
      Dec 05 01:43:09 dell-per750-12.lab.eng.pek2.redhat.com virtqemud[99668]: Failed to connect socket to '/var/run/libvirt/virtstoraged-sock': No such file or directory
      Dec 05 01:43:31 dell-per750-12.lab.eng.pek2.redhat.com systemd[1]: Stopping virtqemud.service - libvirt QEMU daemon...
      Dec 05 01:43:31 dell-per750-12.lab.eng.pek2.redhat.com systemd[1]: virtqemud.service: Deactivated successfully.
      Dec 05 01:43:31 dell-per750-12.lab.eng.pek2.redhat.com systemd[1]: Stopped virtqemud.service - libvirt QEMU daemon.
      
      

              virt-maint virt-maint
              hongzliu@redhat.com Hongzhou Liu
              virt-maint virt-maint
              virt-bugs virt-bugs
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: