vmbuilder crashed with VMBuilderException in run_cmd()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Trying to create a hardy vm running the following command using vm-tools in ubuntu-qa-tools:
vm-new hardy amd64 clean
ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: python-vm-builder 0.12.4-0ubuntu1.2
ProcVersionSign
Uname: Linux 2.6.35-24-generic x86_64
Architecture: amd64
Date: Fri Dec 24 12:04:58 2010
ExecutablePath: /usr/bin/vmbuilder
InterpreterPath: /usr/bin/python2.6
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/vmbuilder qemu ubuntu --timezone=
ProcEnviron:
PATH=(custom, no user)
LANG=C
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: vm-builder
Title: vmbuilder crashed with VMBuilderException in run_cmd()
UserGroups:
tags: | removed: need-duplicate-check |
visibility: | private → public |
Changed in vm-builder (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
This looks to be because of this in VMBuilder/ plugins/ ubuntu/ dapper. py: get_setting( 'lang')
self.install_ from_template( '/etc/default/ locale' , 'locale', { 'lang' : lang })
self.run_ in_target( 'locale- gen', lang)
def set_locale(self):
lang = self.context.
if lang:
...
The version in natty does: get_setting( 'lang')
self.install_ from_template( '/etc/default/ locale' , 'locale', { 'lang' : lang })
self. run_in_ target( 'locale- gen', lang)
def set_locale(self):
lang = self.context.
if lang:
if lang != "C":
...