Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Reproduces on:
libvirt-client-7.3.0-1.module+el8.5.0+11004+f4810536.x86_64
qemu-kvm-6.0.0-16.module+el8.5.0+10848+2dccc46d.x86_64
Can also reproduce by : start libvirt-guests -> stop libvirtd -> stop libvirt-guests.
+++ This bug was initially created as a clone of Bug #1964855 +++
Description of problem:
'systemctl stop libvirt-guests' hangs after libvirtd timeout
Version-Release number of selected component (if applicable):
libvirt-client-7.0.0-6.el9.x86_64
qemu-kvm-6.0.0-2.el9.x86_64
How reproducible:
100%
Steps to Reproduce:
1.systemctl start libvirt-guests
it will also start libvirtd
2.wait 'libvirtd --timeout 120' to timeout
3.systemctl stop libvirt-guests
Actual results:
Step 3 hangs, actually at 'virsh connect' inside the .sh:
# ps aux|grep 'libvirt|virsh' -E
...
root 54720 0.0 0.0 20424 8540 pts/3 S+ 09:07 0:00 systemctl stop libvirt-guests
root 54722 0.0 0.0 7696 4340 ? Ss 09:07 0:00 /usr/bin/sh /usr/libexec/libvirt-guests.sh stop
root 54728 0.0 0.0 108572 16136 ? Sl 09:07 0:00 virsh connect
...
test_connect()
{
local uri="$1"
if run_virsh "$uri" connect 2>/dev/null; then
return 0;
else
eval_gettext "Can't connect to \$uri. Skipping."
return 1
fi
}
Expected results:
Additional info:
1. Not reproduces when start libvirtd -> libvirtd timeout -> start libvirt-guests", libvirtd will be auto started.
2. Can not try "start libvirtd -> start libvirt-guests -> stop libvirtd -> stop libvirt-guests", because stopping libvirtd also stopped libvirt-guests due to Bug 1946697(fixedin:libvirt-7.0.0-13)
The original bug was switched over to systemd. While I'd love ti switch this one too there's no systemd component in RHEL-AV. Thus I think we can wait a bit until the fate of the original bug is decided.