uvtool-libvirt needs arch specific templates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uvtool |
Fix Released
|
Undecided
|
Unassigned | ||
uvtool (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
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/
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://
100 /var/lib/
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
ProcVersionSign
Uname: Linux 3.19.0-15-generic ppc64le
ApportVersion: 2.17.2-0ubuntu1
Architecture: ppc64el
Date: Tue May 5 19:52:52 2015
PackageArchitec
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
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 Type Size Used Priority
/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
Related branches
- Robie Basak: Approve
-
Diff: 297 lines (+109/-31)7 files modifiedcontrib/README (+0/-5)
man/uvt-kvm.1 (+12/-1)
setup.py (+4/-1)
template-aarch64.xml (+14/-10)
template-ppc64le.xml (+0/-0)
template-s390x.xml (+22/-0)
uvtool/libvirt/kvm.py (+57/-14)
Changed in uvtool (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
tags: | added: architecture |
Changed in uvtool: | |
status: | New → Triaged |
tags: | added: s390x |
Changed in uvtool: | |
status: | Triaged → Fix Released |
<domain type='kvm'> "pseries" >hvm</type> '127.0. 0.1'/>
<os>
<type arch="ppc64le" machine=
<boot dev='hd' />
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<devices>
<interface type='network'>
<source network='default'/>
<model type='virtio'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/3'/>
<target port='0'/>
</serial>
<graphics type='vnc' autoport='yes' listen='127.0.0.1'>
<listen type='address' address=
</graphics>
<video/>
</devices>
</domain>