On 26 August 2014 00:41, Tudor Rogoz ro...@adobe.com wrote:
Hi Marco,
What I really need is the relation status, not necessarily a synchronous
execution for “add relation”.When I link 2 charms through a relation, I want
to have the possibility (by running the status command or a different
My question is why do you need to run add-relation in a synchronous fashion?
On Fri, Aug 22, 2014 at 9:02 AM, Chris Glass chris.gl...@canonical.com
wrote:
Charm-helpers uses a trick for this, which is to check if the
private-address key was set on the relation.
You can have a better look
My understanding was that some of this was possibly buggy charms, where you
don't want to start relating a charm to X until it is already related to Y
(front end vs backend sort of stuff).
John
=:-
On Mon, Aug 25, 2014 at 9:05 PM, Marco Ceppi marco.ce...@canonical.com
wrote:
My question is
Hi,
Does anyone knows how to determine when a relation is establish (when the
relation joined or relation changed hooks ended) ? The goal would be to be able
to synchronously run the juju add-relation command.
Thanks,
Tudor
--
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or
On 22/08/14 13:35, Tudor Rogoz wrote:
Does anyone knows how to determine when a relation is establish (when the
relation joined or relation changed hooks ended) ? The goal would be to be
able to synchronously run the juju add-relation command.
Hi Tudor, we'll add an explicit feedback
Charm-helpers uses a trick for this, which is to check if the
private-address key was set on the relation.
You can have a better look here:
https://bazaar.launchpad.net/~charm-helpers/charm-helpers/devel/view/head:/charmhelpers/core/hookenv.py#L393
Hope this helps :)
- Chris
On Fri, Aug 22,