Metadata service warning on Eucalyptus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Wishlist
|
Unassigned |
Bug Description
When running cloud-init on an instance in Eucalyptus version 4.4.2, the following warning now appears when the service starts. Please add Eucalyptus to the list of known EC2 endpoints.
[ 15.499595] cloud-init[741]: # This system is using the EC2 Metadata Service, but does not #
[ 15.499698] cloud-init[741]: # appear to be running on Amazon EC2 or one of cloud-init's #
[ 15.499792] cloud-init[741]: # known platforms that provide a EC2 Metadata service. In the #
[ 15.499883] cloud-init[741]: # future, cloud-init may stop reading metadata from the EC2 #
[ 15.499992] cloud-init[741]: # Metadata Service unless the platform can be identified #
[ 15.500102] cloud-init[741]: # #
[ 15.500207] cloud-init[741]: # If you are seeing this message, please file a bug against #
[ 15.500294] cloud-init[741]: # cloud-init at https:/
[ 15.500381] cloud-init[741]: # Make sure to include the cloud provider your instance is #
[ 15.500478] cloud-init[741]: # running on. #
[ 15.500568] cloud-init[741]: # #
[ 15.500658] cloud-init[741]: # For more information see #
[ 15.500745] cloud-init[741]: # https:/
[ 15.500831] cloud-init[741]: # #
[ 15.500917] cloud-init[741]: # After you have filed a bug, you can disable this warning by #
[ 15.501013] cloud-init[741]: # launching your instance with the cloud-config below, or #
[ 15.501106] cloud-init[741]: # putting that content into #
[ 15.501195] cloud-init[741]: # /etc/cloud/
[ 15.501283] cloud-init[741]: # #
[ 15.501369] cloud-init[741]: # #cloud-config #
[ 15.501462] cloud-init[741]: # datasource: #
[ 15.501553] cloud-init[741]: # Ec2: #
[ 15.501640] cloud-init[741]: # strict_id: false #
[ 15.501726] cloud-init[741]: # #
[ 15.501811] cloud-init[741]: *******
Hi, /eucalyptus. atlassian. net/browse/ EUCA-13331
A related bug in Eucalpytus is
https:/
If there is no way to identify Eucalyptus as a system that will
have an EC2 metadata service, then there isn't really anything we can do
at the moment.
In my opinion, the right way to fix this is to have Eucalyptus identify
themselves as Eucalyptus rather than ec2. There is an example of doing
that in bug 1661693.
However, it looks like they plan to fix this by identifying themselves
as Ec2. That is quite unfortunate as it gives the user no way to know
that they are *not* in Amazon.
The difference between running in Eucalyptus and Amazon is likely a real
difference no matter how hard the platform tries to hide it. For example,
cloud-init may quite reasonly try to use mirrors in amazon if it is told
that it is running in amazon, but those mirrors are less than ideal if
running in Eucalyptus.