vmbuilder crashed with , stderr in run_cmd()

Bug #656842 reported by BlueT - Matthew Lien - 練喆明
110
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vm-builder (Ubuntu)
Invalid
Low
Unassigned

Bug Description

matthew@Priapus:/data/other/kvm$ sudo vmbuilder kvm ubuntu \
> -d '/data/other/kvm/endian'\
> --hostname 'endian-105'\
> --ip '192.168.122.105'\
> --arch 'i386'\
> --mem '384'\
> --rootsize '10240'\
> --swapsize '1024'\
> --in-place \
> --iso=/data/VirtualBox/Share-Doc/EFW-COMMUNITY-2.4-201005280528-RESPIN.iso \
> --kernel-flavour 'virtual'\
> --domain 'bluet.org'\
> --name 'BlueT' --user 'bluet' --pass 'qwe123'\
> --mask '255.255.255.0'\
> --net '192.168.122.0'\
> --bcast '192.168.122.255'\
> --gw '192.168.122.1'\
> --dns '192.168.122.1'\
> --libvirt qemu:///system ;
[sudo] password for matthew:
2010-10-08 17:19:43,447 INFO : Creating disk image: /tmp/vmbuilderLyfsel/disk0.img
2010-10-08 17:19:43,472 INFO : Adding partition table to disk image: /tmp/vmbuilderLyfsel/disk0.img
2010-10-08 17:19:43,691 INFO : Adding type 1 partition to disk image: /tmp/vmbuilderLyfsel/disk0.img
2010-10-08 17:19:43,778 INFO : Adding type 3 partition to disk image: /tmp/vmbuilderLyfsel/disk0.img
2010-10-08 17:19:43,795 INFO : [0] ../../libparted/filesys.c:147 (ped_file_system_type_get): File system alias linux-swap(new) is deprecated
2010-10-08 17:19:43,844 INFO : Creating loop devices corresponding to the created partitions
2010-10-08 17:19:43,893 INFO : Creating file systems
2010-10-08 17:19:44,044 INFO : mke2fs 1.41.9 (22-Aug-2009)
2010-10-08 17:19:45,127 INFO : mkswap: /dev/mapper/loop0p2: warning: don't erase bootbits sectors
2010-10-08 17:19:45,129 INFO : on whole disk. Use -f to force.
2010-10-08 17:19:45,170 INFO : Mounting target filesystems
2010-10-08 17:19:45,200 INFO : Installing guest operating system. This might take some time...
2010-10-08 17:19:45,595 INFO : Cleaning up
Traceback (most recent call last):
  File "/usr/bin/vmbuilder", line 29, in <module>
    VMBuilder.run()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/__init__.py", line 65, in run
    frontend.run()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/cli/__init__.py", line 68, in run
    vm.create()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 484, in create
    self.install()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 407, in install
    self.distro.install(self.installdir)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 148, in install
    self.suite.install(destdir)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 54, in install
    self.debootstrap()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 273, in debootstrap
    run_cmd(*cmd, **kwargs)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/util.py", line 135, in run_cmd
    raise VMBuilderException, "Process (%s) returned %d. stdout: %s, stderr: %s" % (args.__repr__(), status, stdout, stderr)
VMBuilder.exception.VMBuilderException: Process (['/usr/sbin/debootstrap', '--arch=i386', 'jaunty', '/tmp/vmbuilderLyfsel/target', 'file:///tmp/tmplB8HG_']) returned 1. stdout: I: Retrieving Release
E: Failed getting release file file:///tmp/tmplB8HG_/dists/jaunty/Release
, stderr:

ProblemType: Crash
Architecture: amd64
Date: Fri Oct 8 17:19:49 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/vmbuilder
InterpreterPath: /usr/bin/python2.6
Package: python-vm-builder 0.11.3-0ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/vmbuilder kvm ubuntu -d /data/other/kvm/endian --hostname endian-105 --ip 192.168.122.105 --arch i386 --mem 384 --rootsize 10240 --swapsize 1024 --in-place --iso=/data/VirtualBox/Share-Doc/EFW-COMMUNITY-2.4-201005280528-RESPIN.iso --kernel-flavour virtual --domain bluet.org --name BlueT --user bluet --pass qwe123 --mask 255.255.255.0 --net 192.168.122.0 --bcast 192.168.122.255 --gw 192.168.122.1 --dns 192.168.122.1 --libvirt qemu:///system
ProcEnviron:
 PATH=(custom, no user)
 LANG=zh_TW.UTF-8
 LANGUAGE=zh_TW.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-22.66-generic
PythonArgs: ['/usr/bin/vmbuilder', 'kvm', 'ubuntu', '-d', '/data/other/kvm/endian', '--hostname', 'endian-105', '--ip', '192.168.122.105', '--arch', 'i386', '--mem', '384', '--rootsize', '10240', '--swapsize', '1024', '--in-place', '--iso=/data/VirtualBox/Share-Doc/EFW-COMMUNITY-2.4-201005280528-RESPIN.iso', '--kernel-flavour', 'virtual', '--domain', 'bluet.org', '--name', 'BlueT', '--user', 'bluet', '--pass', 'qwe123', '--mask', '255.255.255.0', '--net', '192.168.122.0', '--bcast', '192.168.122.255', '--gw', '192.168.122.1', '--dns', '192.168.122.1', '--libvirt', 'qemu:///system']
SourcePackage: vm-builder
Title: vmbuilder crashed with , stderr in run_cmd()
Uname: Linux 2.6.31-22-generic x86_64
UserGroups:

Revision history for this message
BlueT - Matthew Lien - 練喆明 (bluet) wrote :
visibility: private → public
visibility: public → private
Revision history for this message
Dave Walker (davewalker) wrote :

@BlueT, You have marked this as a security vulnerability, can you clarify what part is concerning you?

Thanks.

Revision history for this message
Dave Walker (davewalker) wrote :

I can't see anything that should be private on this bug report, so i am marking it as public. Thanks for the report!

Changed in vm-builder (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
tags: removed: need-duplicate-check
visibility: private → public
Revision history for this message
dino99 (9d9) wrote :

This version has expired long time ago, and is no more supported

Changed in vm-builder (Ubuntu):
status: Confirmed → Invalid
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.