ubuntu-vm-builder doesn't know Zesty Zapus

Bug #1703822 reported by CTAC
6
This bug affects 1 person
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+bzr494-0ubuntu1
  Candidate: 0.12.4+bzr494-0ubuntu1
  Version table:
 *** 0.12.4+bzr494-0ubuntu1 500
        500 http://cz.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        500 http://cz.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
        100 /var/lib/dpkg/status

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/ubuntu-vm-builder", line 24, in <module>
    uvb.main()
  File "/usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py", line 221, in main
    distro.build_chroot()
  File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 81, in build_chroot
    self.call_hooks('preflight_check')
  File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 67, in call_hooks
    call_hooks(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 170, in call_hooks
    getattr(context, func)(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 104, in preflight_check
    raise VMBuilderUserError('Invalid suite: "%s". Valid suites are: %s' % (suite, ' '.join(self.suites)))
VMBuilder.exception.VMBuilderUserError: 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

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubuntu-vm-builder 0.12.4+bzr494-0ubuntu1
ProcVersionSignature: Ubuntu 4.8.0-58.63~16.04.1-generic 4.8.17
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)
PackageArchitecture: all
SourcePackage: vm-builder
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
CTAC (ssukholet) wrote :
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

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.
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-simplestreams-libvirt --source http://cloud-images.ubuntu.com/daily arch=amd64 label=daily release=zesty
# 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).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.