Bug 1311013 - virtlogd.service reload failed.
Summary: virtlogd.service reload failed.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-23 07:58 UTC by Fangge Jin
Modified: 2016-04-13 15:10 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-13 15:10:17 UTC
Embargoed:


Attachments (Terms of Use)
virtlogd log (21.39 KB, text/plain)
2016-02-23 07:58 UTC, Fangge Jin
no flags Details

Description Fangge Jin 2016-02-23 07:58:12 UTC
Created attachment 1129647 [details]
virtlogd log

Description of problem:
virtlogd.service reload failed due to error:
error : virNetDaemonRun:747 : internal error: Not all servers restored, cannot run server

Version-Release number of selected component (if applicable):
libvirt-1.3.2-1.fc24_v1.3.1_347_gfb2bd20.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Check virtlogd status
# systemctl status virtlogd
● virtlogd.service - Virtual machine log manager
   Loaded: loaded (/usr/lib/systemd/system/virtlogd.service; indirect; vendor preset: disabled)
   Active: active (running) since 二 2016-02-23 15:43:36 CST; 3min 11s ago
     Docs: man:virtlogd(8)
           http://libvirt.org
 Main PID: 4588 (virtlogd)
   CGroup: /system.slice/virtlogd.service
           └─4588 /usr/sbin/virtlogd
......


2. Reload virtlogd
# systemctl reload virtlogd

3. Check virtlogd status again
# systemctl status virtlogd
● virtlogd.service - Virtual machine log manager
   Loaded: loaded (/usr/lib/systemd/system/virtlogd.service; indirect; vendor preset: disabled)
   Active: inactive (dead) since 二 2016-02-23 15:46:53 CST; 4s ago
     Docs: man:virtlogd(8)
           http://libvirt.org
  Process: 4821 ExecReload=/bin/kill -USR1 $MAINPID (code=exited, status=0/SUCCESS)
  Process: 4588 ExecStart=/usr/sbin/virtlogd $VIRTLOGD_ARGS (code=exited, status=0/SUCCESS)
 Main PID: 4588 (code=exited, status=0/SUCCESS)
......

4. # pidof virtlogd
(nothing output)

5.Check virtlogd log, there is error:
error : virNetDaemonRun:747 : internal error: Not all servers restored, cannot run server

Actual results:
Virtlogd reload failed.

Expected results:
Virtlogd reload successfully.

Additional info:

Comment 1 Cole Robinson 2016-04-13 15:10:17 UTC
Thanks for the report, fixed upstream now:

commit 9b69f02243f2abec4170576dfe28f8a4bb398b4e
Author: Cole Robinson <crobinso>
Date:   Wed Apr 13 10:13:12 2016 -0400

    rpc: daemon: Fix virtlog/virtlock daemon reload


Note You need to log in before you can comment on or make changes to this bug.