Bug 694116 - VDSM: Guest fails to run again after shut down command when it's state is power up
Summary: VDSM: Guest fails to run again after shut down command when it's state is pow...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Dan Kenigsberg
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-06 13:47 UTC by Dafna Ron
Modified: 2016-04-18 06:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-10 17:06:48 UTC
Target Upstream Version:


Attachments (Terms of Use)
logs (802.57 KB, application/x-gzip)
2011-04-06 13:47 UTC, Dafna Ron
no flags Details
new log (259.49 KB, application/x-gzip)
2011-04-07 12:02 UTC, Dafna Ron
no flags Details

Description Dafna Ron 2011-04-06 13:47:03 UTC
Created attachment 490282 [details]
logs

Description of problem:

After shutting down a guest from GUI (twice in stop button) and than trying to start it again, the guest will fail to run. 

when doing grep on Dwon from vdsm.log I see that the fowllowing warning:

Thread-103018::WARNING::2011-04-06 09:30:02,908::vm::575::vm.Vm::(_set_lastStatus) vmId=`ab196f48-12e2-40be-a0a0-b4d775a4d2fd`::trying to set state to Up when already Down
Thread-103025::WARNING::2011-04-06 09:30:05,056::vm::575::vm.Vm::(_set_lastStatus) vmId=`ab196f48-12e2-40be-a0a0-b4d775a4d2fd`::trying to set state to Powering down when already Down
 

Version-Release number of selected component (if applicable):

ic108

[root@south-02 ~]# rpm -qa |grep vdsm
vdsm-4.9-57.el6.x86_64
vdsm-debug-plugin-4.9-57.el6.x86_64
vdsm-cli-4.9-57.el6.x86_64
vdsm-debuginfo-4.9-57.el6.x86_64
[root@south-02 ~]# rpm -qa |grep kvm
qemu-kvm-debuginfo-0.12.1.2-2.152.el6.x86_64
qemu-kvm-0.12.1.2-2.152.el6.x86_64
[root@south-02 ~]# rpm -qa |grep kernel
dracut-kernel-004-38.el6.noarch
kernel-firmware-2.6.32-128.el6.noarch
kernel-2.6.32-128.el6.x86_64
kernel-2.6.32-118.el6.x86_64
kernel-2.6.32-94.el6.x86_64
abrt-addon-kerneloops-1.1.16-1.el6.x86_64

How reproducible:

80% 

Steps to Reproduce:

1. start a VM
2. when VM is powering up -> shut down VM using the stop button (pressing it twice)
3. after VM is down -> start it 
  
Actual results:

VM will fail to run again

Expected results:

VM should run


Additional info: vdsm and backend logs

Comment 1 Dan Kenigsberg 2011-04-06 20:35:49 UTC
which libvirt version are you using? the logs looks too similar to bug 624252. Can you reproduce this after setting auth_unix_rw="none" in libvirtd.conf?

Comment 2 Dafna Ron 2011-04-07 12:02:30 UTC
Created attachment 490523 [details]
new log

libvirt: 

libvirt-client-0.8.7-11.el6.x86_64
libvirt-debuginfo-0.8.7-11.el6.x86_64
libvirt-0.8.7-11.el6.x86_64
libvirt-python-0.8.7-11.el6.x86_64
libvirt-devel-0.8.7-11.el6.x86_64
libvorbis-1.2.3-4.el6.x86_64
libvisual-0.4.0-9.1.el6.x86_64

yes, I was able to recreate even after changing uth_unix_rw="none" in libvirtd.conf

new log attached

Comment 3 Dan Kenigsberg 2011-04-07 20:07:38 UTC
Dafna, please reproduce this again with newest libvirt - note that bug 624252 was fixed by libvirt-0.8.7-14.

Comment 4 Dafna Ron 2011-04-10 17:06:48 UTC
yes - must have been libvirt. 
cannot reproduce - closing bug


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