vmbuilder 0.11.3 fails to find ec2-init file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
I added 'lucid' as a valid suite name under ubuntu/plugins for 0.11.3 so I could create "lucid" images and when I run vmbuilder it gets right to the very end and then has a problem with finding ec2-init files.
When creating a "Lucid" image for EC2, vmbuilder cannot find ec2-init files:
...
2010-05-24 13:44:20,206 DEBUG : Setting up libiw30 (30~pre9-3ubuntu4) ...
2010-05-24 13:44:20,225 DEBUG :
2010-05-24 13:44:20,233 DEBUG : Setting up wireless-tools (30~pre9-3ubuntu4) ...
2010-05-24 13:44:20,245 DEBUG :
2010-05-24 13:44:20,246 DEBUG : Setting up wpasupplicant (0.6.9-3ubuntu3) ...
2010-05-24 13:44:20,327 DEBUG :
2010-05-24 13:44:20,328 DEBUG : Processing triggers for libc-bin ...
2010-05-24 13:44:20,332 DEBUG : ldconfig deferred processing now taking place
2010-05-24 13:44:20,374 DEBUG : Output from template '/etc/vmbuilder
echo "------
echo "At the moment, only the core of the system is installed. To tune the "
echo "system to your needs, you can choose to install one or more "
echo "predefined collections of software by running the following "
echo "command: "
echo " "
echo " sudo tasksel --section server "
echo "------
2010-05-24 13:44:20,377 DEBUG : Output from template '/etc/vmbuilder
# ec2 compatible environment
compat=1
2010-05-24 13:44:20,377 DEBUG : Oh, dear, an exception occurred
2010-05-24 13:44:20,377 INFO : Cleaning up
2010-05-24 13:44:20,377 DEBUG : ['umount', '/tmp/vmbuilder
2010-05-24 13:44:20,386 DEBUG : umount: /tmp/vmbuilderf
2010-05-24 13:44:20,386 DEBUG : ['umount', '/tmp/vmbuilder
2010-05-24 13:44:20,394 DEBUG : umount: /tmp/vmbuilderf
2010-05-24 13:44:20,395 DEBUG : ['umount', '/tmp/vmbuilder
2010-05-24 13:44:20,411 DEBUG : umount: /tmp/vmbuilderf
2010-05-24 13:44:20,411 DEBUG : Unmounting /tmp/vmbuilderf
2010-05-24 13:44:20,412 DEBUG : ['umount', '/tmp/vmbuilder
2010-05-24 13:44:21,287 DEBUG : Unmounting /tmp/vmbuilderf
2010-05-24 13:44:21,288 DEBUG : ['umount', '/tmp/vmbuilder
2010-05-24 13:44:21,927 DEBUG : ['rmdir', 'ubuntu-xen']
2010-05-24 13:44:21,991 DEBUG : ['rm', '-rf', '/tmp/vmbuilder
2010-05-24 13:44:23,090 DEBUG : ['rm', '/tmp/tmpy5j0Qq']
Traceback (most recent call last):
File "/usr/bin/
VMBuilder.run()
File "/usr/lib/
frontend.run()
File "/usr/lib/
vm.create()
File "/usr/lib/
self.install()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
return self.vm.
File "/usr/lib/
return self.vm.
File "/usr/lib/
fp = open(fullpath, 'w')
IOError: [Errno 2] No such file or directory: '/tmp/vmbuilder
description: | updated |
vmbuilder that is used for building UEC images is (right now) bazaar. launchpad. net/~ubuntu- virt/vmbuilder/ 0.11/
http://
That should have all the code you need to build.
our automated builds (https:/ /code.launchpad .net/~ubuntu- on-ec2/ vmbuilder/ automated- ec2-builds) build from that branch out of a bzr checkout (ie, not a package).