Comment 0 for bug 1244709

Revision history for this message
Thorsten Hesemeyer (thorsten-hesemeyer) wrote : virt-manager create new "Unable to read from monitor" after increasing memory size

If you increase the memory to 2048 while creating a new virtual machine in virt-manager the action fails.

Why is this important
==================
The error message printed does not give a hint why the VM creation failed.

Complete error message
=====================
Unable to complete install: '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/create.py", line 1909, in do_install
    guest.start_install(False, meter=meter)
  File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1236, in start_install
    noboot)
  File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1304, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 2166, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: Unable to read from monitor: Connection reset by peer

Steps to reproduce
================
1. start virt-manager
2. wait
3. press NEW button
4. Step #1: enter name for new virtual machine e.g. "ubu1210", leave default "local install media"
5. Step #2: choose iso image from local drive e.g. "ubuntu-12.10-desktop-amd64.iso", then choose "Linux", "Ubuntu 12.10 Quantal"
6. Step #3: set Memory (RAM) to "2048"
7. Step #4: disk size and location do not matter, choose anything
8. Step #5: just press FINISH button

VM creation fails after the disk image had been created.

Workaround
===========
Do not change the memory size above 2048 MB in wizard.
Modify memory size later.

Kind regards,
Thorsten

3.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: virt-manager 0.9.1-1ubuntu5.1
ProcVersionSignature: Ubuntu 3.2.0-55.85-generic-pae 3.2.51
Uname: Linux 3.2.0-55-generic-pae i686
NonfreeKernelModules: symap_custom_3.2.0_55_generic_pae_i686 symev_custom_3.2.0_55_generic_pae_i686 nvidia
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: i386
Date: Fri Oct 25 17:36:18 2013
ExecutablePath: /usr/share/virt-manager/virt-manager.py
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
SourcePackage: virt-manager
UpgradeStatus: Upgraded to precise on 2012-07-04 (477 days ago)