New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing spot instance produces error #387

Closed
johnbot1 opened this Issue Apr 5, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@johnbot1

johnbot1 commented Apr 5, 2014

Related to closed issue #377

Adding spot nodes now works great but removing them produces the error:
Remove 1 nodes from spot-sge-fix (y/n)? y

Running plugin starcluster.plugins.sge.SGEPlugin
Removing node001 from SGE
!!! ERROR - Error occured while running plugin 'starcluster.plugins.sge.SGEPlugin':
!!! ERROR - remote command 'source /etc/profile && qconf -de node001'
!!! ERROR - failed with status 1:
!!! ERROR - Host object "node001" is still referenced in cluster queue
!!! ERROR - "all.q".

Thanks

@johnbot1

This comment has been minimized.

Show comment
Hide comment
@johnbot1

johnbot1 Apr 5, 2014

Weird, running the same command a second time removes the node properly so it appears to not happen every time.

Remove 1 nodes from spot-sge-fix (y/n)? y

Running plugin starcluster.plugins.sge.SGEPlugin
Removing node001 from SGE
Updating SGE parallel environment 'orte'
1/1 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 100%
Adding parallel environment 'orte' to queue 'all.q'
Running plugin starcluster.clustersetup.DefaultClusterSetup
Removing node node001 (i-48a2ef41)...
Removing node001 from known_hosts files
Removing node001 from /etc/hosts
Removing node001 from NFS
Canceling spot request sir-2a70a456
Terminating node: node001 (i-48a2ef41)
(starcluster-0953-spotfix-sge)[ec2-user@ip-172-31-5-65 StarCluster]$ starcluster lc spot-sge-fix
StarCluster - (http://star.mit.edu/cluster) (v. 0.95.3)
Software Tools for Academics and Researchers (STAR)
Please submit bug reports to starcluster@mit.edu


spot-sge-fix (security group: @sc-spot-sge-fix)

Launch time: 2014-04-05 21:19:44
Uptime: 0 days, 00:14:13
VPC: vpc-be0c12dc
Subnet: subnet-999e85fb
Zone: us-west-2b
Keypair: cloud-devel-johnbot-west2
EBS volumes: N/A
Cluster nodes:
master running i-3da0ed34 ec2-54-187-6-180.us-west-2.compute.amazonaws.com
Total nodes: 1

johnbot1 commented Apr 5, 2014

Weird, running the same command a second time removes the node properly so it appears to not happen every time.

Remove 1 nodes from spot-sge-fix (y/n)? y

Running plugin starcluster.plugins.sge.SGEPlugin
Removing node001 from SGE
Updating SGE parallel environment 'orte'
1/1 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 100%
Adding parallel environment 'orte' to queue 'all.q'
Running plugin starcluster.clustersetup.DefaultClusterSetup
Removing node node001 (i-48a2ef41)...
Removing node001 from known_hosts files
Removing node001 from /etc/hosts
Removing node001 from NFS
Canceling spot request sir-2a70a456
Terminating node: node001 (i-48a2ef41)
(starcluster-0953-spotfix-sge)[ec2-user@ip-172-31-5-65 StarCluster]$ starcluster lc spot-sge-fix
StarCluster - (http://star.mit.edu/cluster) (v. 0.95.3)
Software Tools for Academics and Researchers (STAR)
Please submit bug reports to starcluster@mit.edu


spot-sge-fix (security group: @sc-spot-sge-fix)

Launch time: 2014-04-05 21:19:44
Uptime: 0 days, 00:14:13
VPC: vpc-be0c12dc
Subnet: subnet-999e85fb
Zone: us-west-2b
Keypair: cloud-devel-johnbot-west2
EBS volumes: N/A
Cluster nodes:
master running i-3da0ed34 ec2-54-187-6-180.us-west-2.compute.amazonaws.com
Total nodes: 1

@johnbot1

This comment has been minimized.

Show comment
Hide comment
@johnbot1

johnbot1 Apr 5, 2014

I see, it was still running jobs. After killing the jobs running on that node it shut down clean.

johnbot1 commented Apr 5, 2014

I see, it was still running jobs. After killing the jobs running on that node it shut down clean.

@jtriley jtriley closed this Apr 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment