VMBuilder.exception.VMBuilderException: Unknown config key: domain

Bug #527253 reported by Loïc Minier on 2010-02-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vm-builder (Ubuntu)
Undecided
Unassigned

Bug Description

Hi

Ok, this time I'll be sharing my full vm creation line here ;-)

sudo vmbuilder kvm ubuntu --suite lucid -d test -m 1024 --rootsize=4096 --addpkg=zsh --addpkg=vim --addpkg=openssh-server -a amd64 --hostname=grub2 --mirror http://mirror.dooz.org/ubuntu --lang=en_US.UTF-8 --timezone=Europe/Paris --user=lool --name 'Loïc Minier' --pass "lool" --lock-user --ssh-key=`echo ~/.ssh/authorized_keys` --ssh-user-key=`echo ~/.ssh/authorized_keys`

This proceeds nicely until:
2010-02-24 19:03:30,812 DEBUG : ['chroot', '/tmp/tmpsomiEg', 'adduser', 'lool', 'powerdev']
2010-02-24 19:03:30,882 DEBUG : adduser: The group `powerdev' does not exist.
2010-02-24 19:03:30,884 DEBUG : ['chroot', '/tmp/tmpsomiEg', 'adduser', 'lool', 'lpadmin']
2010-02-24 19:03:30,954 DEBUG : adduser: The group `lpadmin' does not exist.
2010-02-24 19:03:30,956 DEBUG : ['chroot', '/tmp/tmpsomiEg', 'adduser', 'lool', 'scanner']
2010-02-24 19:03:31,026 DEBUG : adduser: The group `scanner' does not exist.
2010-02-24 19:03:31,029 DEBUG : ['chroot', '/tmp/tmpsomiEg', 'chpasswd']
2010-02-24 19:03:31,029 DEBUG : stdin was set and it was a string: lool:lool

2010-02-24 19:03:31,059 DEBUG : ['chroot', '/tmp/tmpsomiEg', 'usermod', '-L', 'root']
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 82, in main
    distro.build_chroot()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 77, in build_chroot
    self.call_hooks('configure_os')
  File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 60, in call_hooks
    call_hooks(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/util.py", line 169, 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 160, in configure_os
    self.suite.config_host_and_domainname()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 167, in config_host_and_domainname
    domain = self.context.get_setting('domain')
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/__init__.py", line 248, in get_setting
    raise VMBuilderException('Unknown config key: %s' % name)
VMBuilder.exception.VMBuilderException: Unknown config key: domain

Thanks

ProblemType: Bug
Architecture: amd64
Date: Wed Feb 24 19:27:11 2010
DistroRelease: Ubuntu 10.04
Package: python-vm-builder 0.12.0-0ubuntu1
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=fr_FR.UTF-8
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: vm-builder
Uname: Linux 2.6.32-14-generic x86_64

Loïc Minier (lool) wrote :
Loïc Minier (lool) wrote :

Couldn't find anyway to workaround that one, help welcome.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vm-builder - 0.12.1-0ubuntu1

---------------
vm-builder (0.12.1-0ubuntu1) lucid; urgency=low

  * New upstream, bugfix-only release. (LP: #303882, #523589, #261702,
    #284620, #527240, #527253)
 -- Soren Hansen <email address hidden> Wed, 24 Feb 2010 23:52:03 +0100

Changed in vm-builder (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers