Advertisement
srghma

Untitled

Jun 16th, 2018
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 95.01 KB | None | 0 0
  1. [nix-shell:~/projects/nixops]$ python2 tests.py tests.functional.test_vpc:test_deploy_vpc_machine -vv
  2. nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
  3. nose.config: INFO: Excluding tests matching ['^coverage-tests\\.py$']
  4. nose.selector: INFO: /home/srghma/projects/nixops/dev-shell is executable; skipped
  5. nose.selector: INFO: /home/srghma/projects/nixops/clean_test_state_files.py is executable; skipped
  6. nose.selector: INFO: /home/srghma/projects/nixops/coverage-tests.py is executable; skipped
  7. nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
  8. nose.config: INFO: Excluding tests matching ['^coverage-tests\\.py$']
  9. tests.functional.test_vpc.test_deploy_vpc_machine('nixops',) ... igw-test........> will set attribute vpcId to computed
  10. igw-test........> will set attribute tags to {}
  11. igw-test........> will set attribute region to us-east-1
  12. public-ssh......> warning: resource type ec2-security-group doesn't implement a plan operation
  13. association-test> will set attribute region to us-east-1
  14. association-test> will set attribute routeTableId to computed
  15. association-test> will set attribute subnetId to computed
  16. vpc-test........> will set attribute enableDnsSupport to False
  17. vpc-test........> will set attribute instanceTenancy to default
  18. vpc-test........> will set attribute tags to {'Source': 'NixOps Tests'}
  19. vpc-test........> will set attribute region to us-east-1
  20. vpc-test........> will set attribute enableDnsHostnames to False
  21. vpc-test........> will set attribute amazonProvidedIpv6CidrBlock to False
  22. vpc-test........> will set attribute enableClassicLink to False
  23. vpc-test........> will set attribute cidrBlock to 10.0.0.0/16
  24. machine.........> warning: resource type ec2 doesn't implement a plan operation
  25. igw-route.......> will set attribute destinationCidrBlock to 0.0.0.0/0
  26. igw-route.......> will set attribute region to us-east-1
  27. igw-route.......> will set attribute routeTableId to computed
  28. igw-route.......> will set attribute gatewayId to computed
  29. keypair.........> warning: resource type ec2-keypair doesn't implement a plan operation
  30. route-table.....> will set attribute vpcId to computed
  31. route-table.....> will set attribute propagatingVgws to []
  32. route-table.....> will set attribute tags to {}
  33. route-table.....> will set attribute region to us-east-1
  34. subnet-test.....> will set attribute mapPublicIpOnLaunch to True
  35. subnet-test.....> will set attribute zone to us-east-1a
  36. subnet-test.....> will set attribute tags to {'Source': 'NixOps Tests'}
  37. subnet-test.....> will set attribute region to us-east-1
  38. subnet-test.....> will set attribute vpcId to computed
  39. subnet-test.....> will set attribute cidrBlock to 10.0.0.0/19
  40. vpc-test........> creating vpc under region us-east-1
  41. keypair.........> uploading EC2 key pair ‘charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair’...
  42. vpc-test........> done
  43. public-ssh......> creating EC2 security group ‘charon-d107a500-7194-11e8-bc9a-0242f1563f79-public-ssh’...
  44. subnet-test.....> creating subnet in vpc vpc-a27e64d9
  45. igw-test........> creating internet gateway in region us-east-1
  46. public-ssh......> adding new rules to EC2 security group ‘charon-d107a500-7194-11e8-bc9a-0242f1563f79-public-ssh’...
  47. igw-test........> attaching internet gateway igw-ed673f95 to vpc vpc-a27e64d9
  48. subnet-test.....> done
  49. route-table.....> creating route table in vpc vpc-a27e64d9
  50. ('propagatingVgws new_vgws', [])
  51. public-ssh......> deleting EC2 security group `charon-d107a500-7194-11e8-bc9a-0242f1563f79-public-ssh' ID `sg-0da07b46'...
  52. route-table.....> deleting route table rtb-7550810a
  53. igw-test........> detaching internet gateway igw-ed673f95 from vpc vpc-a27e64d9
  54. warning: are you sure you want to destroy keypair ‘charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair’? (y/N) y
  55. keypair.........> deleting EC2 key pair ‘charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair’...
  56. igw-test........> deleting internet gateway igw-ed673f95
  57. subnet-test.....> deleting subnet subnet-f21172b8
  58. vpc-test........> destroying vpc vpc-a27e64d9...
  59. deployment ‘d107a500-7194-11e8-bc9a-0242f1563f79’ destroyed
  60. ERROR
  61.  
  62. ======================================================================
  63. ERROR: tests.functional.test_vpc.test_deploy_vpc_machine('nixops',)
  64. ----------------------------------------------------------------------
  65. Traceback (most recent call last):
  66. File "/nix/store/qyqsfqjpksrvaa387yk4y5bgxnslfyx8-python2.7-nose-1.3.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
  67. self.test(*self.arg)
  68. File "/nix/store/kwq9a1bjhc3w1672khipz85qrwpxj5lv-python2.7-parameterized-0.6.1/lib/python2.7/site-packages/parameterized/parameterized.py", line 280, in <lambda>
  69. nose_func = wraps(func)(lambda *args: func(*args))
  70. File "/home/srghma/projects/nixops/tests/functional/test_vpc/__init__.py", line 51, in test_deploy_vpc_machine
  71. deployment.deploy()
  72. File "/home/srghma/projects/nixops/nixops/deployment.py", line 989, in deploy
  73. self.run_with_notify('deploy', lambda: self._deploy(**kwargs))
  74. File "/home/srghma/projects/nixops/nixops/deployment.py", line 978, in run_with_notify
  75. f()
  76. File "/home/srghma/projects/nixops/nixops/deployment.py", line 989, in <lambda>
  77. self.run_with_notify('deploy', lambda: self._deploy(**kwargs))
  78. File "/home/srghma/projects/nixops/nixops/deployment.py", line 922, in _deploy
  79. nixops.parallel.run_tasks(nr_workers=-1, tasks=self.active_resources.itervalues(), worker_fun=worker)
  80. File "/home/srghma/projects/nixops/nixops/parallel.py", line 44, in thread_fun
  81. result_queue.put((worker_fun(t), None, t.name))
  82. File "/home/srghma/projects/nixops/nixops/deployment.py", line 895, in worker
  83. r.create(self.definitions[r.name], check=check, allow_reboot=allow_reboot, allow_recreate=allow_recreate)
  84. File "/home/srghma/projects/nixops/nixops/resources/__init__.py", line 198, in create
  85. handler.handle(allow_recreate)
  86. File "/home/srghma/projects/nixops/nixops/resources/vpc_route_table.py", line 127, in realize_propagate_vpn_gtws
  87. self._state['propagatingVgws'] = new_vgws
  88. File "/home/srghma/projects/nixops/nixops/state/state_helper.py", line 24, in __setitem__
  89. self._state.set_resource_attrs(self.uuid, self.id, {key:value})
  90. File "/home/srghma/projects/nixops/nixops/state/sqlite_connector.py", line 379, in set_resource_attrs
  91. (resource_id, name, value))
  92. InterfaceError: Error binding parameter 2 - probably unsupported type.
  93. -------------------- >> begin captured logging << --------------------
  94. botocore.session: DEBUG: Loading variable profile from defaults.
  95. botocore.session: DEBUG: Loading variable config_file from defaults.
  96. botocore.session: DEBUG: Loading variable credentials_file from defaults.
  97. botocore.session: DEBUG: Loading variable data_path from defaults.
  98. botocore.session: DEBUG: Loading variable profile from defaults.
  99. botocore.session: DEBUG: Loading variable ca_bundle from defaults.
  100. botocore.session: DEBUG: Loading variable profile from defaults.
  101. botocore.session: DEBUG: Loading variable api_versions from defaults.
  102. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
  103. botocore.session: DEBUG: Loading variable profile from defaults.
  104. botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
  105. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/ec2/2016-11-15/service-2.json
  106. botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
  107. botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
  108. botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
  109. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
  110. botocore.client: DEBUG: Registering retry handlers for service: ec2
  111. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateVpc: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  112. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateVpc: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  113. botocore.endpoint: DEBUG: Making request for OperationModel(name=CreateVpc) (verify_ssl=True) with params: {'body': {'Action': u'CreateVpc', 'CidrBlock': '10.0.0.0/16', 'Version': u'2016-11-15', u'InstanceTenancy': 'default'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f2791bd0>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  114. botocore.hooks: DEBUG: Event request-created.ec2.CreateVpc: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f2791ad0>>
  115. botocore.hooks: DEBUG: Event choose-signer.ec2.CreateVpc: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  116. botocore.auth: DEBUG: Calculating signature using v4 auth.
  117. botocore.auth: DEBUG: CanonicalRequest:
  118. POST
  119. /
  120.  
  121. content-type:application/x-www-form-urlencoded; charset=utf-8
  122. host:ec2.us-east-1.amazonaws.com
  123. x-amz-date:20180616T184102Z
  124.  
  125. content-type;host;x-amz-date
  126. df66aba3f6a55adae91a6ec9d45352f82db22c11ae297847da37b9c08eff814a
  127. botocore.auth: DEBUG: StringToSign:
  128. AWS4-HMAC-SHA256
  129. 20180616T184102Z
  130. 20180616/us-east-1/ec2/aws4_request
  131. 5c577ad613f8039c19e8bff43cbb703874f945d628bd46cf1efc6c89f6826f2f
  132. botocore.auth: DEBUG: Signature:
  133. 9ef0bc82b834e08443946b12f73cd23d06c6a3d1d47650553869eaf8eea4e708
  134. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  135. boto: DEBUG: Using access key provided by client.
  136. boto: DEBUG: Using secret key provided by client.
  137. boto: DEBUG: Method: POST
  138. boto: DEBUG: Path: /
  139. boto: DEBUG: Data:
  140. boto: DEBUG: Headers: {}
  141. boto: DEBUG: Host: ec2.us-east-1.amazonaws.com
  142. boto: DEBUG: Port: 443
  143. boto: DEBUG: Params: {'Action': 'DescribeKeyPairs', 'Version': '2014-10-01', 'KeyName.1': 'charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair'}
  144. boto: DEBUG: establishing HTTPS connection: host=ec2.us-east-1.amazonaws.com, kwargs={'port': 443, 'timeout': 70}
  145. boto: DEBUG: Token: None
  146. boto: DEBUG: CanonicalRequest:
  147. POST
  148. /
  149.  
  150. host:ec2.us-east-1.amazonaws.com
  151. x-amz-date:20180616T184102Z
  152.  
  153. host;x-amz-date
  154. 5dd6e3621c7c6aca3126e88bf2599ca148a5d11396f93e00eec0e5217388225e
  155. botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
  156. boto: DEBUG: StringToSign:
  157. AWS4-HMAC-SHA256
  158. 20180616T184102Z
  159. 20180616/us-east-1/ec2/aws4_request
  160. c3247003b6be7d58be7ccc0c1a64df61259148062c58f3143f384a52dbc54476
  161. boto: DEBUG: Signature:
  162. f4a03a7b09e4579ebe41436a0a05f6c3feebabcd7db696e2903a6261a6ff34d3
  163. boto: DEBUG: Final headers: {'Content-Length': '104', 'User-Agent': 'Boto/2.47.0 Python/2.7.15 Linux/4.14.48', 'Host': 'ec2.us-east-1.amazonaws.com', 'X-Amz-Date': '20180616T184102Z', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Authorization': u'AWS4-HMAC-SHA256 Credential=AKIAJVB4VLGNAL4BKTYQ/20180616/us-east-1/ec2/aws4_request,SignedHeaders=host;x-amz-date,Signature=f4a03a7b09e4579ebe41436a0a05f6c3feebabcd7db696e2903a6261a6ff34d3'}
  164. boto: DEBUG: wrapping ssl socket; CA certificate file=/nix/store/2hq8fnyf3b17id6ycx22f0irjsgjsm1h-python2.7-boto-2.47.0/lib/python2.7/site-packages/boto/cacerts/cacerts.txt
  165. boto: DEBUG: validating server certificate: hostname=ec2.us-east-1.amazonaws.com, certificate hosts=['ec2.us-east-1.amazonaws.com', 'ec2.amazonaws.com', 'us-east-1.ec2.amazonaws.com', '*.ec2.us-east-1.vpce.amazonaws.com']
  166. boto: DEBUG: Response headers: [('transfer-encoding', 'chunked'), ('date', 'Sat, 16 Jun 2018 18:41:02 GMT'), ('connection', 'close'), ('server', 'AmazonEC2')]
  167. boto: DEBUG: <?xml version="1.0" encoding="UTF-8"?>
  168. <Response><Errors><Error><Code>InvalidKeyPair.NotFound</Code><Message>The key pair 'charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair' does not exist</Message></Error></Errors><RequestID>e8f3c7be-5e0a-49c5-a2f5-3638f1b66e95</RequestID></Response>
  169. boto: ERROR: 400 Bad Request
  170. boto: ERROR: <?xml version="1.0" encoding="UTF-8"?>
  171. <Response><Errors><Error><Code>InvalidKeyPair.NotFound</Code><Message>The key pair 'charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair' does not exist</Message></Error></Errors><RequestID>e8f3c7be-5e0a-49c5-a2f5-3638f1b66e95</RequestID></Response>
  172. boto: DEBUG: Method: POST
  173. boto: DEBUG: Path: /
  174. boto: DEBUG: Data:
  175. boto: DEBUG: Headers: {}
  176. boto: DEBUG: Host: ec2.us-east-1.amazonaws.com
  177. boto: DEBUG: Port: 443
  178. boto: DEBUG: Params: {'Action': 'ImportKeyPair', 'PublicKeyMaterial': 'c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDeGRPaC9pZHJwZnBDdnc1dzdEeEpXc2grQVhLU2piZFRLSEFyY0VNQU1iRXg0b1NhT0J6WldmSHdEenVjMnBFZlhqY01Mb2xyWW9KWGlmR3hsS0lranZFQzB6WnQ4ZkRFejFCZjRjcWtWVkxmVEpLMHF0cFltVEw0MzlJR3JjRW0zMUFxZ2psYnZZLzkyang3U08zS25VWVBJYlRHSlRadm02Ymt2OTFaa3B6OVdGaVMzR2tiV1gwWDNsSmhMd3lFblgwV1poMWlzOUxocHNIQlhrUVFkZ0hSbEpTOVBvazFKVzNIY1dwOGorendSVlM2ODRZeHhhUFVueTNkZWNzM284bW5HWFBLdVVxU2EwOGNkK3ZPQXdXNVQrMlRsNkw3WEVMM1BCVmUxb0MwQzlRTUN0UlJ6d0pvaEN5SWY3MXhTYzZwNzRIaW5WVSt3NWEzVGVZcVYgTml4T3BzIGF1dG8tZ2VuZXJhdGVkIGtleQ==', 'KeyName': 'charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair', 'Version': '2014-10-01'}
  179. boto: DEBUG: establishing HTTPS connection: host=ec2.us-east-1.amazonaws.com, kwargs={'port': 443, 'timeout': 70}
  180. boto: DEBUG: Token: None
  181. boto: DEBUG: CanonicalRequest:
  182. POST
  183. /
  184.  
  185. host:ec2.us-east-1.amazonaws.com
  186. x-amz-date:20180616T184103Z
  187.  
  188. host;x-amz-date
  189. c669eff1cb6fa1ae4ae2d7ff5eac120ca705f2bc9a93333dbd15ff9280b64626
  190. boto: DEBUG: StringToSign:
  191. AWS4-HMAC-SHA256
  192. 20180616T184103Z
  193. 20180616/us-east-1/ec2/aws4_request
  194. 1596a8e87788d1104a89a90257f2d306ae43953ae42ca97dba8cd529622f59b9
  195. boto: DEBUG: Signature:
  196. 06a023b5eaaa31d0a316ef2bf112d718eb5618674b5f3e334faf8b263eaa687f
  197. boto: DEBUG: Final headers: {'Content-Length': '666', 'User-Agent': 'Boto/2.47.0 Python/2.7.15 Linux/4.14.48', 'Host': 'ec2.us-east-1.amazonaws.com', 'X-Amz-Date': '20180616T184103Z', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Authorization': u'AWS4-HMAC-SHA256 Credential=AKIAJVB4VLGNAL4BKTYQ/20180616/us-east-1/ec2/aws4_request,SignedHeaders=host;x-amz-date,Signature=06a023b5eaaa31d0a316ef2bf112d718eb5618674b5f3e334faf8b263eaa687f'}
  198. boto: DEBUG: wrapping ssl socket; CA certificate file=/nix/store/2hq8fnyf3b17id6ycx22f0irjsgjsm1h-python2.7-boto-2.47.0/lib/python2.7/site-packages/boto/cacerts/cacerts.txt
  199. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 865
  200. botocore.parsers: DEBUG: Response headers: {'date': 'Sat, 16 Jun 2018 18:41:03 GMT', 'content-length': '865', 'content-type': 'text/xml;charset=UTF-8', 'server': 'AmazonEC2'}
  201. botocore.parsers: DEBUG: Response body:
  202. <?xml version="1.0" encoding="UTF-8"?>
  203. <CreateVpcResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  204. <requestId>d0092e3f-b972-45b1-b68d-871a11ea582b</requestId>
  205. <vpc>
  206. <vpcId>vpc-a27e64d9</vpcId>
  207. <state>pending</state>
  208. <cidrBlock>10.0.0.0/16</cidrBlock>
  209. <cidrBlockAssociationSet>
  210. <item>
  211. <cidrBlock>10.0.0.0/16</cidrBlock>
  212. <associationId>vpc-cidr-assoc-7f957d13</associationId>
  213. <cidrBlockState>
  214. <state>associated</state>
  215. </cidrBlockState>
  216. </item>
  217. </cidrBlockAssociationSet>
  218. <ipv6CidrBlockAssociationSet/>
  219. <dhcpOptionsId>dopt-781de01d</dhcpOptionsId>
  220. <tagSet/>
  221. <instanceTenancy>default</instanceTenancy>
  222. <isDefault>false</isDefault>
  223. </vpc>
  224. </CreateVpcResponse>
  225.  
  226. botocore.hooks: DEBUG: Event needs-retry.ec2.CreateVpc: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f273fd50>
  227. botocore.retryhandler: DEBUG: No retry needed.
  228. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateTags: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  229. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateTags: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  230. botocore.endpoint: DEBUG: Making request for OperationModel(name=CreateTags) (verify_ssl=True) with params: {'body': {u'Tag.4.Key': 'CharonMachineName', u'Tag.2.Value': 'd107a500-7194-11e8-bc9a-0242f1563f79', u'ResourceId.1': 'vpc-a27e64d9', u'Tag.2.Key': 'CharonNetworkUUID', u'Tag.4.Value': 'vpc-test', u'Tag.1.Value': 'NixOps Tests', 'Version': u'2016-11-15', u'Tag.5.Key': 'CharonStateFile', u'Tag.1.Key': 'Source', u'Tag.3.Value': 'Unnamed NixOps network [vpc-test]', 'Action': u'CreateTags', u'Tag.5.Value': 'srghma@machine:sqlite:///home/srghma/projects/nixops/tests/state_files/test_deploy_vpc_machine.nixops', u'Tag.3.Key': 'Name'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f2791bd0>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  231. botocore.hooks: DEBUG: Event request-created.ec2.CreateTags: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f2791ad0>>
  232. botocore.hooks: DEBUG: Event choose-signer.ec2.CreateTags: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  233. botocore.auth: DEBUG: Calculating signature using v4 auth.
  234. botocore.auth: DEBUG: CanonicalRequest:
  235. POST
  236. /
  237.  
  238. content-type:application/x-www-form-urlencoded; charset=utf-8
  239. host:ec2.us-east-1.amazonaws.com
  240. x-amz-date:20180616T184103Z
  241.  
  242. content-type;host;x-amz-date
  243. d0d85e8aaa830b8577e49a905ac883fcdbaba4fe2a60897348cdabf0b6e6e417
  244. botocore.auth: DEBUG: StringToSign:
  245. AWS4-HMAC-SHA256
  246. 20180616T184103Z
  247. 20180616/us-east-1/ec2/aws4_request
  248. c8e6ba57d2600c8fb2ea66ca41ccd8d28c7ded12d947fcca3cdab4ae0b4bf536
  249. botocore.auth: DEBUG: Signature:
  250. 3f5be90ac5a5cac5a59f841e9ae418c16b37c84c9c51cbe74078703a2ae44d85
  251. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  252. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  253. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:03 GMT'}
  254. botocore.parsers: DEBUG: Response body:
  255. <?xml version="1.0" encoding="UTF-8"?>
  256. <CreateTagsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  257. <requestId>4e007859-3039-4580-97bd-d8b530921124</requestId>
  258. <return>true</return>
  259. </CreateTagsResponse>
  260. botocore.hooks: DEBUG: Event needs-retry.ec2.CreateTags: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f273fd50>
  261. botocore.retryhandler: DEBUG: No retry needed.
  262. botocore.hooks: DEBUG: Event before-parameter-build.ec2.DescribeVpcs: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  263. botocore.hooks: DEBUG: Event before-parameter-build.ec2.DescribeVpcs: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  264. botocore.endpoint: DEBUG: Making request for OperationModel(name=DescribeVpcs) (verify_ssl=True) with params: {'body': {'Action': u'DescribeVpcs', u'VpcId.1': 'vpc-a27e64d9', 'Version': u'2016-11-15'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f2791bd0>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  265. botocore.hooks: DEBUG: Event request-created.ec2.DescribeVpcs: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f2791ad0>>
  266. botocore.hooks: DEBUG: Event choose-signer.ec2.DescribeVpcs: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  267. botocore.auth: DEBUG: Calculating signature using v4 auth.
  268. botocore.auth: DEBUG: CanonicalRequest:
  269. POST
  270. /
  271.  
  272. content-type:application/x-www-form-urlencoded; charset=utf-8
  273. host:ec2.us-east-1.amazonaws.com
  274. x-amz-date:20180616T184103Z
  275.  
  276. content-type;host;x-amz-date
  277. a4da69e6fb35e5fc2efe780af92cd39b56ded00130a839a0b7413456ad120caa
  278. botocore.auth: DEBUG: StringToSign:
  279. AWS4-HMAC-SHA256
  280. 20180616T184103Z
  281. 20180616/us-east-1/ec2/aws4_request
  282. ba0857ada62e23ac74472f42c83847093ea043ca76714abd1b328798888374cf
  283. botocore.auth: DEBUG: Signature:
  284. 64b2c91dc8233dd8c71f51f8b4bc0e507b8446398448e2e4054076b878542f6a
  285. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  286. boto: DEBUG: validating server certificate: hostname=ec2.us-east-1.amazonaws.com, certificate hosts=['ec2.us-east-1.amazonaws.com', 'ec2.amazonaws.com', 'us-east-1.ec2.amazonaws.com', '*.ec2.us-east-1.vpce.amazonaws.com']
  287. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  288. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:03 GMT'}
  289. botocore.parsers: DEBUG: Response body:
  290. <?xml version="1.0" encoding="UTF-8"?>
  291. <DescribeVpcsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  292. <requestId>e225995c-52c2-4f90-8c4a-4906e3c3440b</requestId>
  293. <vpcSet>
  294. <item>
  295. <vpcId>vpc-a27e64d9</vpcId>
  296. <state>available</state>
  297. <cidrBlock>10.0.0.0/16</cidrBlock>
  298. <cidrBlockAssociationSet>
  299. <item>
  300. <cidrBlock>10.0.0.0/16</cidrBlock>
  301. <associationId>vpc-cidr-assoc-7f957d13</associationId>
  302. <cidrBlockState>
  303. <state>associated</state>
  304. </cidrBlockState>
  305. </item>
  306. </cidrBlockAssociationSet>
  307. <dhcpOptionsId>dopt-781de01d</dhcpOptionsId>
  308. <tagSet>
  309. <item>
  310. <key>CharonNetworkUUID</key>
  311. <value>d107a500-7194-11e8-bc9a-0242f1563f79</value>
  312. </item>
  313. <item>
  314. <key>Source</key>
  315. <value>NixOps Tests</value>
  316. </item>
  317. <item>
  318. <key>CharonMachineName</key>
  319. <value>vpc-test</value>
  320. </item>
  321. <item>
  322. <key>Name</key>
  323. <value>Unnamed NixOps network [vpc-test]</value>
  324. </item>
  325. <item>
  326. <key>CharonStateFile</key>
  327. <value>srghma@machine:sqlite:///home/srghma/projects/nixops/tests/state_files/test_deploy_vpc_machine.nixops</value>
  328. </item>
  329. </tagSet>
  330. <instanceTenancy>default</instanceTenancy>
  331. <isDefault>false</isDefault>
  332. </item>
  333. </vpcSet>
  334. </DescribeVpcsResponse>
  335. botocore.hooks: DEBUG: Event needs-retry.ec2.DescribeVpcs: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f273fd50>
  336. botocore.retryhandler: DEBUG: No retry needed.
  337. botocore.hooks: DEBUG: Event before-parameter-build.ec2.ModifyVpcAttribute: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  338. botocore.hooks: DEBUG: Event before-parameter-build.ec2.ModifyVpcAttribute: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  339. botocore.endpoint: DEBUG: Making request for OperationModel(name=ModifyVpcAttribute) (verify_ssl=True) with params: {'body': {'Action': u'ModifyVpcAttribute', u'VpcId': 'vpc-a27e64d9', 'Version': u'2016-11-15', u'EnableDnsSupport.Value': 'false'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f2791bd0>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  340. botocore.hooks: DEBUG: Event request-created.ec2.ModifyVpcAttribute: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f2791ad0>>
  341. botocore.hooks: DEBUG: Event choose-signer.ec2.ModifyVpcAttribute: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  342. botocore.auth: DEBUG: Calculating signature using v4 auth.
  343. botocore.auth: DEBUG: CanonicalRequest:
  344. POST
  345. /
  346.  
  347. content-type:application/x-www-form-urlencoded; charset=utf-8
  348. host:ec2.us-east-1.amazonaws.com
  349. x-amz-date:20180616T184104Z
  350.  
  351. content-type;host;x-amz-date
  352. aba3e5d86a0a723b38a77f67f6bd486b93c128ba350dba1b15e680a6038c6f8e
  353. botocore.auth: DEBUG: StringToSign:
  354. AWS4-HMAC-SHA256
  355. 20180616T184104Z
  356. 20180616/us-east-1/ec2/aws4_request
  357. 1e2a9b62d75dda17087cbae354fa89d576b536b96ba9353640e59c20c23e5fb4
  358. botocore.auth: DEBUG: Signature:
  359. cf78a6cd2a1acdb4d922c1bde3f3db4c9b205dcc02e124d8bd05593472d6abd6
  360. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  361. boto: DEBUG: Response headers: [('date', 'Sat, 16 Jun 2018 18:41:03 GMT'), ('content-length', '361'), ('content-type', 'text/xml;charset=UTF-8'), ('server', 'AmazonEC2')]
  362. boto: DEBUG: <?xml version="1.0" encoding="UTF-8"?>
  363. <ImportKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
  364. <requestId>f15585f1-22fc-4c04-b2c1-94fcc1a6d392</requestId>
  365. <keyName>charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair</keyName>
  366. <keyFingerprint>69:74:2b:90:81:48:12:9a:08:f8:27:88:db:18:de:bf</keyFingerprint>
  367. </ImportKeyPairResponse>
  368.  
  369. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  370. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:03 GMT'}
  371. botocore.parsers: DEBUG: Response body:
  372. <?xml version="1.0" encoding="UTF-8"?>
  373. <ModifyVpcAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  374. <requestId>a916e2c0-948b-4536-a1f9-b6d96fc718f4</requestId>
  375. <return>true</return>
  376. </ModifyVpcAttributeResponse>
  377. botocore.hooks: DEBUG: Event needs-retry.ec2.ModifyVpcAttribute: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f273fd50>
  378. botocore.retryhandler: DEBUG: No retry needed.
  379. botocore.hooks: DEBUG: Event before-parameter-build.ec2.ModifyVpcAttribute: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  380. botocore.hooks: DEBUG: Event before-parameter-build.ec2.ModifyVpcAttribute: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  381. botocore.endpoint: DEBUG: Making request for OperationModel(name=ModifyVpcAttribute) (verify_ssl=True) with params: {'body': {'Action': u'ModifyVpcAttribute', u'VpcId': 'vpc-a27e64d9', 'Version': u'2016-11-15', u'EnableDnsHostnames.Value': 'false'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f2791bd0>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  382. botocore.hooks: DEBUG: Event request-created.ec2.ModifyVpcAttribute: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f2791ad0>>
  383. botocore.hooks: DEBUG: Event choose-signer.ec2.ModifyVpcAttribute: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  384. botocore.auth: DEBUG: Calculating signature using v4 auth.
  385. botocore.auth: DEBUG: CanonicalRequest:
  386. POST
  387. /
  388.  
  389. content-type:application/x-www-form-urlencoded; charset=utf-8
  390. host:ec2.us-east-1.amazonaws.com
  391. x-amz-date:20180616T184104Z
  392.  
  393. content-type;host;x-amz-date
  394. 10dab936810ec49e4466d690f4f4fdd9b7d69e4340b0c60c60bbaa872d5e56c2
  395. botocore.auth: DEBUG: StringToSign:
  396. AWS4-HMAC-SHA256
  397. 20180616T184104Z
  398. 20180616/us-east-1/ec2/aws4_request
  399. 6f19baf6f492202a9194421c6daa1f9d4d79c2e6963d8f95bc8001c58d460c92
  400. botocore.auth: DEBUG: Signature:
  401. 4ce047167943126755bd93977d7169c8c84d2bee5c821e46b9ceb7d589e45c20
  402. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  403. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  404. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:04 GMT'}
  405. botocore.parsers: DEBUG: Response body:
  406. <?xml version="1.0" encoding="UTF-8"?>
  407. <ModifyVpcAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  408. <requestId>29f62b31-bccd-4b64-b18d-c0a0d46f613c</requestId>
  409. <return>true</return>
  410. </ModifyVpcAttributeResponse>
  411. botocore.hooks: DEBUG: Event needs-retry.ec2.ModifyVpcAttribute: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f273fd50>
  412. botocore.retryhandler: DEBUG: No retry needed.
  413. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateTags: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  414. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateTags: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  415. botocore.endpoint: DEBUG: Making request for OperationModel(name=CreateTags) (verify_ssl=True) with params: {'body': {u'Tag.4.Key': 'CharonStateFile', u'Tag.2.Value': 'd107a500-7194-11e8-bc9a-0242f1563f79', u'ResourceId.1': 'vpc-a27e64d9', u'Tag.2.Key': 'CharonNetworkUUID', u'Tag.4.Value': 'srghma@machine:sqlite:///home/srghma/projects/nixops/tests/state_files/test_deploy_vpc_machine.nixops', u'Tag.1.Value': 'NixOps Tests', 'Version': u'2016-11-15', u'Tag.1.Key': 'Source', u'Tag.3.Value': 'vpc-test', 'Action': u'CreateTags', u'Tag.3.Key': 'CharonMachineName'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f2791bd0>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  416. botocore.hooks: DEBUG: Event request-created.ec2.CreateTags: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f2791ad0>>
  417. botocore.hooks: DEBUG: Event choose-signer.ec2.CreateTags: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  418. botocore.auth: DEBUG: Calculating signature using v4 auth.
  419. botocore.auth: DEBUG: CanonicalRequest:
  420. POST
  421. /
  422.  
  423. content-type:application/x-www-form-urlencoded; charset=utf-8
  424. host:ec2.us-east-1.amazonaws.com
  425. x-amz-date:20180616T184104Z
  426.  
  427. content-type;host;x-amz-date
  428. fa46899cfca0b87b224d5f4f9c5f2301dd323bdfcb53707d67caf2a011e03fd8
  429. botocore.auth: DEBUG: StringToSign:
  430. AWS4-HMAC-SHA256
  431. 20180616T184104Z
  432. 20180616/us-east-1/ec2/aws4_request
  433. 759691ff8ac9b097e01efea065e133235ce07868a62f77d23c722e2d3680a5e8
  434. botocore.auth: DEBUG: Signature:
  435. dfc84e5f7f60868ea2335b1a2ab3aeff1c2f9ccf62adf6dcecaa4c9448211d25
  436. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  437. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  438. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:04 GMT'}
  439. botocore.parsers: DEBUG: Response body:
  440. <?xml version="1.0" encoding="UTF-8"?>
  441. <CreateTagsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  442. <requestId>c4f740bb-55ad-4bd5-a142-d1adb836ff8f</requestId>
  443. <return>true</return>
  444. </CreateTagsResponse>
  445. botocore.hooks: DEBUG: Event needs-retry.ec2.CreateTags: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f273fd50>
  446. botocore.retryhandler: DEBUG: No retry needed.
  447. boto: DEBUG: Using access key provided by client.
  448. boto: DEBUG: Using secret key provided by client.
  449. boto: DEBUG: Method: POST
  450. boto: DEBUG: Path: /
  451. boto: DEBUG: Data:
  452. boto: DEBUG: Headers: {}
  453. boto: DEBUG: Host: ec2.us-east-1.amazonaws.com
  454. boto: DEBUG: Port: 443
  455. boto: DEBUG: Params: {'Action': 'CreateSecurityGroup', 'GroupName': u'charon-d107a500-7194-11e8-bc9a-0242f1563f79-public-ssh', 'VpcId': u'vpc-a27e64d9', 'Version': '2014-10-01', 'GroupDescription': u'NixOps-provisioned group public-ssh'}
  456. boto: DEBUG: establishing HTTPS connection: host=ec2.us-east-1.amazonaws.com, kwargs={'port': 443, 'timeout': 70}
  457. boto: DEBUG: Token: None
  458. boto: DEBUG: CanonicalRequest:
  459. POST
  460. /
  461.  
  462. host:ec2.us-east-1.amazonaws.com
  463. x-amz-date:20180616T184105Z
  464.  
  465. host;x-amz-date
  466. 4a96456ba99b058d5d035796d7671aca9e29e52ee62b6d186f0f708f73b7063c
  467. boto: DEBUG: StringToSign:
  468. AWS4-HMAC-SHA256
  469. 20180616T184105Z
  470. 20180616/us-east-1/ec2/aws4_request
  471. daa3b10dd84c0fba5d7c3df126a072379705488c59082dae6ccf8cbf90eeb2b1
  472. boto: DEBUG: Signature:
  473. ededc217fe15a0ae3cfa10b0bc7521edcd63623d3c4087422b096539159097c3
  474. boto: DEBUG: Final headers: {'Content-Length': '186', 'User-Agent': 'Boto/2.47.0 Python/2.7.15 Linux/4.14.48', 'Host': 'ec2.us-east-1.amazonaws.com', 'X-Amz-Date': '20180616T184105Z', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Authorization': u'AWS4-HMAC-SHA256 Credential=AKIAJVB4VLGNAL4BKTYQ/20180616/us-east-1/ec2/aws4_request,SignedHeaders=host;x-amz-date,Signature=ededc217fe15a0ae3cfa10b0bc7521edcd63623d3c4087422b096539159097c3'}
  475. botocore.session: DEBUG: Loading variable profile from defaults.
  476. botocore.session: DEBUG: Loading variable config_file from defaults.
  477. botocore.session: DEBUG: Loading variable credentials_file from defaults.
  478. botocore.session: DEBUG: Loading variable data_path from defaults.
  479. botocore.session: DEBUG: Loading variable profile from defaults.
  480. botocore.session: DEBUG: Loading variable ca_bundle from defaults.
  481. botocore.session: DEBUG: Loading variable profile from defaults.
  482. botocore.session: DEBUG: Loading variable api_versions from defaults.
  483. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
  484. botocore.session: DEBUG: Loading variable profile from defaults.
  485. botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
  486. botocore.session: DEBUG: Loading variable profile from defaults.
  487. botocore.session: DEBUG: Loading variable config_file from defaults.
  488. botocore.session: DEBUG: Loading variable credentials_file from defaults.
  489. botocore.session: DEBUG: Loading variable data_path from defaults.
  490. botocore.session: DEBUG: Loading variable profile from defaults.
  491. botocore.session: DEBUG: Loading variable ca_bundle from defaults.
  492. botocore.session: DEBUG: Loading variable profile from defaults.
  493. botocore.session: DEBUG: Loading variable api_versions from defaults.
  494. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
  495. botocore.session: DEBUG: Loading variable profile from defaults.
  496. botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
  497. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/ec2/2016-11-15/service-2.json
  498. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/ec2/2016-11-15/service-2.json
  499. boto: DEBUG: wrapping ssl socket; CA certificate file=/nix/store/2hq8fnyf3b17id6ycx22f0irjsgjsm1h-python2.7-boto-2.47.0/lib/python2.7/site-packages/boto/cacerts/cacerts.txt
  500. botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
  501. botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
  502. botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
  503. botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
  504. botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
  505. botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
  506. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
  507. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
  508. botocore.client: DEBUG: Registering retry handlers for service: ec2
  509. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateInternetGateway: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  510. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateInternetGateway: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  511. botocore.endpoint: DEBUG: Making request for OperationModel(name=CreateInternetGateway) (verify_ssl=True) with params: {'body': {'Action': u'CreateInternetGateway', 'Version': u'2016-11-15'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f09d2a50>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  512. botocore.client: DEBUG: Registering retry handlers for service: ec2
  513. botocore.hooks: DEBUG: Event request-created.ec2.CreateInternetGateway: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09d29d0>>
  514. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateSubnet: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  515. botocore.hooks: DEBUG: Event choose-signer.ec2.CreateInternetGateway: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  516. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateSubnet: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  517. botocore.auth: DEBUG: Calculating signature using v4 auth.
  518. botocore.endpoint: DEBUG: Making request for OperationModel(name=CreateSubnet) (verify_ssl=True) with params: {'body': {'Action': u'CreateSubnet', 'VpcId': u'vpc-a27e64d9', 'Version': u'2016-11-15', 'CidrBlock': '10.0.0.0/19', 'AvailabilityZone': 'us-east-1a'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f09c2210>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  519. botocore.auth: DEBUG: CanonicalRequest:
  520. POST
  521. /
  522.  
  523. content-type:application/x-www-form-urlencoded; charset=utf-8
  524. host:ec2.us-east-1.amazonaws.com
  525. x-amz-date:20180616T184105Z
  526.  
  527. content-type;host;x-amz-date
  528. 154ba4012caafa30b91a8fe148227c696197ed55fb8861e07400f7355218dca4
  529. botocore.hooks: DEBUG: Event request-created.ec2.CreateSubnet: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09c2190>>
  530. botocore.auth: DEBUG: StringToSign:
  531. AWS4-HMAC-SHA256
  532. 20180616T184105Z
  533. 20180616/us-east-1/ec2/aws4_request
  534. 8879b7e8b7abab44d2fafcb84a6ca6327185142bdae160316e14ddbc8cb4603e
  535. botocore.hooks: DEBUG: Event choose-signer.ec2.CreateSubnet: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  536. botocore.auth: DEBUG: Signature:
  537. 587fb92e3531ad1fe13b907bf5ed89e371eaee7fc0040180fcbd4ddd6ae9c64b
  538. botocore.auth: DEBUG: Calculating signature using v4 auth.
  539. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  540. botocore.auth: DEBUG: CanonicalRequest:
  541. POST
  542. /
  543.  
  544. content-type:application/x-www-form-urlencoded; charset=utf-8
  545. host:ec2.us-east-1.amazonaws.com
  546. x-amz-date:20180616T184105Z
  547.  
  548. content-type;host;x-amz-date
  549. 88885c478f3e2a9581c589ccf84e9614ff1e7d657b29b149627f32f6b4c01af0
  550. botocore.auth: DEBUG: StringToSign:
  551. AWS4-HMAC-SHA256
  552. 20180616T184105Z
  553. 20180616/us-east-1/ec2/aws4_request
  554. fdcd2fa113bbb879c9b45f258e273770a6e579de049b1426265a9c27b6aeca4c
  555. botocore.auth: DEBUG: Signature:
  556. ee654501306dc7ede55e4b14c1de04c4be49f6fcef5a747d6cbabe29e56f88a9
  557. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  558. botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
  559. botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
  560. boto: DEBUG: validating server certificate: hostname=ec2.us-east-1.amazonaws.com, certificate hosts=['ec2.us-east-1.amazonaws.com', 'ec2.amazonaws.com', 'us-east-1.ec2.amazonaws.com', '*.ec2.us-east-1.vpce.amazonaws.com']
  561. boto: DEBUG: Response headers: [('transfer-encoding', 'chunked'), ('vary', 'Accept-Encoding'), ('server', 'AmazonEC2'), ('content-type', 'text/xml;charset=UTF-8'), ('date', 'Sat, 16 Jun 2018 18:41:05 GMT')]
  562. boto: DEBUG: <?xml version="1.0" encoding="UTF-8"?>
  563. <CreateSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
  564. <requestId>85a3645b-fa43-447a-b829-db576fe2a03e</requestId>
  565. <return>true</return>
  566. <groupId>sg-0da07b46</groupId>
  567. </CreateSecurityGroupResponse>
  568. boto: DEBUG: Method: POST
  569. boto: DEBUG: Path: /
  570. boto: DEBUG: Data:
  571. boto: DEBUG: Headers: {}
  572. boto: DEBUG: Host: ec2.us-east-1.amazonaws.com
  573. boto: DEBUG: Port: 443
  574. boto: DEBUG: Params: {'IpPermissions.1.FromPort': 22, 'IpPermissions.1.ToPort': 22, 'IpPermissions.1.IpProtocol': 'tcp', 'IpPermissions.1.IpRanges.1.CidrIp': '0.0.0.0/0', 'Version': '2014-10-01', 'Action': 'AuthorizeSecurityGroupIngress', 'GroupId': u'sg-0da07b46'}
  575. boto: DEBUG: Token: None
  576. boto: DEBUG: CanonicalRequest:
  577. POST
  578. /
  579.  
  580. host:ec2.us-east-1.amazonaws.com
  581. x-amz-date:20180616T184106Z
  582.  
  583. host;x-amz-date
  584. b9922edcc3dc550ba1200020fd5181803c738546af2b6e484154689c998c5f39
  585. boto: DEBUG: StringToSign:
  586. AWS4-HMAC-SHA256
  587. 20180616T184106Z
  588. 20180616/us-east-1/ec2/aws4_request
  589. 12e38ed8a259edf6d6bf9ec2f5030adc700860054ffe9c10f186ee2b2f0f33d7
  590. boto: DEBUG: Signature:
  591. 3ba424727c8f602b4d2af372e2bc40afc43ec2af797785084cf98760207f2a57
  592. boto: DEBUG: Final headers: {'Content-Length': '206', 'User-Agent': 'Boto/2.47.0 Python/2.7.15 Linux/4.14.48', 'Host': 'ec2.us-east-1.amazonaws.com', 'X-Amz-Date': '20180616T184106Z', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Authorization': u'AWS4-HMAC-SHA256 Credential=AKIAJVB4VLGNAL4BKTYQ/20180616/us-east-1/ec2/aws4_request,SignedHeaders=host;x-amz-date,Signature=3ba424727c8f602b4d2af372e2bc40afc43ec2af797785084cf98760207f2a57'}
  593. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  594. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:05 GMT'}
  595. botocore.parsers: DEBUG: Response body:
  596. <?xml version="1.0" encoding="UTF-8"?>
  597. <CreateInternetGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  598. <requestId>f0cefbee-3edc-4c23-902b-209c554ad72e</requestId>
  599. <internetGateway>
  600. <internetGatewayId>igw-ed673f95</internetGatewayId>
  601. <attachmentSet/>
  602. <tagSet/>
  603. </internetGateway>
  604. </CreateInternetGatewayResponse>
  605. botocore.hooks: DEBUG: Event needs-retry.ec2.CreateInternetGateway: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909ad0>
  606. botocore.retryhandler: DEBUG: No retry needed.
  607. botocore.hooks: DEBUG: Event before-parameter-build.ec2.AttachInternetGateway: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  608. botocore.hooks: DEBUG: Event before-parameter-build.ec2.AttachInternetGateway: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  609. botocore.endpoint: DEBUG: Making request for OperationModel(name=AttachInternetGateway) (verify_ssl=True) with params: {'body': {'Action': u'AttachInternetGateway', u'VpcId': u'vpc-a27e64d9', 'Version': u'2016-11-15', u'InternetGatewayId': 'igw-ed673f95'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f09d2a50>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  610. botocore.hooks: DEBUG: Event request-created.ec2.AttachInternetGateway: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09d29d0>>
  611. botocore.hooks: DEBUG: Event choose-signer.ec2.AttachInternetGateway: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  612. botocore.auth: DEBUG: Calculating signature using v4 auth.
  613. botocore.auth: DEBUG: CanonicalRequest:
  614. POST
  615. /
  616.  
  617. content-type:application/x-www-form-urlencoded; charset=utf-8
  618. host:ec2.us-east-1.amazonaws.com
  619. x-amz-date:20180616T184106Z
  620.  
  621. content-type;host;x-amz-date
  622. 495bff3d602293a34877b553f6a785f86386fc65ac3457dab7a3601776c4f8cd
  623. botocore.auth: DEBUG: StringToSign:
  624. AWS4-HMAC-SHA256
  625. 20180616T184106Z
  626. 20180616/us-east-1/ec2/aws4_request
  627. 520d1b09f445768bba3c29a1755095aa7d7487885903b423e32ae300c49b41cd
  628. botocore.auth: DEBUG: Signature:
  629. bcd169c4aa0eb8491edfa78d020db6c941861fef359842329cb18e2dea9d82cf
  630. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  631. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  632. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:05 GMT'}
  633. botocore.parsers: DEBUG: Response body:
  634. <?xml version="1.0" encoding="UTF-8"?>
  635. <CreateSubnetResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  636. <requestId>8a3dd45b-d8e8-45aa-8279-0a0086ec6724</requestId>
  637. <subnet>
  638. <subnetId>subnet-f21172b8</subnetId>
  639. <state>pending</state>
  640. <vpcId>vpc-a27e64d9</vpcId>
  641. <cidrBlock>10.0.0.0/19</cidrBlock>
  642. <ipv6CidrBlockAssociationSet/>
  643. <availableIpAddressCount>8187</availableIpAddressCount>
  644. <availabilityZone>us-east-1a</availabilityZone>
  645. <defaultForAz>false</defaultForAz>
  646. <mapPublicIpOnLaunch>false</mapPublicIpOnLaunch>
  647. <assignIpv6AddressOnCreation>false</assignIpv6AddressOnCreation>
  648. </subnet>
  649. </CreateSubnetResponse>
  650. botocore.hooks: DEBUG: Event needs-retry.ec2.CreateSubnet: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909e50>
  651. botocore.retryhandler: DEBUG: No retry needed.
  652. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateTags: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  653. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateTags: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  654. botocore.endpoint: DEBUG: Making request for OperationModel(name=CreateTags) (verify_ssl=True) with params: {'body': {u'Tag.4.Key': 'CharonMachineName', u'Tag.2.Value': 'd107a500-7194-11e8-bc9a-0242f1563f79', u'ResourceId.1': 'subnet-f21172b8', u'Tag.2.Key': 'CharonNetworkUUID', u'Tag.4.Value': 'subnet-test', u'Tag.1.Value': 'NixOps Tests', 'Version': u'2016-11-15', u'Tag.5.Key': 'CharonStateFile', u'Tag.1.Key': 'Source', u'Tag.3.Value': 'Unnamed NixOps network [subnet-test]', 'Action': u'CreateTags', u'Tag.5.Value': 'srghma@machine:sqlite:///home/srghma/projects/nixops/tests/state_files/test_deploy_vpc_machine.nixops', u'Tag.3.Key': 'Name'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f09c2210>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  655. botocore.hooks: DEBUG: Event request-created.ec2.CreateTags: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09c2190>>
  656. botocore.hooks: DEBUG: Event choose-signer.ec2.CreateTags: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  657. botocore.auth: DEBUG: Calculating signature using v4 auth.
  658. botocore.auth: DEBUG: CanonicalRequest:
  659. POST
  660. /
  661.  
  662. content-type:application/x-www-form-urlencoded; charset=utf-8
  663. host:ec2.us-east-1.amazonaws.com
  664. x-amz-date:20180616T184106Z
  665.  
  666. content-type;host;x-amz-date
  667. 1490d93fb69356b271ebcfe17ae4c83d107e832a614812b80d662ab36f161318
  668. botocore.auth: DEBUG: StringToSign:
  669. AWS4-HMAC-SHA256
  670. 20180616T184106Z
  671. 20180616/us-east-1/ec2/aws4_request
  672. b083108596cc5f30b1e6aacc685b9844803a78602f9b7f9f74cb621aa98dd860
  673. botocore.auth: DEBUG: Signature:
  674. 59293cb2eef0c323bc9c767a08d3fa9e63b2258dc746ad4bdab03317baa0dad3
  675. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  676. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  677. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:05 GMT'}
  678. botocore.parsers: DEBUG: Response body:
  679. <?xml version="1.0" encoding="UTF-8"?>
  680. <AttachInternetGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  681. <requestId>82cf3ff1-c198-4a5d-b538-f09a587df64b</requestId>
  682. <return>true</return>
  683. </AttachInternetGatewayResponse>
  684. botocore.hooks: DEBUG: Event needs-retry.ec2.AttachInternetGateway: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909ad0>
  685. botocore.retryhandler: DEBUG: No retry needed.
  686. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateTags: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  687. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateTags: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  688. botocore.endpoint: DEBUG: Making request for OperationModel(name=CreateTags) (verify_ssl=True) with params: {'body': {u'Tag.2.Value': 'igw-test', u'ResourceId.1': u'igw-ed673f95', u'Tag.2.Key': 'CharonMachineName', u'Tag.1.Value': 'd107a500-7194-11e8-bc9a-0242f1563f79', 'Version': u'2016-11-15', u'Tag.1.Key': 'CharonNetworkUUID', u'Tag.3.Value': 'srghma@machine:sqlite:///home/srghma/projects/nixops/tests/state_files/test_deploy_vpc_machine.nixops', 'Action': u'CreateTags', u'Tag.3.Key': 'CharonStateFile'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f09d2a50>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  689. botocore.hooks: DEBUG: Event request-created.ec2.CreateTags: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09d29d0>>
  690. botocore.hooks: DEBUG: Event choose-signer.ec2.CreateTags: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  691. botocore.auth: DEBUG: Calculating signature using v4 auth.
  692. botocore.auth: DEBUG: CanonicalRequest:
  693. POST
  694. /
  695.  
  696. content-type:application/x-www-form-urlencoded; charset=utf-8
  697. host:ec2.us-east-1.amazonaws.com
  698. x-amz-date:20180616T184106Z
  699.  
  700. content-type;host;x-amz-date
  701. 0366489cb0a618b6b19087abcef98db91d0bfdf968a5b721b95fab3ddd6d12ac
  702. botocore.auth: DEBUG: StringToSign:
  703. AWS4-HMAC-SHA256
  704. 20180616T184106Z
  705. 20180616/us-east-1/ec2/aws4_request
  706. 180f381e1a29d10e68cacdcb600d2a21e3518b3239d1f2e0d0fcf5e9f43fe657
  707. botocore.auth: DEBUG: Signature:
  708. 8509393118c430ed7bdc199b2889de39e33540d4058118394d1c13f348d4112d
  709. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  710. boto: DEBUG: Response headers: [('date', 'Sat, 16 Jun 2018 18:41:05 GMT'), ('content-length', '259'), ('content-type', 'text/xml;charset=UTF-8'), ('server', 'AmazonEC2')]
  711. boto: DEBUG: <?xml version="1.0" encoding="UTF-8"?>
  712. <AuthorizeSecurityGroupIngressResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
  713. <requestId>32408c43-e89a-4bcc-a836-1a2c81d32321</requestId>
  714. <return>true</return>
  715. </AuthorizeSecurityGroupIngressResponse>
  716.  
  717. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  718. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:05 GMT'}
  719. botocore.parsers: DEBUG: Response body:
  720. <?xml version="1.0" encoding="UTF-8"?>
  721. <CreateTagsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  722. <requestId>325afafa-2dc7-406d-9059-3e66d543a737</requestId>
  723. <return>true</return>
  724. </CreateTagsResponse>
  725. botocore.hooks: DEBUG: Event needs-retry.ec2.CreateTags: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909ad0>
  726. botocore.retryhandler: DEBUG: No retry needed.
  727. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  728. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:06 GMT'}
  729. botocore.parsers: DEBUG: Response body:
  730. <?xml version="1.0" encoding="UTF-8"?>
  731. <CreateTagsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  732. <requestId>950996c6-059b-423f-a117-117d042c02a5</requestId>
  733. <return>true</return>
  734. </CreateTagsResponse>
  735. botocore.hooks: DEBUG: Event needs-retry.ec2.CreateTags: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909e50>
  736. botocore.retryhandler: DEBUG: No retry needed.
  737. botocore.hooks: DEBUG: Event before-parameter-build.ec2.DescribeSubnets: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  738. botocore.hooks: DEBUG: Event before-parameter-build.ec2.DescribeSubnets: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  739. botocore.endpoint: DEBUG: Making request for OperationModel(name=DescribeSubnets) (verify_ssl=True) with params: {'body': {'Action': u'DescribeSubnets', u'SubnetId.1': 'subnet-f21172b8', 'Version': u'2016-11-15'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f09c2210>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  740. botocore.hooks: DEBUG: Event request-created.ec2.DescribeSubnets: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09c2190>>
  741. botocore.hooks: DEBUG: Event choose-signer.ec2.DescribeSubnets: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  742. botocore.auth: DEBUG: Calculating signature using v4 auth.
  743. botocore.auth: DEBUG: CanonicalRequest:
  744. POST
  745. /
  746.  
  747. content-type:application/x-www-form-urlencoded; charset=utf-8
  748. host:ec2.us-east-1.amazonaws.com
  749. x-amz-date:20180616T184107Z
  750.  
  751. content-type;host;x-amz-date
  752. 7ef28d5b700c8c3753d56f21a8a733ae4fbc1628b962b05b6e6c7166c492c282
  753. botocore.auth: DEBUG: StringToSign:
  754. AWS4-HMAC-SHA256
  755. 20180616T184107Z
  756. 20180616/us-east-1/ec2/aws4_request
  757. f19444910ee8cc9cd7c60ea7a707ff8579eacef6bf087ba28a35cc75c22e641b
  758. botocore.auth: DEBUG: Signature:
  759. 164a427fb00cd4032aad9a7f65cfa6cfc42a5ec47c36a0adf29028e3ad19e44b
  760. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  761. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  762. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:07 GMT'}
  763. botocore.parsers: DEBUG: Response body:
  764. <?xml version="1.0" encoding="UTF-8"?>
  765. <DescribeSubnetsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  766. <requestId>aba0f367-5fec-4303-87a1-d377ebf10646</requestId>
  767. <subnetSet>
  768. <item>
  769. <subnetId>subnet-f21172b8</subnetId>
  770. <state>available</state>
  771. <vpcId>vpc-a27e64d9</vpcId>
  772. <cidrBlock>10.0.0.0/19</cidrBlock>
  773. <ipv6CidrBlockAssociationSet/>
  774. <availableIpAddressCount>8187</availableIpAddressCount>
  775. <availabilityZone>us-east-1a</availabilityZone>
  776. <defaultForAz>false</defaultForAz>
  777. <mapPublicIpOnLaunch>false</mapPublicIpOnLaunch>
  778. <tagSet>
  779. <item>
  780. <key>CharonMachineName</key>
  781. <value>subnet-test</value>
  782. </item>
  783. <item>
  784. <key>CharonNetworkUUID</key>
  785. <value>d107a500-7194-11e8-bc9a-0242f1563f79</value>
  786. </item>
  787. <item>
  788. <key>Source</key>
  789. <value>NixOps Tests</value>
  790. </item>
  791. <item>
  792. <key>CharonStateFile</key>
  793. <value>srghma@machine:sqlite:///home/srghma/projects/nixops/tests/state_files/test_deploy_vpc_machine.nixops</value>
  794. </item>
  795. <item>
  796. <key>Name</key>
  797. <value>Unnamed NixOps network [subnet-test]</value>
  798. </item>
  799. </tagSet>
  800. <assignIpv6AddressOnCreation>false</assignIpv6AddressOnCreation>
  801. </item>
  802. </subnetSet>
  803. </DescribeSubnetsResponse>
  804. botocore.hooks: DEBUG: Event needs-retry.ec2.DescribeSubnets: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909e50>
  805. botocore.retryhandler: DEBUG: No retry needed.
  806. botocore.hooks: DEBUG: Event before-parameter-build.ec2.ModifySubnetAttribute: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  807. botocore.hooks: DEBUG: Event before-parameter-build.ec2.ModifySubnetAttribute: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  808. botocore.endpoint: DEBUG: Making request for OperationModel(name=ModifySubnetAttribute) (verify_ssl=True) with params: {'body': {'Action': u'ModifySubnetAttribute', u'SubnetId': 'subnet-f21172b8', 'Version': u'2016-11-15', u'MapPublicIpOnLaunch.Value': 'true'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f09c2210>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  809. botocore.hooks: DEBUG: Event request-created.ec2.ModifySubnetAttribute: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09c2190>>
  810. botocore.hooks: DEBUG: Event choose-signer.ec2.ModifySubnetAttribute: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  811. botocore.auth: DEBUG: Calculating signature using v4 auth.
  812. botocore.auth: DEBUG: CanonicalRequest:
  813. POST
  814. /
  815.  
  816. content-type:application/x-www-form-urlencoded; charset=utf-8
  817. host:ec2.us-east-1.amazonaws.com
  818. x-amz-date:20180616T184107Z
  819.  
  820. content-type;host;x-amz-date
  821. b1f8a8018a4980f6510c45648c9600c1a1eff76aa5dbbe6b13f7ea007179c4e2
  822. botocore.auth: DEBUG: StringToSign:
  823. AWS4-HMAC-SHA256
  824. 20180616T184107Z
  825. 20180616/us-east-1/ec2/aws4_request
  826. b3d54e87a21c42ac035e60c15f2fc2f0673b8d64e06f2690aa4c4a73784d7e0a
  827. botocore.auth: DEBUG: Signature:
  828. f4a18663fa09471f8f38dad21956bb3387e88d7dae124c7e2ff186e54256a2c3
  829. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  830. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  831. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:07 GMT'}
  832. botocore.parsers: DEBUG: Response body:
  833. <?xml version="1.0" encoding="UTF-8"?>
  834. <ModifySubnetAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  835. <requestId>863fb157-a0c9-4cb6-a404-3cc268f935e9</requestId>
  836. <return>true</return>
  837. </ModifySubnetAttributeResponse>
  838. botocore.hooks: DEBUG: Event needs-retry.ec2.ModifySubnetAttribute: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909e50>
  839. botocore.retryhandler: DEBUG: No retry needed.
  840. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateTags: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  841. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateTags: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  842. botocore.endpoint: DEBUG: Making request for OperationModel(name=CreateTags) (verify_ssl=True) with params: {'body': {u'Tag.4.Key': 'CharonStateFile', u'Tag.2.Value': 'd107a500-7194-11e8-bc9a-0242f1563f79', u'ResourceId.1': u'subnet-f21172b8', u'Tag.2.Key': 'CharonNetworkUUID', u'Tag.4.Value': 'srghma@machine:sqlite:///home/srghma/projects/nixops/tests/state_files/test_deploy_vpc_machine.nixops', u'Tag.1.Value': 'NixOps Tests', 'Version': u'2016-11-15', u'Tag.1.Key': 'Source', u'Tag.3.Value': 'subnet-test', 'Action': u'CreateTags', u'Tag.3.Key': 'CharonMachineName'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f09c2210>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  843. botocore.hooks: DEBUG: Event request-created.ec2.CreateTags: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09c2190>>
  844. botocore.hooks: DEBUG: Event choose-signer.ec2.CreateTags: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  845. botocore.auth: DEBUG: Calculating signature using v4 auth.
  846. botocore.auth: DEBUG: CanonicalRequest:
  847. POST
  848. /
  849.  
  850. content-type:application/x-www-form-urlencoded; charset=utf-8
  851. host:ec2.us-east-1.amazonaws.com
  852. x-amz-date:20180616T184108Z
  853.  
  854. content-type;host;x-amz-date
  855. 72a53e656c43b960b9265c57d563d9d2f969a5ff710a6f53d0e132effed063f5
  856. botocore.auth: DEBUG: StringToSign:
  857. AWS4-HMAC-SHA256
  858. 20180616T184108Z
  859. 20180616/us-east-1/ec2/aws4_request
  860. 269dd09ca52e111e3014364d55e5fdf54f2134c407b29d6827e5aeeeb2a1e4d6
  861. botocore.auth: DEBUG: Signature:
  862. 854022a7e6aede64ef5ecd8385216a994789a95f772b752c652d5afd8c28e326
  863. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  864. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  865. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:07 GMT'}
  866. botocore.parsers: DEBUG: Response body:
  867. <?xml version="1.0" encoding="UTF-8"?>
  868. <CreateTagsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  869. <requestId>9ac7a6ec-dd2e-4887-93a4-1fe375805083</requestId>
  870. <return>true</return>
  871. </CreateTagsResponse>
  872. botocore.hooks: DEBUG: Event needs-retry.ec2.CreateTags: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909e50>
  873. botocore.retryhandler: DEBUG: No retry needed.
  874. botocore.session: DEBUG: Loading variable profile from defaults.
  875. botocore.session: DEBUG: Loading variable config_file from defaults.
  876. botocore.session: DEBUG: Loading variable credentials_file from defaults.
  877. botocore.session: DEBUG: Loading variable data_path from defaults.
  878. botocore.session: DEBUG: Loading variable profile from defaults.
  879. botocore.session: DEBUG: Loading variable ca_bundle from defaults.
  880. botocore.session: DEBUG: Loading variable profile from defaults.
  881. botocore.session: DEBUG: Loading variable api_versions from defaults.
  882. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
  883. botocore.session: DEBUG: Loading variable profile from defaults.
  884. botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
  885. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/ec2/2016-11-15/service-2.json
  886. botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
  887. botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
  888. botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
  889. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
  890. botocore.client: DEBUG: Registering retry handlers for service: ec2
  891. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateRouteTable: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  892. botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateRouteTable: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  893. botocore.endpoint: DEBUG: Making request for OperationModel(name=CreateRouteTable) (verify_ssl=True) with params: {'body': {'Action': u'CreateRouteTable', u'VpcId': u'vpc-a27e64d9', 'Version': u'2016-11-15'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f04c0650>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  894. botocore.hooks: DEBUG: Event request-created.ec2.CreateRouteTable: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f04c05d0>>
  895. botocore.hooks: DEBUG: Event choose-signer.ec2.CreateRouteTable: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  896. botocore.auth: DEBUG: Calculating signature using v4 auth.
  897. botocore.auth: DEBUG: CanonicalRequest:
  898. POST
  899. /
  900.  
  901. content-type:application/x-www-form-urlencoded; charset=utf-8
  902. host:ec2.us-east-1.amazonaws.com
  903. x-amz-date:20180616T184108Z
  904.  
  905. content-type;host;x-amz-date
  906. d346c324e499e3fb332182cc70f4a704e8f5e634d2c55085eee3abf214916f06
  907. botocore.auth: DEBUG: StringToSign:
  908. AWS4-HMAC-SHA256
  909. 20180616T184108Z
  910. 20180616/us-east-1/ec2/aws4_request
  911. 32f4189a1ce7b3b82f2e59b8a6aa59556f1e47babe386bbb129eaa13b2cc4c3c
  912. botocore.auth: DEBUG: Signature:
  913. 31be6dfe86e0de18b696ffd29fc3ee24943b6970813484118a46a7b5eeae8538
  914. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  915. botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
  916. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  917. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:08 GMT'}
  918. botocore.parsers: DEBUG: Response body:
  919. <?xml version="1.0" encoding="UTF-8"?>
  920. <CreateRouteTableResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  921. <requestId>b03f17aa-7a5d-4c26-8381-2b4b3d1270ec</requestId>
  922. <routeTable>
  923. <routeTableId>rtb-7550810a</routeTableId>
  924. <vpcId>vpc-a27e64d9</vpcId>
  925. <routeSet>
  926. <item>
  927. <destinationCidrBlock>10.0.0.0/16</destinationCidrBlock>
  928. <gatewayId>local</gatewayId>
  929. <state>active</state>
  930. <origin>CreateRouteTable</origin>
  931. </item>
  932. </routeSet>
  933. <associationSet/>
  934. <propagatingVgwSet/>
  935. <tagSet/>
  936. </routeTable>
  937. </CreateRouteTableResponse>
  938. botocore.hooks: DEBUG: Event needs-retry.ec2.CreateRouteTable: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0407650>
  939. botocore.retryhandler: DEBUG: No retry needed.
  940. boto: DEBUG: Using access key provided by client.
  941. boto: DEBUG: Using secret key provided by client.
  942. botocore.session: DEBUG: Loading variable profile from defaults.
  943. botocore.session: DEBUG: Loading variable config_file from defaults.
  944. botocore.session: DEBUG: Loading variable credentials_file from defaults.
  945. botocore.session: DEBUG: Loading variable data_path from defaults.
  946. boto: DEBUG: Method: POST
  947. boto: DEBUG: Path: /
  948. boto: DEBUG: Data:
  949. boto: DEBUG: Headers: {}
  950. boto: DEBUG: Host: ec2.us-east-1.amazonaws.com
  951. boto: DEBUG: Port: 443
  952. boto: DEBUG: Params: {'Action': 'DeleteSecurityGroup', 'Version': '2014-10-01', 'GroupId': u'sg-0da07b46'}
  953. boto: DEBUG: establishing HTTPS connection: host=ec2.us-east-1.amazonaws.com, kwargs={'port': 443, 'timeout': 70}
  954. boto: DEBUG: Token: None
  955. boto: DEBUG: CanonicalRequest:
  956. POST
  957. /
  958.  
  959. host:ec2.us-east-1.amazonaws.com
  960. x-amz-date:20180616T184110Z
  961.  
  962. host;x-amz-date
  963. 9aaf5d63305a125774371398a19dc493c603866a2b99a9265bdbafd7d7425774
  964. boto: DEBUG: StringToSign:
  965. AWS4-HMAC-SHA256
  966. 20180616T184110Z
  967. 20180616/us-east-1/ec2/aws4_request
  968. 3cef7f2f60df8284ae3635311371dbd999aa018fdb7903cf598c6191d0eff03c
  969. boto: DEBUG: Signature:
  970. e2f80b1d83655e7a59fc4daeb94cbd6e1e5d99fbecfdf0b0bbf0b14a9d682fb1
  971. boto: DEBUG: Final headers: {'Content-Length': '65', 'User-Agent': 'Boto/2.47.0 Python/2.7.15 Linux/4.14.48', 'Host': 'ec2.us-east-1.amazonaws.com', 'X-Amz-Date': '20180616T184110Z', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Authorization': u'AWS4-HMAC-SHA256 Credential=AKIAJVB4VLGNAL4BKTYQ/20180616/us-east-1/ec2/aws4_request,SignedHeaders=host;x-amz-date,Signature=e2f80b1d83655e7a59fc4daeb94cbd6e1e5d99fbecfdf0b0bbf0b14a9d682fb1'}
  972. botocore.session: DEBUG: Loading variable profile from defaults.
  973. botocore.session: DEBUG: Loading variable ca_bundle from defaults.
  974. botocore.session: DEBUG: Loading variable profile from defaults.
  975. botocore.session: DEBUG: Loading variable api_versions from defaults.
  976. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
  977. botocore.session: DEBUG: Loading variable profile from defaults.
  978. botocore.session: DEBUG: Loading variable config_file from defaults.
  979. botocore.session: DEBUG: Loading variable credentials_file from defaults.
  980. botocore.session: DEBUG: Loading variable profile from defaults.
  981. botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
  982. botocore.session: DEBUG: Loading variable data_path from defaults.
  983. botocore.session: DEBUG: Loading variable profile from defaults.
  984. botocore.session: DEBUG: Loading variable ca_bundle from defaults.
  985. botocore.session: DEBUG: Loading variable profile from defaults.
  986. botocore.session: DEBUG: Loading variable api_versions from defaults.
  987. boto: DEBUG: Using access key provided by client.
  988. boto: DEBUG: Using secret key provided by client.
  989. boto: DEBUG: Method: POST
  990. boto: DEBUG: Path: /
  991. boto: DEBUG: Data:
  992. boto: DEBUG: Headers: {}
  993. boto: DEBUG: Host: ec2.us-east-1.amazonaws.com
  994. boto: DEBUG: Port: 443
  995. boto: DEBUG: Params: {'Action': 'DeleteKeyPair', 'KeyName': u'charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair', 'Version': '2014-10-01'}
  996. boto: DEBUG: establishing HTTPS connection: host=ec2.us-east-1.amazonaws.com, kwargs={'port': 443, 'timeout': 70}
  997. boto: DEBUG: Token: None
  998. boto: DEBUG: CanonicalRequest:
  999. POST
  1000. /
  1001.  
  1002. host:ec2.us-east-1.amazonaws.com
  1003. x-amz-date:20180616T184110Z
  1004.  
  1005. host;x-amz-date
  1006. d56a8f3b43d95499bd517bd0a00126de8e7bf375002e542b3808b10ceec3a721
  1007. boto: DEBUG: StringToSign:
  1008. AWS4-HMAC-SHA256
  1009. 20180616T184110Z
  1010. 20180616/us-east-1/ec2/aws4_request
  1011. a75950cb260f2ac7186001dfe4c4747c256624e7248144115f75906d42a61601
  1012. boto: DEBUG: Signature:
  1013. 5fa6e9e6de3aefc314124f0da8a6e0402fcb7f9681c25062ad5d3ebee292073f
  1014. boto: DEBUG: Final headers: {'Content-Length': '99', 'User-Agent': 'Boto/2.47.0 Python/2.7.15 Linux/4.14.48', 'Host': 'ec2.us-east-1.amazonaws.com', 'X-Amz-Date': '20180616T184110Z', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Authorization': u'AWS4-HMAC-SHA256 Credential=AKIAJVB4VLGNAL4BKTYQ/20180616/us-east-1/ec2/aws4_request,SignedHeaders=host;x-amz-date,Signature=5fa6e9e6de3aefc314124f0da8a6e0402fcb7f9681c25062ad5d3ebee292073f'}
  1015. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
  1016. botocore.session: DEBUG: Loading variable profile from defaults.
  1017. botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
  1018. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/ec2/2016-11-15/service-2.json
  1019. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/ec2/2016-11-15/service-2.json
  1020. boto: DEBUG: wrapping ssl socket; CA certificate file=/nix/store/2hq8fnyf3b17id6ycx22f0irjsgjsm1h-python2.7-boto-2.47.0/lib/python2.7/site-packages/boto/cacerts/cacerts.txt
  1021. boto: DEBUG: wrapping ssl socket; CA certificate file=/nix/store/2hq8fnyf3b17id6ycx22f0irjsgjsm1h-python2.7-boto-2.47.0/lib/python2.7/site-packages/boto/cacerts/cacerts.txt
  1022. botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
  1023. botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
  1024. botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
  1025. botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
  1026. botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
  1027. botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
  1028. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
  1029. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
  1030. botocore.client: DEBUG: Registering retry handlers for service: ec2
  1031. botocore.client: DEBUG: Registering retry handlers for service: ec2
  1032. botocore.hooks: DEBUG: Event before-parameter-build.ec2.DeleteRouteTable: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  1033. botocore.hooks: DEBUG: Event before-parameter-build.ec2.DeleteRouteTable: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  1034. botocore.endpoint: DEBUG: Making request for OperationModel(name=DeleteRouteTable) (verify_ssl=True) with params: {'body': {'Action': u'DeleteRouteTable', u'RouteTableId': u'rtb-7550810a', 'Version': u'2016-11-15'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27ddb250d0>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  1035. botocore.hooks: DEBUG: Event request-created.ec2.DeleteRouteTable: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27ddb25090>>
  1036. botocore.hooks: DEBUG: Event choose-signer.ec2.DeleteRouteTable: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  1037. botocore.auth: DEBUG: Calculating signature using v4 auth.
  1038. botocore.auth: DEBUG: CanonicalRequest:
  1039. POST
  1040. /
  1041.  
  1042. content-type:application/x-www-form-urlencoded; charset=utf-8
  1043. host:ec2.us-east-1.amazonaws.com
  1044. x-amz-date:20180616T184110Z
  1045.  
  1046. content-type;host;x-amz-date
  1047. 51510e4d7efd9f1d32552748ade0c16e21fff471adb5f4aedac04a61d9e9f933
  1048. botocore.auth: DEBUG: StringToSign:
  1049. AWS4-HMAC-SHA256
  1050. 20180616T184110Z
  1051. 20180616/us-east-1/ec2/aws4_request
  1052. fe1cf504530bf14ff6565f77825ca3535045886696b544e5f8fd5d9ac9045619
  1053. botocore.auth: DEBUG: Signature:
  1054. f83154c5e125ebf5bc5579a468f04ecc92589d17b5adbd7117500cded6f5eb42
  1055. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  1056. botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
  1057. botocore.hooks: DEBUG: Event before-parameter-build.ec2.DetachInternetGateway: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  1058. botocore.hooks: DEBUG: Event before-parameter-build.ec2.DetachInternetGateway: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  1059. botocore.endpoint: DEBUG: Making request for OperationModel(name=DetachInternetGateway) (verify_ssl=True) with params: {'body': {'Action': u'DetachInternetGateway', u'VpcId': u'vpc-a27e64d9', 'Version': u'2016-11-15', u'InternetGatewayId': u'igw-ed673f95'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27ddb8e8d0>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  1060. botocore.hooks: DEBUG: Event request-created.ec2.DetachInternetGateway: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27ddb8e850>>
  1061. botocore.hooks: DEBUG: Event choose-signer.ec2.DetachInternetGateway: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  1062. botocore.auth: DEBUG: Calculating signature using v4 auth.
  1063. botocore.auth: DEBUG: CanonicalRequest:
  1064. POST
  1065. /
  1066.  
  1067. content-type:application/x-www-form-urlencoded; charset=utf-8
  1068. host:ec2.us-east-1.amazonaws.com
  1069. x-amz-date:20180616T184110Z
  1070.  
  1071. content-type;host;x-amz-date
  1072. 063f8970cdbb22a2cc7651c657ecc2667ee7e9d5dd011611f38aeb8b98adbf5a
  1073. botocore.auth: DEBUG: StringToSign:
  1074. AWS4-HMAC-SHA256
  1075. 20180616T184110Z
  1076. 20180616/us-east-1/ec2/aws4_request
  1077. 9967fdd40f44eb6b239a50c16d3484853d82efcf5fbd0d21e8f68a28a14ecb3a
  1078. botocore.auth: DEBUG: Signature:
  1079. b47b869f274097dd29b179da62b6fcf5c9bfda1d465ff2966cc0f74561fed913
  1080. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  1081. botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
  1082. boto: DEBUG: validating server certificate: hostname=ec2.us-east-1.amazonaws.com, certificate hosts=['ec2.us-east-1.amazonaws.com', 'ec2.amazonaws.com', 'us-east-1.ec2.amazonaws.com', '*.ec2.us-east-1.vpce.amazonaws.com']
  1083. boto: DEBUG: validating server certificate: hostname=ec2.us-east-1.amazonaws.com, certificate hosts=['ec2.us-east-1.amazonaws.com', 'ec2.amazonaws.com', 'us-east-1.ec2.amazonaws.com', '*.ec2.us-east-1.vpce.amazonaws.com']
  1084. boto: DEBUG: Response headers: [('date', 'Sat, 16 Jun 2018 18:41:10 GMT'), ('content-length', '227'), ('content-type', 'text/xml;charset=UTF-8'), ('server', 'AmazonEC2')]
  1085. boto: DEBUG: <?xml version="1.0" encoding="UTF-8"?>
  1086. <DeleteKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
  1087. <requestId>961ae7d7-7d20-4b94-9f44-49609ccc7556</requestId>
  1088. <return>true</return>
  1089. </DeleteKeyPairResponse>
  1090.  
  1091. boto: DEBUG: Response headers: [('transfer-encoding', 'chunked'), ('vary', 'Accept-Encoding'), ('server', 'AmazonEC2'), ('content-type', 'text/xml;charset=UTF-8'), ('date', 'Sat, 16 Jun 2018 18:41:10 GMT')]
  1092. boto: DEBUG: <?xml version="1.0" encoding="UTF-8"?>
  1093. <DeleteSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
  1094. <requestId>cee60535-4049-4f51-9104-7ffcb38074e9</requestId>
  1095. <return>true</return>
  1096. </DeleteSecurityGroupResponse>
  1097. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  1098. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:10 GMT'}
  1099. botocore.parsers: DEBUG: Response body:
  1100. <?xml version="1.0" encoding="UTF-8"?>
  1101. <DetachInternetGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  1102. <requestId>30e5fd08-364a-44d3-8b7d-e0b7e6ad52fa</requestId>
  1103. <return>true</return>
  1104. </DetachInternetGatewayResponse>
  1105. botocore.hooks: DEBUG: Event needs-retry.ec2.DetachInternetGateway: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27dda8f750>
  1106. botocore.retryhandler: DEBUG: No retry needed.
  1107. botocore.hooks: DEBUG: Event before-parameter-build.ec2.DeleteInternetGateway: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  1108. botocore.hooks: DEBUG: Event before-parameter-build.ec2.DeleteInternetGateway: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  1109. botocore.endpoint: DEBUG: Making request for OperationModel(name=DeleteInternetGateway) (verify_ssl=True) with params: {'body': {'Action': u'DeleteInternetGateway', 'Version': u'2016-11-15', u'InternetGatewayId': u'igw-ed673f95'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27ddb8e8d0>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  1110. botocore.hooks: DEBUG: Event request-created.ec2.DeleteInternetGateway: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27ddb8e850>>
  1111. botocore.hooks: DEBUG: Event choose-signer.ec2.DeleteInternetGateway: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  1112. botocore.auth: DEBUG: Calculating signature using v4 auth.
  1113. botocore.auth: DEBUG: CanonicalRequest:
  1114. POST
  1115. /
  1116.  
  1117. content-type:application/x-www-form-urlencoded; charset=utf-8
  1118. host:ec2.us-east-1.amazonaws.com
  1119. x-amz-date:20180616T184111Z
  1120.  
  1121. content-type;host;x-amz-date
  1122. 7b341e531c6dfec2a60660e494b0a08343fbcdf3ad220be7e423809cbbc9d081
  1123. botocore.auth: DEBUG: StringToSign:
  1124. AWS4-HMAC-SHA256
  1125. 20180616T184111Z
  1126. 20180616/us-east-1/ec2/aws4_request
  1127. cdec62da5b239d66bda19fd59a555560940cedc2b629cfa7ecd1aa7cc26f0547
  1128. botocore.auth: DEBUG: Signature:
  1129. 242c35f7dfbf44d94ae8e1cf05ac237a2e56082973cae45cd02689679b794ebf
  1130. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  1131. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  1132. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:10 GMT'}
  1133. botocore.parsers: DEBUG: Response body:
  1134. <?xml version="1.0" encoding="UTF-8"?>
  1135. <DeleteRouteTableResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  1136. <requestId>4042a9fd-e564-4d9a-b04a-b25ffa385c60</requestId>
  1137. <return>true</return>
  1138. </DeleteRouteTableResponse>
  1139. botocore.hooks: DEBUG: Event needs-retry.ec2.DeleteRouteTable: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27dda8f4d0>
  1140. botocore.retryhandler: DEBUG: No retry needed.
  1141. botocore.session: DEBUG: Loading variable profile from defaults.
  1142. botocore.session: DEBUG: Loading variable config_file from defaults.
  1143. botocore.session: DEBUG: Loading variable credentials_file from defaults.
  1144. botocore.session: DEBUG: Loading variable data_path from defaults.
  1145. botocore.session: DEBUG: Loading variable profile from defaults.
  1146. botocore.session: DEBUG: Loading variable ca_bundle from defaults.
  1147. botocore.session: DEBUG: Loading variable profile from defaults.
  1148. botocore.session: DEBUG: Loading variable api_versions from defaults.
  1149. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
  1150. botocore.session: DEBUG: Loading variable profile from defaults.
  1151. botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
  1152. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/ec2/2016-11-15/service-2.json
  1153. botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
  1154. botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
  1155. botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
  1156. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
  1157. botocore.client: DEBUG: Registering retry handlers for service: ec2
  1158. botocore.hooks: DEBUG: Event before-parameter-build.ec2.DeleteSubnet: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  1159. botocore.hooks: DEBUG: Event before-parameter-build.ec2.DeleteSubnet: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  1160. botocore.endpoint: DEBUG: Making request for OperationModel(name=DeleteSubnet) (verify_ssl=True) with params: {'body': {'Action': u'DeleteSubnet', 'SubnetId': u'subnet-f21172b8', 'Version': u'2016-11-15'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27f3381f90>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  1161. botocore.hooks: DEBUG: Event request-created.ec2.DeleteSubnet: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f3381f10>>
  1162. botocore.hooks: DEBUG: Event choose-signer.ec2.DeleteSubnet: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  1163. botocore.auth: DEBUG: Calculating signature using v4 auth.
  1164. botocore.auth: DEBUG: CanonicalRequest:
  1165. POST
  1166. /
  1167.  
  1168. content-type:application/x-www-form-urlencoded; charset=utf-8
  1169. host:ec2.us-east-1.amazonaws.com
  1170. x-amz-date:20180616T184111Z
  1171.  
  1172. content-type;host;x-amz-date
  1173. c4b69c0efad3aec005e6794cbc6706f29f0540741529b00447aef723a2aee53d
  1174. botocore.auth: DEBUG: StringToSign:
  1175. AWS4-HMAC-SHA256
  1176. 20180616T184111Z
  1177. 20180616/us-east-1/ec2/aws4_request
  1178. ef2b0011213e51dc5f2914ce6d45095efc8e52abfec39f9d003105f6c5b3f4e6
  1179. botocore.auth: DEBUG: Signature:
  1180. c16eb49768e1f198b5f56d08e8ad64d6ad6956bd7fcee53727abd062c9490b36
  1181. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  1182. botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
  1183. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  1184. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:10 GMT'}
  1185. botocore.parsers: DEBUG: Response body:
  1186. <?xml version="1.0" encoding="UTF-8"?>
  1187. <DeleteInternetGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  1188. <requestId>9afcda3d-892e-43b4-a71b-e0e4eb44727d</requestId>
  1189. <return>true</return>
  1190. </DeleteInternetGatewayResponse>
  1191. botocore.hooks: DEBUG: Event needs-retry.ec2.DeleteInternetGateway: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27dda8f750>
  1192. botocore.retryhandler: DEBUG: No retry needed.
  1193. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  1194. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:11 GMT'}
  1195. botocore.parsers: DEBUG: Response body:
  1196. <?xml version="1.0" encoding="UTF-8"?>
  1197. <DeleteSubnetResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  1198. <requestId>34ba7e3c-abe3-45e4-813d-aec041a0e639</requestId>
  1199. <return>true</return>
  1200. </DeleteSubnetResponse>
  1201. botocore.hooks: DEBUG: Event needs-retry.ec2.DeleteSubnet: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f33541d0>
  1202. botocore.retryhandler: DEBUG: No retry needed.
  1203. botocore.session: DEBUG: Loading variable profile from defaults.
  1204. botocore.session: DEBUG: Loading variable config_file from defaults.
  1205. botocore.session: DEBUG: Loading variable credentials_file from defaults.
  1206. botocore.session: DEBUG: Loading variable data_path from defaults.
  1207. botocore.session: DEBUG: Loading variable profile from defaults.
  1208. botocore.session: DEBUG: Loading variable ca_bundle from defaults.
  1209. botocore.session: DEBUG: Loading variable profile from defaults.
  1210. botocore.session: DEBUG: Loading variable api_versions from defaults.
  1211. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
  1212. botocore.session: DEBUG: Loading variable profile from defaults.
  1213. botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
  1214. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/ec2/2016-11-15/service-2.json
  1215. botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
  1216. botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
  1217. botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
  1218. botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
  1219. botocore.client: DEBUG: Registering retry handlers for service: ec2
  1220. botocore.hooks: DEBUG: Event before-parameter-build.ec2.DeleteVpc: calling handler <bound method ParameterAlias.alias_parameter_in_call of <botocore.handlers.ParameterAlias object at 0x7f2814c1fa50>>
  1221. botocore.hooks: DEBUG: Event before-parameter-build.ec2.DeleteVpc: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
  1222. botocore.endpoint: DEBUG: Making request for OperationModel(name=DeleteVpc) (verify_ssl=True) with params: {'body': {'Action': u'DeleteVpc', 'VpcId': u'vpc-a27e64d9', 'Version': u'2016-11-15'}, 'url': u'https://ec2.us-east-1.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f27dff33dd0>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
  1223. botocore.hooks: DEBUG: Event request-created.ec2.DeleteVpc: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27dff33d50>>
  1224. botocore.hooks: DEBUG: Event choose-signer.ec2.DeleteVpc: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
  1225. botocore.auth: DEBUG: Calculating signature using v4 auth.
  1226. botocore.auth: DEBUG: CanonicalRequest:
  1227. POST
  1228. /
  1229.  
  1230. content-type:application/x-www-form-urlencoded; charset=utf-8
  1231. host:ec2.us-east-1.amazonaws.com
  1232. x-amz-date:20180616T184112Z
  1233.  
  1234. content-type;host;x-amz-date
  1235. 4834835cd494206c22cbc61d919c41fb9533df1d938157ea01c0b282b539c226
  1236. botocore.auth: DEBUG: StringToSign:
  1237. AWS4-HMAC-SHA256
  1238. 20180616T184112Z
  1239. 20180616/us-east-1/ec2/aws4_request
  1240. d4de213e6527a95030d42c2e25bff91d40b72cc87da78b96721a1ff911efd92e
  1241. botocore.auth: DEBUG: Signature:
  1242. d4347da628881710fdc1df5ee9aee3ea8a0dae9779cb28c69021a3f89b300a0f
  1243. botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
  1244. botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
  1245. botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
  1246. botocore.parsers: DEBUG: Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Sat, 16 Jun 2018 18:41:13 GMT'}
  1247. botocore.parsers: DEBUG: Response body:
  1248. <?xml version="1.0" encoding="UTF-8"?>
  1249. <DeleteVpcResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  1250. <requestId>998647e3-9d90-47ca-9c70-4c290c38dad2</requestId>
  1251. <return>true</return>
  1252. </DeleteVpcResponse>
  1253. botocore.hooks: DEBUG: Event needs-retry.ec2.DeleteVpc: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27dfedafd0>
  1254. botocore.retryhandler: DEBUG: No retry needed.
  1255. --------------------- >> end captured logging << ---------------------
  1256.  
  1257. ----------------------------------------------------------------------
  1258. Ran 1 test in 12.851s
  1259.  
  1260. FAILED (errors=1)
  1261.  
  1262. [nix-shell:~/projects/nixops]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement