Juju Actions - Use Cases
Richard Harding
rick.harding at canonical.com
Wed Sep 10 12:49:05 UTC 2014
On Tue, 09 Sep 2014, John Weldon wrote:
> Hi;
>
> We're looking for use cases for Juju Actions, mostly to make sure we expose
> the right API.
>
> I'm hoping for a few different use cases from the Juju Web UI folks, but
> I'd appreciate input from anyone wanting to use Juju Actions in their
> charms too.
>
> I've started a document with some example use cases to prime the pump:
> please contribute to this document and don't feel constrained to the style
> or layout I adopted for the examples.
>
>
> If you have any interest or investment in using or publishing Actions for
> Juju please review and contribute!
>
> Google Docs Link
> <https://docs.google.com/document/d/1uYffkkGA1njQ1oego_h8BYBMrlGpmN_lwsnrOZFxE9Q/edit?usp=sharing>
I think most of the use cases presented so far line up with ours. One I
want to call out as interesting and I hadn't thought about is killing a
long running action in progress. The example of a database backup. I don't
see anything along those lines in the current api doc. You can cancel
something from the queue, but can you cancel something running.
The matching side of that is getting feedback on the currently running
action. Is there a way for scripts to provide any sort of data to help
users checking the status know it's still moving forward and not stuck?
Our list put together by Uros includes:
- mongodb
- backup start
- backup cancel
- backup status
- backup restore
- clean-old-backups
- juju charmstore
- elasticsearch sync
- elasticsearch rebuild index
- export blobs
- clean blobstore (data integrity check)
- long running healthcheck
- elasticsearch
- rebuild index
- debug query pass through
- jenkins
- reset admin password
- upgrade (apt-get upgrade from ppa)
--
Rick Harding
Juju UI Engineering
https://launchpad.net/~rharding
@mitechie
More information about the Juju-dev
mailing list