Skip to content
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

distributed_wait maintenance message could use status updates when set to long values. #540

Open
afreiberger opened this issue Nov 30, 2020 · 0 comments

Comments

@afreiberger
Copy link
Contributor

In charmhelpers/contrib/hahelpers/cluster.py distributed_wait sets a maintenance message listing how long the charm is waiting before it continues to it's next step.

When dealing with longer wait times, it would be helpful for operator view for this to count down by 15 or 30 second increments rather than saying "sleeping for X seconds" for the entire X seconds. This becomes more necessary when modulo_nodes is increased or wait time is increased beyond the typical settings of 3 nodes and 30 second each.

For example, if I have a known_wait of 5 minutes, my third unit waits 10 minutes. I'd like to know an updated time still to be slept in between 10 minutes and the end of the wait state.

Ticking the message to remaining time every 15, 30, or 60 seconds would be very helpful.

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

No branches or pull requests

2 participants