ppc64el virsh start fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
Utopic |
Fix Released
|
High
|
Unassigned | ||
Vivid |
Fix Released
|
High
|
Unassigned |
Bug Description
=======
Impact: cannot start libvirt-qemu VMs on ppc64el
Test case: See below in the description.
Regression potential: this debdiff only adds apparmor permissions which are already being granted in vivid, so no new regressions should be possible
=======
$ cat > foobar.xml <<EOF
<domain type="kvm">
<name>
<memory>
<currentMemor
<os>
<type arch="ppc64" machine=
</os>
<vcpu>1</vcpu>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset="utc"/>
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<emulator>
<console type="pty"/>
</devices>
</domain>
EOF
$ sudo virsh define foobar.xml
Domain foobar defined from foobar.xml
$ sudo virsh start foobar
error: Failed to start domain foobar
error: internal error: process exited while connecting to monitor: Can't open directory /proc/device-
Can't open directory /proc/device-
Can't open directory /proc/device-
Can't open directory /proc/device-
Can't open directory /proc/device-
Can't open directory /proc/device-
Can't open directory /proc/device-
Can't open directory /proc/device-
qemu: hardware error: qemu: could not load LPAR rtas '/usr/share/
CPU #0:
NIP 0000000000000000 LR 0000000000000000 CTR 0000000000000000 XER 0000000000000000
MSR 0000000000000000 HID0 0000000000000000 HF 0000000000000000 idx 0
TB 00000000 00000000 DECR 00000000
GPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR16 0000000000000000 00000000000000
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: libvirt-bin 1.2.8-0ubuntu4
ProcVersionSign
Uname: Linux 3.16.0-17-generic ppc64le
ApportVersion: 2.14.7-0ubuntu2
Architecture: ppc64el
Date: Fri Sep 26 17:43:55 2014
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcLoadAvg: 0.08 0.03 0.05 1/1176 28307
ProcLocks:
1: POSIX ADVISORY WRITE 84870 00:11:478688 0 0
2: FLOCK ADVISORY WRITE 2515 00:11:45214 0 EOF
3: POSIX ADVISORY WRITE 2369 00:11:50266 0 EOF
4: POSIX ADVISORY WRITE 2567 00:11:47202 0 EOF
ProcSwaps:
Filename Type Size Used Priority
/swap.img file 8388544 0 -1
ProcVersion: Linux version 3.16.0-17-generic (buildd@fisher03) (gcc version 4.9.1 (User Name 4.9.1-15ubuntu1) ) #23-User Name SMP Fri Sep 19 16:54:14 UTC 2014
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)
cpu_cores: Number of cores present = 20
cpu_coreson: Number of cores online = 19
cpu_smt: SMT is off
modified.
Changed in libvirt (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in libvirt (Ubuntu Utopic): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in libvirt (Ubuntu Trusty): | |
status: | New → Confirmed |
description: | updated |
tags: | added: utopic |
Thanks for submitting this bug. This is odd given that the libirt-qemu d/usr.sbin. libvirt and /etc/apparmor. d/abstractions/ libvirt- qemu
abstraction is already being given specifically access to anything
under /proc/device-tree. Could you please attach the contents
of /etc/apparmor.
on the host, as well as relevant DENIED messages from /var/log/syslog?
status: incomplete
importance: high