-
Notifications
You must be signed in to change notification settings - Fork 49
Add support for AWS IMDSv2 to coreos-cloudinit #787
Copy link
Copy link
Closed
flatcar/coreos-cloudinit
#13Labels
Description
Current situation
Partial AWS IMDSv2 support was added by #220 in v3227.0.0.
Impact
At the moment, the Flatcar instance boots but user-data is not processed due to lack of support for IMDSv2 in coreos-cloudinit:
Jun 25 04:47:12.309062 localhost bash[1715]: + /usr/bin/coreos-cloudinit --oem=ec2-compat
Jun 25 04:47:12.537609 i-0521929c4b27fd9ee bash[1715]: 2022/06/25 04:47:12 Checking availability of "cloud-drive"
Jun 25 04:47:12.537609 i-0521929c4b27fd9ee bash[1715]: 2022/06/25 04:47:12 Checking availability of "ec2-metadata-service"
...
Jun 25 04:52:03.772421 i-0521929c4b27fd9ee bash[1715]: 2022/06/25 04:52:03 Checking availability of "cloud-drive"
Jun 25 04:52:03.776615 i-0521929c4b27fd9ee bash[1715]: 2022/06/25 04:52:03 Checking availability of "ec2-metadata-service"
Jun 25 04:52:12.532478 i-0521929c4b27fd9ee bash[1715]: 2022/06/25 04:52:12 No datasources available in time
Full journal log can be found here.
Ideal future situation
IMDSv2 is fully supported by Flatcar.
Implementation options
n/a
Additional information
n/a
Reactions are currently unavailable