Comment 0 for bug 532682

Revision history for this message
Scott Moser (smoser) wrote :

On a fresh install of lucid eucalyptus, I did the following:

A. download lucid 20100303 (http://uec-images.ubuntu.com/lucid/)
B. publish it
   uec-publish-tarball lucid-server-uec-amd64.tar.gz lucid-20100303
C. extract
   tar -Sxvzf lucid-server-uec-amd64.tar.gz
D. mount image loopback, install a new upstart
  sudo mount -o loop lucid-server-uec-amd64.img /mnt/
  cp upstart-* /mnt/tmp
  sudo chroot /mnt
  % LANG=C
  % dpkg -i /tmp/upstart-*
  % rm /tmp/upstart-*
  % exit
  umount /mnt
E. register new image with kernel from the "dist" version
   $ uec-publish-image x86_64 --kernel eki-68881AF2 \
      lucid-server-uec-amd64.img lucid-20100303-d-upstart
   emi-24C619C3 lucid-20100303-d-upstart/lucid-server-uec-amd64.img.manifest.xml

F. run instance of new image
   euca-run-instances --key mykey --instance-type c1.medium emi-24C619C3

After 1 hour 15 minutes, image was still pending
After another 30 or so, it terminated.

Note, I doubt that steps 'C' and 'D' above are required, but have not tested that.