daily pastebin goal
58%
SHARE
TWEET

EtienneG

a guest Jan 26th, 2010 166 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. etienne@curst:~$ sudo vmbuilder esxi ubuntu --suite=hardy --mem=512 --arch=i386 --iso=/home/etienne/ISO/ubuntu-8.04.3-desktop-i386.iso --debug
  2. 2010-01-26 08:35:22,451 DEBUG   : add_part - begin 0, length 4096, end 4095
  3. 2010-01-26 08:35:22,451 DEBUG   : add_part - begin 4096, length 1024, end 5119
  4. 2010-01-26 08:35:22,451 DEBUG   : ip: dhcp
  5. 2010-01-26 08:35:22,453 DEBUG   : ['locale-gen', 'en_US.UTF-8']
  6. 2010-01-26 08:35:22,530 DEBUG   : Generating locales...
  7. 2010-01-26 08:35:22,530 DEBUG   :   en_US.UTF-8... up-to-date
  8. 2010-01-26 08:35:22,531 DEBUG   : Generation complete.
  9. 2010-01-26 08:35:22,531 DEBUG   : Testing access to http://archive.ubuntu.com/ubuntu
  10. 2010-01-26 08:35:23,963 DEBUG   : Temporary directory: /tmp/vmbuilder93bJ6x
  11. 2010-01-26 08:35:23,963 DEBUG   : Creating the root mount directory: /tmp/vmbuilder93bJ6x/target
  12. 2010-01-26 08:35:23,964 DEBUG   : Creating temporary root: /tmp/vmbuilder93bJ6x/root
  13. 2010-01-26 08:35:23,964 DEBUG   : Creating destination directory: ubuntu-esxi
  14. 2010-01-26 08:35:23,965 INFO    : Creating disk image: /tmp/vmbuilder93bJ6x/disk0.img
  15. 2010-01-26 08:35:23,966 DEBUG   : ['/usr/bin/kvm-img', 'create', '-f', 'raw', '/tmp/vmbuilder93bJ6x/disk0.img', '5120M']
  16. 2010-01-26 08:35:23,977 DEBUG   : Formatting '/tmp/vmbuilder93bJ6x/disk0.img', fmt=raw size=5368709120
  17. 2010-01-26 08:35:23,977 INFO    : Adding partition table to disk image: /tmp/vmbuilder93bJ6x/disk0.img
  18. 2010-01-26 08:35:23,977 DEBUG   : ['parted', '--script', '/tmp/vmbuilder93bJ6x/disk0.img', 'mklabel', 'msdos']
  19. 2010-01-26 08:35:23,999 INFO    : Adding type 1 partition to disk image: /tmp/vmbuilder93bJ6x/disk0.img
  20. 2010-01-26 08:35:23,999 DEBUG   : ['parted', '--script', '--', '/tmp/vmbuilder93bJ6x/disk0.img', 'mkpart', 'primary', 'ext2', '0', '4095']
  21. 2010-01-26 08:35:24,036 INFO    : Adding type 3 partition to disk image: /tmp/vmbuilder93bJ6x/disk0.img
  22. 2010-01-26 08:35:24,036 DEBUG   : ['parted', '--script', '--', '/tmp/vmbuilder93bJ6x/disk0.img', 'mkpart', 'primary', 'linux-swap(new)', '4096', '5119']
  23. 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
  24. 2010-01-26 08:35:24,053 INFO    : Creating loop devices corresponding to the created partitions
  25. 2010-01-26 08:35:24,053 DEBUG   : ['kpartx', '-av', '/tmp/vmbuilder93bJ6x/disk0.img']
  26. 2010-01-26 08:35:24,061 DEBUG   : add map loop0p1 (252:2): 0 7998048 linear /dev/loop0 32
  27. 2010-01-26 08:35:24,062 DEBUG   : add map loop0p2 (252:3): 0 2000000 linear /dev/loop0 7998080
  28. 2010-01-26 08:35:24,062 INFO    : Creating file systems
  29. 2010-01-26 08:35:24,062 DEBUG   : hardy: 256 bit inode
  30. 2010-01-26 08:35:24,062 DEBUG   : ['mkfs.ext3', '-F', '/dev/mapper/loop0p1']
  31. 2010-01-26 08:35:24,102 INFO    : mke2fs 1.41.9 (22-Aug-2009)
  32. 2010-01-26 08:35:24,590 DEBUG   : Filesystem label=
  33. 2010-01-26 08:35:24,591 DEBUG   : OS type: Linux
  34. 2010-01-26 08:35:24,591 DEBUG   : Block size=4096 (log=2)
  35. 2010-01-26 08:35:24,592 DEBUG   : Fragment size=4096 (log=2)
  36. 2010-01-26 08:35:24,592 DEBUG   : 249984 inodes, 999756 blocks
  37. 2010-01-26 08:35:24,592 DEBUG   : 49987 blocks (5.00%) reserved for the super user
  38. 2010-01-26 08:35:24,593 DEBUG   : First data block=0
  39. 2010-01-26 08:35:24,593 DEBUG   : Maximum filesystem blocks=1027604480
  40. 2010-01-26 08:35:24,593 DEBUG   : 31 block groups
  41. 2010-01-26 08:35:24,594 DEBUG   : 32768 blocks per group, 32768 fragments per group
  42. 2010-01-26 08:35:24,594 DEBUG   : 8064 inodes per group
  43. 2010-01-26 08:35:24,595 DEBUG   : Superblock backups stored on blocks:
  44. 2010-01-26 08:35:24,595 DEBUG   :       32768, 98304, 163840, 229376, 294912, 819200, 884736
  45. 2010-01-26 08:35:24,595 DEBUG   :
  46. 2010-01-26 08:35:24,598 DEBUG   : Writing inode tables: done1
  47. 2010-01-26 08:35:24,599 DEBUG   : Creating journal (16384 blocks): done
  48. 2010-01-26 08:35:24,600 DEBUG   : Writing superblocks and filesystem accounting information: done
  49. 2010-01-26 08:35:24,600 DEBUG   :
  50. 2010-01-26 08:35:24,600 DEBUG   : This filesystem will be automatically checked every 25 mounts or
  51. 2010-01-26 08:35:24,607 DEBUG   : 180 days, whichever comes first.  Use tune2fs -c or -i to override.
  52. 2010-01-26 08:35:24,607 DEBUG   : ['blkid', '-sUUID', '-ovalue', '/dev/mapper/loop0p1']
  53. 2010-01-26 08:35:24,625 DEBUG   : b5139e10-bed2-4ac5-afdc-5ad416fb001e
  54. 2010-01-26 08:35:24,626 DEBUG   : hardy: 256 bit inode
  55. 2010-01-26 08:35:24,626 DEBUG   : ['mkswap', '/dev/mapper/loop0p2']
  56. 2010-01-26 08:35:24,629 INFO    : mkswap: /dev/mapper/loop0p2: warning: don't erase bootbits sectors
  57. 2010-01-26 08:35:24,630 INFO    :         on whole disk. Use -f to force.
  58. 2010-01-26 08:35:24,631 DEBUG   : Setting up swapspace version 1, size = 999996 KiB
  59. 2010-01-26 08:35:24,631 DEBUG   : no label, UUID=3f205e45-7a96-462f-b855-2aaba6954c06
  60. 2010-01-26 08:35:24,631 DEBUG   : ['blkid', '-sUUID', '-ovalue', '/dev/mapper/loop0p2']
  61. 2010-01-26 08:35:24,635 DEBUG   : 3f205e45-7a96-462f-b855-2aaba6954c06
  62. 2010-01-26 08:35:24,635 INFO    : Mounting target filesystems
  63. 2010-01-26 08:35:24,635 DEBUG   : Mounting /
  64. 2010-01-26 08:35:24,636 DEBUG   : ['mount', '-o', 'loop', '/dev/mapper/loop0p1', '/tmp/vmbuilder93bJ6x/target/']
  65. 2010-01-26 08:35:24,642 DEBUG   : Creating /var/run in root filesystem
  66. 2010-01-26 08:35:24,643 DEBUG   : Creating /var/lock in root filesystem
  67. 2010-01-26 08:35:24,644 INFO    : Installing guest operating system. This might take some time...
  68. 2010-01-26 08:35:24,644 DEBUG   : debootstrapping
  69. 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']
  70. 2010-01-26 08:35:24,655 DEBUG   : ['/usr/sbin/debootstrap', '--arch=i386', 'hardy', '/tmp/vmbuilder93bJ6x/root', 'file:///tmp/tmp7x2e6y']
  71. 2010-01-26 08:35:24,697 DEBUG   : I: Retrieving Release
  72. 2010-01-26 08:35:24,741 DEBUG   : I: Retrieving Packages
  73. 2010-01-26 08:35:24,742 DEBUG   : I: Validating Packages
  74. 2010-01-26 08:35:24,800 DEBUG   : I: Resolving dependencies of required packages...
  75. 2010-01-26 08:35:24,802 DEBUG   : I: Resolving dependencies of base packages...
  76. 2010-01-26 08:35:24,864 DEBUG   : I: Checking component main on file:///tmp/tmp7x2e6y...
  77. 2010-01-26 08:35:24,876 DEBUG   : I: Retrieving libatm1
  78. 2010-01-26 08:35:24,879 DEBUG   : I: Validating libatm1
  79. 2010-01-26 08:35:24,915 DEBUG   : W: Failure trying to run: chroot /tmp/vmbuilder93bJ6x/root mount -t proc proc /proc
  80. 2010-01-26 08:35:24,921 DEBUG   : Oh, dear, an exception occurred
  81. 2010-01-26 08:35:24,921 INFO    : Cleaning up
  82. 2010-01-26 08:35:24,921 DEBUG   : ['umount', '/tmp/tmp7x2e6y']
  83. 2010-01-26 08:35:24,925 DEBUG   : Unmounting /tmp/vmbuilder93bJ6x/target/
  84. 2010-01-26 08:35:24,925 DEBUG   : ['umount', '/tmp/vmbuilder93bJ6x/target/']
  85. 2010-01-26 08:35:27,939 DEBUG   : ['kpartx', '-d', '/tmp/vmbuilder93bJ6x/disk0.img']
  86. 2010-01-26 08:35:27,964 DEBUG   : loop deleted : /dev/loop0
  87. 2010-01-26 08:35:27,964 DEBUG   : ['kpartx', '-d', '/tmp/vmbuilder93bJ6x/disk0.img']
  88. 2010-01-26 08:35:27,968 DEBUG   : ['rmdir', 'ubuntu-esxi']
  89. 2010-01-26 08:35:27,981 DEBUG   : ['rm', '-rf', '/tmp/vmbuilder93bJ6x']
  90. 2010-01-26 08:35:28,021 DEBUG   : ['rm', '/tmp/tmpISXac9']
  91. Traceback (most recent call last):
  92.   File "/usr/bin/vmbuilder", line 29, in <module>
  93.     VMBuilder.run()
  94.   File "/usr/lib/python2.6/dist-packages/VMBuilder/__init__.py", line 65, in run
  95.     frontend.run()
  96.   File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/cli/__init__.py", line 68, in run
  97.     vm.create()
  98.   File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 484, in create
  99.     self.install()
  100.   File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 407, in install
  101.     self.distro.install(self.installdir)
  102.   File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 148, in install
  103.     self.suite.install(destdir)
  104.   File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 54, in install
  105.     self.debootstrap()
  106.   File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 273, in debootstrap
  107.     run_cmd(*cmd, **kwargs)
  108.   File "/usr/lib/python2.6/dist-packages/VMBuilder/util.py", line 135, in run_cmd
  109.     raise VMBuilderException, "Process (%s) returned %d. stdout: %s, stderr: %s" % (args.__repr__(), status, stdout, stderr)
  110. VMBuilder.exception.VMBuilderException: Process (['/usr/sbin/debootstrap', '--arch=i386', 'hardy', '/tmp/vmbuilder93bJ6x/root', 'file:///tmp/tmp7x2e6y']) returned 1. stdout: I: Retrieving Release
  111. I: Retrieving Packages
  112. I: Validating Packages
  113. I: Resolving dependencies of required packages...
  114. I: Resolving dependencies of base packages...
  115. I: Checking component main on file:///tmp/tmp7x2e6y...
  116. I: Retrieving libatm1
  117. I: Validating libatm1
  118. W: Failure trying to run: chroot /tmp/vmbuilder93bJ6x/root mount -t proc proc /proc
  119. , stderr:
RAW Paste Data
Top