← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1660385] [NEW] Alert user of Ec2 Datasource on lookalike cloud

 

Public bug reported:

Many cloud providers mimic the EC2 Metadata service [1] in order to provide
a level of EC2 compatibility for images.  This is quite useful and allows
image portability.

Because this is a network based metadata service, cloud-init opportunistically
poll an IPv4 link local address (http://169.254.169.254) to determine if there
is metadata available.  That can have negative side affects such as timeouts.

AWS has recently begun providing a way for instances to determine if they
are running on EC2 [2].

Cloud-init will change its behavior to only attempt to find the EC2 metadata
service only if it has determined itself to be running on EC2 or another
known cloud provider which provides an EC2 metadata service.

--
[1] http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
[2] http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify_ec2_instances.html

** Affects: cloud-init
     Importance: Medium
     Assignee: Scott Moser (smoser)
         Status: In Progress

** Changed in: cloud-init
       Status: New => Confirmed

** Changed in: cloud-init
   Importance: Undecided => Medium

** Changed in: cloud-init
       Status: Confirmed => In Progress

** Changed in: cloud-init
     Assignee: (unassigned) => Scott Moser (smoser)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1660385

Title:
  Alert user of Ec2 Datasource on lookalike cloud

Status in cloud-init:
  In Progress

Bug description:
  Many cloud providers mimic the EC2 Metadata service [1] in order to provide
  a level of EC2 compatibility for images.  This is quite useful and allows
  image portability.

  Because this is a network based metadata service, cloud-init opportunistically
  poll an IPv4 link local address (http://169.254.169.254) to determine if there
  is metadata available.  That can have negative side affects such as timeouts.

  AWS has recently begun providing a way for instances to determine if they
  are running on EC2 [2].

  Cloud-init will change its behavior to only attempt to find the EC2 metadata
  service only if it has determined itself to be running on EC2 or another
  known cloud provider which provides an EC2 metadata service.

  --
  [1] http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
  [2] http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify_ec2_instances.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1660385/+subscriptions


Follow ups