Bug 519667 - could not query memory balloon allocation
Summary: could not query memory balloon allocation
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
: 500968 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2009-08-27 10:57 UTC by Tim Waugh
Modified: 2009-11-19 09:49 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 532009 (view as bug list)
Last Closed: 2009-09-21 16:02:17 UTC
Type: ---

Attachments (Terms of Use)
RHEL54.xml (1.24 KB, text/plain)
2009-09-17 11:01 UTC, Tim Waugh
no flags Details

Description Tim Waugh 2009-08-27 10:57:55 UTC
Description of problem:
After shutting down a guest, libvirtd is no longer running.  /var/log/messages says:

Aug 27 11:44:58 worm libvirtd: 11:44:58.794: error : qemudDomainGetMemoryBalloon:3229 : operation failed: could not query memory balloon allocation

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

How reproducible:

Steps to Reproduce:
1.Start guest.
2.Shut down guest.
3.Attempt to start guest.
Actual results:
libvirtd is no longer running.

Expected results:
Still running after guest is shut down.

Comment 1 Tim Waugh 2009-08-28 08:59:26 UTC
Hmm, I don't seem to be seeing this now...

Comment 2 Tim Waugh 2009-08-28 09:01:47 UTC
...and of course it just happened again, while shutting down an F-11 guest.

Comment 3 Mark McLoughlin 2009-09-04 13:06:09 UTC
I can't reproduce this

Was it a segfault? Can you get a stack trace?

Comment 4 Daniel Berrangé 2009-09-10 09:00:44 UTC
Can you provide the guest configuration file which exhibits this crash.

Also is this being seen with a guest whose disks are on NFS as per your other bugs ?

Comment 5 Tim Waugh 2009-09-17 10:53:57 UTC
It turns out libvirtd is still running but virt-manager's connection to it is broken.

No, the disks are not on NFS.

$ ls -Z /home/twaugh/VM/RHEL54.img 
-rw-rw-r--. root root system_u:object_r:virt_image_t:s0 /home/twaugh/VM/RHEL54.img

Comment 6 Tim Waugh 2009-09-17 11:01:02 UTC
Created attachment 361476 [details]

Comment 7 Cole Robinson 2009-09-17 14:48:17 UTC
I was hitting this issue as well, but not anymore after updating libvirt to latest rawhide version (libvirt-0.7.1-1.fc12.x86_64). Tim, can you give that a shot?

Guest was win2003, no fancy setup, just a single ide disk. shutdown (not destroy) caused the issue. virsh list would show 'nostate' for the VM, and all 'info' calls would fail with "could not query memory balloon'.

There is another bug filed to handle virt-manager's poor behavior in coping with this situation (bz 522168).

Comment 8 Mark McLoughlin 2009-09-21 14:42:37 UTC
twaugh: has latest libvirt fixed it for you too?

Comment 9 Tim Waugh 2009-09-21 15:39:34 UTC
I'm not seeing it break with libvirt-0.7.1-4.fc12.x86_64.

Comment 10 Mark McLoughlin 2009-09-21 16:02:17 UTC
Thanks Tim

Comment 11 Cole Robinson 2009-09-21 17:08:17 UTC
*** Bug 500968 has been marked as a duplicate of this bug. ***

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