Bug 706885
Summary: | libvirt: Failure to start libvirt-guest service (unknown cause) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Yaniv Kaul <ykaul> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | aquini, berrange, clalance, crobinso, henryrust89, itamar, jforbes, jkt, laine, rjohnson, siddharth.jain210, veillard, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-07 00:17:22 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Yaniv Kaul
2011-05-23 11:16:20 UTC
I also get this error: libvirt-guests.service - LSB: suspend/resume libvirt guests on shutdown/boot Loaded: loaded (/etc/rc.d/init.d/libvirt-guests) Active: failed since Sun, 29 May 2011 09:39:24 +0200; 12min ago Process: 1192 ExecStart=/etc/rc.d/init.d/libvirt-guests start (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/libvirt-guests.service But I think this from /var/log/messages is interesting: May 29 09:39:24 henrydesktop libvirtd: 09:39:24.125: 1181: info : libvirt version: 0.8.8, package: 4.fc15 (Fedora Project, 2011-04-05-19:58:51, x86-01.phx2.fedoraproject.org) May 29 09:39:24 henrydesktop libvirtd: 09:39:24.125: 1181: error : virGetHostname:2634 : internal error getaddrinfo failed for 'henrydesktop': Name or service not known May 29 09:39:24 henrydesktop systemd[1]: libvirt-guests.service: control process exited, code=exited status=1 May 29 09:39:24 henrydesktop systemd[1]: Unit libvirt-guests.service entered failed state. Seems libvirt fails, because it can't resolve my hostname henrydesktop with getaddrinfo. I've also experienced the issue and have a solution for at least one variant of the problem. After initial installation of a Fedora 15 x86_64 system, I get the following error trying to start libvirt-guests: [root@my-hyp ~]# service libvirt-guests start Starting libvirt-guests (via systemctl): Job failed. See system logs and 'systemctl status' for details. [FAILED] Checking systemctl shows: [root@my-hyp ~]# systemctl status libvirt-guests.service libvirt-guests.service - LSB: suspend/resume libvirt guests on shutdown/boot Loaded: loaded (/etc/rc.d/init.d/libvirt-guests) Active: failed since Wed, 08 Jun 2011 16:40:30 +0000; 27s ago Process: 19338 ExecStop=/etc/rc.d/init.d/libvirt-guests stop (code=exited, status=1/FAILURE) Process: 19447 ExecStart=/etc/rc.d/init.d/libvirt-guests start (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/libvirt-guests.service And looking at /var/log/messages: Jun 8 16:40:30 localhost systemd[1]: libvirt-guests.service: control process exited, code=exited status=1 Jun 8 16:40:30 localhost systemd[1]: Unit libvirt-guests.service entered failed state. Obvious failures... I lucked into the cause, however by running "service libvirt-guests status" which produces: [root@denethor-hyp ~]# service libvirt-guests status /etc/init.d/libvirt-guests: line 37: /usr/bin/gettext.sh: No such file or directory And doing a "yum provides '/usr/bin/gettext.sh'" shows that it's the "gettext" package that is missing. Install "gettext" and two dependencies (gettext-libs and libgomp) and the service starts normally. I looked at the --requires entries for "libvirt-client-0.8.8-4.fc15.x86_64" and indeed "gettext" isn't listed. The .rpm packaging needs to be fixed. There may be other missing dependencies, but this is an obvious one. According to Roger Johnson's solution, I installed the package 'gettext' and this fixed the start of the service. But I'm still getting this in /var/log/messages: Jun 9 07:38:44 henrydesktop libvirtd: 07:38:44.776: 1129: error : virGetHostname:2634 : internal error getaddrinfo failed for 'henrydesktop': Name or service not known I guess this is a different issue, and I should open a new bug report for it. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. @FedoraAdmin XMLRPC Client :: Do you mean that we should have different usernames on both the host machines ?? Need help i am getting the same error/ This should already be fixed in f15. Closing as dup of the fixed bug. *** This bug has been marked as a duplicate of bug 680270 *** |