When creating a KVM guest using virt-install it errors out, ERROR operation failed: could not balloon memory allocation
Issue
Attempting to create a windows 2003 KVM guest with the following command:
virt-install --name=ecis6173 --ram=4096 --arch=x86_64 --vcpu=2 --os-type=windows --os-variant=win2k3 --bridge=br0 --vnc --file=/dev/VGecis6073_0/LVecis6173_c --cdrom=/net/ecis204/vol/software/microsoft/en_win_srv_2003_r2_enterprise_sp2_hotfixes_vl_cd1.iso &
get the following error:
Starting install...
operation failed: could not balloon memory allocation
Domain installation may not have been
successful. If it was, you can restart your domain
by running 'virsh start ecis6173'; otherwise, please
restart your installation.
ERROR operation failed: could not balloon memory allocation
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 861, in ?
main()
File "/usr/sbin/virt-install", line 759, in main
start_time, guest.start_install)
File "/usr/sbin/virt-install", line 814, in do_install
dom = install_func(conscb, progresscb, wait=(not wait))
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in _do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: operation failed: could not balloon memory allocation
Environment
Red Hat Enterprise Linux Server 5.4
kvm-83-105.el5_4.13
python-virtinst-0.400.3-5.el5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.