-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update AWS metadata version #989
Comments
Thanks for the report. Is there anything that you need that actively require a more recent version? Or is there any planned active deprecation that we may have missed? In other words, is this version-bump request part of a larger picture? |
It came up in a support case w/AWS whereby the 169.254.169.254 node metadata service was returning 404's. While this was not the cause, during the discussion support suggested updating to the newer version. Being on the recent version could remove that as a concern during future support cases. |
The endpoint
|
@zonggen I'm not sure, but that seems strange, see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html. Are you maybe checking on a IMDSv2-only instance? |
I think you can see the
Yeah, I agree with this one. Even I'm seeing the same result.
|
Sorry for creating noise on this thread. It turns out that I have to specify xref: https://docs.aws.amazon.com/cli/latest/reference/ec2/run-instances.html#synopsis |
It looks like this data is pretty old. If I query the ec2 control plane now, I see the following information. $ TOKEN=`curl -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600"` \
> && curl -H "X-aws-ec2-metadata-token: $TOKEN" -v http://169.254.169.254/
1.0
2007-01-19
2007-03-01
2007-08-29
2007-10-10
2007-12-15
2008-02-01
2008-09-01
2009-04-04
2011-01-01
2011-05-01
2012-01-12
2014-02-25
2014-11-05
2015-10-20
2016-04-19
2016-06-30
2016-09-02
2018-03-28
2018-08-17
2018-09-24
2019-10-01
latest |
Discussed with @zonggen, it seems like he's working on updating the metadata for |
The current date is so old that it leads to errors in some cases. See flatcar/Flatcar#220 and coreos/ignition#989
Feature Request
Environment
AWS
Desired Feature
ignition/internal/providers/aws/aws.go
Line 39 in ee616d5
The text was updated successfully, but these errors were encountered: