** Description changed: + === Begin SRU Template === + [Impact] + Opportunistic polling of the Ec2 Metadata service, which lives at + 169.254.169.254 can be problematic for numerous reasons including timeouts. + + In this first phase of SRU, the code that has been added will be set to + a warn-only mode. + + In 16.04, if cloud-init finds it is using a EC2 Metadata Service but + not running on Amazon AWS, it will warn the user. + + In 16.10, it will warn the user and sleep 10 seconds to increase the + likelyhood of being noticed. + + [Test Case] + TBD + + [Regression Potential] + There is real regression potential here. That is why we have announced + this fairly widely and also are putting this into place with warnings + only first. + + After some time is passed, further SRUs will put more strict behavior + in place. + + [Other Info] + We've announced this fairly widely on mailing lists + https://lists.ubuntu.com/archives/ubuntu-devel/2017-February/039697.html + === End SRU Template === + + 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 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. For more information, please see: - https://lists.ubuntu.com/archives/ubuntu-devel/2017-February/039697.html - + https://lists.ubuntu.com/archives/ubuntu-devel/2017-February/039697.html -- [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
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1660385 Title: Alert user of Ec2 Datasource on lookalike cloud To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1660385/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
