Bug 1325503
Summary: | virtlogd is not started/enabled on fresh libvirt install | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Phil Sutter <psutter> |
Component: | redhat-release | Assignee: | Jan Blazek <jblazek> |
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.3 | CC: | abologna, agedosier, berrange, clalancette, dyuan, extras-qa, fjin, gscrivan, itamar, jblazek, jdenemar, jforbes, johannbg, laine, libvirt-maint, lnykryn, mbanas, mkovarik, motoskov, msekleta, muadda, mzhan, rbalakri, sgallagh, s, systemd-maint-list, systemd-maint, veillard |
Target Milestone: | rc | Keywords: | Regression, Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | redhat-release-server-7.3-6.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1290357 | Environment: | |
Last Closed: | 2016-11-03 22:05:30 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: | |||
Bug Depends On: | 1290357, 1291940, 1372576 | ||
Bug Blocks: | 1318902, 1374978 |
Description
Phil Sutter
2016-04-09 09:59:30 UTC
Moving to systemd to match the upstream bug. Presets are owned by redhat-release-* packages I'm setting a regression keyword, since libvirt doesn't work as expected due to this bug in default setup. Fixing this should just be a matter of adding enable virtlogd.socket to /usr/lib/systemd/system-preset/90-default.preset just like Fedora did. Verified on redhat-release-server-7.3-6.el7. 'enable virtlogd.socket' is added to/usr/lib/systemd/system-preset/90-default.preset Hi Jan My guest still can't start up due to error "Failed to connect socket to '/var/run/libvirt/virtlogd-sock'" after this fix. Could you help to have a look? Thank you! The steps are: 1. Install libvirt packages on host freshly # yum install libvirt-* 2. # systemctl start libvirtd 3. # virsh start rhel7.3-0817 error: Failed to start domain rhel7.3-0817 error: Failed to connect socket to '/var/run/libvirt/virtlogd-sock': No such file or directory 4. I checked 90-default.preset file: # tail -4 /usr/lib/systemd/system-preset/90-default.preset # virtlog.service is sometimes used by VMs started by libvirt.service # Enable virtlog.socket to have it socket activated # https://bugzilla.redhat.com/show_bug.cgi?id=1325503 enable virtlogd.socket 5. virtlogd.socket is inactive: # systemctl status virtlogd.socket ● virtlogd.socket - Virtual machine log manager socket Loaded: loaded (/usr/lib/systemd/system/virtlogd.socket; enabled; vendor preset: enabled) Active: inactive (dead) Listen: /var/run/libvirt/virtlogd-sock (Stream) JinFangge, I reported bug 1372576 with issue that you described in comment 9. 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, 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://rhn.redhat.com/errata/RHEA-2016-2143.html |