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

elasticluster status #668

Open
ALX-99 opened this issue Nov 25, 2019 · 2 comments
Open

elasticluster status #668

ALX-99 opened this issue Nov 25, 2019 · 2 comments

Comments

@ALX-99
Copy link

ALX-99 commented Nov 25, 2019

I would raise the question to implement a feature, where the status of elasticluster can be returned in reusable format. A returncode or a simple running, stopped, paused, set-up-done.

Opinions?

@ALX-99
Copy link
Author

ALX-99 commented Nov 25, 2019

I will try to build a web gui and would like to display the status. This is the idea behind this question

@riccardomurri
Copy link
Contributor

This would be a very welcome addition, thanks!

There are two things that might be useful for this:

  1. ElastiCluster supports ARA, if it is installed. That is, if import ara succeeds when the setup phase of a cluster starts, all Ansible actions will be recorded in a SQLite database file, from which a web interface could reconstruct the deployment status.

  2. ElastiCluster has a Python API which you may try to use instead of the command-line client. (Note however that the CLI interface is much more tested and used than the API, so it's possible that the best solution for a web GUI is to spawn a separate elasticluster start command and read status information off the ARA database -- see above.)

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