Skip to content

elasticluster status #668

Open
Open

Description

@ALX-99

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?

Activity

  1. ALX-99 commented on Nov 25, 2019

    @ALX-99
    Author

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

  2. riccardomurri commented on Nov 25, 2019

    @riccardomurri
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions