Created attachment 1977520 [details] libvirtd log Description of problem: When deploying a VM with virt-install, the command hangs, not even being able to be stopped with ^C. The only way to make the command work again is to restart libvirtd service, but this is still an issue. It has been seen in virt-install debug mode, that it hangs in "Requesting libvirt URI default" On the other hand, the status of libvirtd service when hang, shows libvirtd[52740]: cannot parse process status data More details attached in the log. Version-Release number of selected component (if applicable): RHEL 9.3 compose RHEL-9.3.0-20230725.27 Date: 2023-07-25 osbuild-90-1.el9.noarch.rpm osbuild-composer-85-1.el9.x86_64.rpm weldr-client-35.9-1.el9.x86_64.rpm KERNEL: 5.14.0-344.el9.x86_64 How reproducible: 100% Steps to Reproduce: 1. Deploy RHEL-9.3 VM in Openstack 2. git clone https://github.com/virt-s1/rhel-edge.git 3. ./ostree.sh Actual results: virt-install hangs and VM deployment fails due to timeout. Expected results: virt-install being successful to deploy VM Additional info:
At that time, command "sudo virsh list --all" hangs as well. But libvirtd.service is active. Restarting libvirtd service will resolve. systemd and libvirt version: systemd-252-16.el9.x86_64 libvirt-daemon-kvm-9.3.0-2.el9.x86_64 libvirt-daemon-9.3.0-2.el9.x86_64
I found a bug https://bugzilla.redhat.com/show_bug.cgi?id=2213660 which is related with this one.
I think it is the same issue as https://bugzilla.redhat.com/show_bug.cgi?id=2213660 The buggy commit for systems is: ff32060f2ed37b68dc26256b05e2e69013b0ecfe core/service: when resetting PID also reset known flag And systemd-252-16.el9.x86_64 contains this buggy commit: ➜ ~ rpm -q --changelog systemd-252-16.el9.x86_64 |grep 'core/service: when resetting PID also reset known flag' - core/service: when resetting PID also reset known flag (#2210237)
See also https://bugzilla.redhat.com/show_bug.cgi?id=2213660 and https://github.com/systemd/systemd/pull/28000 Please backport the fix
(In reply to Han Han from comment #5) > I think it is the same issue as > https://bugzilla.redhat.com/show_bug.cgi?id=2213660 > The buggy commit for systems is: ff32060f2ed37b68dc26256b05e2e69013b0ecfe > core/service: when resetting PID also reset known flag > > And systemd-252-16.el9.x86_64 contains this buggy commit: > ➜ ~ rpm -q --changelog systemd-252-16.el9.x86_64 |grep 'core/service: when > resetting PID also reset known flag' > - core/service: when resetting PID also reset known flag (#2210237) Yes, I've come to the same conclusion. There's another duplicate of this filed with libvirt just now.
*** Bug 2226916 has been marked as a duplicate of this bug. ***
*** Bug 2227980 has been marked as a duplicate of this bug. ***
Also hitting the same issue with CentOS 9-stream in OpenStack Upstream CI https://bugs.launchpad.net/neutron/+bug/2029335, would be good to get the revert patch included in systemd rpm to clear this issue.
*** Bug 2229106 has been marked as a duplicate of this bug. ***
*** Bug 2229859 has been marked as a duplicate of this bug. ***
*** Bug 2231983 has been marked as a duplicate of this bug. ***