[Bug 456602] [NEW] libvirtError: operation failed: could not query memory balloon allocation

Fabien Tassin fta at ubuntu.com
Tue Oct 20 20:25:31 BST 2009


Public bug reported:

host: karmic 32bit
guest: xp sp3 (32bit)

$ uname -a
Linux ix 2.6.31-12-generic #41-Ubuntu SMP Wed Oct 7 18:42:46 UTC 2009 i686 GNU/Linux
$ sudo virt-install --connect=qemu:///system --name=XP --ram=1536 --disk path=/VMs/xp.img,size=12,sparse=false --cdrom=/VMs/xp-sp3.iso --vnc --os-type=windows --os-variant=winxp --hvm --accelerate

Starting install...
Creating storage file...  100% |=========================|  12 GB    06:16
Creating domain...                                                 0 B 00:02
Domain installation still in progress. Waiting for domain to complete installation.
operation failed: could not query memory balloon allocation
Domain installation may not have been
 successful.  If it was, you can restart your domain
 by running 'virsh start XP'; otherwise, please
 restart your installation.
ERROR    operation failed: could not query memory balloon allocation
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 780, in <module>
    main()
  File "/usr/bin/virt-install", line 678, in main
    start_time, guest.start_install)
  File "/usr/bin/virt-install", line 753, in do_install
    if domain_is_shutdown(dom):
  File "/usr/bin/virt-install", line 717, in domain_is_shutdown
    info     = dom.info()
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 530, in info
    if ret is None: raise libvirtError ('virDomainGetInfo() failed', dom=self)
libvirtError: operation failed: could not query memory balloon allocation
fta at ix:/VMs $

If i proceed anyway and start that VM, i see the bios, then a black screen with a still cursor.
No error message on the scree, nothing relevant in dmesg.
I'm not sure it is the result of the problem above or a second issue.

On the same H/W and using the same iso file, i was able to install VMs
several times in the past, last time was several months ago using
jaunty.

$ dpkg -l | grep -E '^ii  (libvirt|virt|kvm|qemu)'
ii  kvm                              1:84+dfsg-0ubuntu16                               Full virtualization on i386 and amd64 hardwa
ii  libvirt-bin                      0.7.0-1ubuntu11                                   the programs for the libvirt library
ii  libvirt0                         0.7.0-1ubuntu11                                   library for interfacing with different virtu
ii  qemu                             0.10.6-1ubuntu1                                   fast processor emulator
ii  virt-manager                     0.7.0-3ubuntu1                                    desktop application for managing virtual mac
ii  virt-viewer                      0.0.3-6ubuntu7.xul191.1                           Displaying the graphical console of a virtua

this CPU is a Core 2 Duo E6400.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  host: karmic 32bit
- guess: xp sp3 (32bit)
+ guest: xp sp3 (32bit)
  
  $ uname -a
  Linux ix 2.6.31-12-generic #41-Ubuntu SMP Wed Oct 7 18:42:46 UTC 2009 i686 GNU/Linux
  $ sudo virt-install --connect=qemu:///system --name=XP --ram=1536 --disk path=/VMs/xp.img,size=12,sparse=false --cdrom=/VMs/xp-sp3.iso --vnc --os-type=windows --os-variant=winxp --hvm --accelerate
  
- 
  Starting install...
- Creating storage file...  100% |=========================|  12 GB    06:16     
- Creating domain...                                                 0 B 00:02 
+ Creating storage file...  100% |=========================|  12 GB    06:16
+ Creating domain...                                                 0 B 00:02
  Domain installation still in progress. Waiting for domain to complete installation.
  operation failed: could not query memory balloon allocation
  Domain installation may not have been
-  successful.  If it was, you can restart your domain
-  by running 'virsh start XP'; otherwise, please
-  restart your installation.
+  successful.  If it was, you can restart your domain
+  by running 'virsh start XP'; otherwise, please
+  restart your installation.
  ERROR    operation failed: could not query memory balloon allocation
  Traceback (most recent call last):
-   File "/usr/bin/virt-install", line 780, in <module>
-     main()
-   File "/usr/bin/virt-install", line 678, in main
-     start_time, guest.start_install)
-   File "/usr/bin/virt-install", line 753, in do_install
-     if domain_is_shutdown(dom):
-   File "/usr/bin/virt-install", line 717, in domain_is_shutdown
-     info     = dom.info()
-   File "/usr/lib/python2.6/dist-packages/libvirt.py", line 530, in info
-     if ret is None: raise libvirtError ('virDomainGetInfo() failed', dom=self)
+   File "/usr/bin/virt-install", line 780, in <module>
+     main()
+   File "/usr/bin/virt-install", line 678, in main
+     start_time, guest.start_install)
+   File "/usr/bin/virt-install", line 753, in do_install
+     if domain_is_shutdown(dom):
+   File "/usr/bin/virt-install", line 717, in domain_is_shutdown
+     info     = dom.info()
+   File "/usr/lib/python2.6/dist-packages/libvirt.py", line 530, in info
+     if ret is None: raise libvirtError ('virDomainGetInfo() failed', dom=self)
  libvirtError: operation failed: could not query memory balloon allocation
- fta at ix:/VMs $ 
+ fta at ix:/VMs $
  
  If i proceed anyway and start that VM, i see the bios, then a black screen with a still cursor.
  No error message on the scree, nothing relevant in dmesg.
  I'm not sure it is the result of the problem above or a second issue.
  
  On the same H/W and using the same iso file, i was able to install VMs
  several times in the past, last time was several months ago using
  jaunty.
  
  fta at ix:~ $ dpkg -l | grep -E '^ii  (libvirt|virt|kvm|qemu)'
  ii  kvm                              1:84+dfsg-0ubuntu16                               Full virtualization on i386 and amd64 hardwa
  ii  libvirt-bin                      0.7.0-1ubuntu11                                   the programs for the libvirt library
  ii  libvirt0                         0.7.0-1ubuntu11                                   library for interfacing with different virtu
  ii  qemu                             0.10.6-1ubuntu1                                   fast processor emulator
  ii  virt-manager                     0.7.0-3ubuntu1                                    desktop application for managing virtual mac
  ii  virt-viewer                      0.0.3-6ubuntu7.xul191.1                           Displaying the graphical console of a virtua
  
  this CPU is a Core 2 Duo E6400.

** Description changed:

  host: karmic 32bit
  guest: xp sp3 (32bit)
  
  $ uname -a
  Linux ix 2.6.31-12-generic #41-Ubuntu SMP Wed Oct 7 18:42:46 UTC 2009 i686 GNU/Linux
  $ sudo virt-install --connect=qemu:///system --name=XP --ram=1536 --disk path=/VMs/xp.img,size=12,sparse=false --cdrom=/VMs/xp-sp3.iso --vnc --os-type=windows --os-variant=winxp --hvm --accelerate
  
  Starting install...
  Creating storage file...  100% |=========================|  12 GB    06:16
  Creating domain...                                                 0 B 00:02
  Domain installation still in progress. Waiting for domain to complete installation.
  operation failed: could not query memory balloon allocation
  Domain installation may not have been
   successful.  If it was, you can restart your domain
   by running 'virsh start XP'; otherwise, please
   restart your installation.
  ERROR    operation failed: could not query memory balloon allocation
  Traceback (most recent call last):
    File "/usr/bin/virt-install", line 780, in <module>
      main()
    File "/usr/bin/virt-install", line 678, in main
      start_time, guest.start_install)
    File "/usr/bin/virt-install", line 753, in do_install
      if domain_is_shutdown(dom):
    File "/usr/bin/virt-install", line 717, in domain_is_shutdown
      info     = dom.info()
    File "/usr/lib/python2.6/dist-packages/libvirt.py", line 530, in info
      if ret is None: raise libvirtError ('virDomainGetInfo() failed', dom=self)
  libvirtError: operation failed: could not query memory balloon allocation
  fta at ix:/VMs $
  
  If i proceed anyway and start that VM, i see the bios, then a black screen with a still cursor.
  No error message on the scree, nothing relevant in dmesg.
  I'm not sure it is the result of the problem above or a second issue.
  
  On the same H/W and using the same iso file, i was able to install VMs
  several times in the past, last time was several months ago using
  jaunty.
  
- fta at ix:~ $ dpkg -l | grep -E '^ii  (libvirt|virt|kvm|qemu)'
+ $ dpkg -l | grep -E '^ii  (libvirt|virt|kvm|qemu)'
  ii  kvm                              1:84+dfsg-0ubuntu16                               Full virtualization on i386 and amd64 hardwa
  ii  libvirt-bin                      0.7.0-1ubuntu11                                   the programs for the libvirt library
  ii  libvirt0                         0.7.0-1ubuntu11                                   library for interfacing with different virtu
  ii  qemu                             0.10.6-1ubuntu1                                   fast processor emulator
  ii  virt-manager                     0.7.0-3ubuntu1                                    desktop application for managing virtual mac
  ii  virt-viewer                      0.0.3-6ubuntu7.xul191.1                           Displaying the graphical console of a virtua
  
  this CPU is a Core 2 Duo E6400.

-- 
libvirtError: operation failed: could not query memory balloon allocation
https://bugs.launchpad.net/bugs/456602
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list