Bug 1818554
Summary: | Libvirt service fails to start | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Gal Zaidman <gzaidman> |
Component: | vdsm | Assignee: | Yuval Turgeman <yturgema> |
Status: | CLOSED ERRATA | QA Contact: | cshao <cshao> |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.4.0 | CC: | cshao, didi, lsurette, lsvaty, mavital, michal.skrivanek, msobczyk, mtessun, nlevy, peyu, qiyuan, rdlugyhe, sbonazzo, shlei, srevivo, weiwang, yaniwang, yturgema |
Target Milestone: | ovirt-4.4.0 | ||
Target Release: | 4.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | vdsm-4.40.13 | Doc Type: | Removed functionality |
Doc Text: |
The current version of RHV removes libvirt packages that provided non-socket activation. Now it contains only libvirt versions that provide socket activation. Socket activation provides better resource handling: There is no dedicated active daemon; libvirt is activated for certain tasks and then exits.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-08-04 13:27:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1817352 |
Description
Gal Zaidman
2020-03-29 09:59:48 UTC
libvirtd is not configured in RHVH, it will be configured when adding it as a host. If you want to do it manually, you can run vdsm-tool configure --force. I don't think it's a bug (In reply to Yuval Turgeman from comment #1) > libvirtd is not configured in RHVH, it will be configured when adding it as > a host. If you want to do it manually, you can run vdsm-tool configure > --force. I don't think it's a bug Installing the hosted engine with cockpit require libvirtd to be running (or at least able to start). When libvirtd cant start we get this: https://bugzilla.redhat.com/show_bug.cgi?id=1817352 (In reply to Gal Zaidman from comment #0) > looking into libvirt config at: /etc/sysconfig/libvirtd we can see the --listen arg is added by VDSM then the auto detection code must have failed. Marcin, can't we drop it altogether? We don't need to support any older libvirt anyway, so why not just drop the whole section? Yes, it failed, Marcin and I discussed this, and you're probably right we should drop it, but there's another issue - the post install scripts run inside a chroot, so vdsm-tool which calls `systemctl show` will not work as well, unless we set the hidden environment variable SYSTEMD_IGNORE_CHROOT, which is probably bad. If we could replace the calls from show to "is-active/is-enabled" in vdsm-tool it should work *** Bug 1817352 has been marked as a duplicate of this bug. *** (In reply to Michal Skrivanek from comment #3) > (In reply to Gal Zaidman from comment #0) > > looking into libvirt config at: /etc/sysconfig/libvirtd we can see the --listen arg is added by VDSM > > then the auto detection code must have failed. > > Marcin, can't we drop it altogether? We don't need to support any older > libvirt anyway, so why not just drop the whole section? Yes, the patches I posted completely drop support for libvirt that doesn't have socket activation. Test version: redhat-virtualization-host-4.4.0-20200408.1.el8_2 vdsm-4.40.13-1.el8ev.x86_64 Test steps: 1. Install RHVH-4.4-20200408.0-RHVH-x86_64-dvd1.iso via anaconda GUI. 2. run systemctl start libcvirtd 3. Register to engine(4.4.0-0.26.master.el8ev). Test result: 1. Libvirt service can start succeed. 2. Register to engine can succeed. # systemctl start libvirtd [root@dhcp-8-122 ~]# systemctl status libvirtd ● libvirtd.service - Virtualization daemon Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/libvirtd.service.d └─unlimited-core.conf Active: active (running) since Thu 2020-04-09 02:17:55 UTC; 55s ago Docs: man:libvirtd(8) https://libvirt.org Main PID: 1475 (libvirtd) Tasks: 19 (limit: 32768) Memory: 46.0M CGroup: /system.slice/libvirtd.service ├─1475 /usr/sbin/libvirtd --timeout 120 ├─1976 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper └─1979 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper Apr 09 02:17:56 dhcp-8-122.nay.redhat.com dnsmasq[1976]: started, version 2.79 cachesize 150 Apr 09 02:17:56 dhcp-8-122.nay.redhat.com dnsmasq[1976]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN2 DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify Apr 09 02:17:56 dhcp-8-122.nay.redhat.com dnsmasq-dhcp[1976]: DHCP, IP range 192.168.124.2 -- 192.168.124.254, lease time 1h Apr 09 02:17:56 dhcp-8-122.nay.redhat.com dnsmasq-dhcp[1976]: DHCP, sockets bound exclusively to interface virbr0 Apr 09 02:17:56 dhcp-8-122.nay.redhat.com dnsmasq[1976]: reading /etc/resolv.conf Apr 09 02:17:56 dhcp-8-122.nay.redhat.com dnsmasq[1976]: using nameserver 10.72.17.5#53 Apr 09 02:17:56 dhcp-8-122.nay.redhat.com dnsmasq[1976]: using nameserver 10.68.5.26#53 Apr 09 02:17:56 dhcp-8-122.nay.redhat.com dnsmasq[1976]: read /etc/hosts - 2 addresses Apr 09 02:17:56 dhcp-8-122.nay.redhat.com dnsmasq[1976]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses Apr 09 02:17:56 dhcp-8-122.nay.redhat.com dnsmasq-dhcp[1976]: read /var/lib/libvirt/dnsmasq/default.hostsfile *** Bug 1797287 has been marked as a duplicate of this bug. *** The Doc Text states this is removed functionality. Therefore, I'm changing "Doc Type" (Release Note Type) parameter value to "Removed functionality" Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (RHV RHEL Host (ovirt-host) 4.4), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2020:3246 |