Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:
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 ***