Launchpad has imported 8 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=746007.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-10-13T15:41:42+00:00 Tim wrote:

Created attachment 528059
screenshot of xm, virsh and virt-manager showing status

Description of problem:
When I shutdown a xen guest, vmm still shows it as running even though virsh 
and xm don't (see attached screenshot).

This means that I can't start the domain from virt-manager again because
the only options are shutdown related (pause, force-off etc.)

Version-Release number of selected component (if applicable):
virt-manager-0.9.0-6.fc16

How reproducible:
Every time

Steps to Reproduce:
1. start Xen domain
2. stop xen domain
  
Actual results:
xen domain still shows up as running in virt-manager after it has been stopped 
and the domain cannot be "powered on" from virt-manager

Expected results:
Xen domain shows up as stopped in virt-manager, able to "power on" domain from 
virt-manager

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/929626/comments/0

------------------------------------------------------------------------
On 2012-01-29T18:51:55+00:00 Cole wrote:

This is a libvirt issue, present in f16 and current upstream. The issue
is that invoking shutdown() on a xen guest leaves it reporting domain
state 0 (unknown) for the vm object that was shut down. However, if you
re-fetch the domain object, it reports the correct state of 5 (shutoff).
So something is funky in xen or the xen driver.

This doesn't seem to affect the 'destroy'/'force poweroff' command

Reproducer:

$ cat test.py 
import libvirt
import time

conn = "xen:///"
vmname = "xenlivecd"

conn = libvirt.open(conn)
vm = conn.lookupByName(vmname)

if vm.info()[0] == libvirt.VIR_DOMAIN_SHUTOFF:
    print "Starting %s" % vmname
    vm.create()
    time.sleep(5)

print "Shutting off %s" % vmname
vm.shutdown()
time.sleep(5)

print "Domain state is %s" % vm.info()[0]
print "Refreshed domain state is %s" % conn.lookupByName(vmname).info()[0]
print "Old domain is still %s" % vm.info()[0]

$ sudo python test.py 
Starting xenlivecd
Shutting off xenlivecd
Domain state is 0
Refreshed domain state is 5
Old domain is still 0


Reassigning to libvirt but this could be a xen issue.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/929626/comments/1

------------------------------------------------------------------------
On 2012-01-29T18:52:53+00:00 Cole wrote:

*** Bug 733433 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/929626/comments/2

------------------------------------------------------------------------
On 2012-04-10T19:14:45+00:00 Cole wrote:

Possible patch upstream:

https://www.redhat.com/archives/libvir-list/2012-April/msg00023.html

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/929626/comments/10

------------------------------------------------------------------------
On 2012-06-07T19:40:14+00:00 Cole wrote:

*** Bug 746503 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/929626/comments/11

------------------------------------------------------------------------
On 2012-06-24T23:54:46+00:00 Fedora wrote:

libvirt-0.9.6.1-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/libvirt-0.9.6.1-1.fc16

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/929626/comments/12

------------------------------------------------------------------------
On 2012-06-26T00:55:25+00:00 Fedora wrote:

Package libvirt-0.9.6.1-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libvirt-0.9.6.1-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-9913/libvirt-0.9.6.1-1.fc16
then log in and leave karma (feedback).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/929626/comments/13

------------------------------------------------------------------------
On 2012-07-05T23:44:32+00:00 Fedora wrote:

libvirt-0.9.6.1-1.fc16 has been pushed to the Fedora 16 stable
repository.  If problems still persist, please make note of it in this
bug report.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/929626/comments/14


** Changed in: libvirt
       Status: Unknown => Fix Released

** Changed in: libvirt
   Importance: Unknown => Undecided

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/929626

Title:
  virt-manager misses xen guests shutting down

To manage notifications about this bug go to:
https://bugs.launchpad.net/libvirt/+bug/929626/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to