Question about the start hook

Marco Ceppi marco.ceppi at canonical.com
Wed Sep 3 19:16:00 UTC 2014


Hi Tim,

Great question, sorry it took me so long to get back to you. I have an
assumption that all hooks run serially on a single unit regardless of
service group, etc. However, I want to say I've seen some kind
serialization between peers. I've cc'd the Juju core mailing list and the
regular juju mailing list to help correct and clarify these statements and
shed some light once and for all.

Finally, once it's been known, I'll be updating the author docs to detail
the execution pattern in detail.

Thanks,
Marco Ceppi


On Sat, Aug 30, 2014 at 6:31 AM, Humphrey, Timothy L (RIS-DAY) <
Timothy.Humphrey at lexisnexis.com> wrote:

> Marco,
>
> Do you know the answer to my question, below? Or should I re-phase it?
>
> Tim
>
> -----Original Message-----
> From: jorge.castro at gmail.com [mailto:jorge.castro at gmail.com] On Behalf Of
> Jorge O. Castro
> Sent: Friday, August 29, 2014 10:18 AM
> To: Humphrey, Timothy L (RIS-DAY); Marco Ceppi
> Subject: Re: Question about the start hook
>
> That's a good question! CCing in Marco, who should know.
>
> On Fri, Aug 29, 2014 at 10:16 AM, Humphrey, Timothy L (RIS-DAY) <
> Timothy.Humphrey at lexisnexis.com> wrote:
> > Jorge,
> >
> > I am using juju charm to deploy to aws, an hpcc cluster, which is
> several instances that work together to complete some job.
> >
> > In my start hook, I'm copying files from S3 to each instance. And, once
> all files are copied to all instances, I perform an operation in my
> hpcc-cluster-relation-joined that tells the master instance that all files
> are copied to all instances.
> >
> > So, my question is, "Do all instances complete the start hook before any
> instance begins the hpcc-cluster-relation-joined hook?"
> >
> > "Or is there a way to make this be true?"
> >
> > Sincerely,
> > Tim
> >
>
>
> -----------------------------------------
> The information contained in this e-mail message is intended only
> for the personal and confidential use of the recipient(s) named
> above. This message may be an attorney-client communication and/or
> work product and as such is privileged and confidential. If the
> reader of this message is not the intended recipient or an agent
> responsible for delivering it to the intended recipient, you are
> hereby notified that you have received this document in error and
> that any review, dissemination, distribution, or copying of this
> message is strictly prohibited. If you have received this
> communication in error, please notify us immediately by e-mail, and
> delete the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20140903/178952ff/attachment.html>


More information about the Juju mailing list