[Bug 1452016] [NEW] uvtool-libvirt needs arch specific templates

2015-05-05 Thread Ryan Harper
Public bug reported:

uvt-kvm currently has only one template for creating KVM guests.  The
template hardcodes x86-specific values which are not available on
non-x86 (arm and ppc64el).  Ideally, uvtool could do something like
/usr/share/uvtool/$arch-template.xml  though we'll need something to
handle things like uname -m returning ppc64le, and the arch of the
packages being ppc64el.

I'll attach a functional template for ppc64le that I can specify via
uvt-kvm create 's cli.


1. $ lsb_release -rd
Description:Ubuntu 15.04
Release:15.04
2. $ apt-cache policy uvtool-libvirt
uvtool-libvirt:
  Installed: 0~bzr99-0ubuntu1
  Candidate: 0~bzr99-0ubuntu1
  Version table:
 *** 0~bzr99-0ubuntu1 0
500 http://ports.ubuntu.com/ubuntu-ports/ vivid/universe ppc64el 
Packages
100 /var/lib/dpkg/status
3. uvt-kvm create --memory 512 --cpu 1 --disk 10 test1  creates a kvm instance 
on ppc64el host.
4. failed to create the instances because the template wasn't valid for ppc64el 
guest.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: uvtool-libvirt 0~bzr99-0ubuntu1
ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic ppc64le
ApportVersion: 2.17.2-0ubuntu1
Architecture: ppc64el
Date: Tue May  5 19:52:52 2015
PackageArchitecture: all
ProcEnviron:
 TERM=screen
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=set
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcLoadAvg: 0.67 0.50 0.50 2/1422 15068
ProcLocks:
 1: POSIX  ADVISORY  WRITE 3552 00:12:125109 0 0
 2: POSIX  ADVISORY  WRITE 2114 00:12:99335 0 EOF
 3: POSIX  ADVISORY  WRITE 2130 00:12:90143 0 EOF
 4: FLOCK  ADVISORY  WRITE 2181 00:12:93227 0 EOF
ProcSwaps:
 Filename   TypeSizeUsedPriority
 /swap.img   file   8388544 0   -1
ProcVersion: Linux version 3.19.0-15-generic (buildd@fisher02) (gcc version 
4.9.2 (User Name 4.9.2-10ubuntu13) ) #15-User Name SMP Thu Apr 16 23:32:13 UTC 
2015
SourcePackage: uvtool
UpgradeStatus: No upgrade log present (probably fresh install)
cpu_cores: Number of cores present = 20
cpu_coreson: Number of cores online = 20
cpu_smt: SMT is off

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


** Tags: apport-bug ppc64el uec-images vivid

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

Title:
  uvtool-libvirt needs arch specific templates

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1452016] [NEW] uvtool-libvirt needs arch specific templates

2015-05-05 Thread Ryan Harper
Public bug reported:

uvt-kvm currently has only one template for creating KVM guests.  The
template hardcodes x86-specific values which are not available on
non-x86 (arm and ppc64el).  Ideally, uvtool could do something like
/usr/share/uvtool/$arch-template.xml  though we'll need something to
handle things like uname -m returning ppc64le, and the arch of the
packages being ppc64el.

I'll attach a functional template for ppc64le that I can specify via
uvt-kvm create 's cli.


1. $ lsb_release -rd
Description:Ubuntu 15.04
Release:15.04
2. $ apt-cache policy uvtool-libvirt
uvtool-libvirt:
  Installed: 0~bzr99-0ubuntu1
  Candidate: 0~bzr99-0ubuntu1
  Version table:
 *** 0~bzr99-0ubuntu1 0
500 http://ports.ubuntu.com/ubuntu-ports/ vivid/universe ppc64el 
Packages
100 /var/lib/dpkg/status
3. uvt-kvm create --memory 512 --cpu 1 --disk 10 test1  creates a kvm instance 
on ppc64el host.
4. failed to create the instances because the template wasn't valid for ppc64el 
guest.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: uvtool-libvirt 0~bzr99-0ubuntu1
ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic ppc64le
ApportVersion: 2.17.2-0ubuntu1
Architecture: ppc64el
Date: Tue May  5 19:52:52 2015
PackageArchitecture: all
ProcEnviron:
 TERM=screen
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=set
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcLoadAvg: 0.67 0.50 0.50 2/1422 15068
ProcLocks:
 1: POSIX  ADVISORY  WRITE 3552 00:12:125109 0 0
 2: POSIX  ADVISORY  WRITE 2114 00:12:99335 0 EOF
 3: POSIX  ADVISORY  WRITE 2130 00:12:90143 0 EOF
 4: FLOCK  ADVISORY  WRITE 2181 00:12:93227 0 EOF
ProcSwaps:
 Filename   TypeSizeUsedPriority
 /swap.img   file   8388544 0   -1
ProcVersion: Linux version 3.19.0-15-generic (buildd@fisher02) (gcc version 
4.9.2 (User Name 4.9.2-10ubuntu13) ) #15-User Name SMP Thu Apr 16 23:32:13 UTC 
2015
SourcePackage: uvtool
UpgradeStatus: No upgrade log present (probably fresh install)
cpu_cores: Number of cores present = 20
cpu_coreson: Number of cores online = 20
cpu_smt: SMT is off

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


** Tags: apport-bug ppc64el uec-images vivid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1452016

Title:
  uvtool-libvirt needs arch specific templates

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs