Comment 18 for bug 525675

Revision history for this message
chris grzegorczyk (chris-grze) wrote : Re: [Bug 525675] Re: 20100222 images fail to boot in UEC (HTTP error 500 retrieving ephemeral0 metadata)

Indeed. Not sure how that slipped by. Thanks for catching it. See r1200.

On Mon, Feb 22, 2010 at 8:05 PM, Dustin Kirkland
<email address hidden> wrote:
> Chris-
>
> Almost, but not quite ...  Looks to me like this commit fixed one
> ephemeral reference, but missed the other...  Can you confirm/deny,
> Chris?
>
> bzr diff -r 1185..1185.1.1
>
> === modified file
> 'clc/modules/cluster-manager/src/main/java/edu/ucsb/eucalyptus/cloud/cluster/VmInstance.java'
> --- clc/modules/cluster-manager/src/main/java/edu/ucsb/eucalyptus/cloud/cluster/VmInstance.java
> 2010-02-05 12:04:49 +0000
> +++ clc/modules/cluster-manager/src/main/java/edu/ucsb/eucalyptus/cloud/cluster/VmInstance.java
> 2010-02-10 01:27:01 +0000
> @@ -342,7 +342,7 @@
>     m.put( "ramdisk-id", this.getImageInfo( ).getRamdiskId( ) );
>     m.put( "security-groups", this.getNetworkNames( ).toString(
> ).replaceAll( "[\\Q[]\\E]", "" ).replaceAll( ", ", "\n" ) );
>
> -    m.put( "block-device-mapping/", "emi\nephemeral\nroot\nswap" );
> +    m.put( "block-device-mapping/", "emi\nephemeral0\nroot\nswap" );
>     m.put( "block-device-mapping/emi", "sda1" );
>     m.put( "block-device-mapping/ami", "sda1" );
>     m.put( "block-device-mapping/ephemeral", "sda2" );
>
> --
> 20100222 images fail to boot in UEC (HTTP error 500 retrieving ephemeral0 metadata)
> https://bugs.launchpad.net/bugs/525675
> You received this bug notification because you are a bug assignee.
>
> Status in Eucalyptus: Fix Released
> Status in “cloud-init” package in Ubuntu: Invalid
> Status in “eucalyptus” package in Ubuntu: Fix Released
> Status in “python-boto” package in Ubuntu: Confirmed
> Status in “cloud-init” source package in Lucid: Invalid
> Status in “eucalyptus” source package in Lucid: Fix Released
> Status in “python-boto” source package in Lucid: Confirmed
>
> Bug description:
> Binary package hint: cloud-init
>
> Starting a 20100222 lucid cloud image on UEC, the instance boots, IP is up, but SSH is never started.
> Got the following errors in euca-get-console-output:
>
> FATAL: Could not load /lib/modules/2.6.32-14-server/modules.dep: No such file or directory
> [    4.525542] kjournald starting.  Commit interval 5 seconds
> [    4.527080] EXT3-fs: mounted filesystem with ordered data mode.
> Begin: Running /scripts/local-bottom ...
> Done.
> Done.
> Begin: Running /scripts/init-bottom ...
> Begin: Starting AppArmor profiles ...
> chroot: cannot execute /etc/apparmor/initramfs: No such file or directory
> Failure: AppArmor profiles failed to load
> Done.
> Caught exception reading instance dataCaught exception reading instance dataCaught exception reading instance dataCaught exception reading instance dataCaught exception reading instance dataCaught exception reading instance dataCaught exception reading instance dataCaught exception reading instance data
>
> Might be a problem in eucalyptus rather than in the cloud image (metadata service not responding ?)
>
>
>