You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to manually stop an instance yields the correct error
INFO: Using zone 'us-west-1a' and namespace '/aarao/'
INFO: Binding to instance ...
INFO: ... bound to i-b039e473.
INFO: Stopping instance ...
Traceback (most recent call last):
File "/Users/arjun/my_bin/cgcloud", line 11, in <module>
sys.exit(main())
File "/Users/arjun/cgcloud/venv/lib/python2.7/site-packages/cgcloud/core/cli.py", line 49, in main
app.run( args )
File "/Users/arjun/cgcloud/venv/lib/python2.7/site-packages/cgcloud/lib/util.py", line 300, in run
command.run( options )
File "/Users/arjun/cgcloud/venv/lib/python2.7/site-packages/cgcloud/core/commands.py", line 81, in run
return self.run_in_ctx( options, ctx )
File "/Users/arjun/cgcloud/venv/lib/python2.7/site-packages/cgcloud/core/commands.py", line 105, in run_in_ctx
return self.run_on_role( options, ctx, role )
File "/Users/arjun/cgcloud/venv/lib/python2.7/site-packages/cgcloud/core/commands.py", line 124, in run_on_role
return self.run_on_box( options, box )
File "/Users/arjun/cgcloud/venv/lib/python2.7/site-packages/cgcloud/core/commands.py", line 164, in run_on_box
self.run_on_instance( options, box )
File "/Users/arjun/cgcloud/venv/lib/python2.7/site-packages/cgcloud/core/commands.py", line 324, in run_on_instance
getattr( box, self.name( ) )( )
File "/Users/arjun/cgcloud/venv/lib/python2.7/site-packages/cgcloud/core/box.py", line 853, in stop
self.ctx.ec2.stop_instances( [ instance.id ] )
File "/Users/arjun/cgcloud/venv/lib/python2.7/site-packages/boto/ec2/connection.py", line 1020, in stop_instances
[('item', Instance)], verb='POST')
File "/Users/arjun/cgcloud/venv/lib/python2.7/site-packages/boto/connection.py", line 1186, in get_list
raise self.ResponseError(response.status, response.reason, body)
boto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<Response><Errors><Error><Code>UnsupportedOperation</Code><Message>The instance 'i-b039e473' is a spot instance and may not be stopped.</Message></Error></Errors><RequestID>f28e5a4f-997c-4ace-9a84-b623de8d17a5</RequestID></Response>
The text was updated successfully, but these errors were encountered:
arkal
changed the title
stop-cluster not stopping workers
stop-cluster o spot workers not raising error
Feb 10, 2016
arkal
changed the title
stop-cluster o spot workers not raising error
stop-cluster o spot workers not raising Unsupported operation error
Feb 10, 2016
arkal
changed the title
stop-cluster o spot workers not raising Unsupported operation error
stop-cluster on spot workers not raising Unsupported operation error
Feb 10, 2016
Running stop-cluster on the cluster yields
Attempting to manually stop an instance yields the correct error
FYI, cluster was created as
The text was updated successfully, but these errors were encountered: