See #21316 and #21311 for the motivation behind these changes.
## Why are these changes needed? Remove duplicate printing code
## Why are these changes needed? There are two issues fixed in this PR: - make sure wait for session count alive node - upgrade the machine to match what's tested in oss ray. ## Related issue number https://github.com/ray-project/ray/issues/19084