You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
There are two things that might be useful for this:
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.
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.)
Activity
ALX-99 commentedon 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 commentedon Nov 25, 2019
This would be a very welcome addition, thanks!
There are two things that might be useful for this:
ElastiCluster supports ARA, if it is installed. That is, if
import arasucceeds 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.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 startcommand and read status information off the ARA database -- see above.)