Bug 746608

Summary: vdsm reports VM as running after the VM has shut down
Product: Red Hat Enterprise Linux 6 Reporter: David Jaša <djasa>
Component: vdsmAssignee: Dan Kenigsberg <danken>
Status: CLOSED DUPLICATE QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: high    
Version: 6.2CC: abaron, bazulay, iheim, srevivo, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-18 09:50:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
vdsm log
none
libvirt log
none
qemu-kvm log none

Description David Jaša 2011-10-17 09:09:31 UTC
Description of problem:
SSIA.

Version-Release number of selected component (if applicable):
nightly RHEL 6.2 host
qemu-kvm-0.12.1.2-2.195.el6.x86_64
libvirt-0.9.4-16.el6.x86_64
vdsm-4.9-106.el6.x86_64

How reproducible:
happened second time

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Logs attached (there is plenty of backtraces concerning another VM in the same state in the log)
VM name: win7x32-dj
VM UUID: 9a5b682a-d3b8-4624-aa81-4174dc20f65d

* After VDSM restart, VM:s states are reported correctly
* Libvirt seems to be started by upstart, maybe pointing to some host installer bug:
# service vdsmd restart
Shutting down vdsm daemon: 
vdsm watchdog stop                                         [  OK  ]
vdsm stop                                                  [  OK  ]
Stopping libvirtd daemon: libvirtd: libvirtd is managed by upstart and started, use initctl instead
vdsm: libvirt already configured for vdsm                  [  OK  ]
Starting iscsid: 
Starting up vdsm daemon: 
vdsm start                                                 [  OK  ]

Comment 1 David Jaša 2011-10-17 09:33:06 UTC
Created attachment 528496 [details]
vdsm log

Comment 2 David Jaša 2011-10-17 09:33:58 UTC
Created attachment 528497 [details]
libvirt log

Comment 3 David Jaša 2011-10-17 09:35:10 UTC
Created attachment 528498 [details]
qemu-kvm log

Comment 4 Barak 2011-10-17 09:43:21 UTC
David,

Please provide the reproduce steps.

Comment 5 David Jaša 2011-10-17 11:00:12 UTC
(In reply to comment #4)
> David,
> 
> Please provide the reproduce steps.

I've run shutdown from withing guest OS. The issue isn't 100 % reproducible.

Comment 6 Dan Kenigsberg 2011-10-18 09:50:27 UTC
this will be solved by bug 741658.

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