vmbuilder hangs or crashes when building images on ec2 instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: python-vm-builder
I'm trying to build hardy vmw6 images on an ec2 instance. Depending on the ami I'm building on, vmbuilder either hangs indefinitely or ends prematurely after something segfaults.
For instance, running on alestic/
root@domU-
At the time of the hang, top shows the following:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18602 root 25 0 18412 15m 13m R 97 0.9 1:48.67 apt-get -y --force-yes dist-upgrade
19782 root 25 0 3484 1612 1276 R 97 0.1 1:29.01 /usr/bin/perl /usr/sbin/
The log from this is attached.
Within update-rc.d, the hang occurs on the following line within the checklinks sub, though my perl debugging skills get me no further than this:
foreach $_ (readdir(DIR)) {
Depending on the options I pass to vmbuilder, the hang can occur in different places, for example in /usr/sbin/
Building an intrepid image fails, too, but for a completely different reason that appears to already have been reported (and doesn't occur until writing the final image).
I originally encountered this problem when building the images on a hardy system with python-vm-builder debs manually installed. I've also reproduced this on a canonical AMI (canonical-
I've tried various ubuntu mirrors, so it's not that, and I've successfully built with the same command locally on a hardy system.
More on the system from which the log originates:
root@domU-
Description: Ubuntu 8.10
Release: 8.10
root@domU-
python-vm-builder:
Installed: 0.9-0ubuntu3.1
Changed in vm-builder (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in vm-builder (Ubuntu): | |
importance: | Low → Wishlist |
Changing the hypervisor doesn't seem to matter; xen fails similarly.