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

./wait-for-active should poll /diagstatus on all nodes instead of ./karaf-client 1 showsvcstatus #12

Open
vorburger opened this issue Oct 2, 2018 · 1 comment

Comments

@vorburger
Copy link
Contributor

vorburger commented Oct 2, 2018

It would be better if ./wait-for-active would poll the (new, recent) /diagstatus URL on all nodes instead of using ./karaf-client 1 showsvcstatus. The CLI command on 1 fails if 1 is down and 2 and 3 are up, it's better to poll each node directly, and not rely on 1 to be the orchestrator. There are also "normal" exceptions (shown in INFRAUTILS-54) when showsvcstatus is used too early during boot.

@jhershberg
Copy link
Owner

Yeah, probably but the output should be parsed because otherwise three responses (or even one) will not fit on a screen.

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

No branches or pull requests

2 participants