Coordinating actions in a service
Gustavo Niemeyer
gustavo at niemeyer.net
Fri May 8 14:48:50 UTC 2015
On Fri, May 8, 2015 at 10:44 AM, John Weldon <johnweldon4 at gmail.com> wrote:
> Actions are not hooks, but they are run in a similar fashion as hooks. I
> don't know of any restriction keeping actions from communicating with peers
> before the action completes, but that would be something we'd need to
> address for Actions 2.0 certainly.
>
I'm not sure I understand what you mean. Are you suggesting actions do not
run in a hook context, and so have no access to hook tools and can run in
parallel with them? My instinct is that this is not a great design. Am I
wrong?
> I like the concept of metering actions out to units of a service; I would
> expect that to happen when targeting an action to the service instead of
> specific units which would require the leader to decide how to fan out the
> actions.
>
The implementation details for Actions 2.0 are still very conceptual; I'll
> certainly be calling on you for opinions this go around as we're
> implementing them :)
>
Where is the spec, please?
gustavo @ http://niemeyer.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20150508/2513045a/attachment.html>
More information about the Juju
mailing list