Skip to content

Instantly share code, notes, and snippets.

@heygambo
Last active May 28, 2020 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heygambo/c30fbf7cda0166a4d22c1af6c886da2d to your computer and use it in GitHub Desktop.
Save heygambo/c30fbf7cda0166a4d22c1af6c886da2d to your computer and use it in GitHub Desktop.
Error when using the AWS magento cloudformation script at https://docs.aws.amazon.com/quickstart/latest/magento/welcome.html
2020-05-28 09:13:50 INFO Entering SSM Agent hibernate - AccessDeniedException: User: arn:aws:sts::039107141243:assumed-role/Magento-MagentoStack-17ZT3HFOAK-NewIamInstanceRole-YL7MTWX2MXOB/i-02bceb2988a93da05 is not authorized to perform: ssm:UpdateInstanceInformation on resource: arn:aws:ec2:us-east-1:039107141243:instance/i-02bceb2988a93da05
status code: 400, request id: 9ee4f2d9-a1e3-4de3-9e3e-8e252483bbd0

Cloudformation settings

The Cloudformation ran with those settings:

https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/quickcreate?templateUrl=https%3A%2F%2Faws-quickstart.s3.amazonaws.com%2Fquickstart-magento%2Ftemplates%2Fmagento-master.template&stackName=Magento&param_AccessCIDR=0.0.0.0%2F0&param_AdminEmail=christian%40fanmio.com&param_AdminFirstName=admin&param_AdminLastName=user&param_AdminUserName=admin&param_AvailabilityZones%5B%5D=us-east-1a&param_AvailabilityZones%5B%5D=us-east-1b&param_BastionAMIOS=Ubuntu-Server-18.04-LTS-HVM&param_BastionInstanceType=t2.small&param_DBAutoMinorVersionUpgrade=true&param_DBBackupRetentionPeriod=7&param_DBEngineType=Amazon%20Aurora&param_DBInstanceClass=db.r4.large&param_DBMasterUsername=admin&param_DBMultiAZ=true&param_DBName=magento&param_DNSName=&param_ElastiCacheAutomaticFailover=true&param_ElastiCacheNodeType=cache.m4.large&param_ElastiCacheNodes=2&param_KeyPairName=2020-gambo&param_MagentoCurrency=USD&param_MagentoLanguage=en_US&param_MagentoReleaseMedia=&param_MagentoTimezone=America%2FLos_Angeles&param_MagentoVersion=2.3&param_NotificationEmail=christian%40fanmio.com&param_PrivateSubnet1CIDR=10.0.0.0%2F19&param_PrivateSubnet2CIDR=10.0.32.0%2F19&param_PublicSubnet1CIDR=10.0.128.0%2F20&param_PublicSubnet2CIDR=10.0.144.0%2F20&param_QSS3BucketName=aws-quickstart&param_QSS3BucketRegion=us-east-1&param_QSS3KeyPrefix=quickstart-magento%2F&param_RemoteAccessCIDR=0.0.0.0%2F0&param_SSLCertificateId=&param_VPCCIDR=10.0.0.0%2F16&param_WebServerDesiredCapacity=1&param_WebServerInstanceType=m4.large&param_WebServerMaxSize=10&param_WebServerMinSize=1
2020-05-28 09:13:58,751 P2762 [INFO] ************************************************************
2020-05-28 09:13:58,751 P2762 [INFO] ConfigSet default
2020-05-28 09:13:58,752 P2762 [INFO] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2020-05-28 09:13:58,752 P2762 [INFO] Config config
2020-05-28 09:14:04,533 P2762 [INFO] ============================================================
2020-05-28 09:14:04,533 P2762 [INFO] yum install awslogs
2020-05-28 09:14:07,279 P2762 [INFO] -----------------------Command Output-----------------------
2020-05-28 09:14:07,280 P2762 [INFO] Loaded plugins: priorities, update-motd, upgrade-helper
2020-05-28 09:14:07,280 P2762 [INFO] Resolving Dependencies
2020-05-28 09:14:07,280 P2762 [INFO] --> Running transaction check
2020-05-28 09:14:07,280 P2762 [INFO] ---> Package awslogs.noarch 0:1.1.4-1.12.amzn1 will be installed
2020-05-28 09:14:07,280 P2762 [INFO] --> Processing Dependency: aws-cli-plugin-cloudwatch-logs(python27) for package: awslogs-1.1.4-1.12.amzn1.noarch
2020-05-28 09:14:07,280 P2762 [INFO] --> Running transaction check
2020-05-28 09:14:07,280 P2762 [INFO] ---> Package aws-cli-plugin-cloudwatch-logs.noarch 0:1.4.6-1.17.amzn1 will be installed
2020-05-28 09:14:07,281 P2762 [INFO] --> Finished Dependency Resolution
2020-05-28 09:14:07,281 P2762 [INFO]
2020-05-28 09:14:07,281 P2762 [INFO] Dependencies Resolved
2020-05-28 09:14:07,281 P2762 [INFO]
2020-05-28 09:14:07,281 P2762 [INFO] ================================================================================
2020-05-28 09:14:07,281 P2762 [INFO] Package Arch Version Repository Size
2020-05-28 09:14:07,281 P2762 [INFO] ================================================================================
2020-05-28 09:14:07,281 P2762 [INFO] Installing:
2020-05-28 09:14:07,281 P2762 [INFO] awslogs noarch 1.1.4-1.12.amzn1 amzn-main 9.2 k
2020-05-28 09:14:07,281 P2762 [INFO] Installing for dependencies:
2020-05-28 09:14:07,282 P2762 [INFO] aws-cli-plugin-cloudwatch-logs noarch 1.4.6-1.17.amzn1 amzn-updates 72 k
2020-05-28 09:14:07,282 P2762 [INFO]
2020-05-28 09:14:07,282 P2762 [INFO] Transaction Summary
2020-05-28 09:14:07,282 P2762 [INFO] ================================================================================
2020-05-28 09:14:07,282 P2762 [INFO] Install 1 Package (+1 Dependent package)
2020-05-28 09:14:07,282 P2762 [INFO]
2020-05-28 09:14:07,282 P2762 [INFO] Total download size: 81 k
2020-05-28 09:14:07,282 P2762 [INFO] Installed size: 246 k
2020-05-28 09:14:07,282 P2762 [INFO] Downloading packages:
2020-05-28 09:14:07,283 P2762 [INFO] --------------------------------------------------------------------------------
2020-05-28 09:14:07,283 P2762 [INFO] Total 234 kB/s | 81 kB 00:00
2020-05-28 09:14:07,283 P2762 [INFO] Running transaction check
2020-05-28 09:14:07,283 P2762 [INFO] Running transaction test
2020-05-28 09:14:07,283 P2762 [INFO] Transaction test succeeded
2020-05-28 09:14:07,283 P2762 [INFO] Running transaction
2020-05-28 09:14:07,283 P2762 [INFO] Installing : aws-cli-plugin-cloudwatch-logs-1.4.6-1.17.amzn1.noarch 1/2
2020-05-28 09:14:07,283 P2762 [INFO] Installing : awslogs-1.1.4-1.12.amzn1.noarch 2/2
2020-05-28 09:14:07,283 P2762 [INFO] Verifying : awslogs-1.1.4-1.12.amzn1.noarch 1/2
2020-05-28 09:14:07,284 P2762 [INFO] Verifying : aws-cli-plugin-cloudwatch-logs-1.4.6-1.17.amzn1.noarch 2/2
2020-05-28 09:14:07,284 P2762 [INFO]
2020-05-28 09:14:07,284 P2762 [INFO] Installed:
2020-05-28 09:14:07,284 P2762 [INFO] awslogs.noarch 0:1.1.4-1.12.amzn1
2020-05-28 09:14:07,284 P2762 [INFO]
2020-05-28 09:14:07,284 P2762 [INFO] Dependency Installed:
2020-05-28 09:14:07,284 P2762 [INFO] aws-cli-plugin-cloudwatch-logs.noarch 0:1.4.6-1.17.amzn1
2020-05-28 09:14:07,285 P2762 [INFO]
2020-05-28 09:14:07,285 P2762 [INFO] Complete!
2020-05-28 09:14:07,285 P2762 [INFO] ------------------------------------------------------------
2020-05-28 09:14:07,285 P2762 [INFO] Completed successfully.
2020-05-28 09:13:58,632 [DEBUG] CloudFormation client initialized with endpoint https://cloudformation.us-east-1.amazonaws.com
2020-05-28 09:13:58,632 [DEBUG] Describing resource MagentoAMI in stack Magento-MagentoStack-17ZT3HFOAKJI-WebServerASGStack-6L6H3OS9CPWT
2020-05-28 09:13:58,749 [INFO] -----------------------Starting build-----------------------
2020-05-28 09:13:58,750 [DEBUG] Not setting a reboot trigger as scheduling support is not available
2020-05-28 09:13:58,750 [INFO] Running configSets: default
2020-05-28 09:13:58,751 [INFO] Running configSet default
2020-05-28 09:13:58,752 [INFO] Running config config
2020-05-28 09:14:04,533 [DEBUG] nfs-utils will not be installed as it is already present
2020-05-28 09:14:04,533 [DEBUG] Installing/updating [u'awslogs'] via yum
2020-05-28 09:14:07,285 [INFO] Yum installed [u'awslogs']
2020-05-28 09:14:07,285 [DEBUG] No groups specified
2020-05-28 09:14:07,285 [DEBUG] No users specified
2020-05-28 09:14:07,286 [DEBUG] No sources specified
2020-05-28 09:14:07,286 [DEBUG] Writing content to /configure_magento.sh
2020-05-28 09:14:07,286 [DEBUG] Retrieving contents from https://aws-quickstart-us-east-1.s3.us-east-1.amazonaws.com/quickstart-magento/scripts/configure_magento.sh
2020-05-28 09:14:07,467 [DEBUG] Setting mode for /configure_magento.sh to 000644
2020-05-28 09:14:07,467 [DEBUG] Setting owner 0 and group 0 for /configure_magento.sh
2020-05-28 09:14:07,467 [DEBUG] /etc/awslogs/awscli.conf already exists
2020-05-28 09:14:07,468 [DEBUG] Moving /etc/awslogs/awscli.conf to /etc/awslogs/awscli.conf.bak
2020-05-28 09:14:07,468 [DEBUG] Writing content to /etc/awslogs/awscli.conf
2020-05-28 09:14:07,468 [DEBUG] Setting mode for /etc/awslogs/awscli.conf to 000400
2020-05-28 09:14:07,468 [DEBUG] Setting owner 0 and group 0 for /etc/awslogs/awscli.conf
2020-05-28 09:14:07,469 [DEBUG] /etc/awslogs/awslogs.conf already exists
2020-05-28 09:14:07,469 [DEBUG] Moving /etc/awslogs/awslogs.conf to /etc/awslogs/awslogs.conf.bak
2020-05-28 09:14:07,469 [DEBUG] Writing content to /etc/awslogs/awslogs.conf
2020-05-28 09:14:07,469 [DEBUG] Setting mode for /etc/awslogs/awslogs.conf to 000400
2020-05-28 09:14:07,470 [DEBUG] Setting owner 0 and group 0 for /etc/awslogs/awslogs.conf
2020-05-28 09:14:07,470 [DEBUG] Parent directory /etc/cfn does not exist, creating
2020-05-28 09:14:07,470 [DEBUG] Writing content to /etc/cfn/cfn-hup.conf
2020-05-28 09:14:07,470 [DEBUG] Setting mode for /etc/cfn/cfn-hup.conf to 000400
2020-05-28 09:14:07,471 [DEBUG] Setting owner 0 and group 0 for /etc/cfn/cfn-hup.conf
2020-05-28 09:14:07,471 [DEBUG] Parent directory /etc/cfn/hooks.d does not exist, creating
2020-05-28 09:14:07,471 [DEBUG] Writing content to /etc/cfn/hooks.d/cfn-auto-reloader.conf
2020-05-28 09:14:07,471 [DEBUG] No mode specified for /etc/cfn/hooks.d/cfn-auto-reloader.conf. The file will be created with the mode: 0644
2020-05-28 09:14:07,472 [DEBUG] Writing content to /home/ec2-user/magento.tar.gz
2020-05-28 09:14:07,472 [ERROR] Error encountered during build of config: File specified without source or content
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cfnbootstrap/construction.py", line 542, in run_config
CloudFormationCarpenter(config, self._auth_config).build(worklog)
File "/usr/lib/python2.7/dist-packages/cfnbootstrap/construction.py", line 251, in build
changes['files'] = FileTool().apply(self._config.files, self._auth_config)
File "/usr/lib/python2.7/dist-packages/cfnbootstrap/file_tool.py", line 138, in apply
self._write_file(f, attribs, auth_config)
File "/usr/lib/python2.7/dist-packages/cfnbootstrap/file_tool.py", line 218, in _write_file
raise ToolError("File specified without source or content")
ToolError: File specified without source or content
2020-05-28 09:14:07,473 [ERROR] -----------------------BUILD FAILED!------------------------
2020-05-28 09:14:07,474 [ERROR] Unhandled exception during build: File specified without source or content
Traceback (most recent call last):
File "/opt/aws/bin/cfn-init", line 171, in <module>
worklog.build(metadata, configSets)
File "/usr/lib/python2.7/dist-packages/cfnbootstrap/construction.py", line 129, in build
Contractor(metadata).build(configSets, self)
File "/usr/lib/python2.7/dist-packages/cfnbootstrap/construction.py", line 530, in build
self.run_config(config, worklog)
File "/usr/lib/python2.7/dist-packages/cfnbootstrap/construction.py", line 542, in run_config
CloudFormationCarpenter(config, self._auth_config).build(worklog)
File "/usr/lib/python2.7/dist-packages/cfnbootstrap/construction.py", line 251, in build
changes['files'] = FileTool().apply(self._config.files, self._auth_config)
File "/usr/lib/python2.7/dist-packages/cfnbootstrap/file_tool.py", line 138, in apply
self._write_file(f, attribs, auth_config)
File "/usr/lib/python2.7/dist-packages/cfnbootstrap/file_tool.py", line 218, in _write_file
raise ToolError("File specified without source or content")
ToolError: File specified without source or content
2020-05-28 09:13:58,716 [DEBUG] Response: 200 https://cloudformation.us-east-1.amazonaws.com/?Action=DescribeStackResource&StackName=Magento-MagentoStack-17ZT3HFOAKJI-WebServerASGStack-6L6H3OS9CPWT&Version=2010-05-15&ContentType=JSON&LogicalResourceId=MagentoAMI [headers: {'x-amzn-requestid': 'd7f2f5a4-5dbc-476c-a4cf-71d0b04cd5d5', 'date': 'Thu, 28 May 2020 09:13:58 GMT', 'content-length': '3984', 'content-type': 'application/json'}]
2020-05-28 09:14:07,464 [DEBUG] Response: 200 https://aws-quickstart-us-east-1.s3.us-east-1.amazonaws.com/quickstart-magento/scripts/configure_magento.sh [headers: {'content-length': '5096', 'x-amz-id-2': '5PCa9jrGPWxwYh/j82XVQTbnESSDhrGpGgBxb8zQckWIJ3NsjBGc9dR9HRNK4bzRf4aJM/q3r/s=', 'accept-ranges': 'bytes', 'server': 'AmazonS3', 'last-modified': 'Mon, 23 Mar 2020 15:09:14 GMT', 'x-amz-request-id': '6D5B1E34A891CB70', 'etag': '"724f08335e2ce5927560f6c9c781127c"', 'date': 'Thu, 28 May 2020 09:14:08 GMT', 'x-amz-version-id': 'F7TekLBy.yeSfcBs2hMOZu8cFWghWtLp', 'content-type': 'binary/octet-stream'}]
Cloud-init v. 0.7.6 running 'init-local' at Thu, 28 May 2020 09:13:50 +0000. Up 7.64 seconds.
Cloud-init v. 0.7.6 running 'init' at Thu, 28 May 2020 09:13:50 +0000. Up 7.84 seconds.
ci-info: +++++++++++++++++++++++Net device info+++++++++++++++++++++++
ci-info: Device Up Address Mask Hw-Address
ci-info: lo True 127.0.0.1 255.0.0.0 .
ci-info: eth0 True 10.0.18.205 255.255.224.0 0e:86:dd:be:d9:a1
ci-info: +++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++
ci-info: Route Destination Gateway Genmask Interface Flags
ci-info: 0 0.0.0.0 10.0.0.1 0.0.0.0 eth0 UG
ci-info: 1 10.0.0.0 0.0.0.0 255.255.224.0 eth0 U
ci-info: 2 169.254.169.254 0.0.0.0 255.255.255.255 eth0 UH
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
SHA256:yNqcysHE9Lk1L7rI3p+H7teDzaVmqlDK8W4r+DV7mHg root@ip-10-0-18-205
The key's randomart image is:
+---[RSA 2048]----+
| |
| |
| . |
| o o o |
| o * S |
| o = O o . |
| +.O.=+.= o |
| o.=o=E== O |
| .*.=OX*.+ . |
+----[SHA256]-----+
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
SHA256:NYLg8SbVLadyZGrqsJFNForaDmzDzb9SPlrXkb/QBc8 root@ip-10-0-18-205
The key's randomart image is:
+---[DSA 1024]----+
| o .. . |
| ..= .= o |
| . .o.++.+o. |
|. . oo+ oo..+ |
|+.o= o oSo E |
|o==oo. . + . |
|.o.=+. . o o |
| o.o+. . . |
| .o.o . |
+----[SHA256]-----+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
The key fingerprint is:
SHA256:1jJF9z35orZJIlD0YvwNQND+d9pHGXhGCUuvDug6pHc root@ip-10-0-18-205
The key's randomart image is:
+---[ECDSA 256]---+
| .++ . .o. .|
| o.+ ...o+.|
| .= + .++.|
| o.=.o ..+o|
| . Soo...+ +|
| +.o. +..o.|
| o ....+= . |
| . o.E +.o. .|
| ..o o . |
+----[SHA256]-----+
Cloud-init v. 0.7.6 running 'modules:config' at Thu, 28 May 2020 09:13:52 +0000. Up 8.98 seconds.
Loaded plugins: priorities, update-motd, upgrade-helper
No packages needed for security; 7 packages available
Resolving Dependencies
Cloud-init v. 0.7.6 running 'modules:final' at Thu, 28 May 2020 09:13:57 +0000. Up 14.75 seconds.
Error occurred during build: File specified without source or content
chmod: cannot access ‘install_magento.sh’: No such file or directory
/var/lib/cloud/instance/scripts/part-001: line 4: ./install_magento.sh: No such file or directory
cat: /home/ec2-user/adminuri: No such file or directory
CloudFormation signaled successfully with FAILURE.
Cloud-init v. 0.7.6 finished at Thu, 28 May 2020 09:14:08 +0000. Datasource DataSourceEc2. Up 25.19 seconds
May 28 09:13:50 cloud-init[2529]: util.py[DEBUG]: Cloud-init v. 0.7.6 running 'init-local' at Thu, 28 May 2020 09:13:50 +0000. Up 7.64 seconds.
May 28 09:13:50 cloud-init[2529]: util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [644] 0 bytes
May 28 09:13:50 cloud-init[2529]: util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished
May 28 09:13:50 cloud-init[2529]: util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
May 28 09:13:50 cloud-init[2529]: util.py[DEBUG]: Attempting to remove /var/lib/cloud/data/no-net
May 28 09:13:50 cloud-init[2529]: util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
May 28 09:13:50 cloud-init[2529]: stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.amazon.Distro'>
May 28 09:13:50 cloud-init[2529]: __init__.py[DEBUG]: Looking for for data source in: ['Ec2'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM']
May 28 09:13:50 cloud-init[2529]: __init__.py[DEBUG]: Searching for data source in: []
May 28 09:13:50 cloud-init[2529]: cloud-init[DEBUG]: No local datasource found
May 28 09:13:50 cloud-init[2529]: util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
May 28 09:13:50 cloud-init[2529]: util.py[DEBUG]: Read 10 bytes from /proc/uptime
May 28 09:13:50 cloud-init[2529]: util.py[DEBUG]: cloud-init mode 'init' took 0.065 seconds (0.07)
May 28 09:13:50 cloud-init[2535]: util.py[DEBUG]: Cloud-init v. 0.7.6 running 'init' at Thu, 28 May 2020 09:13:50 +0000. Up 7.84 seconds.
May 28 09:13:50 cloud-init[2535]: util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [644] 0 bytes
May 28 09:13:50 cloud-init[2535]: util.py[DEBUG]: Running command ['ifconfig', '-a'] with allowed return codes [0] (shell=False, capture=True)
May 28 09:13:50 cloud-init[2535]: util.py[DEBUG]: Running command ['netstat', '-rn'] with allowed return codes [0] (shell=False, capture=True)
May 28 09:13:50 cloud-init[2535]: cloud-init[DEBUG]: Checking to see if files that we need already exist from a previous run that would allow us to stop early.
May 28 09:13:50 cloud-init[2535]: util.py[DEBUG]: Reading from /var/lib/cloud/data/no-net (quiet=False)
May 28 09:13:50 cloud-init[2535]: util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
May 28 09:13:50 cloud-init[2535]: cloud-init[DEBUG]: Execution continuing, no previous run detected that would allow us to stop early.
May 28 09:13:50 cloud-init[2535]: util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
May 28 09:13:50 cloud-init[2535]: stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.amazon.Distro'>
May 28 09:13:50 cloud-init[2535]: __init__.py[DEBUG]: Looking for for data source in: ['Ec2'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM', 'NETWORK']
May 28 09:13:50 cloud-init[2535]: __init__.py[DEBUG]: Searching for data source in: ['DataSourceEc2']
May 28 09:13:50 cloud-init[2535]: __init__.py[DEBUG]: Seeing if we can get any data from <class 'cloudinit.sources.DataSourceEc2.DataSourceEc2'>
May 28 09:13:50 cloud-init[2535]: util.py[DEBUG]: Reading from /var/lib/cloud/seed/ec2/meta-data (quiet=False)
May 28 09:13:51 cloud-init[2535]: DataSourceEc2.py[DEBUG]: Removed the following from metadata urls: ['http://instance-data.:8773']
May 28 09:13:51 cloud-init[2535]: DataSourceEc2.py[DEBUG]: Fetching Ec2 IMDSv2 API Token
May 28 09:13:51 cloud-init[2535]: 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', 'headers': {'X-aws-ec2-metadata-token-ttl-seconds': '21600'}, 'allow_redirects': True, 'method': 'PUT', 'timeout': 50.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/api/token (200, 56b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: DataSourceEc2.py[DEBUG]: Using metadata source: 'http://169.254.169.254'
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/user-data' with {'url': 'http://169.254.169.254/latest/user-data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/user-data (200, 830b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/' with {'url': 'http://169.254.169.254/latest/meta-data/', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/ (200, 270b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/block-device-mapping/' with {'url': 'http://169.254.169.254/latest/meta-data/block-device-mapping/', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/block-device-mapping/ (200, 8b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/block-device-mapping/ami' with {'url': 'http://169.254.169.254/latest/meta-data/block-device-mapping/ami', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/block-device-mapping/ami (200, 9b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/block-device-mapping/root' with {'url': 'http://169.254.169.254/latest/meta-data/block-device-mapping/root', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/block-device-mapping/root (200, 9b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/events/' with {'url': 'http://169.254.169.254/latest/meta-data/events/', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/events/ (200, 12b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/events/maintenance/' with {'url': 'http://169.254.169.254/latest/meta-data/events/maintenance/', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/events/maintenance/ (200, 17b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/events/maintenance/scheduled' with {'url': 'http://169.254.169.254/latest/meta-data/events/maintenance/scheduled', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/events/maintenance/scheduled (200, 2b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/events/maintenance/history' with {'url': 'http://169.254.169.254/latest/meta-data/events/maintenance/history', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/events/maintenance/history (200, 2b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/iam/' with {'url': 'http://169.254.169.254/latest/meta-data/iam/', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/iam/ (200, 26b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/iam/info' with {'url': 'http://169.254.169.254/latest/meta-data/iam/info', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/iam/info (200, 286b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/identity-credentials/' with {'url': 'http://169.254.169.254/latest/meta-data/identity-credentials/', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/identity-credentials/ (200, 4b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/identity-credentials/ec2/' with {'url': 'http://169.254.169.254/latest/meta-data/identity-credentials/ec2/', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/identity-credentials/ec2/ (200, 26b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/identity-credentials/ec2/info' with {'url': 'http://169.254.169.254/latest/meta-data/identity-credentials/ec2/info', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/identity-credentials/ec2/info (200, 98b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/metrics/' with {'url': 'http://169.254.169.254/latest/meta-data/metrics/', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/metrics/ (200, 7b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/metrics/vhostmd' with {'url': 'http://169.254.169.254/latest/meta-data/metrics/vhostmd', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/metrics/vhostmd (200, 38b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/' with {'url': 'http://169.254.169.254/latest/meta-data/network/', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/ (200, 11b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/ (200, 5b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/macs/ (200, 18b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/ (200, 182b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/local-hostname' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/local-hostname', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/local-hostname (200, 27b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/security-groups' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/security-groups', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/security-groups (200, 102b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/vpc-ipv4-cidr-blocks' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/vpc-ipv4-cidr-blocks', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/vpc-ipv4-cidr-blocks (200, 11b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/subnet-id' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/subnet-id', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/subnet-id (200, 24b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/vpc-ipv4-cidr-block' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/vpc-ipv4-cidr-block', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/vpc-ipv4-cidr-block (200, 11b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/interface-id' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/interface-id', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/interface-id (200, 21b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/mac' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/mac', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/mac (200, 17b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/security-group-ids' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/security-group-ids', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/security-group-ids (200, 20b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/local-ipv4s' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/local-ipv4s', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/local-ipv4s (200, 11b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/owner-id' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/owner-id', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/owner-id (200, 12b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/subnet-ipv4-cidr-block' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/subnet-ipv4-cidr-block', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/subnet-ipv4-cidr-block (200, 11b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/device-number' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/device-number', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/device-number (200, 1b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/vpc-id' with {'url': 'http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/vpc-id', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/network/interfaces/macs/0e:86:dd:be:d9:a1/vpc-id (200, 21b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/placement/' with {'url': 'http://169.254.169.254/latest/meta-data/placement/', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/placement/ (200, 17b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/placement/availability-zone' with {'url': 'http://169.254.169.254/latest/meta-data/placement/availability-zone', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/placement/availability-zone (200, 10b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/public-keys/' with {'url': 'http://169.254.169.254/latest/meta-data/public-keys/', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/public-keys/ (200, 12b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key' with {'url': 'http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key (200, 392b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/services/' with {'url': 'http://169.254.169.254/latest/meta-data/services/', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/services/ (200, 16b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/services/domain' with {'url': 'http://169.254.169.254/latest/meta-data/services/domain', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/services/domain (200, 13b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/services/partition' with {'url': 'http://169.254.169.254/latest/meta-data/services/partition', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/services/partition (200, 3b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/profile' with {'url': 'http://169.254.169.254/latest/meta-data/profile', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/profile (200, 11b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/local-ipv4' with {'url': 'http://169.254.169.254/latest/meta-data/local-ipv4', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/local-ipv4 (200, 11b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/reservation-id' with {'url': 'http://169.254.169.254/latest/meta-data/reservation-id', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/reservation-id (200, 19b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/local-hostname' with {'url': 'http://169.254.169.254/latest/meta-data/local-hostname', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/local-hostname (200, 27b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/security-groups' with {'url': 'http://169.254.169.254/latest/meta-data/security-groups', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/security-groups (200, 102b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/ami-launch-index' with {'url': 'http://169.254.169.254/latest/meta-data/ami-launch-index', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/ami-launch-index (200, 1b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/hostname' with {'url': 'http://169.254.169.254/latest/meta-data/hostname', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/hostname (200, 27b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/ami-id' with {'url': 'http://169.254.169.254/latest/meta-data/ami-id', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/ami-id (200, 21b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/instance-action' with {'url': 'http://169.254.169.254/latest/meta-data/instance-action', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/instance-action (200, 4b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/mac' with {'url': 'http://169.254.169.254/latest/meta-data/mac', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/mac (200, 17b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/ami-manifest-path' with {'url': 'http://169.254.169.254/latest/meta-data/ami-manifest-path', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/ami-manifest-path (200, 9b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/instance-type' with {'url': 'http://169.254.169.254/latest/meta-data/instance-type', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/instance-type (200, 8b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/meta-data/instance-id' with {'url': 'http://169.254.169.254/latest/meta-data/instance-id', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/meta-data/instance-id (200, 19b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/dynamic/instance-identity' with {'url': 'http://169.254.169.254/latest/dynamic/instance-identity', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/dynamic/instance-identity (200, 33b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/dynamic/instance-identity/rsa2048' with {'url': 'http://169.254.169.254/latest/dynamic/instance-identity/rsa2048', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/dynamic/instance-identity/rsa2048 (200, 1434b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/dynamic/instance-identity/document' with {'url': 'http://169.254.169.254/latest/dynamic/instance-identity/document', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/dynamic/instance-identity/document (200, 475b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/dynamic/instance-identity/pkcs7' with {'url': 'http://169.254.169.254/latest/dynamic/instance-identity/pkcs7', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/dynamic/instance-identity/pkcs7 (200, 1114b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/latest/dynamic/instance-identity/signature' with {'url': 'http://169.254.169.254/latest/dynamic/instance-identity/signature', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
May 28 09:13:51 cloud-init[2535]: url_helper.py[DEBUG]: Read from http://169.254.169.254/latest/dynamic/instance-identity/signature (200, 174b) after 1 attempts
May 28 09:13:51 cloud-init[2535]: DataSourceEc2.py[DEBUG]: Crawl of metadata service took 0 seconds
May 28 09:13:51 cloud-init[2535]: stages.py[INFO]: Loaded datasource DataSourceEc2 - DataSourceEc2
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /proc/cmdline (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 82 bytes from /proc/cmdline
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 553 bytes from /etc/cloud/cloud.cfg
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Attempting to load yaml from string of length 553 with allowed root types (<type 'dict'>,)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/10_aws_yumvars.cfg (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 586 bytes from /etc/cloud/cloud.cfg.d/10_aws_yumvars.cfg
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Attempting to load yaml from string of length 586 with allowed root types (<type 'dict'>,)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 1963 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Attempting to load yaml from string of length 1963 with allowed root types (<type 'dict'>,)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/00_defaults.cfg (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 2610 bytes from /etc/cloud/cloud.cfg.d/00_defaults.cfg
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Attempting to load yaml from string of length 2610 with allowed root types (<type 'dict'>,)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Creating symbolic link from '/var/lib/cloud/instance' => '/var/lib/cloud/instances/i-02bceb2988a93da05'
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /var/lib/cloud/instances/i-02bceb2988a93da05/datasource (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/datasource - wb: [644] 29 bytes
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-datasource - wb: [644] 29 bytes
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /var/lib/cloud/data/instance-id (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/data/instance-id - wb: [644] 20 bytes
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-instance-id - wb: [644] 20 bytes
May 28 09:13:51 cloud-init[2535]: cloud-init[DEBUG]: init will now be targeting instance id: i-02bceb2988a93da05
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /proc/cmdline (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 82 bytes from /proc/cmdline
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 553 bytes from /etc/cloud/cloud.cfg
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Attempting to load yaml from string of length 553 with allowed root types (<type 'dict'>,)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/10_aws_yumvars.cfg (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 586 bytes from /etc/cloud/cloud.cfg.d/10_aws_yumvars.cfg
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Attempting to load yaml from string of length 586 with allowed root types (<type 'dict'>,)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 1963 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Attempting to load yaml from string of length 1963 with allowed root types (<type 'dict'>,)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/00_defaults.cfg (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 2610 bytes from /etc/cloud/cloud.cfg.d/00_defaults.cfg
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Attempting to load yaml from string of length 2610 with allowed root types (<type 'dict'>,)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [400] 9780 bytes
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/user-data.txt - wb: [600] 830 bytes
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/user-data.txt.i - wb: [600] 1173 bytes
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/vendor-data.txt - wb: [600] 4 bytes
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/vendor-data.txt.i - wb: [600] 345 bytes
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.amazon.Distro'>
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/consume_data - wb: [644] 20 bytes
May 28 09:13:51 cloud-init[2535]: helpers.py[DEBUG]: Running consume_data using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/consume_data'>)
May 28 09:13:51 cloud-init[2535]: launch_index.py[DEBUG]: Discarding 0 multipart messages which do not match launch index 0
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Added default handler for set(['text/cloud-config-jsonp', 'text/cloud-config']) from CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']]
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Added default handler for set(['text/x-shellscript']) from ShellScriptPartHandler: [['text/x-shellscript']]
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Added default handler for set(['text/cloud-boothook']) from BootHookPartHandler: [['text/cloud-boothook']]
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Added default handler for set(['text/upstart-job']) from UpstartJobPartHandler: [['text/upstart-job']]
May 28 09:13:51 cloud-init[2535]: __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__begin__, None, 2) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__begin__, None, 2) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__begin__, None, 3) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__begin__, None, 2) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: __init__.py[DEBUG]: {'Content-Type': 'text/x-shellscript', 'Content-Disposition': 'attachment; filename="part-001"', 'MIME-Version': '1.0'}
May 28 09:13:51 cloud-init[2535]: __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (text/x-shellscript, part-001, 2) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instance/scripts/part-001 - wb: [700] 830 bytes
May 28 09:13:51 cloud-init[2535]: __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__end__, None, 2) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__end__, None, 2) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__end__, None, 3) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/cloud-config.txt - wb: [600] 0 bytes
May 28 09:13:51 cloud-init[2535]: __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__end__, None, 2) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: no vendordata from datasource
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /proc/cmdline (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 82 bytes from /proc/cmdline
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 553 bytes from /etc/cloud/cloud.cfg
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Attempting to load yaml from string of length 553 with allowed root types (<type 'dict'>,)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/10_aws_yumvars.cfg (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 586 bytes from /etc/cloud/cloud.cfg.d/10_aws_yumvars.cfg
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Attempting to load yaml from string of length 586 with allowed root types (<type 'dict'>,)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 1963 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Attempting to load yaml from string of length 1963 with allowed root types (<type 'dict'>,)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/00_defaults.cfg (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 2610 bytes from /etc/cloud/cloud.cfg.d/00_defaults.cfg
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Attempting to load yaml from string of length 2610 with allowed root types (<type 'dict'>,)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: load_yaml given empty string, returning default
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<type 'dict'>,)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: load_yaml given empty string, returning default
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.amazon.Distro'>
May 28 09:13:51 cloud-init[2535]: stages.py[INFO]: Skipping modules ['resolv-conf'] because they are not verified on distro 'amazon'. To run anyway, add them to 'unverified_modules' in config.
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Running module migrator (<module 'cloudinit.config.cc_migrator' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_migrator.pyc'>) with frequency always
May 28 09:13:51 cloud-init[2535]: helpers.py[DEBUG]: Running config-migrator using lock (<cloudinit.helpers.DummyLock object at 0x7f9979048110>)
May 28 09:13:51 cloud-init[2535]: cc_migrator.py[DEBUG]: Migrating semaphores which are not named canonically.
May 28 09:13:51 cloud-init[2535]: cc_migrator.py[DEBUG]: Looking at consume_data
May 28 09:13:51 cloud-init[2535]: cc_migrator.py[DEBUG]: Searching for legacy per-instance semaphores under /var/lib/cloud/sem
May 28 09:13:51 cloud-init[2535]: cc_migrator.py[DEBUG]: Migrating semaphores which have been renamed or split.
May 28 09:13:51 cloud-init[2535]: cc_migrator.py[DEBUG]: Looking in /var/lib/cloud/instances/i-02bceb2988a93da05/sem
May 28 09:13:51 cloud-init[2535]: cc_migrator.py[DEBUG]: Looking in /var/lib/cloud/sem
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Running module rsyslog (<module 'cloudinit.config.cc_rsyslog' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_rsyslog.pyc'>) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_rsyslog - wb: [644] 20 bytes
May 28 09:13:51 cloud-init[2535]: helpers.py[DEBUG]: Running config-rsyslog using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_rsyslog'>)
May 28 09:13:51 cloud-init[2535]: cc_rsyslog.py[DEBUG]: Skipping module named rsyslog, no 'rsyslog' key in configuration
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Running module bootcmd (<module 'cloudinit.config.cc_bootcmd' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_bootcmd.pyc'>) with frequency always
May 28 09:13:51 cloud-init[2535]: helpers.py[DEBUG]: Running config-bootcmd using lock (<cloudinit.helpers.DummyLock object at 0x7f997998a1d0>)
May 28 09:13:51 cloud-init[2535]: cc_bootcmd.py[DEBUG]: Skipping module named bootcmd, no 'bootcmd' key in configuration
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Running module write-files (<module 'cloudinit.config.cc_write_files' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_write_files.pyc'>) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_write_files - wb: [644] 20 bytes
May 28 09:13:51 cloud-init[2535]: helpers.py[DEBUG]: Running config-write-files using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_write_files'>)
May 28 09:13:51 cloud-init[2535]: cc_write_files.py[DEBUG]: Skipping module named write-files, no/empty 'write_files' key in configuration
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Running module write-metadata (<module 'cloudinit.config.cc_write_metadata' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_write_metadata.pyc'>) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_write_metadata - wb: [644] 20 bytes
May 28 09:13:51 cloud-init[2535]: helpers.py[DEBUG]: Running config-write-metadata using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_write_metadata'>)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /etc/yum/vars/awsregion - wb: [644] 9 bytes
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Changing the ownership of /etc/yum/vars/awsregion to 0:0
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /etc/yum/vars/awsdomain - wb: [644] 13 bytes
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Changing the ownership of /etc/yum/vars/awsdomain to 0:0
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Running module growpart (<module 'cloudinit.config.cc_growpart' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_growpart.pyc'>) with frequency always
May 28 09:13:51 cloud-init[2535]: helpers.py[DEBUG]: Running config-growpart using lock (<cloudinit.helpers.DummyLock object at 0x7f9979822210>)
May 28 09:13:51 cloud-init[2535]: cc_growpart.py[DEBUG]: No 'growpart' entry in cfg. Using default: {'ignore_growroot_disabled': False, 'mode': 'auto', 'devices': ['/']}
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Running command ['growpart', '--help'] with allowed return codes [0] (shell=False, capture=True)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /proc/2535/mountinfo (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 530 bytes from /proc/2535/mountinfo
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /sys/class/block/xvda1/partition (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 2 bytes from /sys/class/block/xvda1/partition
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /sys/devices/vbd-51712/block/xvda/dev (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 6 bytes from /sys/devices/vbd-51712/block/xvda/dev
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Running command ['growpart', '--dry-run', '/dev/xvda', '1'] with allowed return codes [0] (shell=False, capture=True)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: resize_devices took 0.031 seconds
May 28 09:13:51 cloud-init[2535]: cc_growpart.py[DEBUG]: '/' NOCHANGE: no change necessary (/dev/xvda, 1)
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Running module resizefs (<module 'cloudinit.config.cc_resizefs' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_resizefs.pyc'>) with frequency always
May 28 09:13:51 cloud-init[2535]: helpers.py[DEBUG]: Running config-resizefs using lock (<cloudinit.helpers.DummyLock object at 0x7f9979841b90>)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /proc/2535/mountinfo (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 530 bytes from /proc/2535/mountinfo
May 28 09:13:51 cloud-init[2535]: cc_resizefs.py[DEBUG]: resize_info: dev=/dev/xvda1 mnt_point=/ path=/
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Running command ['running-in-container'] with allowed return codes [0] (shell=False, capture=True)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Running command ['lxc-is-container'] with allowed return codes [0] (shell=False, capture=True)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /proc/1/environ (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 53 bytes from /proc/1/environ
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /proc/self/status (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 1303 bytes from /proc/self/status
May 28 09:13:51 cloud-init[2535]: cc_resizefs.py[DEBUG]: Resizing / (ext4) using resize2fs /dev/xvda1
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Forked child 2577 who will run callback log_time
May 28 09:13:51 cloud-init[2535]: cc_resizefs.py[DEBUG]: Resizing (via forking) root filesystem (type=ext4, val=noblock)
May 28 09:13:51 cloud-init[2577]: util.py[DEBUG]: Running command ('resize2fs', '/dev/xvda1') with allowed return codes [0] (shell=False, capture=True)
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Running module set-hostname (<module 'cloudinit.config.cc_set_hostname' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_set_hostname.pyc'>) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_set_hostname - wb: [644] 20 bytes
May 28 09:13:51 cloud-init[2535]: helpers.py[DEBUG]: Running config-set-hostname using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_set_hostname'>)
May 28 09:13:51 cloud-init[2535]: cc_set_hostname.py[DEBUG]: Configuration option 'preserve_hostname' is set, not setting the hostname in module set-hostname
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Running module update-hostname (<module 'cloudinit.config.cc_update_hostname' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_update_hostname.pyc'>) with frequency always
May 28 09:13:51 cloud-init[2535]: helpers.py[DEBUG]: Running config-update-hostname using lock (<cloudinit.helpers.DummyLock object at 0x7f997902cf90>)
May 28 09:13:51 cloud-init[2535]: cc_update_hostname.py[DEBUG]: Configuration option 'preserve_hostname' is set, not updating the hostname in module update-hostname
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Running module update-etc-hosts (<module 'cloudinit.config.cc_update_etc_hosts' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_update_etc_hosts.pyc'>) with frequency always
May 28 09:13:51 cloud-init[2535]: helpers.py[DEBUG]: Running config-update-etc-hosts using lock (<cloudinit.helpers.DummyLock object at 0x7f997902ced0>)
May 28 09:13:51 cloud-init[2535]: cc_update_etc_hosts.py[DEBUG]: Configuration option 'manage_etc_hosts' is not set, not managing /etc/hosts in module update-etc-hosts
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Running module resolv-conf (<module 'cloudinit.config.cc_resolv_conf' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_resolv_conf.pyc'>) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_resolv_conf - wb: [644] 20 bytes
May 28 09:13:51 cloud-init[2535]: helpers.py[DEBUG]: Running config-resolv-conf using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_resolv_conf'>)
May 28 09:13:51 cloud-init[2535]: cc_resolv_conf.py[DEBUG]: Skipping module named resolv-conf, no 'manage_resolv_conf' key in configuration
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Running module users-groups (<module 'cloudinit.config.cc_users_groups' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_users_groups.pyc'>) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_users_groups - wb: [644] 20 bytes
May 28 09:13:51 cloud-init[2535]: helpers.py[DEBUG]: Running config-users-groups using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_users_groups'>)
May 28 09:13:51 cloud-init[2535]: __init__.py[DEBUG]: Adding user ec2-user
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Running hidden command to protect sensitive input/output logstring: ['useradd', 'ec2-user', '--shell', '/bin/bash', '--comment', 'EC2 Default User', '--groups', 'wheel', '-m']
May 28 09:13:51 cloud-init[2577]: util.py[DEBUG]: backgrounded Resizing took 0.020 seconds
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Running command ['usermod', '-L', 'ec2-user'] with allowed return codes [0] (shell=False, capture=True)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /etc/sudoers (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 3729 bytes from /etc/sudoers
May 28 09:13:51 cloud-init[2535]: stages.py[DEBUG]: Running module ssh (<module 'cloudinit.config.cc_ssh' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_ssh.pyc'>) with frequency once-per-instance
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_ssh - wb: [644] 20 bytes
May 28 09:13:51 cloud-init[2535]: helpers.py[DEBUG]: Running config-ssh using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_ssh'>)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Running command ['ssh-keygen', '-t', 'rsa', '-N', '', '-f', '/etc/ssh/ssh_host_rsa_key'] with allowed return codes [0] (shell=False, capture=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Running command ['ssh-keygen', '-t', 'dsa', '-N', '', '-f', '/etc/ssh/ssh_host_dsa_key'] with allowed return codes [0] (shell=False, capture=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Running command ['ssh-keygen', '-t', 'ecdsa', '-N', '', '-f', '/etc/ssh/ssh_host_ecdsa_key'] with allowed return codes [0] (shell=False, capture=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Changing the ownership of /home/ec2-user/.ssh to 500:500
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 3936 bytes from /etc/ssh/sshd_config
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /home/ec2-user/.ssh/authorized_keys - wb: [600] 392 bytes
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Changing the ownership of /home/ec2-user/.ssh/authorized_keys to 500:500
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Changing the ownership of /root/.ssh to 0:0
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 3936 bytes from /etc/ssh/sshd_config
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Writing to /root/.ssh/authorized_keys - wb: [600] 549 bytes
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Changing the ownership of /root/.ssh/authorized_keys to 0:0
May 28 09:13:51 cloud-init[2535]: cloud-init[DEBUG]: Ran 13 modules with 0 failures
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: Read 11 bytes from /proc/uptime
May 28 09:13:51 cloud-init[2535]: util.py[DEBUG]: cloud-init mode 'init' took 0.963 seconds (0.96)
May 28 09:13:52 cloud-init[2601]: util.py[DEBUG]: Cloud-init v. 0.7.6 running 'modules:config' at Thu, 28 May 2020 09:13:52 +0000. Up 8.98 seconds.
May 28 09:13:52 cloud-init[2601]: stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.amazon.Distro'>
May 28 09:13:52 cloud-init[2601]: stages.py[DEBUG]: Running module mounts (<module 'cloudinit.config.cc_mounts' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_mounts.pyc'>) with frequency once-per-instance
May 28 09:13:52 cloud-init[2601]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_mounts - wb: [644] 20 bytes
May 28 09:13:52 cloud-init[2601]: helpers.py[DEBUG]: Running config-mounts using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_mounts'>)
May 28 09:13:52 cloud-init[2601]: cc_mounts.py[DEBUG]: Attempting to determine the real name of ephemeral0
May 28 09:13:52 cloud-init[2601]: DataSourceEc2.py[DEBUG]: Unable to convert ephemeral0 to a device
May 28 09:13:52 cloud-init[2601]: cc_mounts.py[DEBUG]: Ignoring nonexistent named mount ephemeral0
May 28 09:13:52 cloud-init[2601]: cc_mounts.py[DEBUG]: changed ephemeral0 => None
May 28 09:13:52 cloud-init[2601]: cc_mounts.py[DEBUG]: Attempting to determine the real name of swap
May 28 09:13:52 cloud-init[2601]: DataSourceEc2.py[DEBUG]: Unable to convert swap to a device
May 28 09:13:52 cloud-init[2601]: cc_mounts.py[DEBUG]: Ignoring nonexistent named mount swap
May 28 09:13:52 cloud-init[2601]: cc_mounts.py[DEBUG]: changed swap => None
May 28 09:13:52 cloud-init[2601]: cc_mounts.py[DEBUG]: Attempting to determine the real name of ephemeral0
May 28 09:13:52 cloud-init[2601]: DataSourceEc2.py[DEBUG]: Unable to convert ephemeral0 to a device
May 28 09:13:52 cloud-init[2601]: cc_mounts.py[DEBUG]: Ignoring nonexistant default named mount ephemeral0
May 28 09:13:52 cloud-init[2601]: cc_mounts.py[DEBUG]: Attempting to determine the real name of swap
May 28 09:13:52 cloud-init[2601]: DataSourceEc2.py[DEBUG]: Unable to convert swap to a device
May 28 09:13:52 cloud-init[2601]: cc_mounts.py[DEBUG]: Ignoring nonexistant default named mount swap
May 28 09:13:52 cloud-init[2601]: cc_mounts.py[DEBUG]: Skipping non-existent device named None
May 28 09:13:52 cloud-init[2601]: cc_mounts.py[DEBUG]: Skipping non-existent device named None
May 28 09:13:52 cloud-init[2601]: cc_mounts.py[DEBUG]: no need to setup swap
May 28 09:13:52 cloud-init[2601]: cc_mounts.py[DEBUG]: No modifications to fstab needed.
May 28 09:13:52 cloud-init[2601]: stages.py[DEBUG]: Running module locale (<module 'cloudinit.config.cc_locale' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_locale.pyc'>) with frequency once-per-instance
May 28 09:13:52 cloud-init[2601]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_locale - wb: [644] 20 bytes
May 28 09:13:52 cloud-init[2601]: helpers.py[DEBUG]: Running config-locale using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_locale'>)
May 28 09:13:52 cloud-init[2601]: cc_locale.py[DEBUG]: Setting locale to en_US.UTF-8
May 28 09:13:52 cloud-init[2601]: util.py[DEBUG]: Reading from /etc/sysconfig/i18n (quiet=False)
May 28 09:13:52 cloud-init[2601]: util.py[DEBUG]: Read 19 bytes from /etc/sysconfig/i18n
May 28 09:13:52 cloud-init[2601]: util.py[DEBUG]: Writing to /etc/sysconfig/i18n - wb: [644] 17 bytes
May 28 09:13:52 cloud-init[2601]: stages.py[DEBUG]: Running module set-passwords (<module 'cloudinit.config.cc_set_passwords' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_set_passwords.pyc'>) with frequency once-per-instance
May 28 09:13:52 cloud-init[2601]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_set_passwords - wb: [644] 20 bytes
May 28 09:13:52 cloud-init[2601]: helpers.py[DEBUG]: Running config-set-passwords using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_set_passwords'>)
May 28 09:13:52 cloud-init[2601]: util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
May 28 09:13:52 cloud-init[2601]: util.py[DEBUG]: Read 3936 bytes from /etc/ssh/sshd_config
May 28 09:13:52 cloud-init[2601]: cc_set_passwords.py[DEBUG]: Replacing auth line 65 with no
May 28 09:13:52 cloud-init[2601]: util.py[DEBUG]: Writing to /etc/ssh/sshd_config - wb: [644] 3935 bytes
May 28 09:13:52 cloud-init[2601]: util.py[DEBUG]: Running command ['service', 'sshd', 'status'] with allowed return codes [0] (shell=False, capture=True)
May 28 09:13:52 cloud-init[2601]: stages.py[DEBUG]: Running module yum-configure (<module 'cloudinit.config.cc_yum_configure' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_yum_configure.pyc'>) with frequency once-per-instance
May 28 09:13:52 cloud-init[2601]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_yum_configure - wb: [644] 20 bytes
May 28 09:13:52 cloud-init[2601]: helpers.py[DEBUG]: Running config-yum-configure using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_yum_configure'>)
May 28 09:13:52 cloud-init[2601]: cc_yum_configure.py[DEBUG]: Generating default repo files
May 28 09:13:52 cloud-init[2601]: __init__.py[DEBUG]: filtered distro mirror info: {'regional': u'repo.us-east-1.amazonaws.com'}
May 28 09:13:52 cloud-init[2601]: cc_yum_configure.py[DEBUG]: Using mirror: repo.us-east-1.amazonaws.com
May 28 09:13:52 cloud-init[2601]: cc_yum_configure.py[INFO]: No releasever provided, leaving yum.conf unchanged.
May 28 09:13:52 cloud-init[2601]: stages.py[DEBUG]: Running module yum-add-repo (<module 'cloudinit.config.cc_yum_add_repo' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_yum_add_repo.pyc'>) with frequency once-per-instance
May 28 09:13:52 cloud-init[2601]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_yum_add_repo - wb: [644] 19 bytes
May 28 09:13:52 cloud-init[2601]: helpers.py[DEBUG]: Running config-yum-add-repo using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_yum_add_repo'>)
May 28 09:13:52 cloud-init[2601]: cc_yum_add_repo.py[DEBUG]: Skipping module named yum-add-repo, no 'yum_repos' configuration found
May 28 09:13:52 cloud-init[2601]: stages.py[DEBUG]: Running module package-update-upgrade-install (<module 'cloudinit.config.cc_package_update_upgrade_install' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_package_update_upgrade_install.pyc'>) with frequency once-per-instance
May 28 09:13:52 cloud-init[2601]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_package_update_upgrade_install - wb: [644] 19 bytes
May 28 09:13:52 cloud-init[2601]: helpers.py[DEBUG]: Running config-package-update-upgrade-install using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_package_update_upgrade_install'>)
May 28 09:13:52 cloud-init[2601]: amazon.py[DEBUG]: Upgrade level: security
May 28 09:13:52 cloud-init[2601]: util.py[DEBUG]: Running command ['yum', '-t', '-y', '--exclude=kernel', '--exclude=nvidia*', '--exclude=cudatoolkit', '--security', '--sec-severity=critical', '--sec-severity=important', 'upgrade'] with allowed return codes [0] (shell=False, capture=False)
May 28 09:13:56 cloud-init[2601]: stages.py[DEBUG]: Running module timezone (<module 'cloudinit.config.cc_timezone' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_timezone.pyc'>) with frequency once-per-instance
May 28 09:13:56 cloud-init[2601]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_timezone - wb: [644] 20 bytes
May 28 09:13:56 cloud-init[2601]: helpers.py[DEBUG]: Running config-timezone using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_timezone'>)
May 28 09:13:56 cloud-init[2601]: cc_timezone.py[DEBUG]: Skipping module named timezone, no 'timezone' specified
May 28 09:13:56 cloud-init[2601]: stages.py[DEBUG]: Running module puppet (<module 'cloudinit.config.cc_puppet' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_puppet.pyc'>) with frequency once-per-instance
May 28 09:13:56 cloud-init[2601]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_puppet - wb: [644] 20 bytes
May 28 09:13:56 cloud-init[2601]: helpers.py[DEBUG]: Running config-puppet using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_puppet'>)
May 28 09:13:56 cloud-init[2601]: cc_puppet.py[DEBUG]: Skipping module named puppet, no 'puppet' configuration found
May 28 09:13:56 cloud-init[2601]: stages.py[DEBUG]: Running module disable-ec2-metadata (<module 'cloudinit.config.cc_disable_ec2_metadata' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_disable_ec2_metadata.pyc'>) with frequency always
May 28 09:13:56 cloud-init[2601]: helpers.py[DEBUG]: Running config-disable-ec2-metadata using lock (<cloudinit.helpers.DummyLock object at 0x7fad3e46c9d0>)
May 28 09:13:56 cloud-init[2601]: cc_disable_ec2_metadata.py[DEBUG]: Skipping module named disable-ec2-metadata, disabling the ec2 route not enabled
May 28 09:13:56 cloud-init[2601]: stages.py[DEBUG]: Running module runcmd (<module 'cloudinit.config.cc_runcmd' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_runcmd.pyc'>) with frequency once-per-instance
May 28 09:13:56 cloud-init[2601]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_runcmd - wb: [644] 20 bytes
May 28 09:13:56 cloud-init[2601]: helpers.py[DEBUG]: Running config-runcmd using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_runcmd'>)
May 28 09:13:56 cloud-init[2601]: cc_runcmd.py[DEBUG]: Skipping module named runcmd, no 'runcmd' key in configuration
May 28 09:13:56 cloud-init[2601]: cloud-init[DEBUG]: Ran 10 modules with 0 failures
May 28 09:13:56 cloud-init[2601]: util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
May 28 09:13:56 cloud-init[2601]: util.py[DEBUG]: Read 12 bytes from /proc/uptime
May 28 09:13:56 cloud-init[2601]: util.py[DEBUG]: cloud-init mode 'modules' took 4.053 seconds (4.05)
May 28 09:13:57 cloud-init[2758]: util.py[DEBUG]: Cloud-init v. 0.7.6 running 'modules:final' at Thu, 28 May 2020 09:13:57 +0000. Up 14.75 seconds.
May 28 09:13:57 cloud-init[2758]: stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.amazon.Distro'>
May 28 09:13:57 cloud-init[2758]: stages.py[DEBUG]: Running module scripts-per-once (<module 'cloudinit.config.cc_scripts_per_once' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_per_once.pyc'>) with frequency once
May 28 09:13:57 cloud-init[2758]: util.py[DEBUG]: Writing to /var/lib/cloud/sem/config_scripts_per_once.once - wb: [644] 20 bytes
May 28 09:13:57 cloud-init[2758]: helpers.py[DEBUG]: Running config-scripts-per-once using lock (<FileLock using file '/var/lib/cloud/sem/config_scripts_per_once.once'>)
May 28 09:13:57 cloud-init[2758]: stages.py[DEBUG]: Running module scripts-per-boot (<module 'cloudinit.config.cc_scripts_per_boot' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_per_boot.pyc'>) with frequency always
May 28 09:13:57 cloud-init[2758]: helpers.py[DEBUG]: Running config-scripts-per-boot using lock (<cloudinit.helpers.DummyLock object at 0x7fdbf912ca10>)
May 28 09:13:57 cloud-init[2758]: stages.py[DEBUG]: Running module scripts-per-instance (<module 'cloudinit.config.cc_scripts_per_instance' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_per_instance.pyc'>) with frequency once-per-instance
May 28 09:13:57 cloud-init[2758]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_scripts_per_instance - wb: [644] 20 bytes
May 28 09:13:57 cloud-init[2758]: helpers.py[DEBUG]: Running config-scripts-per-instance using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_scripts_per_instance'>)
May 28 09:13:57 cloud-init[2758]: stages.py[DEBUG]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) with frequency once-per-instance
May 28 09:13:57 cloud-init[2758]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_scripts_user - wb: [644] 20 bytes
May 28 09:13:57 cloud-init[2758]: helpers.py[DEBUG]: Running config-scripts-user using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_scripts_user'>)
May 28 09:13:57 cloud-init[2758]: util.py[DEBUG]: Running command ['/var/lib/cloud/instance/scripts/part-001'] with allowed return codes [0] (shell=True, capture=False)
May 28 09:14:08 cloud-init[2758]: stages.py[DEBUG]: Running module ssh-authkey-fingerprints (<module 'cloudinit.config.cc_ssh_authkey_fingerprints' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_ssh_authkey_fingerprints.pyc'>) with frequency once-per-instance
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_ssh_authkey_fingerprints - wb: [644] 20 bytes
May 28 09:14:08 cloud-init[2758]: helpers.py[DEBUG]: Running config-ssh-authkey-fingerprints using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_ssh_authkey_fingerprints'>)
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Read 3935 bytes from /etc/ssh/sshd_config
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Reading from /home/ec2-user/.ssh/authorized_keys (quiet=False)
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Read 392 bytes from /home/ec2-user/.ssh/authorized_keys
May 28 09:14:08 cloud-init[2758]: stages.py[DEBUG]: Running module keys-to-console (<module 'cloudinit.config.cc_keys_to_console' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_keys_to_console.pyc'>) with frequency once-per-instance
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_keys_to_console - wb: [644] 20 bytes
May 28 09:14:08 cloud-init[2758]: helpers.py[DEBUG]: Running config-keys-to-console using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_keys_to_console'>)
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Running command ['/usr/libexec/cloud-init/write-ssh-key-fingerprints', '', 'ssh-dss'] with allowed return codes [0] (shell=False, capture=True)
May 28 09:14:08 cloud-init[2758]: stages.py[DEBUG]: Running module phone-home (<module 'cloudinit.config.cc_phone_home' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_phone_home.pyc'>) with frequency once-per-instance
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_phone_home - wb: [644] 20 bytes
May 28 09:14:08 cloud-init[2758]: helpers.py[DEBUG]: Running config-phone-home using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_phone_home'>)
May 28 09:14:08 cloud-init[2758]: cc_phone_home.py[DEBUG]: Skipping module named phone-home, no 'phone_home' configuration found
May 28 09:14:08 cloud-init[2758]: stages.py[DEBUG]: Running module final-message (<module 'cloudinit.config.cc_final_message' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_final_message.pyc'>) with frequency always
May 28 09:14:08 cloud-init[2758]: helpers.py[DEBUG]: Running config-final-message using lock (<cloudinit.helpers.DummyLock object at 0x7fdbf8dc9c90>)
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Read 12 bytes from /proc/uptime
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Cloud-init v. 0.7.6 finished at Thu, 28 May 2020 09:14:08 +0000. Datasource DataSourceEc2. Up 25.19 seconds
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Writing to /var/lib/cloud/instance/boot-finished - wb: [644] 51 bytes
May 28 09:14:08 cloud-init[2758]: stages.py[DEBUG]: Running module power-state-change (<module 'cloudinit.config.cc_power_state_change' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_power_state_change.pyc'>) with frequency once-per-instance
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Writing to /var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_power_state_change - wb: [644] 20 bytes
May 28 09:14:08 cloud-init[2758]: helpers.py[DEBUG]: Running config-power-state-change using lock (<FileLock using file '/var/lib/cloud/instances/i-02bceb2988a93da05/sem/config_power_state_change'>)
May 28 09:14:08 cloud-init[2758]: cc_power_state_change.py[DEBUG]: no power_state provided. doing nothing
May 28 09:14:08 cloud-init[2758]: cloud-init[DEBUG]: Ran 9 modules with 0 failures
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Creating symbolic link from '/run/cloud-init/result.json' => '../../var/lib/cloud/data/result.json'
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: Read 12 bytes from /proc/uptime
May 28 09:14:08 cloud-init[2758]: util.py[DEBUG]: cloud-init mode 'modules' took 10.448 seconds (10.45)
2020-05-28 09:13:50 INFO Agent is in hibernate mode. Reducing logging. Logging will be reduced to one log per backoff period
2020-05-28 09:18:50 INFO Backing off health check to every 600 seconds for 1800 seconds.
2020-05-28 09:18:50 ERROR Health ping failed with error - AccessDeniedException: User: arn:aws:sts::039107141243:assumed-role/Magento-MagentoStack-17ZT3HFOAK-NewIamInstanceRole-YL7MTWX2MXOB/i-02bceb2988a93da05 is not authorized to perform: ssm:UpdateInstanceInformation on resource: arn:aws:ec2:us-east-1:039107141243:instance/i-02bceb2988a93da05
status code: 400, request id: c5943de6-d37c-495a-87d4-65433fc30d80
#!/bin/bash
# /var/lib/cloud/instance/scripts/part-001
/opt/aws/bin/cfn-init -v --stack Magento-MagentoStack-17ZT3HFOAKJI-WebServerASGStack-6L6H3OS9CPWT --resource MagentoAMI --region us-east-1
chmod a+x install_magento.sh
./install_magento.sh /tmp/params.txt
/opt/aws/bin/cfn-signal -e $? -d "`cat /home/ec2-user/adminuri`" -r "Build Process Complete" 'https://cloudformation-waitcondition-us-east-1.s3.amazonaws.com/arn%3Aaws%3Acloudformation%3Aus-east-1%3A039107141243%3Astack/Magento-MagentoStack-17ZT3HFOAKJI-WebServerASGStack-6L6H3OS9CPWT/055ba360-a0c3-11ea-bb02-121b03ae900d/MagentoAMIWaitHandle?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20200528T091016Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86399&X-Amz-Credential=AKIAIIT3CWAIMJYUTISA%2F20200528%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=ac571d34ea91d644769e1945b1b6118067096fb564c8ccafa92a6b52d7021152'
{
"v1": {
"errors": [],
"datasource": "DataSourceEc2"
}
}
{
"v1": {
"init": {
"start": 1590657230.900112,
"finished": 1590657231.862378,
"errors": []
},
"datasource": "DataSourceEc2",
"modules-config": {
"start": 1590657232.040844,
"finished": 1590657236.09235,
"errors": []
},
"modules-final": {
"start": 1590657237.810745,
"finished": 1590657248.25756,
"errors": []
},
"init-local": {
"start": 1590657230.697383,
"finished": 1590657230.760874,
"errors": []
},
"stage": null
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment