Bug 995833 - [vdsm] Negative| interrupt to vdsm daemon restart leaves the service in state: "VDS daemon dead but subsys locked". After that, the service cannot be started
Summary: [vdsm] Negative| interrupt to vdsm daemon restart leaves the service in state...
Keywords:
Status: CLOSED DUPLICATE of bug 994912
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: 3.3.0
Hardware: x86_64
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.3.0
Assignee: Yaniv Bronhaim
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-11 11:35 UTC by Elad
Modified: 2016-02-10 19:20 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-15 12:07:10 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs (3.56 MB, application/x-gzip)
2013-08-11 11:35 UTC, Elad
no flags Details

Description Elad 2013-08-11 11:35:13 UTC
Created attachment 785379 [details]
logs

Description of problem:
After interruption to vdsmd restart operation, vdsmd cannot be started 

Version-Release number of selected component (if applicable):
vdsm-4.12.0-52.gitce029ba.el6ev.x86_64

How reproducible:
100%

Steps to Reproduce:
On a host with running vdsmd service:
- run: "service vdsmd restart" and interrupt it (during vdsmd start) with ctrl+c

Actual results:
vdsm does prepareForShutdown and after that starts the daemon. after the interruption, I checked the service status:

[root@green-vdsa ~]# service vdsmd status
VDS daemon dead but subsys locked

[root@green-vdsa ~]# pgrep resp
21864
[root@green-vdsa ~]# ps -ww 21864
  PID TTY      STAT   TIME COMMAND
21864 ?        S      0:00 /bin/bash -e /usr/share/vdsm/respawn --minlifetime 10 --daemon --masterpid /var/run/vdsm/supervdsm_respawn.pid /usr/bin/python /usr/share/vdsm/supervdsmServer.pyc /var/run/vdsm/svdsm.sock


There is no vdsm process:

[root@green-vdsa ~]# pgrep vdsmd
[root@green-vdsa ~]#


start to vdsm:

[root@green-vdsa ~]# service vdsmd start
cannot start VDS daemon when another instance runs         [FAILED]

Workaround: host reboot

Additional info: logs

Comment 1 Elad 2013-08-11 11:48:12 UTC
NOTE:

This bug has been marked by accident as a security bug and I'm unable to change it. 
Email was sent to security-response-team in order to remove the security keyword

Comment 2 Kurt Seifried 2013-08-11 17:35:41 UTC
Removed security keyword/group.

Comment 3 Yaniv Bronhaim 2013-08-15 12:07:10 UTC

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


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