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

Make gridinit_cmd synchronous #13

Closed
vdombrovski opened this issue Jan 17, 2018 · 0 comments
Closed

Make gridinit_cmd synchronous #13

vdombrovski opened this issue Jan 17, 2018 · 0 comments
Assignees

Comments

@vdombrovski
Copy link

Currently, gridinit_cmd doesn't guarantee the proper outcome of the executed commands. E.g. gridinit_cmd restart will return regardless of whether all services have been restarted or not.

This behavior implies that additional checks need to be made on the user side to wait for the commands to actually finish, and sometimes to perform force kills on hanging processes (not recommended but sometimes necessary).

A better behavior would be similar to systemd's systemctl which will not return before the process is restarted, unless a certain timeout is reached (in which case the hanging process gets killed).

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

3 participants