I tried to deploy spot instances. However, at the time of the request the specified price was too low (price-too-low in EC2 console). After the sleep(), Matrix crashed with the following stacktrace:
...
Choose deployment task
1. Deploy Instance(s)
2. Create Key pair(s)
3. Create security group(s)
4. Get instances network data
5. Terminate machines
6. Change machines types
7. Start instances
8. Stop instances
Your choice:1
Current date :
2018-09-24 14:07:20.823522
Deploying instances :
region : us-east-1b
number of instances : 2
ami_id : ami-0e28a521f5947123e
instance_type : c5.large
valid until : 2018-09-24 20:07:20.823522
Traceback (most recent call last):
File "main.py", line 171, in <module>
main()
File "main.py", line 159, in main
print_instances_management_menu(conf_file_path)
File "main.py", line 54, in print_instances_management_menu
deploy.deploy_instances()
File "/path/to/MATRIX/Deployment/aws_deploy.py", line 141, in deploy_instances
instances_ids.append(instance_response['InstanceId'])
KeyError: 'InstanceId'
It would be nice to know (and see) that the spot requests are still pending. Also, some interface to view and cancel the current spot requests generated by Matrix would be useful.
Hi,
I tried to deploy spot instances. However, at the time of the request the specified price was too low (
price-too-low
in EC2 console). After thesleep()
, Matrix crashed with the following stacktrace:It would be nice to know (and see) that the spot requests are still pending. Also, some interface to view and cancel the current spot requests generated by Matrix would be useful.