Public bug reported: 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/ubuntu/51_update-motd.tmpl': #!/bin/sh 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/ubuntu/is-compat-env.tmpl': # this is read by ec2-is-compat-env to determine if this is an # 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/vmbuilderfbdGXK/root/proc'] 2010-05-24 13:44:20,386 DEBUG : umount: /tmp/vmbuilderfbdGXK/root/proc: not mounted 2010-05-24 13:44:20,386 DEBUG : ['umount', '/tmp/vmbuilderfbdGXK/root/dev/pts'] 2010-05-24 13:44:20,394 DEBUG : umount: /tmp/vmbuilderfbdGXK/root/dev/pts: not mounted 2010-05-24 13:44:20,395 DEBUG : ['umount', '/tmp/vmbuilderfbdGXK/root/dev'] 2010-05-24 13:44:20,411 DEBUG : umount: /tmp/vmbuilderfbdGXK/root/dev: not mounted 2010-05-24 13:44:20,411 DEBUG : Unmounting /tmp/vmbuilderfbdGXK/target/mnt 2010-05-24 13:44:20,412 DEBUG : ['umount', '/tmp/vmbuilderfbdGXK/target/mnt'] 2010-05-24 13:44:21,287 DEBUG : Unmounting /tmp/vmbuilderfbdGXK/target/ 2010-05-24 13:44:21,288 DEBUG : ['umount', '/tmp/vmbuilderfbdGXK/target/'] 2010-05-24 13:44:21,927 DEBUG : ['rmdir', 'ubuntu-xen'] 2010-05-24 13:44:21,991 DEBUG : ['rm', '-rf', '/tmp/vmbuilderfbdGXK'] 2010-05-24 13:44:23,090 DEBUG : ['rm', '/tmp/tmpy5j0Qq'] Traceback (most recent call last): File "/usr/bin/vmbuilder", line 29, in <module> VMBuilder.run() File "/usr/lib/python2.6/dist-packages/VMBuilder/__init__.py", line 65, in run frontend.run() File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/cli/__init__.py", line 68, in run vm.create() File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 484, in create self.install() File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 407, in install self.distro.install(self.installdir) File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 148, in install self.suite.install(destdir) File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 125, in install self.install_ec2() File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/jaunty.py", line 34, in install_ec2 self.install_from_template('/etc/ec2-init/is-compat-env', 'is-compat-env') File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 325, in install_from_template return self.vm.distro.install_from_template(*args, **kwargs) File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/__init__.py", line 72, in install_from_template return self.vm.install_file(path, VMBuilder.util.render_template(self.__module__.split('.')[2], self.vm, tmplname, context), mode=mode) File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 448, in install_file fp = open(fullpath, 'w') IOError: [Errno 2] No such file or directory: '/tmp/vmbuilderfbdGXK/root/etc/ec2-init/is-compat-env' ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New ** Description changed: 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,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,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,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/ubuntu/51_update-motd.tmpl': #!/bin/sh 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/ubuntu/is-compat-env.tmpl': # this is read by ec2-is-compat-env to determine if this is an # 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/vmbuilderfbdGXK/root/proc'] 2010-05-24 13:44:20,386 DEBUG : umount: /tmp/vmbuilderfbdGXK/root/proc: not mounted 2010-05-24 13:44:20,386 DEBUG : ['umount', '/tmp/vmbuilderfbdGXK/root/dev/pts'] 2010-05-24 13:44:20,394 DEBUG : umount: /tmp/vmbuilderfbdGXK/root/dev/pts: not mounted 2010-05-24 13:44:20,395 DEBUG : ['umount', '/tmp/vmbuilderfbdGXK/root/dev'] 2010-05-24 13:44:20,411 DEBUG : umount: /tmp/vmbuilderfbdGXK/root/dev: not mounted 2010-05-24 13:44:20,411 DEBUG : Unmounting /tmp/vmbuilderfbdGXK/target/mnt 2010-05-24 13:44:20,412 DEBUG : ['umount', '/tmp/vmbuilderfbdGXK/target/mnt'] 2010-05-24 13:44:21,287 DEBUG : Unmounting /tmp/vmbuilderfbdGXK/target/ 2010-05-24 13:44:21,288 DEBUG : ['umount', '/tmp/vmbuilderfbdGXK/target/'] 2010-05-24 13:44:21,927 DEBUG : ['rmdir', 'ubuntu-xen'] 2010-05-24 13:44:21,991 DEBUG : ['rm', '-rf', '/tmp/vmbuilderfbdGXK'] 2010-05-24 13:44:23,090 DEBUG : ['rm', '/tmp/tmpy5j0Qq'] Traceback (most recent call last): - File "/usr/bin/vmbuilder", line 29, in <module> - VMBuilder.run() - File "/usr/lib/python2.6/dist-packages/VMBuilder/__init__.py", line 65, in run - frontend.run() - File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/cli/__init__.py", line 68, in run - vm.create() - File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 484, in create - self.install() - File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 407, in install - self.distro.install(self.installdir) - File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 148, in install - self.suite.install(destdir) - File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 125, in install - self.install_ec2() - File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/jaunty.py", line 34, in install_ec2 - self.install_from_template('/etc/ec2-init/is-compat-env', 'is-compat-env') - File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 325, in install_from_template - return self.vm.distro.install_from_template(*args, **kwargs) - File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/__init__.py", line 72, in install_from_template - return self.vm.install_file(path, VMBuilder.util.render_template(self.__module__.split('.')[2], self.vm, tmplname, context), mode=mode) - File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 448, in install_file - fp = open(fullpath, 'w') + File "/usr/bin/vmbuilder", line 29, in <module> + VMBuilder.run() + File "/usr/lib/python2.6/dist-packages/VMBuilder/__init__.py", line 65, in run + frontend.run() + File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/cli/__init__.py", line 68, in run + vm.create() + File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 484, in create + self.install() + File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 407, in install + self.distro.install(self.installdir) + File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 148, in install + self.suite.install(destdir) + File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 125, in install + self.install_ec2() + File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/jaunty.py", line 34, in install_ec2 + self.install_from_template('/etc/ec2-init/is-compat-env', 'is-compat-env') + File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 325, in install_from_template + return self.vm.distro.install_from_template(*args, **kwargs) + File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/__init__.py", line 72, in install_from_template + return self.vm.install_file(path, VMBuilder.util.render_template(self.__module__.split('.')[2], self.vm, tmplname, context), mode=mode) + File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 448, in install_file + fp = open(fullpath, 'w') IOError: [Errno 2] No such file or directory: '/tmp/vmbuilderfbdGXK/root/etc/ec2-init/is-compat-env' - r...@grp-01-40-51:~# ls /tmp/vmbuilder - vmbuilderL_sGue/ vmbuilderoYC_Vo/ vmbuilderrOZbU5/ vmbuilderssj7_X/ vmbuilderSV9iv4/ -- vmbuilder 0.11.3 fails to find ec2-init file https://bugs.launchpad.net/bugs/585110 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs