- etienne@curst:~$ sudo vmbuilder esxi ubuntu --suite=hardy --mem=512 --arch=i386 --iso=/home/etienne/ISO/ubuntu-8.04.3-desktop-i386.iso --debug
- 2010-01-26 08:35:22,451 DEBUG : add_part - begin 0, length 4096, end 4095
- 2010-01-26 08:35:22,451 DEBUG : add_part - begin 4096, length 1024, end 5119
- 2010-01-26 08:35:22,451 DEBUG : ip: dhcp
- 2010-01-26 08:35:22,453 DEBUG : ['locale-gen', 'en_US.UTF-8']
- 2010-01-26 08:35:22,530 DEBUG : Generating locales...
- 2010-01-26 08:35:22,530 DEBUG : en_US.UTF-8... up-to-date
- 2010-01-26 08:35:22,531 DEBUG : Generation complete.
- 2010-01-26 08:35:22,531 DEBUG : Testing access to http://archive.ubuntu.com/ubuntu
- 2010-01-26 08:35:23,963 DEBUG : Temporary directory: /tmp/vmbuilder93bJ6x
- 2010-01-26 08:35:23,963 DEBUG : Creating the root mount directory: /tmp/vmbuilder93bJ6x/target
- 2010-01-26 08:35:23,964 DEBUG : Creating temporary root: /tmp/vmbuilder93bJ6x/root
- 2010-01-26 08:35:23,964 DEBUG : Creating destination directory: ubuntu-esxi
- 2010-01-26 08:35:23,965 INFO : Creating disk image: /tmp/vmbuilder93bJ6x/disk0.img
- 2010-01-26 08:35:23,966 DEBUG : ['/usr/bin/kvm-img', 'create', '-f', 'raw', '/tmp/vmbuilder93bJ6x/disk0.img', '5120M']
- 2010-01-26 08:35:23,977 DEBUG : Formatting '/tmp/vmbuilder93bJ6x/disk0.img', fmt=raw size=5368709120
- 2010-01-26 08:35:23,977 INFO : Adding partition table to disk image: /tmp/vmbuilder93bJ6x/disk0.img
- 2010-01-26 08:35:23,977 DEBUG : ['parted', '--script', '/tmp/vmbuilder93bJ6x/disk0.img', 'mklabel', 'msdos']
- 2010-01-26 08:35:23,999 INFO : Adding type 1 partition to disk image: /tmp/vmbuilder93bJ6x/disk0.img
- 2010-01-26 08:35:23,999 DEBUG : ['parted', '--script', '--', '/tmp/vmbuilder93bJ6x/disk0.img', 'mkpart', 'primary', 'ext2', '0', '4095']
- 2010-01-26 08:35:24,036 INFO : Adding type 3 partition to disk image: /tmp/vmbuilder93bJ6x/disk0.img
- 2010-01-26 08:35:24,036 DEBUG : ['parted', '--script', '--', '/tmp/vmbuilder93bJ6x/disk0.img', 'mkpart', 'primary', 'linux-swap(new)', '4096', '5119']
- 2010-01-26 08:35:24,041 INFO : [0] ../../libparted/filesys.c:147 (ped_file_system_type_get): File system alias linux-swap(new) is deprecated
- 2010-01-26 08:35:24,053 INFO : Creating loop devices corresponding to the created partitions
- 2010-01-26 08:35:24,053 DEBUG : ['kpartx', '-av', '/tmp/vmbuilder93bJ6x/disk0.img']
- 2010-01-26 08:35:24,061 DEBUG : add map loop0p1 (252:2): 0 7998048 linear /dev/loop0 32
- 2010-01-26 08:35:24,062 DEBUG : add map loop0p2 (252:3): 0 2000000 linear /dev/loop0 7998080
- 2010-01-26 08:35:24,062 INFO : Creating file systems
- 2010-01-26 08:35:24,062 DEBUG : hardy: 256 bit inode
- 2010-01-26 08:35:24,062 DEBUG : ['mkfs.ext3', '-F', '/dev/mapper/loop0p1']
- 2010-01-26 08:35:24,102 INFO : mke2fs 1.41.9 (22-Aug-2009)
- 2010-01-26 08:35:24,590 DEBUG : Filesystem label=
- 2010-01-26 08:35:24,591 DEBUG : OS type: Linux
- 2010-01-26 08:35:24,591 DEBUG : Block size=4096 (log=2)
- 2010-01-26 08:35:24,592 DEBUG : Fragment size=4096 (log=2)
- 2010-01-26 08:35:24,592 DEBUG : 249984 inodes, 999756 blocks
- 2010-01-26 08:35:24,592 DEBUG : 49987 blocks (5.00%) reserved for the super user
- 2010-01-26 08:35:24,593 DEBUG : First data block=0
- 2010-01-26 08:35:24,593 DEBUG : Maximum filesystem blocks=1027604480
- 2010-01-26 08:35:24,593 DEBUG : 31 block groups
- 2010-01-26 08:35:24,594 DEBUG : 32768 blocks per group, 32768 fragments per group
- 2010-01-26 08:35:24,594 DEBUG : 8064 inodes per group
- 2010-01-26 08:35:24,595 DEBUG : Superblock backups stored on blocks:
- 2010-01-26 08:35:24,595 DEBUG : 32768, 98304, 163840, 229376, 294912, 819200, 884736
- 2010-01-26 08:35:24,595 DEBUG :
- 2010-01-26 08:35:24,598 DEBUG : Writing inode tables: done1
- 2010-01-26 08:35:24,599 DEBUG : Creating journal (16384 blocks): done
- 2010-01-26 08:35:24,600 DEBUG : Writing superblocks and filesystem accounting information: done
- 2010-01-26 08:35:24,600 DEBUG :
- 2010-01-26 08:35:24,600 DEBUG : This filesystem will be automatically checked every 25 mounts or
- 2010-01-26 08:35:24,607 DEBUG : 180 days, whichever comes first. Use tune2fs -c or -i to override.
- 2010-01-26 08:35:24,607 DEBUG : ['blkid', '-sUUID', '-ovalue', '/dev/mapper/loop0p1']
- 2010-01-26 08:35:24,625 DEBUG : b5139e10-bed2-4ac5-afdc-5ad416fb001e
- 2010-01-26 08:35:24,626 DEBUG : hardy: 256 bit inode
- 2010-01-26 08:35:24,626 DEBUG : ['mkswap', '/dev/mapper/loop0p2']
- 2010-01-26 08:35:24,629 INFO : mkswap: /dev/mapper/loop0p2: warning: don't erase bootbits sectors
- 2010-01-26 08:35:24,630 INFO : on whole disk. Use -f to force.
- 2010-01-26 08:35:24,631 DEBUG : Setting up swapspace version 1, size = 999996 KiB
- 2010-01-26 08:35:24,631 DEBUG : no label, UUID=3f205e45-7a96-462f-b855-2aaba6954c06
- 2010-01-26 08:35:24,631 DEBUG : ['blkid', '-sUUID', '-ovalue', '/dev/mapper/loop0p2']
- 2010-01-26 08:35:24,635 DEBUG : 3f205e45-7a96-462f-b855-2aaba6954c06
- 2010-01-26 08:35:24,635 INFO : Mounting target filesystems
- 2010-01-26 08:35:24,635 DEBUG : Mounting /
- 2010-01-26 08:35:24,636 DEBUG : ['mount', '-o', 'loop', '/dev/mapper/loop0p1', '/tmp/vmbuilder93bJ6x/target/']
- 2010-01-26 08:35:24,642 DEBUG : Creating /var/run in root filesystem
- 2010-01-26 08:35:24,643 DEBUG : Creating /var/lock in root filesystem
- 2010-01-26 08:35:24,644 INFO : Installing guest operating system. This might take some time...
- 2010-01-26 08:35:24,644 DEBUG : debootstrapping
- 2010-01-26 08:35:24,644 DEBUG : ['mount', '-o', 'loop', '-t', 'iso9660', '/home/etienne/ISO/ubuntu-8.04.3-desktop-i386.iso', '/tmp/tmp7x2e6y']
- 2010-01-26 08:35:24,655 DEBUG : ['/usr/sbin/debootstrap', '--arch=i386', 'hardy', '/tmp/vmbuilder93bJ6x/root', 'file:///tmp/tmp7x2e6y']
- 2010-01-26 08:35:24,697 DEBUG : I: Retrieving Release
- 2010-01-26 08:35:24,741 DEBUG : I: Retrieving Packages
- 2010-01-26 08:35:24,742 DEBUG : I: Validating Packages
- 2010-01-26 08:35:24,800 DEBUG : I: Resolving dependencies of required packages...
- 2010-01-26 08:35:24,802 DEBUG : I: Resolving dependencies of base packages...
- 2010-01-26 08:35:24,864 DEBUG : I: Checking component main on file:///tmp/tmp7x2e6y...
- 2010-01-26 08:35:24,876 DEBUG : I: Retrieving libatm1
- 2010-01-26 08:35:24,879 DEBUG : I: Validating libatm1
- 2010-01-26 08:35:24,915 DEBUG : W: Failure trying to run: chroot /tmp/vmbuilder93bJ6x/root mount -t proc proc /proc
- 2010-01-26 08:35:24,921 DEBUG : Oh, dear, an exception occurred
- 2010-01-26 08:35:24,921 INFO : Cleaning up
- 2010-01-26 08:35:24,921 DEBUG : ['umount', '/tmp/tmp7x2e6y']
- 2010-01-26 08:35:24,925 DEBUG : Unmounting /tmp/vmbuilder93bJ6x/target/
- 2010-01-26 08:35:24,925 DEBUG : ['umount', '/tmp/vmbuilder93bJ6x/target/']
- 2010-01-26 08:35:27,939 DEBUG : ['kpartx', '-d', '/tmp/vmbuilder93bJ6x/disk0.img']
- 2010-01-26 08:35:27,964 DEBUG : loop deleted : /dev/loop0
- 2010-01-26 08:35:27,964 DEBUG : ['kpartx', '-d', '/tmp/vmbuilder93bJ6x/disk0.img']
- 2010-01-26 08:35:27,968 DEBUG : ['rmdir', 'ubuntu-esxi']
- 2010-01-26 08:35:27,981 DEBUG : ['rm', '-rf', '/tmp/vmbuilder93bJ6x']
- 2010-01-26 08:35:28,021 DEBUG : ['rm', '/tmp/tmpISXac9']
- 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', 'hardy', '/tmp/vmbuilder93bJ6x/root', 'file:///tmp/tmp7x2e6y']) returned 1. stdout: I: Retrieving Release
- I: Retrieving Packages
- I: Validating Packages
- I: Resolving dependencies of required packages...
- I: Resolving dependencies of base packages...
- I: Checking component main on file:///tmp/tmp7x2e6y...
- I: Retrieving libatm1
- I: Validating libatm1
- W: Failure trying to run: chroot /tmp/vmbuilder93bJ6x/root mount -t proc proc /proc
- , stderr:
SHARE
TWEET
EtienneG
a guest
Jan 26th, 2010
166
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
