Public bug reported:

I am developing scripts to automatically provision virtual machines from Ubuntu 
ISOs, and I am consistently getting libvirt errors when I attempt to deploy a 
machine based on ubuntu-12.04-server-i386.iso (md5 
32184a83c8b5e6031e1264e5c499bc03)  12.04 server amd64 works fine, as does 11.10 
server i386.  Python-libvirt returns this error:
(38, 10, 'Unable to read from monitor: Connection reset by peer', 2, '%s', 
'Unable to read from monitor: Connection reset by peer', None, -1, -1)
Attempting to start the VM in virt-manager shows this:
Error starting domain: Unable to read from monitor: Connection reset by peer

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 66, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1120, in startup
    self._backend.create()
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 551, in create
    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: Unable to read from monitor: Connection reset by peer

I have attached the xml file for the failing configuration, and I can
provide the xml files for succesful configurations if needed.  I also
have the kernel and initrd if those would be useful.  The kernel is the
one from the iso, and the initrd is a modified version of the one from
the iso.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-libvirt 0.9.8-2ubuntu17.1
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Mon Jun 11 16:11:44 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug precise qa-test-code

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

Title:
  libvirt fails to start vm with specific configuration

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to