[Bug 1882389] Re: ec2metadata doesn't support AWS EC2 IMDSv2

2020-07-01 Thread Fred Vogt
/fred-vogt/9c2e773fdacf12e71260c71e7fd17e68 I'll submit a patch shortly. ** Summary changed: - cloud-guest-utils ec2metadata doesn't support AWS EC2 IMDSv2 + ec2metadata doesn't support AWS EC2 IMDSv2 ** Project changed: launchpad => cloud-utils (Ubuntu) -- You received this bug notificat

[Bug 1882389] Re: ec2metadata doesn't support AWS EC2 IMDSv2

2020-07-01 Thread Fred Vogt
For reference here is a patched version of `apt-transport-s3`: https://github.com/fred-vogt/apt-transport-s3/commit/a6f9e35932cec7083b2e18f78a779a32c2d7d907 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net

[Bug 1882389] Re: ec2metadata doesn't support AWS EC2 IMDSv2

2020-07-01 Thread Fred Vogt
Tested on an 'm5d.large' EC2 instance in us-west-2. ** Patch added: "sample fix" https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1882389/+attachment/539/+files/ec2metadata-IMDSv2.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1882389] Re: ec2metadata doesn't support AWS EC2 IMDSv2

2020-07-01 Thread Fred Vogt
** Description changed: AWS EC2 Metadata Service v2 uses session tokens: + + $ ec2metadata + Traceback (most recent call last): + File "/usr/bin/ec2metadata", line 249, in + main() + File "/usr/bin/ec2metadata", line 245, in main + display(metaopts, burl, prefix) + File

[Bug 1882389] Re: ec2metadata doesn't support AWS EC2 IMDSv2

2020-07-01 Thread Fred Vogt
https://github.com/fred-vogt/cloud- utils/blob/bug/1882389-IMDSv2-support/bin/ec2metadata -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882389 Title: ec2metadata doesn't support AWS EC2 IMDSv2