Skip to content

Instantly share code, notes, and snippets.

@zonoise
Created January 24, 2012 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zonoise/1670826 to your computer and use it in GitHub Desktop.
Save zonoise/1670826 to your computer and use it in GitHub Desktop.
ubuntu-vm-builder error log
user0@ML110:~/vm$ sudo ubuntu-vm-builder kvm oneiric --domain vm10 --dest vm10 --arch i386 --hostname vm10 --mem 512 --user username --pass password --ip 192.168.1.101 --mask 255.255.255.0 --net 192.168.1.0 --bcast 192.168.1.255 --gw 192.168.1.1 --dns 192.168.1.1 --mirror http://jp.archive.ubuntu.com/ubuntu --components main,universe \ --debug
2012-01-25 00:35:26,124 INFO : Calling hook: preflight_check
2012-01-25 00:35:26,127 INFO : Calling hook: set_defaults
2012-01-25 00:35:26,128 INFO : Calling hook: bootstrap
2012-01-25 00:39:52,363 INFO : Calling hook: configure_os
2012-01-25 00:40:09,253 INFO :
2012-01-25 00:40:09,254 INFO : Current default time zone: 'Etc/UTC'
2012-01-25 00:40:09,258 INFO : Local time is now: Tue Jan 24 15:40:09 UTC 2012.
2012-01-25 00:40:09,259 INFO : Universal Time is now: Tue Jan 24 15:40:09 UTC 2012.
2012-01-25 00:40:09,259 INFO :
2012-01-25 00:40:24,179 INFO :
2012-01-25 00:40:24,179 INFO : Current default time zone: 'Etc/UTC'
2012-01-25 00:40:24,184 INFO : Local time is now: Tue Jan 24 15:40:24 UTC 2012.
2012-01-25 00:40:24,184 INFO : Universal Time is now: Tue Jan 24 15:40:24 UTC 2012.
2012-01-25 00:40:24,184 INFO : Run 'dpkg-reconfigure tzdata' if you wish to change it.
2012-01-25 00:40:24,184 INFO :
2012-01-25 00:40:34,848 INFO : restart: Unknown instance:
2012-01-25 00:40:44,693 INFO : umount: /tmp/tmpJ5KaGm/dev: device is busy.
2012-01-25 00:40:44,694 INFO : (In some cases useful info about processes that use
2012-01-25 00:40:44,694 INFO : the device is found by lsof(8) or fuser(1))
2012-01-25 00:40:44,694 INFO : Cleaning up
2012-01-25 00:40:44,694 ERROR : Process (['umount', '/tmp/tmpJ5KaGm/dev']) returned 1. stdout: , stderr: umount: /tmp/tmpJ5KaGm/dev: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
Traceback (most recent call last):
File "/usr/bin/ubuntu-vm-builder", line 24, in <module>
uvb.main()
File "/usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py", line 216, in main
distro.build_chroot()
File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 84, in build_chroot
self.call_hooks('configure_os')
File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 67, in call_hooks
call_hooks(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 165, in call_hooks
getattr(context, func, log_no_such_method)(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 155, in configure_os
self.suite.unmount_dev()
File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 118, in unmount_dev
run_cmd('umount', '%s/dev' % self.context.chroot_dir)
File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 120, in run_cmd
raise VMBuilderException, "Process (%s) returned %d. stdout: %s, stderr: %s" % (args.__repr__(), status, mystdout.buf, mystderr.buf)
VMBuilder.exception.VMBuilderException: Process (['umount', '/tmp/tmpJ5KaGm/dev']) returned 1. stdout: , stderr: umount: /tmp/tmpJ5KaGm/dev: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
user0@ML110:~/vm$ pwd
/home/user0/vm
user0@ML110:~/vm$ cat /etc/network
network/ networks
user0@ML110:~/vm$ cat /etc/network/interfaces
interfaces interfaces.bak
user0@ML110:~/vm$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address 192.168.1.100
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
dns-nameservers 192.168.1.1 8.8.8.8
user0@ML110:~/vm$ uname -a
Linux ML110 3.0.0-15-generic #25-Ubuntu SMP Mon Jan 2 17:45:26 UTC 2012 i686 i686 i386 GNU/Linux
user0@ML110:~/vm$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
user0@ML110:~/vm$ LANG=C
user0@ML110:~/vm$ ifconfig
br0 Link encap:Ethernet HWaddr 10:1f:74:3b:f6:bb
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::121f:74ff:fe3b:f6bb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:442369 errors:0 dropped:0 overruns:0 frame:0
TX packets:268989 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:623175133 (623.1 MB) TX bytes:22003012 (22.0 MB)
eth0 Link encap:Ethernet HWaddr 10:1f:74:3b:f6:bb
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:447158 errors:0 dropped:0 overruns:0 frame:0
TX packets:270990 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:633015729 (633.0 MB) TX bytes:23358618 (23.3 MB)
Interrupt:19
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
virbr0 Link encap:Ethernet HWaddr 02:fa:1c:0d:91:96
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
user0@ML110:~/vm$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment