scylladb / scylla-ansible-roles

Ansible roles for deploying and managing Scylla, Scylla-Manager and Scylla-Monitoring
44 stars 38 forks source link

rolling restart example doesn't wait for "serving" status #26

Closed tarzanek closed 1 year ago

tarzanek commented 3 years ago

nor does it wait for cqlsh port so this rolling restart isn't that friendly to cql clients

tarzanek commented 3 years ago

https://github.com/scylladb/scylla-ansible-roles/blob/master/example-playbooks/rolling_ops/rolling_restart.yml#L71 checks for nodetool status to become UN which however isn't the state of "serving"

dyasny commented 3 years ago

What is the state of "serving? Check for open port 9042?

r4fek commented 3 years ago

nodetool statusbinary tells that.