galaxy-server icon indicating copy to clipboard operation
galaxy-server copied to clipboard

Slot termination weirdness

Open electrum opened this issue 13 years ago • 0 comments

I try to terminate everything on a host and it times out:

[17:33 ubuntu@i-64580004:~ prod] galaxy terminate -h 10.215.90.175
uuid  host           machine     status   binary                 config                
31c5  10.215.90.175  i-360c0352  STOPPED  monitor-event-tap:1.1  @monitor-event-tap:1

Are you sure you would like to TERMINATE these servers? [y/N] y

java.net.SocketTimeoutException: Read timed out

SSH into the slot and the directory is missing:

[17:33 ubuntu@i-64580004:~ prod] galaxy ssh -u 31c5
bash: line 0: cd: /mnt/galaxy/agent/data/slots/monitor-event-tap/data: No such file or directory

Run a show:

[19:03 ubuntu@i-360c0352:~ prod] galaxy show -h 10.215.90.175
uuid  host           machine     status   binary                 config                
31c5  10.215.90.175  i-360c0352  UNKNOWN  monitor-event-tap:1.1  @monitor-event-tap:1  Expected state to be STOPPED

Exit back to coordinator:

[19:03 ubuntu@i-360c0352:~ prod] exit

Run a show of everything and see that slot is now missing (and doesn't have host or machine):

[17:33 ubuntu@i-64580004:~ prod] galaxy show
uuid  host          machine     status   binary                                       config                               
...
31c5                            UNKNOWN  monitor-event-tap:1.1                        @monitor-event-tap:1                 Slot is missing; Expected slot to be STOPPED

electrum avatar Apr 13 '12 19:04 electrum