libvirt won't start a VM with serial or console
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Maverick |
Invalid
|
High
|
Unassigned | ||
Oneiric |
Won't Fix
|
Undecided
|
Unassigned | ||
Precise |
Invalid
|
High
|
Unassigned |
Bug Description
I get the error:
Error starting domain: internal error Process exited while reading console log output: chardev: opening backend "pty" failed
Traceback (most recent call last):
File "/usr/share/
vm.startup()
File "/usr/share/
self.
File "/usr/lib/
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error Process exited while reading console log output: chardev: opening backend "pty" failed
It was originally thought that turning off apparmor fixes it, and re-enabling apparmor stops libvirt from creating VMs again. Later reports claim this is not the case.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: libvirt-bin 0.8.3-1ubuntu9
ProcVersionSign
Uname: Linux 2.6.35-19-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Tue Sep 7 16:05:19 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100820)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: libvirt
Changed in libvirt (Ubuntu): | |
importance: | Undecided → High |
tags: | added: apparmor |
Changed in libvirt (Ubuntu Maverick): | |
milestone: | none → ubuntu-10.10 |
tags: | added: server-mrs |
Changed in libvirt (Ubuntu Maverick): | |
status: | New → Confirmed |
tags: | removed: apparmor |
tags: | added: apparmor |
This is the 'virsh dumpxml' output for one of the VMs. (All VMs refuse to start).
The VM disks are under /srv/libvirt- storage- pool-1 (which was created using the
virt-manager interface), but the apparmor config files seem to account for that.