Last active
August 29, 2015 14:15
-
-
Save defenestratexp/be627b9db94155c56895 to your computer and use it in GitHub Desktop.
Updated script dies with 400 error when trying to create new container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(production)ubuntu@ip-10-33-182-80:~/production/bin$ python -m zoo.admin --env PROD2 --zoo vizioparallel | |
2015-02-10T23:11:45.051 [INFO] (8933:139898555668288:ipdb.py:23) Creating new tvis and events DBs | |
2015-02-10T23:11:45.051 [INFO] (8933:139898555668288:ipdb.py:43) Writing mysql script | |
2015-02-10T23:11:45.052 [INFO] (8933:139898555668288:ipdb.py:48) Running /home/ubuntu/PROD2_vizioparallel.zoo/mysql_create.sh | |
Creating an empty databases for new zoo tvis and events | |
Dumping data from tables that we need to carry over | |
Dumping events | |
Copying schema over | |
Copying needed data over | |
Copying events over | |
All done | |
2015-02-10T23:13:30.431 [INFO] (8933:139898555668288:ipdb.py:55) Done with databases | |
2015-02-10T23:13:30.431 [INFO] (8933:139898555668288:elb.py:18) Creating ELB | |
2015-02-10T23:13:30.937 [INFO] (8933:139898555668288:elb.py:63) Finished with ELB: CN-Zoo-vizioparallel-796074953.us-east-1.elb.amazon | |
aws.com | |
2015-02-10T23:13:30.938 [INFO] (8933:139898555668288:route53.py:20) Creating route 53 entry | |
2015-02-10T23:13:30.939 [DEBUG] (8933:139898555668288:route53.py:21) CN-Zoo-vizioparallel-796074953.us-east-1.elb.amazonaws.com | |
2015-02-10T23:13:30.939 [DEBUG] (8933:139898555668288:route53.py:22) to control-zoo-vizioparallel.tvinteractive.tv | |
2015-02-10T23:13:31.017 [INFO] (8933:139898555668288:route53.py:54) Completed Route 53: {u'ChangeResourceRecordSetsResponse': {u'Chang | |
eInfo': {u'Status': u'PENDING', u'Comment': u'None', u'SubmittedAt': u'2015-02-10T23:13:31.008Z', u'Id': u'/change/C31Q89LOO7DDQ7'}}} | |
2015-02-10T23:13:31.019 [INFO] (8933:139898555668288:tvc.py:21) Launching TVCs | |
2015-02-10T23:13:31.019 [DEBUG] (8933:139898555668288:tvc.py:60) Args: ['--prefix=tvc-PROD2-vizioparallel', '--environment=PROD2', '-- | |
zoo=vizioparallel', '--num=2', '--price=0', '--user-data=/home/ubuntu/PROD2_vizioparallel.zoo/ud_tvc.sh', '--az=us-east-1b'] | |
2015-02-10T23:13:31.021 [INFO] (8933:139898555668288:base.py:433) Running TvcLauncher | |
2015-02-10T23:13:31.113 [INFO] (8933:139898555668288:base.py:315) On demand instance in zone us-east-1b for m3.xlarge | |
2015-02-10T23:13:32.192 [ERROR] (8933:139898555668288:connection.py:1183) 400 Bad Request | |
2015-02-10T23:13:32.192 [ERROR] (8933:139898555668288:connection.py:1184) <?xml version="1.0" encoding="UTF-8"?> | |
<Response><Errors><Error><Code>InvalidInstanceID.NotFound</Code><Message>The instance IDs 'i-acedbf5d, i-adedbf5c' do not exist</Messa | |
ge></Error></Errors><RequestID>0591424a-1d6b-4e78-a303-b74ec3b58631</RequestID></Response> | |
2015-02-10T23:13:32.193 [ERROR] (8933:139898555668288:base.py:522) EC2ResponseError: 400 Bad Request | |
<?xml version="1.0" encoding="UTF-8"?> | |
<Response><Errors><Error><Code>InvalidInstanceID.NotFound</Code><Message>The instance IDs 'i-acedbf5d, i-adedbf5c' do not exist</Messa | |
ge></Error></Errors><RequestID>0591424a-1d6b-4e78-a303-b74ec3b58631</RequestID></Response> | |
Traceback (most recent call last): | |
File "/home/ubuntu/production/local/lib/python2.7/site-packages/cndeploy-1.0-py2.7.egg/cndeploy/launch/base.py", line 513, in apply_ | |
tags | |
existing_list = self.get_instances() | |
File "/home/ubuntu/production/local/lib/python2.7/site-packages/cndeploy-1.0-py2.7.egg/cndeploy/launch/base.py", line 225, in get_in | |
stances | |
reservations = self.conn.get_all_instances() | |
File "/home/ubuntu/production/local/lib/python2.7/site-packages/boto-2.35.2-py2.7.egg/boto/ec2/connection.py", line 585, in get_all_ | |
instances | |
max_results=max_results) | |
File "/home/ubuntu/production/local/lib/python2.7/site-packages/boto-2.35.2-py2.7.egg/boto/ec2/connection.py", line 681, in get_all_ | |
reservations | |
[('item', Reservation)], verb='POST') | |
File "/home/ubuntu/production/local/lib/python2.7/site-packages/boto-2.35.2-py2.7.egg/boto/connection.py", line 1185, in get_list | |
raise self.ResponseError(response.status, response.reason, body) | |
EC2ResponseError: EC2ResponseError: 400 Bad Request | |
<?xml version="1.0" encoding="UTF-8"?> | |
<Response><Errors><Error><Code>InvalidInstanceID.NotFound</Code><Message>The instance IDs 'i-acedbf5d, i-adedbf5c' do not exist</Messa | |
ge></Error></Errors><RequestID>0591424a-1d6b-4e78-a303-b74ec3b58631</RequestID></Response> | |
2015-02-10T23:13:32.194 [INFO] (8933:139898555668288:base.py:523) Failed to apply tags! | |
2015-02-10T23:13:32.195 [INFO] (8933:139898555668288:base.py:528) Terminating instances that failed to set tags: [Instance:i-adedbf5c, | |
Instance:i-acedbf5d] | |
2015-02-10T23:13:32.378 [ERROR] (8933:139898555668288:connection.py:1224) 400 Bad Request | |
2015-02-10T23:13:32.378 [ERROR] (8933:139898555668288:connection.py:1225) <?xml version="1.0" encoding="UTF-8"?> | |
<Response><Errors><Error><Code>InvalidInstanceID.NotFound</Code><Message>The instance ID 'i-acedbf5d' does not exist</Message></Error> | |
</Errors><RequestID>52439152-2a49-4e47-9437-cb161af5532e</RequestID></Response> | |
2015-02-10T23:13:32.378 [ERROR] (8933:139898555668288:common.py:47) Function tvc_handler: EC2ResponseError: 400 Bad Request | |
<?xml version="1.0" encoding="UTF-8"?> | |
<Response><Errors><Error><Code>InvalidInstanceID.NotFound</Code><Message>The instance ID 'i-acedbf5d' does not exist</Message></Error> | |
</Errors><RequestID>52439152-2a49-4e47-9437-cb161af5532e</RequestID></Response> | |
Traceback (most recent call last): | |
File "/home/ubuntu/production/local/lib/python2.7/site-packages/zoo-1.0-py2.7.egg/zoo/components/common.py", line 45, in run_or_die | |
return func(*args, **kwargs) | |
File "/home/ubuntu/production/local/lib/python2.7/site-packages/zoo-1.0-py2.7.egg/zoo/components/tvc.py", line 62, in tvc_handler | |
instances = launcher.run(launcher_args) | |
File "/home/ubuntu/production/local/lib/python2.7/site-packages/cndeploy-1.0-py2.7.egg/cndeploy/launch/base.py", line 437, in run | |
return self.launch_or_kill(apply_tags) | |
File "/home/ubuntu/production/local/lib/python2.7/site-packages/cndeploy-1.0-py2.7.egg/cndeploy/launch/base.py", line 444, in launch | |
_or_kill | |
self.apply_tags(instance_list) | |
File "/home/ubuntu/production/local/lib/python2.7/site-packages/cndeploy-1.0-py2.7.egg/cndeploy/launch/base.py", line 531, in apply_ | |
tags | |
self.terminate_instances(tags_failed_on) | |
File "/home/ubuntu/production/local/lib/python2.7/site-packages/cndeploy-1.0-py2.7.egg/cndeploy/launch/base.py", line 278, in termin | |
ate_instances | |
instance.id, 'disableApiTermination', 'false') | |
File "/home/ubuntu/production/local/lib/python2.7/site-packages/boto-2.35.2-py2.7.egg/boto/ec2/connection.py", line 1274, in modify_ | |
instance_attribute | |
return self.get_status('ModifyInstanceAttribute', params, verb='POST') | |
File "/home/ubuntu/production/local/lib/python2.7/site-packages/boto-2.35.2-py2.7.egg/boto/connection.py", line 1226, in get_status | |
raise self.ResponseError(response.status, response.reason, body) | |
EC2ResponseError: EC2ResponseError: 400 Bad Request | |
<?xml version="1.0" encoding="UTF-8"?> | |
<Response><Errors><Error><Code>InvalidInstanceID.NotFound</Code><Message>The instance ID 'i-acedbf5d' does not exist</Message></Error> | |
</Errors><RequestID>52439152-2a49-4e47-9437-cb161af5532e</RequestID></Response> | |
(production)ubuntu@ip-10-33-182-80:~/production/bin$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment