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.

Bug 1776323

Summary: Libvirtd is dead after host reboot
Product: Red Hat Enterprise Linux 8 Reporter: Michael Burman <mburman>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DUPLICATE QA Contact: yafu <yafu>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.1CC: berrange, chhu, dyuan, khakimi, lmen, rbalakri, xuzhang
Target Milestone: rc   
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-26 09:57:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Burman 2019-11-25 13:35:17 UTC
Description of problem:
Libvirtd is dead after host reboot

After host reboot, libvirtd is dead, which cause to vdsmd and supervdsmd to not start and to the host remain in non-responsive state in RHV manager.

 error : virSystemdActivationComplete:957 : internal error: Some activation file descriptors are unclaimed

Version-Release number of selected component (if applicable):
libvirt-client-5.6.0-5.module+el8.1.0+4229+2e4e348c.x86_64
libvirt-daemon-5.6.0-5.module+el8.1.0+4229+2e4e348c.x86_64
qemu-kvm-4.1.0-10.module+el8.1.0+4234+33aa4f57.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Have rhel8.1 host with libvirt 5.6.0 and install in RHV 4.4
2. Reboot it

Actual results:
Libvirtd is dead, vdsmd and supervdsm cannot start becasue of that.
Host is in non-responsive state

Expected results:
libvirtd should stay alive after reboot host

Comment 3 yafu 2019-11-26 07:47:56 UTC
Hi, Michael, 

From the journalctl, it seems libvirtd failed to start by wrong configure: libvirtd.service: Main process exited, code=exited, status=6/NOTCONFIGURED.
From the libvirtd.log, it seems libvirtd failed to start since no fd of libvirt-tcp.socket: 
2019-11-25 04:51:25.791+0000: 2467: debug : virSystemdActivationClaimFDs:991 : No FD with name libvirtd-tcp.socket
2019-11-25 04:51:25.791+0000: 2467: error : virSystemdActivationComplete:957 : internal error: Some activation file descriptors are unclaimed

Could you upload the /usr/lib/systemd/system/vdsmd.service and /etc/libvirt/libvirtd.conf please?
Thanks.

Comment 7 Daniel Berrangé 2019-11-26 09:57:45 UTC

*** This bug has been marked as a duplicate of bug 1752837 ***