vmbuilder crashed with VMBuilderException in get_setting()

Bug #529618 reported by Marc Deslauriers on 2010-02-28
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vm-builder (Ubuntu)
Undecided
Unassigned

Bug Description

With this command line:

vmbuilder kvm ubuntu --suite=lucid --dest=/home/mdeslaur/machines/test-lucid-amd64 --hostname=test-lucid-amd64 --mirror=http://archive.ubuntu.com/ubuntu --rootsize=4096 --swapsize=1024 --kernel-flavour=generic --components=main,restricted,universe,multiverse --libvirt=qemu:///system --arch=amd64 --exec=/tmp/vm-new-setup-VgPU5D --ssh-key=/home/mdeslaur/.ssh/id_rsa.pub --user=mdeslaur --mem=384 --addpkg=lsb-release --security-mirror=http://security.ubuntu.com/ubuntu --debug

I get this:

Traceback (most recent call last):
  File "/usr/bin/vmbuilder", line 24, in <module>
    cli.main()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 99, in main
    distro.build_chroot()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 83, in build_chroot
    self.call_hooks('configure_os')
  File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 66, in call_hooks
    call_hooks(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/util.py", line 165, in call_hooks
    getattr(context, func, log_no_such_method)(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 159, in configure_os
    self.suite.config_host_and_domainname()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 166, in config_host_and_domainname
    domain = self.context.get_setting('domain')
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/__init__.py", line 296, in get_setting
    raise VMBuilderException('Unknown config key: %s' % name)
VMBuilder.exception.VMBuilderException: Unknown config key: domain

ProblemType: Crash
Architecture: amd64
Date: Sun Feb 28 11:30:44 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/vmbuilder
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: python-vm-builder 0.12.2-0ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/vmbuilder kvm ubuntu --suite=lucid --dest=/home/mdeslaur/machines/test-lucid-amd64 --hostname=test-lucid-amd64 --mirror=http://archive.ubuntu.com/ubuntu --rootsize=4096 --swapsize=1024 --kernel-flavour=generic --components=main,restricted,universe,multiverse --libvirt=qemu:///system --arch=amd64 --exec=/tmp/vm-new-setup-VgPU5D --ssh-key=/home/mdeslaur/.ssh/id_rsa.pub --user=mdeslaur --mem=384 --addpkg=lsb-release --security-mirror=http://security.ubuntu.com/ubuntu --debug
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_CA.utf8
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
PythonArgs: ['/usr/bin/vmbuilder', 'kvm', 'ubuntu', '--suite=lucid', '--dest=/home/mdeslaur/machines/test-lucid-amd64', '--hostname=test-lucid-amd64', '--mirror=http://archive.ubuntu.com/ubuntu', '--rootsize=4096', '--swapsize=1024', '--kernel-flavour=generic', '--components=main,restricted,universe,multiverse', '--libvirt=qemu:///system', '--arch=amd64', '--exec=/tmp/vm-new-setup-VgPU5D', '--ssh-key=/home/mdeslaur/.ssh/id_rsa.pub', '--user=mdeslaur', '--mem=384', '--addpkg=lsb-release', '--security-mirror=http://security.ubuntu.com/ubuntu', '--debug']
SourcePackage: vm-builder
Title: vmbuilder crashed with VMBuilderException in get_setting()
Uname: Linux 2.6.32-14-generic x86_64
UserGroups:

Related branches

Marc Deslauriers (mdeslaur) wrote :
visibility: private → public
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vm-builder - 0.12.2-0ubuntu2

---------------
vm-builder (0.12.2-0ubuntu2) lucid; urgency=low

  * Add missing plugins to package. (LP: #529618)
 -- Soren Hansen <email address hidden> Sun, 28 Feb 2010 21:43:14 +0100

Changed in vm-builder (Ubuntu):
status: New → Fix Released
Soren Hansen (soren) wrote :

...turns out the network plugin isn't even shipped in the package. Fix uploaded.

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

Other bug subscribers