[Bug 1470247] [NEW] qemu-kvm wrapper package missing on ppc64le

Rafael Folco rfolco at linux.vnet.ibm.com
Tue Jun 30 20:59:51 UTC 2015


Public bug reported:

1) Ubuntu Release
Description:	Ubuntu 14.04.2 LTS
Release:	14.04

uname -m
ppc64le

2) Version (i386)
qemu-kvm:
  Installed: 2.1+dfsg-4ubuntu6
  Candidate: 2.1+dfsg-4ubuntu6
  Version table:
 *** 2.1+dfsg-4ubuntu6 0
        500 http://nova.clouds.archive.ubuntu.com/ubuntu/ utopic/main i386 Packages
        100 /var/lib/dpkg/status


3) Missing qemu-kvm wrapper package is a dependency to devstack

>From a x86_64 ubuntu machine:
ubuntu at rfolco-ubuntu:~$ sudo dpkg -L qemu-kvm
/.
/usr
/usr/bin
/usr/bin/kvm
/usr/share
/usr/share/doc
/usr/share/doc/qemu-kvm
/usr/share/doc/qemu-kvm/copyright
/usr/share/doc/qemu-kvm/NEWS.Debian.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/kvm.1.gz
/usr/bin/qemu-system-x86_64-spice
/usr/bin/kvm-spice
/usr/share/doc/qemu-kvm/changelog.Debian.gz
ubuntu at rfolco-ubuntu:~$ file /usr/bin/kvm-spice
/usr/bin/kvm-spice: symbolic link to `kvm'
ubuntu at rfolco-ubuntu:~$ file /usr/bin/kvm
/usr/bin/kvm: POSIX shell script, ASCII text executable
ubuntu at rfolco-ubuntu:~$ cat /usr/bin/kvm
#! /bin/sh
exec qemu-system-x86_64 -enable-kvm "$@"

On ppc64le, /usr/bin/kvm script (packaged in qemu-kvm) should be a wrapper to qemu-system-ppc:
#! /bin/sh
exec qemu-system-ppc -enable-kvm "$@"

----

4) qemu-kvm does not exist in ppc64le:
stack at ubuntu:~/devstack$ sudo apt-get install qemu-kvm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package qemu-kvm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  qemu-user qemu-utils qemu-system-x86 qemu-system-sparc qemu-system-ppc
  qemu-system-arm cpu-checker

E: Package 'qemu-kvm' has no installation candidate


==> Devstack fails to deploy due to missing qemu-kvm dependency
+ real_install_package qemu-kvm
+ is_ubuntu
+ [[ -z deb ]]
+ '[' deb = deb ']'
+ apt_get install qemu-kvm
++ set +o
++ grep xtrace
+ local 'xtrace=set -o xtrace'
+ set +o xtrace
+ sudo DEBIAN_FRONTEND=noninteractive http_proxy= https_proxy= no_proxy= apt-get --option Dpkg::Options::=--force-confold --assume-yes install qemu-kvm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package qemu-kvm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  qemu-user qemu-utils qemu-system-x86 qemu-system-sparc qemu-system-ppc
  qemu-system-arm cpu-checker

E: Package 'qemu-kvm' has no installation candidate
+ exit_trap
+ local r=100
++ jobs -p
+ jobs=
+ [[ -n '' ]]
+ kill_spinner
+ '[' '!' -z '' ']'
+ [[ 100 -ne 0 ]]
+ echo 'Error on exit'
Error on exit
+ [[ -z /opt/stack/logs ]]
+ /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2015-06-30-200140.txt for details
Traceback (most recent call last):
  File "/opt/stack/devstack/tools/worlddump.py", line 133, in <module>
    sys.exit(main())
  File "/opt/stack/devstack/tools/worlddump.py", line 124, in main
    process_list()
  File "/opt/stack/devstack/tools/worlddump.py", line 98, in process_list
    _dump_cmd("ps axo "
  File "/opt/stack/devstack/tools/worlddump.py", line 50, in _dump_cmd
    subprocess.Popen(cmd, shell=True)
NameError: global name 'subprocess' is not defined

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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1470247

Title:
  qemu-kvm wrapper package missing on ppc64le

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



More information about the Ubuntu-server-bugs mailing list