ubuntu-vm-builder doesn't know Zesty Zapus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
1. lsb_release -rd
Description: Ubuntu 16.04.2 LTS
Release: 16.04
2. apt-cache policy ubuntu-vm-builder
ubuntu-vm-builder:
Installed: 0.12.4+
Candidate: 0.12.4+
Version table:
*** 0.12.4+
500 http://
500 http://
100 /var/lib/
3. ubuntu-vm-builder should create vm for following versions:
sudo ubuntu-vm-builder kvm Zesty
4. Unfortunately, it can not:
sudo ubuntu-vm-builder kvm Zesty
2017-07-12 13:54:42,966 INFO : logging to file: /tmp/tmpFfvw85
2017-07-12 13:54:42,993 INFO : Calling hook: preflight_check
2017-07-12 13:54:42,993 INFO : Cleaning up
2017-07-12 13:54:42,993 ERROR : Invalid suite: "Zesty". Valid suites are: dapper gutsy hardy intrepid jaunty karmic lucid maverick natty oneiric precise quantal raring saucy trusty utopic vivid wily xenial
Traceback (most recent call last):
File "/usr/bin/
uvb.main()
File "/usr/lib/
distro.
File "/usr/lib/
self.
File "/usr/lib/
call_
File "/usr/lib/
getattr(
File "/usr/lib/
raise VMBuilderUserEr
VMBuilder.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubuntu-vm-builder 0.12.4+
ProcVersionSign
Uname: Linux 4.8.0-58-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.9
Architecture: amd64
Date: Wed Jul 12 13:50:56 2017
InstallationDate: Installed on 2017-07-06 (5 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
PackageArchitec
SourcePackage: vm-builder
UpgradeStatus: No upgrade log present (probably fresh install)
Hi CTAC,
this package is kind of deprecated and not changed at all since Xenial.
I have taken a task to check in detail if this package shall get some bigger attention or if we actually want to remove it (better than being out in a semi-broken way).
For now I'd ask you if you think you could work with uvtool-libvirt which is much more used and maintained recently. ms-libvirt --source http:// cloud-images. ubuntu. com/daily arch=amd64 label=daily release=zesty
To get a zesty VM like in your case you'd do:
# get a daily build of the cloud image, you can choose others of course
uvt-simplestrea
# spawn a VM
uvt-kvm create zesty-test release=zesty arch=amd64 label=daily
It is faster due to the cloud image usage, and more similar to e.g. all the cloud instances out there. Especially if you use it multiple times it is very efficient (since usually the sync is the only slow part depending on your connection).