← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1866290] Re: EC2: Do not retry on disabled IMDSv2 api/token route returning a 403

 

maybe github squashed it and attributed to me due to the last commit on
the branch having the reference

Test provided by: Chad Smith <chad.smith@xxxxxxxxxxxxx>


I'll make sure if I see top-most commits with other attributions that we also place a trailing 
Authored-by: <the-real-author> footer on the commit message to inform github to make the right decision on squash merge



** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
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/1866290

Title:
  EC2: Do not retry on disabled IMDSv2 api/token route returning a 403

Status in cloud-init:
  Fix Released

Bug description:
  The Ec2 IMDSv2 latest/api/token route can be set as disabled and
  return a 403 indefinitely for an instance.

  When receiving any HTTP status codes >= 400 from IMDSv2 on AWS' Ec2
  cloud, 2 minutes of retries on the api/token route will not result in
  a successful Ec2 datasource detection.

  Quickly fail Ec2 datasource detection to allow the instance to
  potentially discover other datasources.

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


References