[Bug 502495] Re: Too much image copying when using vmbuilder for EC2
For reference, this article enumerates the steps I took to run vmbuilder: http://alestic.com/2010/01/vmbuilder-ebs-boot-ami -- Too much image copying when using vmbuilder for EC2 https://bugs.launchpad.net/bugs/502495 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 502495] [NEW] Too much image copying when using vmbuilder for EC2
Public bug reported: I'm using the latest lp:vmbuilder source to build EBS boot AMIs for EC2. I noticed that there is an awful lot of image file copying being done which seems unnecessary when using vmbuilder for this purpose. 1. vmbuilder installs the image files into a temporary root subdirectory 2. The root subdirectory is copied with rsync into the target directory, which is a loopback filesystem on a huge root.img temporary file. 3. The big root.img file is copied with cp from the temporary directory to a destination directory. 4. I then have to mount this image file and copy the files a fourth time onto the EBS volume in order to create an EBS boot AMI. Ideally, three of these steps could be eliminated so that the image files are installed directly onto the EBS volume, with the path provided through an option. Though this does not affect the functionality in a major way, the current four copies take up a good chunk of time, IO, and disk space when building AMIs on EC2. Parts of the vmbuilder log file for reference: 2010-01-03 00:34:01,285 DEBUG : ['/usr/bin/kvm-img', 'create', '-f', 'raw', '/mnt/vmbuilderw8mCwo/root.img', '10240M'] 2010-01-03 00:34:09,061 DEBUG : ['mount', '-o', 'loop', '/mnt/vmbuilderw8mCwo/root.img', '/mnt/vmbuilderw8mCwo/target/'] [...] 2010-01-03 00:40:13,684 DEBUG : ['rsync', '-aHA', '/mnt/vmbuilderw8mCwo/root/', '/mnt/vmbuilderw8mCwo/target'] [...] 2010-01-03 00:40:32,288 DEBUG : ['cp', '--sparse=always', '/mnt/vmbuilderw8mCwo/root.img', '/mnt/dest-karmic-20100103-0033/root.img'] ProblemType: Bug Architecture: i386 Date: Sun Jan 3 00:47:11 2010 DistroRelease: Ubuntu 9.10 Ec2AMI: ami-1515f67c Ec2AMIManifest: ubuntu-images-us/ubuntu-karmic-9.10-i386-server-20091027.1.manifest.xml Ec2AvailabilityZone: us-east-1a Ec2InstanceType: c1.medium Ec2Kernel: aki-5f15f636 Ec2Ramdisk: ari-0915f660 Package: ubuntu-vm-builder (not installed) ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: User Name 2.6.31-302.7-ec2 SourcePackage: vm-builder Tags: ec2-images Uname: Linux 2.6.31-302-ec2 i686 ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug ec2-images i386 -- Too much image copying when using vmbuilder for EC2 https://bugs.launchpad.net/bugs/502495 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 493510] [NEW] vmbuilder: Creates mostly empty EC2 images on 64-bit
Public bug reported: I'm using vmbuilder on 32-bit and 64-bit EC2 instances with identical arguments except for --arch, --kernel, and --ramdisk. The 32-bit EC2 images are created fine, but the 64-bit images are practically empty except for a few /var directories. I have tracked this down to the extra mount which is performed by vmbuilder when run on the 64-bit instance to generate a 64-bit image: 2009-12-07 07:58:23,638 INFO: Mounting target filesystems 2009-12-07 07:58:23,638 DEBUG : Mounting / 2009-12-07 07:58:23,639 DEBUG : ['mount', '-o', 'loop', '/mnt/vmbuilderDscdmG/root.img', '/mnt/vmbuilderDscdmG/target/'] 2009-12-07 07:58:23,719 DEBUG : Creating /var/run in root filesystem 2009-12-07 07:58:23,720 DEBUG : Creating /var/lock in root filesystem 2009-12-07 07:58:23,720 DEBUG : Mounting / 2009-12-07 07:58:23,720 DEBUG : ['mount', '-o', 'loop', '/mnt/vmbuilderDscdmG/root_.img', '/mnt/vmbuilderDscdmG/target/'] 2009-12-07 07:58:23,728 DEBUG : Creating /var/run in root filesystem 2009-12-07 07:58:23,729 DEBUG : Creating /var/lock in root filesystem 2009-12-07 07:58:23,730 DEBUG : Mounting /mnt 2009-12-07 07:58:23,730 DEBUG : ['mount', '-o', 'loop', '/mnt/vmbuilderDscdmG/.img', '/mnt/vmbuilderDscdmG/target/mnt'] 2009-12-07 07:58:23,739 INFO: Installing guest operating system. This might take some time... The first mount of / is for the root.img file which is eventually used to create the actual EC2 image. Unfortunately, the second mount of root_.img on top of / causes everything to be written to root_.img which is never used to create the bundle. Here is the ec2-bundle-image command which shows that it is looking for the system files in root.img, and not root_.img (which is where they were placed because of the second mount above): 2009-12-07 08:03:29,471 DEBUG : ['ec2-bundle-image', '--image', '/mnt /dest-karmic-20091207-0758/root.img', '--cert', '/mnt/cert-XXX.pem', '-- privatekey', '/mnt/pk-XXX.pem', '--user', 'XXX', '--prefix', 'ubuntu-9.10-karmic-x86_64--20091207-0758', '-r', 'x86_64', '-d', '/mnt/vmbuilderDscdmG', '--kernel', 'aki-fd15f694', '--ramdisk', 'ari-c515f6ac'] This problem is currently making it impossible for me to generate 64-bit EC2 images. Here is the vmbuilder command I am running. It works on 32-bit with only the obvious slight modifications: sudo vmbuilder/vmbuilder xen ubuntu \ --suite=karmic\ --arch=amd64\ --dest=/mnt/dest-karmic-20091207-0758 \ --tmp=/mnt \ --ec2\ --ec2-version=$description \ --manifest=/mnt/$prefix \ --lock-user \ --components=main,restricted,universe,multiverse \ --part=part-${arch}.txt \ --ec2-bundle \ --ec2-upload \ --ec2-register \ --ec2-bucket=$bucket \ --ec2-prefix=$prefix \ --ec2-user=$AWS_USER_ID \ --ec2-cert=$cert \ --ec2-key=$pk\ --ec2-access-key=$AWS_ACCESS_KEY_ID \ --ec2-secret-key=$AWS_SECRET_ACCESS_KEY \ --ec2-kernel=aki-fd15f694 \ --ec2-ramdisk=ari-c515f6ac \ --install-mirror=http://ec2-us-east-mirror.rightscale.com/ubuntu \ --ppa=alestic/ppa\ --addpkg=runurl \ --addpkg=ncurses-dev \ --addpkg=vim \ --addpkg=zip \ --addpkg=unzip \ --addpkg=libgnutls-dev \ --addpkg=sox \ --addpkg=libsox-fmt-all \ --addpkg=cracklib-runtime\ --addpkg=wamerican \ --addpkg=wbritish\ --addpkg=libstdc++6 \ --addpkg=libcurl3\ --addpkg=libxml2
[Bug 493510] Re: vmbuilder: Creates mostly empty EC2 images on 64-bit
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/36525905/Dependencies.txt -- vmbuilder: Creates mostly empty EC2 images on 64-bit https://bugs.launchpad.net/bugs/493510 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 493510] Re: vmbuilder: Creates mostly empty EC2 images on 64-bit
No sooner entered as a bug than I think I've tracked this down to an invalid part file I was using: root 10240 a1 root 2048 a1 /mnt 1 b Note the extra root entry. I don't know if this can be used to create validation code to prevent other people from making this dumb mistake, but I'm marking this bug invalid now. ** Changed in: vm-builder (Ubuntu) Status: New = Invalid -- vmbuilder: Creates mostly empty EC2 images on 64-bit https://bugs.launchpad.net/bugs/493510 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 493020] Re: vmbuilder: Deletes most of /dev on interrupt
Set to Confirmed since Scott confirmed the bug. Setting to Medium since this seems like a severe impact on a non-core application. ** Changed in: vm-builder (Ubuntu) Status: New = Confirmed ** Changed in: vm-builder (Ubuntu) Importance: Undecided = Medium -- vmbuilder: Deletes most of /dev on interrupt https://bugs.launchpad.net/bugs/493020 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 493020] [NEW] vmbuilder: Deletes most of /dev on interrupt
Public bug reported: I'm running vmbuilder on the latest EC2 Karmic AMI. When I Ctrl-C interrupt the run, it deletes almost all of the devices in /dev making the system somewhat unusable. Here's a log demonstrating this. I have reproduced the problem on a fresh AMI by interrupting it in about the same place. Before vmbuilder was run, there were the usual hundreds of entries in /dev [...vmbuilder running...] 2009-11-30 01:11:02,430 DEBUG : Setting up linux-image-2.6.31-14-virtual (2.6.31-14.48) ... 2009-11-30 01:11:03,442 INFO: Running depmod. 2009-11-30 01:11:03,442 INFO: update-initramfs: Generating /boot/initrd.img-2.6.31-14-server 2009-11-30 01:11:05,466 INFO: cp: cannot stat `/etc/lvm/lvm.conf': No such file or directory 2009-11-30 01:11:06,471 DEBUG : 2009-11-30 01:11:07,290 DEBUG : Setting up linux-image-2.6.31-15-virtual (2.6.31-15.50) ... 2009-11-30 01:11:08,302 INFO: Running depmod. 2009-11-30 01:11:08,302 INFO: update-initramfs: Generating /boot/initrd.img-2.6.31-15-server 2009-11-30 01:11:10,322 INFO: cp: cannot stat `/etc/lvm/lvm.conf': No such file or directory 2009-11-30 01:11:10,940 INFO: Running depmod. 2009-11-30 01:11:11,220 INFO: update-initramfs: Generating /boot/initrd.img-2.6.31-302-ec2 2009-11-30 01:11:12,232 DEBUG : 2009-11-30 01:11:12,233 DEBUG : Setting up linux-image-2.6.31-302-ec2 (2.6.31-302.7) ... 2009-11-30 01:11:16,904 INFO: cp: cannot stat `/etc/lvm/lvm.conf': No such file or directory ^C ubu...@domu-12-31-39-00-8d-61:~$ ls /dev pts shm Here is the command I was running: sudo vmbuilder/vmbuilder xen ubuntu \ --suite=$codename\ --arch=$arch2\ --dest=$dest \ --tmp=/mnt \ --ec2\ --ec2-version=$description \ --manifest=/mnt/$prefix \ --lock-user \ --components=main,restricted,universe,multiverse \ --part=part-${arch}.txt \ --ec2-bundle \ --ec2-upload \ --ec2-register \ --ec2-bucket=$bucket \ --ec2-prefix=$prefix \ --ec2-user=$AWS_USER_ID \ --ec2-cert=$cert \ --ec2-key=$pk\ --ec2-access-key=$AWS_ACCESS_KEY_ID \ --ec2-secret-key=$AWS_SECRET_ACCESS_KEY \ --ec2-kernel=aki-5f15f636 \ --ec2-ramdisk=ari-0915f660 \ --install-mirror=http://ec2-us-east-mirror.rightscale.com/ubuntu \ --ppa=alestic/ppa\ --addpkg=runurl \ --addpkg=ncurses-dev \ --addpkg=vim \ --addpkg=zip \ --addpkg=unzip \ --addpkg=libgnutls-dev \ --addpkg=sox \ --addpkg=libsox-fmt-all \ --addpkg=cracklib-runtime\ --addpkg=wamerican \ --addpkg=wbritish\ --addpkg=libstdc++6 \ --addpkg=libcurl3\ --addpkg=libxml2 \ --addpkg=collectd\ --execscript=$execscript\ --debug I verified that /dev was full right before I pushed Ctrl-C and that it was cleared out right after vmbuilder exited on the interrupt. Let me know if you are unable to reproduce this problem or need further information. ProblemType: Bug Architecture: i386 Date: Sun Dec 6 00:16:48 2009 DistroRelease: Ubuntu 9.10 Ec2AMI: ami-1515f67c Ec2AMIManifest: ubuntu-images-us/ubuntu-karmic-9.10-i386-server-20091027.1.manifest.xml Ec2AvailabilityZone: us-east-1a Ec2InstanceType: m1.small Ec2Kernel: aki-5f15f636 Ec2Ramdisk: ari-0915f660 Package: python-vm-builder 0.11.3-0ubuntu1
[Bug 493020] Re: vmbuilder: Deletes most of /dev on interrupt
On IRC, smoser noted that he had also seen this behavior on nectarine. -- vmbuilder: Deletes most of /dev on interrupt https://bugs.launchpad.net/bugs/493020 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 493020] Re: vmbuilder: Deletes most of /dev on interrupt
In case it matters, I ran ubuntu-bug on the Karmic instance right before I ran the vmbuilder command so that all of the information in this bug would be captured from the system. Attempts to run ubuntu-bug fail after /dev is cleared out. -- vmbuilder: Deletes most of /dev on interrupt https://bugs.launchpad.net/bugs/493020 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 493020] Re: vmbuilder: Deletes most of /dev on interrupt
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/36488152/Dependencies.txt -- vmbuilder: Deletes most of /dev on interrupt https://bugs.launchpad.net/bugs/493020 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 486956] [NEW] vmbuilder: --ec2-bundle triggers AttributeError: 'Ubuntu' object has no attribute 'suite'
Public bug reported: This problem happens using vmbuilder on trunk. When I specify --ec2-bundle (see entire command below) and I do not specify --ec2-kernel and --ec2-ramdisk, then the following error is generated: 2009-11-23 04:32:58,233 DEBUG : Oh, dear, an exception occurred 2009-11-23 04:32:58,233 INFO: Cleaning up 2009-11-23 04:32:58,233 DEBUG : ['rm', '/tmp/tmpPD5Esu'] Traceback (most recent call last): File vmbuilder/vmbuilder, line 29, in module VMBuilder.run() File /home/ubuntu/vmbuilder/VMBuilder/__init__.py, line 65, in run frontend.run() File /home/ubuntu/vmbuilder/VMBuilder/plugins/cli/__init__.py, line 68, in run vm.create() File /home/ubuntu/vmbuilder/VMBuilder/vm.py, line 477, in create self.preflight_check() File /home/ubuntu/vmbuilder/VMBuilder/vm.py, line 427, in preflight_check self.call_hooks('preflight_check') File /home/ubuntu/vmbuilder/VMBuilder/vm.py, line 178, in call_hooks getattr(plugin, func)() File /home/ubuntu/vmbuilder/VMBuilder/plugins/ec2/__init__.py, line 82, in preflight_check self.vm.ec2_kernel = self.vm.distro.get_ec2_kernel() File /home/ubuntu/vmbuilder/VMBuilder/plugins/ubuntu/distro.py, line 219, in get_ec2_kernel if self.suite.ec2_kernel_info: AttributeError: 'Ubuntu' object has no attribute 'suite' Here's the full vmbuilder command: sudo vmbuilder/vmbuilder xen ubuntu \ --suite=karmic \ --arch=i386 \ --dest=$dest \ --tmp=/mnt \ --ec2 \ --ec2-version=$description \ --manifest=/mnt/$prefix\ --lock-user\ --components=main,restricted,universe,multiverse \ --part=part-${arch}.txt\ --ec2-bundle \ --ec2-upload \ --ec2-register \ --ec2-bucket=$bucket \ --ec2-prefix=$prefix \ --ec2-user=$AWS_USER_ID\ --ec2-cert=$cert \ --ec2-key=$pk \ --ec2-access-key=$AWS_ACCESS_KEY_ID\ --ec2-secret-key=$AWS_SECRET_ACCESS_KEY\ --execscript=$(pwd)/setup-karmic-server\ --debug ProblemType: Bug Architecture: i386 Date: Mon Nov 23 04:58:10 2009 DistroRelease: Ubuntu 9.10 Ec2AMI: ami-1515f67c Ec2AMIManifest: ubuntu-images-us/ubuntu-karmic-9.10-i386-server-20091027.1.manifest.xml Ec2AvailabilityZone: us-east-1a Ec2InstanceType: c1.medium Ec2Kernel: aki-5f15f636 Ec2Ramdisk: ari-0915f660 Package: python-vm-builder 0.11.3-0ubuntu1 PackageArchitecture: all ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: User Name 2.6.31-302.7-ec2 SourcePackage: vm-builder Tags: ec2-images Uname: Linux 2.6.31-302-ec2 i686 ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug ec2-images i386 -- vmbuilder: --ec2-bundle triggers AttributeError: 'Ubuntu' object has no attribute 'suite' https://bugs.launchpad.net/bugs/486956 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 486956] Re: vmbuilder: --ec2-bundle triggers AttributeError: 'Ubuntu' object has no attribute 'suite'
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/35962337/Dependencies.txt -- vmbuilder: --ec2-bundle triggers AttributeError: 'Ubuntu' object has no attribute 'suite' https://bugs.launchpad.net/bugs/486956 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 486955] [NEW] vmbuilder: --execscript in current directory is not found
Public bug reported: This problem happens with the vmbuilder on trunk. When running vmbuilder I passed in an option like --execscript setup-karmic-server where setup-karmic-server was an executable file in my current directory. vmbuilder output the following messages which give a warm fuzzy: 2009-11-23 04:43:15,002 DEBUG : Checking if --exec PATH exists: setup-karmic-server 2009-11-23 04:43:15,002 DEBUG : Checking permissions of --exec PATH: setup-karmic-server It proceeded to build the entire image, then tried to run my script. At this point, it died with the error: Couldn't find the program 'setup-karmic-server' on your system If it's really checking to make sure that the script exists and is executable it might also check to make sure that the script is in the path, or add the current working directory to the path. The workaround is to specify a full path like --execscript $(pwd)/setup-karmic-server but this was an annoying thing to have to run into and to run again, so it would be nice to save others the hassle. See also related bug 292733. ProblemType: Bug Architecture: i386 Date: Mon Nov 23 05:03:36 2009 DistroRelease: Ubuntu 9.10 Ec2AMI: ami-1515f67c Ec2AMIManifest: ubuntu-images-us/ubuntu-karmic-9.10-i386-server-20091027.1.manifest.xml Ec2AvailabilityZone: us-east-1a Ec2InstanceType: c1.medium Ec2Kernel: aki-5f15f636 Ec2Ramdisk: ari-0915f660 Package: python-vm-builder 0.11.3-0ubuntu1 PackageArchitecture: all ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: User Name 2.6.31-302.7-ec2 SourcePackage: vm-builder Tags: ec2-images Uname: Linux 2.6.31-302-ec2 i686 ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug ec2-images i386 -- vmbuilder: --execscript in current directory is not found https://bugs.launchpad.net/bugs/486955 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 486955] Re: vmbuilder: --execscript in current directory is not found
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/35962327/Dependencies.txt -- vmbuilder: --execscript in current directory is not found https://bugs.launchpad.net/bugs/486955 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 440757] Re: ec2-images have ubuntu.canonical.com in /etc/hosts
Scott: Since you're solving this with an exec script, could you also remove the incorrect /etc/hostname file while you're at it? Even though I haven't found any standard packages which depend on /etc/hostname it still bugs me to have an incorrect value stored there by default. -- ec2-images have ubuntu.canonical.com in /etc/hosts https://bugs.launchpad.net/bugs/440757 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 439868] Re: UEC images could be smaller
Thierry: Half joking, I'll point out that anybody can have root on an Ubuntu system for an hour for only $0.10 with EC2. More seriously: If the benefit of the rsync approach is only to increase the number of inodes, perhaps the original mke2fs could be run with the -N option to increase the number of inodes to something reasonable for both 2GB and 10GB. The truncate method certainly seems like it would be faster than the rsync. -- UEC images could be smaller https://bugs.launchpad.net/bugs/439868 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 439868] Re: UEC images could be smaller
AMIs for Amazon EC2 should be 10 GB (10240 * 1024 * 1024 bytes) -- UEC images could be smaller https://bugs.launchpad.net/bugs/439868 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 435140] Re: euca2ools should provide ec2-* symlinks/alternatives
The ideal solution would include the ability to easily set up either of the following environments and be able to switch between them: 1) euca2ools without ec2-* symlinks. Optionally, Amazon's ec2-*-tools packages could be installed alongside and commands from either set of tools could be run independently on the same system. 2) euca2ools with ec2-* symlinks. I suppose this should require that Amazon's ec2-*-tools not be installed. -- euca2ools should provide ec2-* symlinks/alternatives https://bugs.launchpad.net/bugs/435140 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 435140] Re: euca2ools should provide ec2-* symlinks/alternatives
I suggest this ability to support the ec2-* names should be a requirement before the ec2-ami-tools on the Canonical EC2 images are replaced with euca2ools (assuming euca2ools is sufficiently compatible and stable for it to become the default). It's not just Canonical's documentation which would be made simpler by this, but it would also more closely match all of the existing EC2 documentation and tutorials which have been published. Users and existing software infrastructures running images on EC2 already expect the appropriate AMI commands to be available on the images under the ec2-* names. The closer the new images match user expectations, the easier adoption will be. -- euca2ools should provide ec2-* symlinks/alternatives https://bugs.launchpad.net/bugs/435140 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 434181] Re: rightscale init script
Here is the current documentation for user-data scripts: http://alestic.com/2009/06/ec2-user-data-scripts And the original, reference implementation (run at S71 on Ubuntu): http://ec2-run-user-data.notlong.com RightScale has completely different specs for how user-data is handled in their environment for their own hooks and for users to pass in information, so I don't think they would be compatible with user-data scripts. The benefit of the current approach with RightScale's lightweight init script is that it only activates and installs RightScale software if it is running in the RightScale environment. Amazon only provides one way to pass in data to an instance (user-data) and the content of that triggers whether startup should be done with RightScale, user-data scripts, or with alternate user-defined mechanisms. -- rightscale init script https://bugs.launchpad.net/bugs/434181 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 434181] Re: rightscale init script
** Changed in: ec2-init (Ubuntu) Status: New = Confirmed -- rightscale init script https://bugs.launchpad.net/bugs/434181 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 434181] Re: rightscale init script
** Changed in: ec2-init (Ubuntu) Importance: Undecided = Low -- rightscale init script https://bugs.launchpad.net/bugs/434181 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 431255] Re: ec2-init: Move ec2-run-user-data to startup priority S99
I think this is necessary to be completed for Canonical's images to replace the ones I've been building, but given its place in the whole of Ubuntu, I'm marking it Medium importance. ** Changed in: ec2-init (Ubuntu) Importance: Undecided = Medium -- ec2-init: Move ec2-run-user-data to startup priority S99 https://bugs.launchpad.net/bugs/431255 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 434181] Re: rightscale init script
Could you provide details or pointers to the appropriate code? (I'm also incorporate these into some images I build for clients.) -- rightscale init script https://bugs.launchpad.net/bugs/434181 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 431255] Re: ec2-init: Move ec2-run-user-data to startup priority S99
Based on IRC discussion, it may not have been clear that I consider this a reasonably important bug to fix for Karmic even though it means splitting ec2-init into two init scripts. There are existing architectures using Ubuntu on EC2 which break when attempted to be run on Canonical's latest Karmic image. Here are a couple use cases to help demonstrate why sshd should be running before user-data is run and why not doing so breaks the code: 1) User does not want to put private keys in the non-private user-data, so user-data script waits until they show up on the file system. External process starts the instance, waits for ssh, then scp's the keys in to the instance at which point the user-data automatically continues running. 2) One of my production setups has the user-data script wait until an EBS volume is mounted, but the external process which attaches the volume first has to do some stuff on the instance through ssh. This deadlocks and both processes are waiting for each other. Yes, it might be possible for people to restructure these applications to not use user-data or to pass information in some other way, but since there seems to be a consensus that user-data should be run after ssh is started, then I suggest it is important to do it the right way from the beginning in the Canonical images. I'd like there to be as little barrier to migration as possible. And I'd like for my existing code to work so I can continue testing them on the Canonical images :) -- ec2-init: Move ec2-run-user-data to startup priority S99 https://bugs.launchpad.net/bugs/431255 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 431255] [NEW] ec2-init: Move ec2-run-user-data to startup priority S99
Public bug reported: Binary package hint: ec2-init AMI: ami-a40fefcd canonical-alphas-us/karmic-i386-alpha5.1.manifest.xml All of the ec2-init functionality is currently driven by a single /etc/init.d/ec2-init script which is run at a single rc startup level (S15). Some of the functionality, like regenerating ssh host keys and setting up authorized_keys, are great to be done before sshd is started. On the other hand, running the user-data script, should be close to the last thing in the startup process, perhaps S99 (though I've been running it at S71 in my AMIs). In any case, the user-data script must not be run before sshd is started. When the user-data script takes a long time or gets into an infinite loop, this prevents sshd from running, which prevents the user from being able to ssh in and figure out what went wrong with the startup script. I ran into this already with a user-data script which waits until an EBS volume is attached (a common boot up function), but the volume was never attached and I couldn't ssh in to the instance to figure out what was going wrong. Note that the same existing logic should be used to only run the user- data on the first boot of each instance (including rebundled images). ** Affects: ec2-init (Ubuntu) Importance: Undecided Status: Confirmed ** Tags: ec2-images ** Changed in: ec2-init (Ubuntu) Status: New = Confirmed -- ec2-init: Move ec2-run-user-data to startup priority S99 https://bugs.launchpad.net/bugs/431255 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 431255] Re: ec2-init: Move ec2-run-user-data to startup priority S99
Until we figure out the ultimate flexible solution, I'd like to be able to log in while the user-data script is running so I can monitor progress and debug. A security bug in ssh should be considered a good motivating reason to publish updated AMIs. -- ec2-init: Move ec2-run-user-data to startup priority S99 https://bugs.launchpad.net/bugs/431255 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 431255] Re: ec2-init: Move ec2-run-user-data to startup priority S99
Perhaps another approach might be to say that the user-data script functionality is entirely based on the current implementation in the AMIs on http://alestic.com which run the user-data late in the boot process. With that as the de-facto standard, then to enable easy migration for existing users, the new AMIs should follow suite unless there is an overwhelming reason why this standard was wrong. -- ec2-init: Move ec2-run-user-data to startup priority S99 https://bugs.launchpad.net/bugs/431255 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 429169] Re: ec2: Include kernel modules in AMIs
** Changed in: vm-builder (Ubuntu) Status: New = Confirmed ** Changed in: vm-builder (Ubuntu) Assignee: (unassigned) = Scott Moser (smoser) -- ec2: Include kernel modules in AMIs https://bugs.launchpad.net/bugs/429169 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 429169] Re: ec2: Include kernel modules in AMIs
there presumably aren't very many modules for the EC2 kernel. I guess this raises the questions of what modules we are talking about, and this is an area where I wouldn't know what to cut out. I personally depend on some which may not be considered part of the core modules including: fuse, xfs, dm_mod, sha256, dm_crypt You'd think that you could cut out things like sound, but I know that some folks are using snd-dummy.ko I don't know what other kernel modules users might be depending on today in EC2. -- ec2: Include kernel modules in AMIs https://bugs.launchpad.net/bugs/429169 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 429169] [NEW] ec2: Include kernel modules in AMIs
Public bug reported: It is fairly standard practice to include kernel modules in images for Amazon EC2, but the most recent Karmic AMIs do not include them: ami-a40fefcd canonical-alphas-us/karmic-i386-alpha5.1.manifest.xml ami-a20fefcb canonical-alphas-us/karmic-x86_64-alpha5.1.manifest.xml099720109477 Some other options have been discussed like building kernel modules into the kernel or copying them from initrd into /lib/modules at boot time, but the easiest approach to get things working in the short term is probably just to follow the existing de facto standard and include the kernel modules for the AMI's default kernel. If somebody wants to run it with a different kernel, they are already used to having to install those kernel modules themselves. Ideally, the addition of the kernel modules would be done by default in the vmbuilder EC2 plugin so that it works when normal users create images with vmbuilder. If it is done some other way, the method should be documented publicly so that users can create working images. ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New ** Tags: ec2-images ** Package changed: ubuntu = vm-builder (Ubuntu) -- ec2: Include kernel modules in AMIs https://bugs.launchpad.net/bugs/429169 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 402271] Re: ec2 doesnt set /etc/apt/sources.list correctly
Is this still a problem? Can you provide an AMI id where it can be reproduced? Can you elaborate on what you mean by correctly? -- ec2 doesnt set /etc/apt/sources.list correctly https://bugs.launchpad.net/bugs/402271 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 333860] Re: Command to track which version of EC2 are we running.
Is this description specific enough to be a bug report or should this be moved into a proposal thingy (not sure of the exact Ubuntu process terminology)? -- Command to track which version of EC2 are we running. https://bugs.launchpad.net/bugs/333860 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 402271] Re: ec2 doesnt set /etc/apt/sources.list correctly
A lot of work has been done on ec2-init in the last couple months. I'm assuming that whatever the problem was here it has been fixed, since we're not seeing issues in recent images. If there is still an issue, please provide the requested details and set the status to New. ** Changed in: ec2-init (Ubuntu) Status: Incomplete = Invalid -- ec2 doesnt set /etc/apt/sources.list correctly https://bugs.launchpad.net/bugs/402271 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 424065] Re: ec2-init hangs boot on non-EC2/Eucalpytus systems
Soren: There are a number of packages which do not activate automatically when they installed, but instead require changing a configuration line in /etc/default/xxx to RUN=yes or some such. The vmbuilder EC2 plugin would have no trouble tweaking this after installing the ec2-init package. What do you think about using this approach to avoid breaking Ubuntu systems? I suspect a lot of people looking to get started with EC2 will find ec2-init in the package lists and install it without any idea that it really isn't what they want. I though there were situations where removing splash is sometimes preferable, but I could be mistaken. -- ec2-init hangs boot on non-EC2/Eucalpytus systems https://bugs.launchpad.net/bugs/424065 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 424065] Re: ec2-init hangs waiting for ec2 meta-data service
The ec2-init package should only be installed on an instance (or image) which is used inside of Amazon EC2 or compatible environment (Eucalyptus). End users should never install the ec2-init package themselves as it is only useful when building images for EC2/Eucalyptus. Are there any other packages in Ubuntu which should never be installed by normal users? What protection do they take? Perhaps ec2-init could by default install itself in safety mode with no bootup actions and require an additional step to activate it. -- ec2-init hangs waiting for ec2 meta-data service https://bugs.launchpad.net/bugs/424065 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 424065] Re: ec2-init hangs boot on non-EC2/Eucalpytus systems
** Summary changed: - ec2-init hangs waiting for ec2 meta-data service + ec2-init hangs boot on non-EC2/Eucalpytus systems ** Changed in: ec2-init (Ubuntu) Status: New = Confirmed -- ec2-init hangs boot on non-EC2/Eucalpytus systems https://bugs.launchpad.net/bugs/424065 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 423856] Re: [FFE] ec2-init should check for image upgrades
I believe I have heard rather strong statements from Canonical that Ubuntu will never have phone home type data collection hooks to find out how many people are running Ubuntu. Though the overt intent of this proposal may be philanthropic, this sounds suspiciously like such a feature. I would have loved to put such a hook in the Ubuntu images I've built for EC2 to find out the amount of usage they get, but did not so so because of the Ubuntu philosophy in this regard. -- [FFE] ec2-init should check for image upgrades https://bugs.launchpad.net/bugs/423856 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 423856] Re: [FFE] ec2-init should check for image upgrades
I'm not saying it's not valuable. I'm not saying I personally oppose it. I am saying that it appears to violate what I understood to be a promise from Ubuntu and that the implications should be considered carefully and the policy should be discussed publicly before the feature is implemented. -- [FFE] ec2-init should check for image upgrades https://bugs.launchpad.net/bugs/423856 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 423856] Re: [FFE] ec2-init should check for image upgrades
When the issue of package updates were raised, I believe the answer included things like: - The update is not immediately run on every Ubuntu installation - The user has the ability to turn it off - The user has the ability to decide which archives to use [Again, I'm not fighting against this, but I think those who might oppose it should be given a chance to voice their concerns before it launches, rather than creating a ruckus afterwards.] -- [FFE] ec2-init should check for image upgrades https://bugs.launchpad.net/bugs/423856 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 423856] Re: [FFE] ec2-init should check for image upgrades
Gustavo: Note that the current enhancement proposal goes beyond just EC2, but appears to also apply to Ubuntu images users run with Eucalyptus on their own hardware at their own company. -- [FFE] ec2-init should check for image upgrades https://bugs.launchpad.net/bugs/423856 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 408562] [NEW] Updgrade ec2-ami-tools to 1.3-34544
Public bug reported: Binary package hint: ec2-ami-tools The package ec2-ami-tools is outdated on Hardy, Intrepid, Jaunty, Karmic. This prevents the usage of the latest EC2 features. ** Affects: ec2-ami-tools (Ubuntu) Importance: Undecided Status: New -- Updgrade ec2-ami-tools to 1.3-34544 https://bugs.launchpad.net/bugs/408562 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 402273] Re: ec2 doesnt set /etc/hostname properly.
See #407861 for a recommended approach to relying on DHCP for hostnames. ** Changed in: ec2-init (Ubuntu) Status: New = Invalid -- ec2 doesnt set /etc/hostname properly. https://bugs.launchpad.net/bugs/402273 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 358098] Re: vmbuilder hangs or crashes when building images on ec2 instances
Cap, Are you saying that you are able to apply a fix to a running Ubuntu instance on EC2 and get vm-builder to work correctly for you (what AMI and what steps)? Or, are you just assuming that #293067 probably relates because of the description? Note that the images listed on http://alestic.com are running Amazon's older 2.6.21fc8 kernel and that they are generally not of interest to the team reading launchpad.net bugs, though I am personally very interested and appreciate bug reports directly to me or through http://groups.google.com/group/ec2ubuntu Bugs you find running on the official Ubuntu beta images should definitely continue to be posted here or on the ec2-beta mailing list so that they can be investigated. Are you still experiencing this particular problem on the official Ubuntu beta images? -- vmbuilder hangs or crashes when building images on ec2 instances https://bugs.launchpad.net/bugs/358098 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 358098] Re: vmbuilder hangs or crashes when building images on ec2 instances
This is now ringing a bell with me. I ran into very similar behavior with simple Perl calls spinning when building images on EC2 instances. It was back in 2007 so I'm having a hard time remembering what the problem or solution were, but the answer may be somewhere in this code (which now builds images ok on EC2): http://code.google.com/p/ec2ubuntu/ I think it was some odd bug between Perl and the EC2 kernel/environment. I'm pretty sure the problem showed up in debootstrap or code run by debootstrap. I still see the commented out debug line in the above script right before running debootstrap. What's odd, though, is that the script does almost nothing of significance before running debootstrap. -- vmbuilder hangs or crashes when building images on ec2 instances https://bugs.launchpad.net/bugs/358098 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 358098] Re: vmbuilder hangs or crashes when building images on ec2 instances
Am I correct in understanding that this process works on your local Ubuntu system, but fails when you run it on EC2 instances using various official and unofficial AMIs? If so, then it sounds like it may be more of a bug against the EC2 images and environment than against vmbuilder itself. -- vmbuilder hangs or crashes when building images on ec2 instances https://bugs.launchpad.net/bugs/358098 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 354288] Re: ssh keys for user are not owned by the user [Jaunty] [PATCH]
I can't see a situation where the initial users's uid and gid wouldn't be 1000. This situation arises when vmbuilder is being used to build standard images which are going to be used by other parties. For example, when vmbuilder is used to build public images for Amazon EC2: https://bugs.launchpad.net/ubuntu-on-ec2/+bug/339805 -- ssh keys for user are not owned by the user [Jaunty] [PATCH] https://bugs.launchpad.net/bugs/354288 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 308709] Re: vmbuilder EC2: mkfs.ext3: Device size reported to be zero. (missing /sys support?)
** Attachment added: vmbuilder.log http://launchpadlibrarian.net/20474374/vmbuilder.log -- vmbuilder EC2: mkfs.ext3: Device size reported to be zero. (missing /sys support?) https://bugs.launchpad.net/bugs/308709 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 308709] Re: vmbuilder EC2: mkfs.ext3: Device size reported to be zero. (missing /sys support?)
Perhaps this delta needs to be included? (not sure if it's sufficient) http://bazaar.launchpad.net/~nijaba/vmbuilder/ec2exec/revision/284 -- vmbuilder EC2: mkfs.ext3: Device size reported to be zero. (missing /sys support?) https://bugs.launchpad.net/bugs/308709 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 308709] Re: vmbuilder EC2: mkfs.ext3: Device size reported to be zero. (missing /sys support?)
Soren pointed out that Ubuntu doesn't need /sys in /etc/fstab Building off of trunk without the /sys 0 line in the part file now works! ** Changed in: vm-builder (Ubuntu) Assignee: (unassigned) = Eric Hammond (esh) Status: New = Invalid -- vmbuilder EC2: mkfs.ext3: Device size reported to be zero. (missing /sys support?) https://bugs.launchpad.net/bugs/308709 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 301499] [NEW] vmbuilder EC2: /etc/fstab missing trailing newline when built with --part
Public bug reported: When I use the --part option in vmbuilder --ec2 it builds an /etc/fstab without a trailing newline on the last record. This is probably just a minor nuisance and shouldn't affect much in the way of functionality, but it also should be easy to fix. I'm currently working off of this branch (with the fixes from ec2exec- fixes) https://code.launchpad.net/~nijaba/vmbuilder/ec2exec I used the following file with --part: cat vmbuilder-ec2-32.part EOM root 4096 a1 /mnt 0 a2 swap 1024 a3 /sys 0 EOM ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New -- vmbuilder EC2: /etc/fstab missing trailing newline when built with --part https://bugs.launchpad.net/bugs/301499 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs