[Bug 1301598] [NEW] Unable to create guest VM using virt-install
Namu
nkothap at gmail.com
Wed Apr 2 20:41:11 UTC 2014
Public bug reported:
Working in Ubuntu 14.04 (Trusty Tahr), running libvirt version 1.2.1.
root at srvr-931:~# virt-install --name nam --ram 4096 --disk
path=/var/lib/libvirt/images/nam.img,bus=virtio --import --noautoconsole
--network network:default,model=virtio
Starting install...
ERROR Connection is closed
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start nam
otherwise, please restart your installation.
root at srvr-931:~# virsh --connect qemu:///system start nam
error: failed to get domain 'nam'
error: Domain not found: no domain with matching name 'nam'
I see this in virt-install.log -
[Wed, 02 Apr 2014 07:26:55 virt-install 16207] ERROR (cli:445) Connection is closed
[Wed, 02 Apr 2014 07:26:55 virt-install 16207] DEBUG (cli:448)
Traceback (most recent call last):
File "/usr/bin/virt-install", line 636, in start_install
noboot=options.noreboot)
File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1246, in start_install
noboot)
File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1314, in _create_guest
dom = self.conn.createLinux(start_xml or final_xml, 0)
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3199, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: Connection is closed
[Wed, 02 Apr 2014 07:26:55 virt-install 16207] DEBUG (cli:457) Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start nam
otherwise, please restart your installation.
I run the same command on Ubuntu 12.04.1 LTS and I don't see any problem
there. This looks very similar to Bug#1180281, but I don't see a
solution there. Does anyone know if this is fixed now? And the versions
that I need to use?
Thank you!
** Affects: libvirt (Ubuntu)
Importance: Undecided
Status: New
** Tags: libvirt
** Tags added: libvirt
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1301598
Title:
Unable to create guest VM using virt-install
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1301598/+subscriptions
More information about the Ubuntu-server-bugs
mailing list