[Bug 1374554] Re: ppc64el virsh start fails
Serge Hallyn
1374554 at bugs.launchpad.net
Tue Nov 11 22:50:23 UTC 2014
** Also affects: libvirt (Ubuntu Trusty)
Importance: Undecided
Status: New
** Changed in: libvirt (Ubuntu Trusty)
Importance: Undecided => High
** Changed in: libvirt (Ubuntu Utopic)
Importance: Undecided => High
** Changed in: libvirt (Ubuntu Utopic)
Status: New => Confirmed
** Changed in: libvirt (Ubuntu Trusty)
Status: New => Confirmed
** Description changed:
+ ===========================================
+ 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>foobar</name>
- <memory>1048576</memory>
- <currentMemory>1048576</currentMemory>
- <os>
- <type arch="ppc64" machine="pseries">hvm</type>
- </os>
- <vcpu>1</vcpu>
- <features>
- <acpi/>
- <apic/>
- <pae/>
- </features>
- <clock offset="utc"/>
- <on_poweroff>destroy</on_poweroff>
- <on_reboot>destroy</on_reboot>
- <on_crash>destroy</on_crash>
- <devices>
- <emulator>/usr/bin/qemu-system-ppc64</emulator>
- <console type="pty"/>
- </devices>
+ <name>foobar</name>
+ <memory>1048576</memory>
+ <currentMemory>1048576</currentMemory>
+ <os>
+ <type arch="ppc64" machine="pseries">hvm</type>
+ </os>
+ <vcpu>1</vcpu>
+ <features>
+ <acpi/>
+ <apic/>
+ <pae/>
+ </features>
+ <clock offset="utc"/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>destroy</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-ppc64</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-tree/cpus/
Can't open directory /proc/device-tree/cpus/
Can't open directory /proc/device-tree/cpus/
Can't open directory /proc/device-tree/cpus/
Can't open directory /proc/device-tree/cpus/
Can't open directory /proc/device-tree/cpus/
Can't open directory /proc/device-tree/cpus/
Can't open directory /proc/device-tree/cpus/
qemu: hardware error: qemu: could not load LPAR rtas '/usr/share/qemu/spapr-rtas.bin'
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
ProcVersionSignature: User Name 3.16.0-17.23-generic 3.16.3
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_DIR=<set>
- LANG=en_US.UTF-8
- SHELL=/bin/bash
+ TERM=screen
+ PATH=(custom, no user)
+ XDG_RUNTIME_DIR=<set>
+ 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
+ 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
+ Filename Type Size Used Priority
+ /swap.img file 8388544 0 -1
ProcVersion: Linux version 3.16.0-17-generic (buildd at 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.conffile..etc.libvirt.qemu.conf: [inaccessible: [Errno 13] Permission denied: '/etc/libvirt/qemu.conf']
--
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/1374554
Title:
ppc64el virsh start fails
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1374554/+subscriptions
More information about the Ubuntu-server-bugs
mailing list