Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [nix-shell:~/projects/nixops]$ python2 tests.py tests.functional.test_vpc:test_deploy_vpc_machine -vv
- nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
- nose.config: INFO: Excluding tests matching ['^coverage-tests\\.py$']
- nose.selector: INFO: /home/srghma/projects/nixops/dev-shell is executable; skipped
- nose.selector: INFO: /home/srghma/projects/nixops/clean_test_state_files.py is executable; skipped
- nose.selector: INFO: /home/srghma/projects/nixops/coverage-tests.py is executable; skipped
- nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
- nose.config: INFO: Excluding tests matching ['^coverage-tests\\.py$']
- tests.functional.test_vpc.test_deploy_vpc_machine('nixops',) ... igw-test........> will set attribute vpcId to computed
- igw-test........> will set attribute tags to {}
- igw-test........> will set attribute region to us-east-1
- public-ssh......> warning: resource type ec2-security-group doesn't implement a plan operation
- association-test> will set attribute region to us-east-1
- association-test> will set attribute routeTableId to computed
- association-test> will set attribute subnetId to computed
- vpc-test........> will set attribute enableDnsSupport to False
- vpc-test........> will set attribute instanceTenancy to default
- vpc-test........> will set attribute tags to {'Source': 'NixOps Tests'}
- vpc-test........> will set attribute region to us-east-1
- vpc-test........> will set attribute enableDnsHostnames to False
- vpc-test........> will set attribute amazonProvidedIpv6CidrBlock to False
- vpc-test........> will set attribute enableClassicLink to False
- vpc-test........> will set attribute cidrBlock to 10.0.0.0/16
- machine.........> warning: resource type ec2 doesn't implement a plan operation
- igw-route.......> will set attribute destinationCidrBlock to 0.0.0.0/0
- igw-route.......> will set attribute region to us-east-1
- igw-route.......> will set attribute routeTableId to computed
- igw-route.......> will set attribute gatewayId to computed
- keypair.........> warning: resource type ec2-keypair doesn't implement a plan operation
- route-table.....> will set attribute vpcId to computed
- route-table.....> will set attribute propagatingVgws to []
- route-table.....> will set attribute tags to {}
- route-table.....> will set attribute region to us-east-1
- subnet-test.....> will set attribute mapPublicIpOnLaunch to True
- subnet-test.....> will set attribute zone to us-east-1a
- subnet-test.....> will set attribute tags to {'Source': 'NixOps Tests'}
- subnet-test.....> will set attribute region to us-east-1
- subnet-test.....> will set attribute vpcId to computed
- subnet-test.....> will set attribute cidrBlock to 10.0.0.0/19
- vpc-test........> creating vpc under region us-east-1
- keypair.........> uploading EC2 key pair ‘charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair’...
- vpc-test........> done
- public-ssh......> creating EC2 security group ‘charon-d107a500-7194-11e8-bc9a-0242f1563f79-public-ssh’...
- subnet-test.....> creating subnet in vpc vpc-a27e64d9
- igw-test........> creating internet gateway in region us-east-1
- public-ssh......> adding new rules to EC2 security group ‘charon-d107a500-7194-11e8-bc9a-0242f1563f79-public-ssh’...
- igw-test........> attaching internet gateway igw-ed673f95 to vpc vpc-a27e64d9
- subnet-test.....> done
- route-table.....> creating route table in vpc vpc-a27e64d9
- ('propagatingVgws new_vgws', [])
- public-ssh......> deleting EC2 security group `charon-d107a500-7194-11e8-bc9a-0242f1563f79-public-ssh' ID `sg-0da07b46'...
- route-table.....> deleting route table rtb-7550810a
- igw-test........> detaching internet gateway igw-ed673f95 from vpc vpc-a27e64d9
- warning: are you sure you want to destroy keypair ‘charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair’? (y/N) y
- keypair.........> deleting EC2 key pair ‘charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair’...
- igw-test........> deleting internet gateway igw-ed673f95
- subnet-test.....> deleting subnet subnet-f21172b8
- vpc-test........> destroying vpc vpc-a27e64d9...
- deployment ‘d107a500-7194-11e8-bc9a-0242f1563f79’ destroyed
- ERROR
- ======================================================================
- ERROR: tests.functional.test_vpc.test_deploy_vpc_machine('nixops',)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/nix/store/qyqsfqjpksrvaa387yk4y5bgxnslfyx8-python2.7-nose-1.3.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
- self.test(*self.arg)
- File "/nix/store/kwq9a1bjhc3w1672khipz85qrwpxj5lv-python2.7-parameterized-0.6.1/lib/python2.7/site-packages/parameterized/parameterized.py", line 280, in <lambda>
- nose_func = wraps(func)(lambda *args: func(*args))
- File "/home/srghma/projects/nixops/tests/functional/test_vpc/__init__.py", line 51, in test_deploy_vpc_machine
- deployment.deploy()
- File "/home/srghma/projects/nixops/nixops/deployment.py", line 989, in deploy
- self.run_with_notify('deploy', lambda: self._deploy(**kwargs))
- File "/home/srghma/projects/nixops/nixops/deployment.py", line 978, in run_with_notify
- f()
- File "/home/srghma/projects/nixops/nixops/deployment.py", line 989, in <lambda>
- self.run_with_notify('deploy', lambda: self._deploy(**kwargs))
- File "/home/srghma/projects/nixops/nixops/deployment.py", line 922, in _deploy
- nixops.parallel.run_tasks(nr_workers=-1, tasks=self.active_resources.itervalues(), worker_fun=worker)
- File "/home/srghma/projects/nixops/nixops/parallel.py", line 44, in thread_fun
- result_queue.put((worker_fun(t), None, t.name))
- File "/home/srghma/projects/nixops/nixops/deployment.py", line 895, in worker
- r.create(self.definitions[r.name], check=check, allow_reboot=allow_reboot, allow_recreate=allow_recreate)
- File "/home/srghma/projects/nixops/nixops/resources/__init__.py", line 198, in create
- handler.handle(allow_recreate)
- File "/home/srghma/projects/nixops/nixops/resources/vpc_route_table.py", line 127, in realize_propagate_vpn_gtws
- self._state['propagatingVgws'] = new_vgws
- File "/home/srghma/projects/nixops/nixops/state/state_helper.py", line 24, in __setitem__
- self._state.set_resource_attrs(self.uuid, self.id, {key:value})
- File "/home/srghma/projects/nixops/nixops/state/sqlite_connector.py", line 379, in set_resource_attrs
- (resource_id, name, value))
- InterfaceError: Error binding parameter 2 - probably unsupported type.
- -------------------- >> begin captured logging << --------------------
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable config_file from defaults.
- botocore.session: DEBUG: Loading variable credentials_file from defaults.
- botocore.session: DEBUG: Loading variable data_path from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable ca_bundle from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable api_versions from defaults.
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
- 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
- botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
- botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
- botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
- botocore.client: DEBUG: Registering retry handlers for service: ec2
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateVpc: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.CreateVpc: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f2791ad0>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.CreateVpc: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184102Z
- content-type;host;x-amz-date
- df66aba3f6a55adae91a6ec9d45352f82db22c11ae297847da37b9c08eff814a
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184102Z
- 20180616/us-east-1/ec2/aws4_request
- 5c577ad613f8039c19e8bff43cbb703874f945d628bd46cf1efc6c89f6826f2f
- botocore.auth: DEBUG: Signature:
- 9ef0bc82b834e08443946b12f73cd23d06c6a3d1d47650553869eaf8eea4e708
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- boto: DEBUG: Using access key provided by client.
- boto: DEBUG: Using secret key provided by client.
- boto: DEBUG: Method: POST
- boto: DEBUG: Path: /
- boto: DEBUG: Data:
- boto: DEBUG: Headers: {}
- boto: DEBUG: Host: ec2.us-east-1.amazonaws.com
- boto: DEBUG: Port: 443
- boto: DEBUG: Params: {'Action': 'DescribeKeyPairs', 'Version': '2014-10-01', 'KeyName.1': 'charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair'}
- boto: DEBUG: establishing HTTPS connection: host=ec2.us-east-1.amazonaws.com, kwargs={'port': 443, 'timeout': 70}
- boto: DEBUG: Token: None
- boto: DEBUG: CanonicalRequest:
- POST
- /
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184102Z
- host;x-amz-date
- 5dd6e3621c7c6aca3126e88bf2599ca148a5d11396f93e00eec0e5217388225e
- botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
- boto: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184102Z
- 20180616/us-east-1/ec2/aws4_request
- c3247003b6be7d58be7ccc0c1a64df61259148062c58f3143f384a52dbc54476
- boto: DEBUG: Signature:
- f4a03a7b09e4579ebe41436a0a05f6c3feebabcd7db696e2903a6261a6ff34d3
- 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'}
- 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
- 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']
- boto: DEBUG: Response headers: [('transfer-encoding', 'chunked'), ('date', 'Sat, 16 Jun 2018 18:41:02 GMT'), ('connection', 'close'), ('server', 'AmazonEC2')]
- boto: DEBUG: <?xml version="1.0" encoding="UTF-8"?>
- <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>
- boto: ERROR: 400 Bad Request
- boto: ERROR: <?xml version="1.0" encoding="UTF-8"?>
- <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>
- boto: DEBUG: Method: POST
- boto: DEBUG: Path: /
- boto: DEBUG: Data:
- boto: DEBUG: Headers: {}
- boto: DEBUG: Host: ec2.us-east-1.amazonaws.com
- boto: DEBUG: Port: 443
- boto: DEBUG: Params: {'Action': 'ImportKeyPair', 'PublicKeyMaterial': 'c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDeGRPaC9pZHJwZnBDdnc1dzdEeEpXc2grQVhLU2piZFRLSEFyY0VNQU1iRXg0b1NhT0J6WldmSHdEenVjMnBFZlhqY01Mb2xyWW9KWGlmR3hsS0lranZFQzB6WnQ4ZkRFejFCZjRjcWtWVkxmVEpLMHF0cFltVEw0MzlJR3JjRW0zMUFxZ2psYnZZLzkyang3U08zS25VWVBJYlRHSlRadm02Ymt2OTFaa3B6OVdGaVMzR2tiV1gwWDNsSmhMd3lFblgwV1poMWlzOUxocHNIQlhrUVFkZ0hSbEpTOVBvazFKVzNIY1dwOGorendSVlM2ODRZeHhhUFVueTNkZWNzM284bW5HWFBLdVVxU2EwOGNkK3ZPQXdXNVQrMlRsNkw3WEVMM1BCVmUxb0MwQzlRTUN0UlJ6d0pvaEN5SWY3MXhTYzZwNzRIaW5WVSt3NWEzVGVZcVYgTml4T3BzIGF1dG8tZ2VuZXJhdGVkIGtleQ==', 'KeyName': 'charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair', 'Version': '2014-10-01'}
- boto: DEBUG: establishing HTTPS connection: host=ec2.us-east-1.amazonaws.com, kwargs={'port': 443, 'timeout': 70}
- boto: DEBUG: Token: None
- boto: DEBUG: CanonicalRequest:
- POST
- /
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184103Z
- host;x-amz-date
- c669eff1cb6fa1ae4ae2d7ff5eac120ca705f2bc9a93333dbd15ff9280b64626
- boto: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184103Z
- 20180616/us-east-1/ec2/aws4_request
- 1596a8e87788d1104a89a90257f2d306ae43953ae42ca97dba8cd529622f59b9
- boto: DEBUG: Signature:
- 06a023b5eaaa31d0a316ef2bf112d718eb5618674b5f3e334faf8b263eaa687f
- 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'}
- 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
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 865
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <CreateVpcResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>d0092e3f-b972-45b1-b68d-871a11ea582b</requestId>
- <vpc>
- <vpcId>vpc-a27e64d9</vpcId>
- <state>pending</state>
- <cidrBlock>10.0.0.0/16</cidrBlock>
- <cidrBlockAssociationSet>
- <item>
- <cidrBlock>10.0.0.0/16</cidrBlock>
- <associationId>vpc-cidr-assoc-7f957d13</associationId>
- <cidrBlockState>
- <state>associated</state>
- </cidrBlockState>
- </item>
- </cidrBlockAssociationSet>
- <ipv6CidrBlockAssociationSet/>
- <dhcpOptionsId>dopt-781de01d</dhcpOptionsId>
- <tagSet/>
- <instanceTenancy>default</instanceTenancy>
- <isDefault>false</isDefault>
- </vpc>
- </CreateVpcResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.CreateVpc: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f273fd50>
- botocore.retryhandler: DEBUG: No retry needed.
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateTags: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.CreateTags: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f2791ad0>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.CreateTags: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184103Z
- content-type;host;x-amz-date
- d0d85e8aaa830b8577e49a905ac883fcdbaba4fe2a60897348cdabf0b6e6e417
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184103Z
- 20180616/us-east-1/ec2/aws4_request
- c8e6ba57d2600c8fb2ea66ca41ccd8d28c7ded12d947fcca3cdab4ae0b4bf536
- botocore.auth: DEBUG: Signature:
- 3f5be90ac5a5cac5a59f841e9ae418c16b37c84c9c51cbe74078703a2ae44d85
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <CreateTagsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>4e007859-3039-4580-97bd-d8b530921124</requestId>
- <return>true</return>
- </CreateTagsResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.CreateTags: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f273fd50>
- botocore.retryhandler: DEBUG: No retry needed.
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.DescribeVpcs: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.DescribeVpcs: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f2791ad0>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.DescribeVpcs: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184103Z
- content-type;host;x-amz-date
- a4da69e6fb35e5fc2efe780af92cd39b56ded00130a839a0b7413456ad120caa
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184103Z
- 20180616/us-east-1/ec2/aws4_request
- ba0857ada62e23ac74472f42c83847093ea043ca76714abd1b328798888374cf
- botocore.auth: DEBUG: Signature:
- 64b2c91dc8233dd8c71f51f8b4bc0e507b8446398448e2e4054076b878542f6a
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- 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']
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <DescribeVpcsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>e225995c-52c2-4f90-8c4a-4906e3c3440b</requestId>
- <vpcSet>
- <item>
- <vpcId>vpc-a27e64d9</vpcId>
- <state>available</state>
- <cidrBlock>10.0.0.0/16</cidrBlock>
- <cidrBlockAssociationSet>
- <item>
- <cidrBlock>10.0.0.0/16</cidrBlock>
- <associationId>vpc-cidr-assoc-7f957d13</associationId>
- <cidrBlockState>
- <state>associated</state>
- </cidrBlockState>
- </item>
- </cidrBlockAssociationSet>
- <dhcpOptionsId>dopt-781de01d</dhcpOptionsId>
- <tagSet>
- <item>
- <key>CharonNetworkUUID</key>
- <value>d107a500-7194-11e8-bc9a-0242f1563f79</value>
- </item>
- <item>
- <key>Source</key>
- <value>NixOps Tests</value>
- </item>
- <item>
- <key>CharonMachineName</key>
- <value>vpc-test</value>
- </item>
- <item>
- <key>Name</key>
- <value>Unnamed NixOps network [vpc-test]</value>
- </item>
- <item>
- <key>CharonStateFile</key>
- <value>srghma@machine:sqlite:///home/srghma/projects/nixops/tests/state_files/test_deploy_vpc_machine.nixops</value>
- </item>
- </tagSet>
- <instanceTenancy>default</instanceTenancy>
- <isDefault>false</isDefault>
- </item>
- </vpcSet>
- </DescribeVpcsResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.DescribeVpcs: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f273fd50>
- botocore.retryhandler: DEBUG: No retry needed.
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.ModifyVpcAttribute: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.ModifyVpcAttribute: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f2791ad0>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.ModifyVpcAttribute: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184104Z
- content-type;host;x-amz-date
- aba3e5d86a0a723b38a77f67f6bd486b93c128ba350dba1b15e680a6038c6f8e
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184104Z
- 20180616/us-east-1/ec2/aws4_request
- 1e2a9b62d75dda17087cbae354fa89d576b536b96ba9353640e59c20c23e5fb4
- botocore.auth: DEBUG: Signature:
- cf78a6cd2a1acdb4d922c1bde3f3db4c9b205dcc02e124d8bd05593472d6abd6
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- 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')]
- boto: DEBUG: <?xml version="1.0" encoding="UTF-8"?>
- <ImportKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
- <requestId>f15585f1-22fc-4c04-b2c1-94fcc1a6d392</requestId>
- <keyName>charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair</keyName>
- <keyFingerprint>69:74:2b:90:81:48:12:9a:08:f8:27:88:db:18:de:bf</keyFingerprint>
- </ImportKeyPairResponse>
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <ModifyVpcAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>a916e2c0-948b-4536-a1f9-b6d96fc718f4</requestId>
- <return>true</return>
- </ModifyVpcAttributeResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.ModifyVpcAttribute: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f273fd50>
- botocore.retryhandler: DEBUG: No retry needed.
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.ModifyVpcAttribute: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.ModifyVpcAttribute: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f2791ad0>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.ModifyVpcAttribute: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184104Z
- content-type;host;x-amz-date
- 10dab936810ec49e4466d690f4f4fdd9b7d69e4340b0c60c60bbaa872d5e56c2
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184104Z
- 20180616/us-east-1/ec2/aws4_request
- 6f19baf6f492202a9194421c6daa1f9d4d79c2e6963d8f95bc8001c58d460c92
- botocore.auth: DEBUG: Signature:
- 4ce047167943126755bd93977d7169c8c84d2bee5c821e46b9ceb7d589e45c20
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <ModifyVpcAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>29f62b31-bccd-4b64-b18d-c0a0d46f613c</requestId>
- <return>true</return>
- </ModifyVpcAttributeResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.ModifyVpcAttribute: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f273fd50>
- botocore.retryhandler: DEBUG: No retry needed.
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateTags: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.CreateTags: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f2791ad0>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.CreateTags: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184104Z
- content-type;host;x-amz-date
- fa46899cfca0b87b224d5f4f9c5f2301dd323bdfcb53707d67caf2a011e03fd8
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184104Z
- 20180616/us-east-1/ec2/aws4_request
- 759691ff8ac9b097e01efea065e133235ce07868a62f77d23c722e2d3680a5e8
- botocore.auth: DEBUG: Signature:
- dfc84e5f7f60868ea2335b1a2ab3aeff1c2f9ccf62adf6dcecaa4c9448211d25
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <CreateTagsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>c4f740bb-55ad-4bd5-a142-d1adb836ff8f</requestId>
- <return>true</return>
- </CreateTagsResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.CreateTags: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f273fd50>
- botocore.retryhandler: DEBUG: No retry needed.
- boto: DEBUG: Using access key provided by client.
- boto: DEBUG: Using secret key provided by client.
- boto: DEBUG: Method: POST
- boto: DEBUG: Path: /
- boto: DEBUG: Data:
- boto: DEBUG: Headers: {}
- boto: DEBUG: Host: ec2.us-east-1.amazonaws.com
- boto: DEBUG: Port: 443
- 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'}
- boto: DEBUG: establishing HTTPS connection: host=ec2.us-east-1.amazonaws.com, kwargs={'port': 443, 'timeout': 70}
- boto: DEBUG: Token: None
- boto: DEBUG: CanonicalRequest:
- POST
- /
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184105Z
- host;x-amz-date
- 4a96456ba99b058d5d035796d7671aca9e29e52ee62b6d186f0f708f73b7063c
- boto: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184105Z
- 20180616/us-east-1/ec2/aws4_request
- daa3b10dd84c0fba5d7c3df126a072379705488c59082dae6ccf8cbf90eeb2b1
- boto: DEBUG: Signature:
- ededc217fe15a0ae3cfa10b0bc7521edcd63623d3c4087422b096539159097c3
- 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'}
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable config_file from defaults.
- botocore.session: DEBUG: Loading variable credentials_file from defaults.
- botocore.session: DEBUG: Loading variable data_path from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable ca_bundle from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable api_versions from defaults.
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable config_file from defaults.
- botocore.session: DEBUG: Loading variable credentials_file from defaults.
- botocore.session: DEBUG: Loading variable data_path from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable ca_bundle from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable api_versions from defaults.
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
- 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
- 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
- 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
- botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
- botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
- botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
- botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
- botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
- botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
- botocore.client: DEBUG: Registering retry handlers for service: ec2
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateInternetGateway: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.client: DEBUG: Registering retry handlers for service: ec2
- botocore.hooks: DEBUG: Event request-created.ec2.CreateInternetGateway: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09d29d0>>
- 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>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.CreateInternetGateway: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateSubnet: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- 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'}
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184105Z
- content-type;host;x-amz-date
- 154ba4012caafa30b91a8fe148227c696197ed55fb8861e07400f7355218dca4
- botocore.hooks: DEBUG: Event request-created.ec2.CreateSubnet: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09c2190>>
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184105Z
- 20180616/us-east-1/ec2/aws4_request
- 8879b7e8b7abab44d2fafcb84a6ca6327185142bdae160316e14ddbc8cb4603e
- botocore.hooks: DEBUG: Event choose-signer.ec2.CreateSubnet: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Signature:
- 587fb92e3531ad1fe13b907bf5ed89e371eaee7fc0040180fcbd4ddd6ae9c64b
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184105Z
- content-type;host;x-amz-date
- 88885c478f3e2a9581c589ccf84e9614ff1e7d657b29b149627f32f6b4c01af0
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184105Z
- 20180616/us-east-1/ec2/aws4_request
- fdcd2fa113bbb879c9b45f258e273770a6e579de049b1426265a9c27b6aeca4c
- botocore.auth: DEBUG: Signature:
- ee654501306dc7ede55e4b14c1de04c4be49f6fcef5a747d6cbabe29e56f88a9
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
- botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
- 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']
- 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')]
- boto: DEBUG: <?xml version="1.0" encoding="UTF-8"?>
- <CreateSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
- <requestId>85a3645b-fa43-447a-b829-db576fe2a03e</requestId>
- <return>true</return>
- <groupId>sg-0da07b46</groupId>
- </CreateSecurityGroupResponse>
- boto: DEBUG: Method: POST
- boto: DEBUG: Path: /
- boto: DEBUG: Data:
- boto: DEBUG: Headers: {}
- boto: DEBUG: Host: ec2.us-east-1.amazonaws.com
- boto: DEBUG: Port: 443
- 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'}
- boto: DEBUG: Token: None
- boto: DEBUG: CanonicalRequest:
- POST
- /
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184106Z
- host;x-amz-date
- b9922edcc3dc550ba1200020fd5181803c738546af2b6e484154689c998c5f39
- boto: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184106Z
- 20180616/us-east-1/ec2/aws4_request
- 12e38ed8a259edf6d6bf9ec2f5030adc700860054ffe9c10f186ee2b2f0f33d7
- boto: DEBUG: Signature:
- 3ba424727c8f602b4d2af372e2bc40afc43ec2af797785084cf98760207f2a57
- 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'}
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <CreateInternetGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>f0cefbee-3edc-4c23-902b-209c554ad72e</requestId>
- <internetGateway>
- <internetGatewayId>igw-ed673f95</internetGatewayId>
- <attachmentSet/>
- <tagSet/>
- </internetGateway>
- </CreateInternetGatewayResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.CreateInternetGateway: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909ad0>
- botocore.retryhandler: DEBUG: No retry needed.
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.AttachInternetGateway: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.AttachInternetGateway: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09d29d0>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.AttachInternetGateway: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184106Z
- content-type;host;x-amz-date
- 495bff3d602293a34877b553f6a785f86386fc65ac3457dab7a3601776c4f8cd
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184106Z
- 20180616/us-east-1/ec2/aws4_request
- 520d1b09f445768bba3c29a1755095aa7d7487885903b423e32ae300c49b41cd
- botocore.auth: DEBUG: Signature:
- bcd169c4aa0eb8491edfa78d020db6c941861fef359842329cb18e2dea9d82cf
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <CreateSubnetResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>8a3dd45b-d8e8-45aa-8279-0a0086ec6724</requestId>
- <subnet>
- <subnetId>subnet-f21172b8</subnetId>
- <state>pending</state>
- <vpcId>vpc-a27e64d9</vpcId>
- <cidrBlock>10.0.0.0/19</cidrBlock>
- <ipv6CidrBlockAssociationSet/>
- <availableIpAddressCount>8187</availableIpAddressCount>
- <availabilityZone>us-east-1a</availabilityZone>
- <defaultForAz>false</defaultForAz>
- <mapPublicIpOnLaunch>false</mapPublicIpOnLaunch>
- <assignIpv6AddressOnCreation>false</assignIpv6AddressOnCreation>
- </subnet>
- </CreateSubnetResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.CreateSubnet: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909e50>
- botocore.retryhandler: DEBUG: No retry needed.
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateTags: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.CreateTags: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09c2190>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.CreateTags: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184106Z
- content-type;host;x-amz-date
- 1490d93fb69356b271ebcfe17ae4c83d107e832a614812b80d662ab36f161318
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184106Z
- 20180616/us-east-1/ec2/aws4_request
- b083108596cc5f30b1e6aacc685b9844803a78602f9b7f9f74cb621aa98dd860
- botocore.auth: DEBUG: Signature:
- 59293cb2eef0c323bc9c767a08d3fa9e63b2258dc746ad4bdab03317baa0dad3
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <AttachInternetGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>82cf3ff1-c198-4a5d-b538-f09a587df64b</requestId>
- <return>true</return>
- </AttachInternetGatewayResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.AttachInternetGateway: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909ad0>
- botocore.retryhandler: DEBUG: No retry needed.
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateTags: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.CreateTags: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09d29d0>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.CreateTags: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184106Z
- content-type;host;x-amz-date
- 0366489cb0a618b6b19087abcef98db91d0bfdf968a5b721b95fab3ddd6d12ac
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184106Z
- 20180616/us-east-1/ec2/aws4_request
- 180f381e1a29d10e68cacdcb600d2a21e3518b3239d1f2e0d0fcf5e9f43fe657
- botocore.auth: DEBUG: Signature:
- 8509393118c430ed7bdc199b2889de39e33540d4058118394d1c13f348d4112d
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- 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')]
- boto: DEBUG: <?xml version="1.0" encoding="UTF-8"?>
- <AuthorizeSecurityGroupIngressResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
- <requestId>32408c43-e89a-4bcc-a836-1a2c81d32321</requestId>
- <return>true</return>
- </AuthorizeSecurityGroupIngressResponse>
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <CreateTagsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>325afafa-2dc7-406d-9059-3e66d543a737</requestId>
- <return>true</return>
- </CreateTagsResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.CreateTags: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909ad0>
- botocore.retryhandler: DEBUG: No retry needed.
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <CreateTagsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>950996c6-059b-423f-a117-117d042c02a5</requestId>
- <return>true</return>
- </CreateTagsResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.CreateTags: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909e50>
- botocore.retryhandler: DEBUG: No retry needed.
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.DescribeSubnets: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.DescribeSubnets: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09c2190>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.DescribeSubnets: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184107Z
- content-type;host;x-amz-date
- 7ef28d5b700c8c3753d56f21a8a733ae4fbc1628b962b05b6e6c7166c492c282
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184107Z
- 20180616/us-east-1/ec2/aws4_request
- f19444910ee8cc9cd7c60ea7a707ff8579eacef6bf087ba28a35cc75c22e641b
- botocore.auth: DEBUG: Signature:
- 164a427fb00cd4032aad9a7f65cfa6cfc42a5ec47c36a0adf29028e3ad19e44b
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <DescribeSubnetsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>aba0f367-5fec-4303-87a1-d377ebf10646</requestId>
- <subnetSet>
- <item>
- <subnetId>subnet-f21172b8</subnetId>
- <state>available</state>
- <vpcId>vpc-a27e64d9</vpcId>
- <cidrBlock>10.0.0.0/19</cidrBlock>
- <ipv6CidrBlockAssociationSet/>
- <availableIpAddressCount>8187</availableIpAddressCount>
- <availabilityZone>us-east-1a</availabilityZone>
- <defaultForAz>false</defaultForAz>
- <mapPublicIpOnLaunch>false</mapPublicIpOnLaunch>
- <tagSet>
- <item>
- <key>CharonMachineName</key>
- <value>subnet-test</value>
- </item>
- <item>
- <key>CharonNetworkUUID</key>
- <value>d107a500-7194-11e8-bc9a-0242f1563f79</value>
- </item>
- <item>
- <key>Source</key>
- <value>NixOps Tests</value>
- </item>
- <item>
- <key>CharonStateFile</key>
- <value>srghma@machine:sqlite:///home/srghma/projects/nixops/tests/state_files/test_deploy_vpc_machine.nixops</value>
- </item>
- <item>
- <key>Name</key>
- <value>Unnamed NixOps network [subnet-test]</value>
- </item>
- </tagSet>
- <assignIpv6AddressOnCreation>false</assignIpv6AddressOnCreation>
- </item>
- </subnetSet>
- </DescribeSubnetsResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.DescribeSubnets: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909e50>
- botocore.retryhandler: DEBUG: No retry needed.
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.ModifySubnetAttribute: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.ModifySubnetAttribute: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09c2190>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.ModifySubnetAttribute: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184107Z
- content-type;host;x-amz-date
- b1f8a8018a4980f6510c45648c9600c1a1eff76aa5dbbe6b13f7ea007179c4e2
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184107Z
- 20180616/us-east-1/ec2/aws4_request
- b3d54e87a21c42ac035e60c15f2fc2f0673b8d64e06f2690aa4c4a73784d7e0a
- botocore.auth: DEBUG: Signature:
- f4a18663fa09471f8f38dad21956bb3387e88d7dae124c7e2ff186e54256a2c3
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <ModifySubnetAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>863fb157-a0c9-4cb6-a404-3cc268f935e9</requestId>
- <return>true</return>
- </ModifySubnetAttributeResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.ModifySubnetAttribute: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909e50>
- botocore.retryhandler: DEBUG: No retry needed.
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateTags: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.CreateTags: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f09c2190>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.CreateTags: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184108Z
- content-type;host;x-amz-date
- 72a53e656c43b960b9265c57d563d9d2f969a5ff710a6f53d0e132effed063f5
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184108Z
- 20180616/us-east-1/ec2/aws4_request
- 269dd09ca52e111e3014364d55e5fdf54f2134c407b29d6827e5aeeeb2a1e4d6
- botocore.auth: DEBUG: Signature:
- 854022a7e6aede64ef5ecd8385216a994789a95f772b752c652d5afd8c28e326
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <CreateTagsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>9ac7a6ec-dd2e-4887-93a4-1fe375805083</requestId>
- <return>true</return>
- </CreateTagsResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.CreateTags: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0909e50>
- botocore.retryhandler: DEBUG: No retry needed.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable config_file from defaults.
- botocore.session: DEBUG: Loading variable credentials_file from defaults.
- botocore.session: DEBUG: Loading variable data_path from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable ca_bundle from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable api_versions from defaults.
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
- 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
- botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
- botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
- botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
- botocore.client: DEBUG: Registering retry handlers for service: ec2
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.CreateRouteTable: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.CreateRouteTable: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f04c05d0>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.CreateRouteTable: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184108Z
- content-type;host;x-amz-date
- d346c324e499e3fb332182cc70f4a704e8f5e634d2c55085eee3abf214916f06
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184108Z
- 20180616/us-east-1/ec2/aws4_request
- 32f4189a1ce7b3b82f2e59b8a6aa59556f1e47babe386bbb129eaa13b2cc4c3c
- botocore.auth: DEBUG: Signature:
- 31be6dfe86e0de18b696ffd29fc3ee24943b6970813484118a46a7b5eeae8538
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <CreateRouteTableResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>b03f17aa-7a5d-4c26-8381-2b4b3d1270ec</requestId>
- <routeTable>
- <routeTableId>rtb-7550810a</routeTableId>
- <vpcId>vpc-a27e64d9</vpcId>
- <routeSet>
- <item>
- <destinationCidrBlock>10.0.0.0/16</destinationCidrBlock>
- <gatewayId>local</gatewayId>
- <state>active</state>
- <origin>CreateRouteTable</origin>
- </item>
- </routeSet>
- <associationSet/>
- <propagatingVgwSet/>
- <tagSet/>
- </routeTable>
- </CreateRouteTableResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.CreateRouteTable: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f0407650>
- botocore.retryhandler: DEBUG: No retry needed.
- boto: DEBUG: Using access key provided by client.
- boto: DEBUG: Using secret key provided by client.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable config_file from defaults.
- botocore.session: DEBUG: Loading variable credentials_file from defaults.
- botocore.session: DEBUG: Loading variable data_path from defaults.
- boto: DEBUG: Method: POST
- boto: DEBUG: Path: /
- boto: DEBUG: Data:
- boto: DEBUG: Headers: {}
- boto: DEBUG: Host: ec2.us-east-1.amazonaws.com
- boto: DEBUG: Port: 443
- boto: DEBUG: Params: {'Action': 'DeleteSecurityGroup', 'Version': '2014-10-01', 'GroupId': u'sg-0da07b46'}
- boto: DEBUG: establishing HTTPS connection: host=ec2.us-east-1.amazonaws.com, kwargs={'port': 443, 'timeout': 70}
- boto: DEBUG: Token: None
- boto: DEBUG: CanonicalRequest:
- POST
- /
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184110Z
- host;x-amz-date
- 9aaf5d63305a125774371398a19dc493c603866a2b99a9265bdbafd7d7425774
- boto: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184110Z
- 20180616/us-east-1/ec2/aws4_request
- 3cef7f2f60df8284ae3635311371dbd999aa018fdb7903cf598c6191d0eff03c
- boto: DEBUG: Signature:
- e2f80b1d83655e7a59fc4daeb94cbd6e1e5d99fbecfdf0b0bbf0b14a9d682fb1
- 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'}
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable ca_bundle from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable api_versions from defaults.
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable config_file from defaults.
- botocore.session: DEBUG: Loading variable credentials_file from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
- botocore.session: DEBUG: Loading variable data_path from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable ca_bundle from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable api_versions from defaults.
- boto: DEBUG: Using access key provided by client.
- boto: DEBUG: Using secret key provided by client.
- boto: DEBUG: Method: POST
- boto: DEBUG: Path: /
- boto: DEBUG: Data:
- boto: DEBUG: Headers: {}
- boto: DEBUG: Host: ec2.us-east-1.amazonaws.com
- boto: DEBUG: Port: 443
- boto: DEBUG: Params: {'Action': 'DeleteKeyPair', 'KeyName': u'charon-d107a500-7194-11e8-bc9a-0242f1563f79-keypair', 'Version': '2014-10-01'}
- boto: DEBUG: establishing HTTPS connection: host=ec2.us-east-1.amazonaws.com, kwargs={'port': 443, 'timeout': 70}
- boto: DEBUG: Token: None
- boto: DEBUG: CanonicalRequest:
- POST
- /
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184110Z
- host;x-amz-date
- d56a8f3b43d95499bd517bd0a00126de8e7bf375002e542b3808b10ceec3a721
- boto: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184110Z
- 20180616/us-east-1/ec2/aws4_request
- a75950cb260f2ac7186001dfe4c4747c256624e7248144115f75906d42a61601
- boto: DEBUG: Signature:
- 5fa6e9e6de3aefc314124f0da8a6e0402fcb7f9681c25062ad5d3ebee292073f
- 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'}
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
- 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
- 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
- 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
- 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
- botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
- botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
- botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
- botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
- botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
- botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
- botocore.client: DEBUG: Registering retry handlers for service: ec2
- botocore.client: DEBUG: Registering retry handlers for service: ec2
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.DeleteRouteTable: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.DeleteRouteTable: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27ddb25090>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.DeleteRouteTable: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184110Z
- content-type;host;x-amz-date
- 51510e4d7efd9f1d32552748ade0c16e21fff471adb5f4aedac04a61d9e9f933
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184110Z
- 20180616/us-east-1/ec2/aws4_request
- fe1cf504530bf14ff6565f77825ca3535045886696b544e5f8fd5d9ac9045619
- botocore.auth: DEBUG: Signature:
- f83154c5e125ebf5bc5579a468f04ecc92589d17b5adbd7117500cded6f5eb42
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.DetachInternetGateway: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.DetachInternetGateway: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27ddb8e850>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.DetachInternetGateway: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184110Z
- content-type;host;x-amz-date
- 063f8970cdbb22a2cc7651c657ecc2667ee7e9d5dd011611f38aeb8b98adbf5a
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184110Z
- 20180616/us-east-1/ec2/aws4_request
- 9967fdd40f44eb6b239a50c16d3484853d82efcf5fbd0d21e8f68a28a14ecb3a
- botocore.auth: DEBUG: Signature:
- b47b869f274097dd29b179da62b6fcf5c9bfda1d465ff2966cc0f74561fed913
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
- 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']
- 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']
- 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')]
- boto: DEBUG: <?xml version="1.0" encoding="UTF-8"?>
- <DeleteKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
- <requestId>961ae7d7-7d20-4b94-9f44-49609ccc7556</requestId>
- <return>true</return>
- </DeleteKeyPairResponse>
- 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')]
- boto: DEBUG: <?xml version="1.0" encoding="UTF-8"?>
- <DeleteSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
- <requestId>cee60535-4049-4f51-9104-7ffcb38074e9</requestId>
- <return>true</return>
- </DeleteSecurityGroupResponse>
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <DetachInternetGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>30e5fd08-364a-44d3-8b7d-e0b7e6ad52fa</requestId>
- <return>true</return>
- </DetachInternetGatewayResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.DetachInternetGateway: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27dda8f750>
- botocore.retryhandler: DEBUG: No retry needed.
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.DeleteInternetGateway: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.DeleteInternetGateway: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27ddb8e850>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.DeleteInternetGateway: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184111Z
- content-type;host;x-amz-date
- 7b341e531c6dfec2a60660e494b0a08343fbcdf3ad220be7e423809cbbc9d081
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184111Z
- 20180616/us-east-1/ec2/aws4_request
- cdec62da5b239d66bda19fd59a555560940cedc2b629cfa7ecd1aa7cc26f0547
- botocore.auth: DEBUG: Signature:
- 242c35f7dfbf44d94ae8e1cf05ac237a2e56082973cae45cd02689679b794ebf
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <DeleteRouteTableResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>4042a9fd-e564-4d9a-b04a-b25ffa385c60</requestId>
- <return>true</return>
- </DeleteRouteTableResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.DeleteRouteTable: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27dda8f4d0>
- botocore.retryhandler: DEBUG: No retry needed.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable config_file from defaults.
- botocore.session: DEBUG: Loading variable credentials_file from defaults.
- botocore.session: DEBUG: Loading variable data_path from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable ca_bundle from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable api_versions from defaults.
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
- 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
- botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
- botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
- botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
- botocore.client: DEBUG: Registering retry handlers for service: ec2
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.DeleteSubnet: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.DeleteSubnet: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27f3381f10>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.DeleteSubnet: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184111Z
- content-type;host;x-amz-date
- c4b69c0efad3aec005e6794cbc6706f29f0540741529b00447aef723a2aee53d
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184111Z
- 20180616/us-east-1/ec2/aws4_request
- ef2b0011213e51dc5f2914ce6d45095efc8e52abfec39f9d003105f6c5b3f4e6
- botocore.auth: DEBUG: Signature:
- c16eb49768e1f198b5f56d08e8ad64d6ad6956bd7fcee53727abd062c9490b36
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <DeleteInternetGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>9afcda3d-892e-43b4-a71b-e0e4eb44727d</requestId>
- <return>true</return>
- </DeleteInternetGatewayResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.DeleteInternetGateway: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27dda8f750>
- botocore.retryhandler: DEBUG: No retry needed.
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <DeleteSubnetResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>34ba7e3c-abe3-45e4-813d-aec041a0e639</requestId>
- <return>true</return>
- </DeleteSubnetResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.DeleteSubnet: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27f33541d0>
- botocore.retryhandler: DEBUG: No retry needed.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable config_file from defaults.
- botocore.session: DEBUG: Loading variable credentials_file from defaults.
- botocore.session: DEBUG: Loading variable data_path from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable ca_bundle from defaults.
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.session: DEBUG: Loading variable api_versions from defaults.
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json
- botocore.session: DEBUG: Loading variable profile from defaults.
- botocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f2814cdcf50>
- 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
- botocore.hooks: DEBUG: Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x7f2814caa410>
- botocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None
- botocore.endpoint: DEBUG: Setting ec2 timeout as (60, 60)
- botocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json
- botocore.client: DEBUG: Registering retry handlers for service: ec2
- 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>>
- botocore.hooks: DEBUG: Event before-parameter-build.ec2.DeleteVpc: calling handler <function generate_idempotent_uuid at 0x7f2814c23230>
- 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'}
- botocore.hooks: DEBUG: Event request-created.ec2.DeleteVpc: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f27dff33d50>>
- botocore.hooks: DEBUG: Event choose-signer.ec2.DeleteVpc: calling handler <function set_operation_specific_signer at 0x7f2814c23140>
- botocore.auth: DEBUG: Calculating signature using v4 auth.
- botocore.auth: DEBUG: CanonicalRequest:
- POST
- /
- content-type:application/x-www-form-urlencoded; charset=utf-8
- host:ec2.us-east-1.amazonaws.com
- x-amz-date:20180616T184112Z
- content-type;host;x-amz-date
- 4834835cd494206c22cbc61d919c41fb9533df1d938157ea01c0b282b539c226
- botocore.auth: DEBUG: StringToSign:
- AWS4-HMAC-SHA256
- 20180616T184112Z
- 20180616/us-east-1/ec2/aws4_request
- d4de213e6527a95030d42c2e25bff91d40b72cc87da78b96721a1ff911efd92e
- botocore.auth: DEBUG: Signature:
- d4347da628881710fdc1df5ee9aee3ea8a0dae9779cb28c69021a3f89b300a0f
- botocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>
- botocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com
- botocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: "POST / HTTP/1.1" 200 None
- 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'}
- botocore.parsers: DEBUG: Response body:
- <?xml version="1.0" encoding="UTF-8"?>
- <DeleteVpcResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
- <requestId>998647e3-9d90-47ca-9c70-4c290c38dad2</requestId>
- <return>true</return>
- </DeleteVpcResponse>
- botocore.hooks: DEBUG: Event needs-retry.ec2.DeleteVpc: calling handler <botocore.retryhandler.RetryHandler object at 0x7f27dfedafd0>
- botocore.retryhandler: DEBUG: No retry needed.
- --------------------- >> end captured logging << ---------------------
- ----------------------------------------------------------------------
- Ran 1 test in 12.851s
- FAILED (errors=1)
- [nix-shell:~/projects/nixops]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement