./sru/release-27.5/test-aws-ipv6.sh /tmp/key.pem /tmp/u-a-t.deb --------------------------------------------- Checking instance info Distributor ID: Ubuntu Description: Ubuntu 18.04.6 LTS Release: 18.04 Codename: bionic No LSB modules are available. .......... SERVICE ENTITLED STATUS DESCRIPTION cis yes disabled Center for Internet Security Audit Tools esm-apps yes enabled UA Apps: Extended Security Maintenance (ESM) esm-infra yes enabled UA Infra: Extended Security Maintenance (ESM) fips yes disabled NIST-certified core packages fips-updates yes disabled NIST-certified core packages with priority security updates livepatch yes enabled Canonical Livepatch service Enable services with: ua enable Account: 984140892281 Subscription: 984140892281 Valid until: 9999-12-31 00:00:00+00:00 Technical support level: essential --------------------------------------------- --------------------------------------------- Detaching PRO instance Detach will disable the following services: esm-apps esm-infra livepatch Updating package lists Updating package lists This machine is now detached. --------------------------------------------- --------------------------------------------- Installing package with IPv6 support bionic-0831c833321357b1a656c9c6b98b08c2-ubuntu-advantage-tools.deb 100% 689KB 541.6KB/s 00:01 (Reading database ... 57597 files and directories currently installed.) Preparing to unpack ua.deb ... Unpacking ubuntu-advantage-tools (27.5~22.04.1) over (27.3~18.04.2) ... Setting up ubuntu-advantage-tools (27.5~22.04.1) ... Installing new version of config file /etc/ubuntu-advantage/help_data.yaml ... Installing new version of config file /etc/ubuntu-advantage/uaclient.conf ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Processing triggers for man-db (2.8.3-2ubuntu0.1) ... 27.5~22.04.1 SERVICE AVAILABLE DESCRIPTION cc-eal no Common Criteria EAL2 Provisioning Packages cis yes Security compliance and audit tools esm-infra yes UA Infra: Extended Security Maintenance (ESM) fips yes NIST-certified core packages fips-updates yes NIST-certified core packages with priority security updates livepatch yes Canonical Livepatch service This machine is not attached to a UA subscription. See https://ubuntu.com/advantage --------------------------------------------- --------------------------------------------- Modifying IPv4 address to make it fail --------------------------------------------- --------------------------------------------- Verify that auto-attach still works and IPv6 route was used instead Enabling default service esm-apps Enabling default service esm-infra Enabling default service livepatch Updating package lists UA Apps: ESM enabled Updating package lists UA Infra: ESM enabled Canonical livepatch enabled. This machine is now attached to '984140892281' SERVICE ENTITLED STATUS DESCRIPTION cc-eal yes n/a Common Criteria EAL2 Provisioning Packages cis yes disabled Security compliance and audit tools esm-apps yes enabled UA Apps: Extended Security Maintenance (ESM) esm-infra yes enabled UA Infra: Extended Security Maintenance (ESM) fips yes disabled NIST-certified core packages fips-updates yes disabled NIST-certified core packages with priority security updates livepatch yes enabled Canonical Livepatch service NOTICES Operation in progress: ua auto-attach Enable services with: ua enable Account: 984140892281 Subscription: 984140892281 Valid until: 9999-12-31 00:00:00+00:00 Technical support level: essential SERVICE ENTITLED STATUS DESCRIPTION cc-eal yes n/a Common Criteria EAL2 Provisioning Packages cis yes disabled Security compliance and audit tools esm-apps yes enabled UA Apps: Extended Security Maintenance (ESM) esm-infra yes enabled UA Infra: Extended Security Maintenance (ESM) fips yes disabled NIST-certified core packages fips-updates yes disabled NIST-certified core packages with priority security updates livepatch yes enabled Canonical Livepatch service Enable services with: ua enable Account: 984140892281 Subscription: 984140892281 Valid until: 9999-12-31 00:00:00+00:00 Technical support level: essential 2022-01-11 12:21:18,912 - aws.py:(56) [DEBUG]: Could not reach AWS IMDS at http://169.254.169.1: timed out 2022-01-11 12:21:17,910 - util.py:(554) [DEBUG]: URL [PUT]: http://169.254.169.1/latest/api/token, headers: {'X-aws-ec2-metadata-token-ttl-seconds': '21600'}, data: None 2022-01-11 12:21:18,912 - util.py:(554) [DEBUG]: URL [PUT]: http://[fd00:ec2::254]/latest/api/token, headers: {'X-aws-ec2-metadata-token-ttl-seconds': '21600'}, data: None 2022-01-11 12:21:18,914 - util.py:(575) [DEBUG]: URL [PUT] response: http://[fd00:ec2::254]/latest/api/token, headers: {'Connection': 'close', 'Content-Length': '56', 'Content-Type': 'text/plain', 'Date': 'Tue, 11 Jan 2022 12:21:18 GMT', 'Server': 'EC2ws', 'X-Aws-Ec2-Metadata-Token-Ttl-Seconds': '21600'}, data: 2022-01-11 12:21:18,914 - util.py:(554) [DEBUG]: URL [GET]: http://[fd00:ec2::254]/latest/dynamic/instance-identity/pkcs7, headers: {'X-aws-ec2-metadata-token': ''}, data: None 2022-01-11 12:21:18,915 - util.py:(575) [DEBUG]: URL [GET] response: http://[fd00:ec2::254]/latest/dynamic/instance-identity/pkcs7, headers: {'Accept-Ranges': 'none', 'Connection': 'close', 'Content-Length': '1207', 'Content-Type': 'text/plain', 'Date': 'Tue, 11 Jan 2022 12:21:18 GMT', 'Last-Modified': 'Tue, 11 Jan 2022 12:19:19 GMT', 'Server': 'EC2ws', 'X-Aws-Ec2-Metadata-Token-Ttl-Seconds': '21600'}, data: MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAaCAJIAEggH3ewog ---------------------------------------------