When webserver is run externally, calling ray-on-golem stop, requests its shutdown, but because of pid file does not exist, does not wait for its shutdown, exiting too quickly and wrongly reporting that shutdown was completed.
$ ray-on-golem stop
Requesting webserver shutdown...
Cannot stop the webserver, as the cluster is not empty.
Force the shutdown? [y/N]: y
Forcing webserver shutdown...
Force-shutdown requested, will stop soon.
Shutdown completed.
When webserver is run externally, calling
ray-on-golem stop
, requests its shutdown, but because of pid file does not exist, does not wait for its shutdown, exiting too quickly and wrongly reporting that shutdown was completed.