[Bug 1287943] Re: vm-builder needs trusty suite
Brian Candler
1287943 at bugs.launchpad.net
Thu Jun 19 10:46:29 UTC 2014
I see hang at "Base system installed successfully" too, building Trusty
VM under Precise 64-bit.
Last three lines of ps auxwww are:
root 20430 0.1 0.0 40060 9716 pts/2 S+ 10:36 0:00 /usr/bin/python /usr/bin/vmbuilder kvm ubuntu --suite trusty --hostname trusty --mem 512 --debug --dest /var/lib/libvirt/images/trusty
root 20432 0.0 0.0 0 0 pts/2 Z+ 10:36 0:00 [debootstrap] <defunct>
root 31685 0.0 0.0 9892 1180 ? Ss 10:37 0:00 udevd --daemon
There is a zombie debootstrap.
# pstree -s 20432
init───sshd───sshd───sshd───bash───sudo───bash───vmbuilder───debootstrap
# ps -o pid,ppid -C debootstrap
PID PPID
20432 20430
Same backtrace from ctrl-C:
^CTraceback (most recent call last):
File "/usr/bin/vmbuilder", line 24, in <module>
cli.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 83, in build_chroot
self.call_hooks('bootstrap')
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 136, in bootstrap
self.suite.debootstrap()
File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 269, in debootstrap
run_cmd(*cmd, **kwargs)
File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 113, in run_cmd
fds = select.select([x.file for x in [mystdout, mystderr] if not x.closed], [], [])[0]
KeyboardInterrupt
So it's definitely a question of python waiting for data from the child,
but the child has gone away.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/1287943
Title:
vm-builder needs trusty suite
To manage notifications about this bug go to:
https://bugs.launchpad.net/vmbuilder/+bug/1287943/+subscriptions
More information about the Ubuntu-server-bugs
mailing list