Bug#954363: cloud-init fails to obtain an IMDS API token on Amazon EC2

2020-03-20 Thread Noah Meyerhans
Control: tags -1 + upstream > 2020-03-20 18:25:10,332 - url_helper.py[DEBUG]: [0/1] open > 'http://169.254.169.254/latest/api/token' with {'url': > 'http://169.254.169.254/latest/api/token', 'allow_redirects': True, 'method': > 'PUT', 'timeout': 1.0, 'headers': {'User-Agent':

Bug#954363: cloud-init fails to obtain an IMDS API token on Amazon EC2

2020-03-20 Thread Noah Meyerhans
Package: cloud-init Version: 20.1-1 Severity: important Cloud-init 20.1 attempts to obtain an API token for use with Amazon EC2 instance metadata service (IMDS). On EC2, this operation should always succeed, whether using IMDSv1 or v2, and cloud-init will always access IMDS in v2 mode. However,