[Bug 450044] Re: euca-bundle-vol does not create essential tmpfs mounts when bundling Ubuntu images

Nick Barcet nicolas.barcet at ubuntu.com
Thu Nov 5 10:33:41 GMT 2009


** Description changed:

  One of the symptoms of this is that network interfaces are not properly
  ifup'ed on first boot.
+ 
+ To reproduce this bug (SRU validation):
+ ------------------------------------------------------------
+ Right after starting an instance from a standard uec-image (64bit), I use the following procedure:
+ 
+ from your desktop:
+ scp -i mykey.prov ~/.euca/* ubuntu@<instance>:/tmp
+ 
+ in the instance:
+ # because of bug #457283
+    #* edit fstab
+    #* replace /dev/sdb by /dev/sda2 and on the same line ext3 by ext2
+    #* mount /mnt
+ bucket=testbucket
+ prefix=test1
+ . /tmp/eucarc
+ if [ $(uname -m) = 'x86_64' ]; then
+     arch=x86_64
+ else
+     arch=i386
+ fi
+ sudo -E euca-bundle-vol -r $arch -d /mnt -p $prefix -u $EC2_USER_ID -k /tmp/euca2-admin-xxx-pk.pem -c /tmp/euca2-admin-xxx-cert.pem -s 2048 -e /mnt,/root/.ssh,/home/ubuntu/.ssh
+ euca-upload-bundle -b $bucket -m /mnt/$prefix.manifest.xml
+ euca-register $bucket/$prefix.manifest.xml
+ 
+ Start an instance of the new emi and wait until it is running.
+ 
+ From the CC
+  * Try to ping it -> fail
+  * Try to ssh to it -> fail
+ 
+ ec2-get-console-output ends with the following:
+ mount: mount point /var/run does not exist
+ mountall: mount /var/run [365] terminated with status 32
+ mountall: Filesystem could not be mounted: /var/run
+ mount: mount point /var/lock does not exist
+ mountall: mount /var/lock [366] terminated with status 32
+ mountall: Filesystem could not be mounted: /var/lock
+ mount: mount point /var/run does not exist
+ mountall: mount /var/run [367] terminated with status 32
+ mountall: Filesystem could not be mounted: /var/run
+ mount: mount point /var/lock does not exist
+ mountall: mount /var/lock [368] terminated with status 32
+ mountall: Filesystem could not be mounted: /var/lock
+ [ 4.965206] EXT3 FS on sda1, internal journal

-- 
euca-bundle-vol does not create essential tmpfs mounts when bundling Ubuntu images
https://bugs.launchpad.net/bugs/450044
You received this bug notification because you are a member of Ubuntu
Server Team, which is a subscriber of a duplicate bug.



More information about the Ubuntu-server-bugs mailing list