Hi,
I'm writing a layered reactive-python charm which uses a peer relation
to know all units of the same application.
However I don't seem to find a way to convince charm build to create the
./hook/ files for this relation for me.
If I do my metadata.yaml like this and include the interface in
l
writing-an-interface-layer
>
>
>
> Regards
> Merlijn
>
>
>
> 2017-01-11 14:23 GMT+01:00 Tilman Baumann <mailto:tilman.baum...@canonical.com>>:
>
> Hi,
>
> I'm writing a layered reactive-python charm which uses a peer relation
>
On 13.01.2017 17:44, Tilman Baumann wrote:
> I thought about it a little and I do think a no-op interface purely for
> peer discovery could actually help others with similar requiremrnts too.
> Hence this https://github.com/tbaumann/charm-interface-peer-discovery
>
> If there ar
On 13.01.2017 17:44, Tilman Baumann wrote:
> I thought about it a little and I do think a no-op interface purely for
> peer discovery could actually help others with similar requiremrnts too.
> Hence this https://github.com/tbaumann/charm-interface-peer-discovery
>
> If there are n
Hi,
it became clear that my charm which was so far standalone (to be
installed together with other charms on the same machine) should better
be subordinate.
A few obvious changes where required regarding the life-cycle of the
charm. No big deal.
https://github.com/tbaumann/iptables-peer-ssh
Howev
Any comments are appreciated. I'm stuck with this right now and I'm out
of ideas.
Thanks
Tilman
On 24.01.2017 14:44, Tilman Baumann wrote:
> [...]
> Any idea what could be happening here.
> I suspect something with the scopes. But they are now all set
> explicitly. A
On 24.01.2017 16:56, Alex Kavanagh wrote:
> Hi Tilman
>
> (I'm not an expert here, but was staring at the docs)
>
> I suspect that your peers relationship should be unit if each peer needs
> to have it's own conversation? Otherwise, with a global scope, every
> peer will overwrite the other's in
Thanks
Tilman
PS: File as bug in LP?
On 25.01.2017 11:00, Tilman Baumann wrote:
> On 24.01.2017 16:56, Alex Kavanagh wrote:
>> Hi Tilman
>>
>> (I'm not an expert here, but was staring at the docs)
>>
>> I suspect that your peers relationship should b
On 25.01.2017 13:06, Alex Kavanagh wrote:
> Hi Tilman
>
> On Wed, Jan 25, 2017 at 11:43 AM, Tilman Baumann
> mailto:tilman.baum...@canonical.com>> wrote:
>
> At this point I'm pretty sure that this is a bug or undocumented
> feature.
>
>
>
On 25.01.2017 13:16, Stuart Bishop wrote:
> On 25 January 2017 at 18:43, Tilman Baumann
> I don't know why your peer relation (with global scope) starts
> misbehaving after you add the container scoped juju-info relation to
> turn your charm into a subordinate. It might be helpf
On 25.01.2017 14:24, Tilman Baumann wrote:
> On 25.01.2017 13:16, Stuart Bishop wrote:
>> On 25 January 2017 at 18:43, Tilman Baumann
>
>> I don't know why your peer relation (with global scope) starts
>> misbehaving after you add the container scoped juju-info relati
On 25.01.2017 15:49, Tilman Baumann wrote:
> On 25.01.2017 14:24, Tilman Baumann wrote:
>> On 25.01.2017 13:16, Stuart Bishop wrote:
>>> On 25 January 2017 at 18:43, Tilman Baumann
>>
>>> I don't know why your peer relation (with global scope) starts
>&
ke a farce. :)
Cheers guys, I hope you where entertained.
Tilman
On 25.01.2017 16:54, Tilman Baumann wrote:
> On 25.01.2017 15:49, Tilman Baumann wrote:
>> On 25.01.2017 14:24, Tilman Baumann wrote:
>>> On 25.01.2017 13:16, Stuart Bishop wrote:
>>>> On 25 January 2017 at 18:
eport that as a bug?
So you see, right now quite a lot is broken for charm developers. At
least those running Zesty.
Please excuse my mini rant about infrastructure. I suppose this will get
better again.
But perhaps someone can offer some opinions about my charms? :D
Cheers
Tilman Baum
think I used juju test mostly because of lingering docu
references to it.
But again, only the packeted version does that. The snap charm command
has no test command.
> On Wed, May 31, 2017 at 11:57 AM, Tilman Baumann
> mailto:tilman.baum...@canonical.com>> wrote:
> [...]
>
On 31.05.2017 14:39, Tim Van Steenburgh wrote:
> But, I couldn't. The review form at https://review.jujucharms.com/ will
> respond with a empty response (Firefox says https protocol error. Chrome
> says empty response.)
> Where would I report that as a bug?
>
>
> There's a "report
2"
}
}
Cheers
Tilman Baumann
--
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/juju
On 08.06.2017 13:39, Stuart Bishop wrote:
> It is only popular because people keep cargo culting it
> into their charms when it is unnecessary. I always call it out in
> reviews and get people to switch to unencoded text.
On the topic of cargo-culting.
I'm re-writing a charm right now. Partly beca
The confusion comes from the expectations that states are somehow events
and @when decorators are event handlers.
@when are predicates on states. When predicates are true the decorated
code is executed at every hook invocation.
If you want to trigger on edges (state changes) you need to build fli
ions/layer-beats-base/pull/15
https://github.com/juju-solutions/layer-filebeat/pull/19
https://github.com/juju-solutions/layer-topbeat/pull/13
https://github.com/juju-solutions/layer-packetbeat/pull/5
Cheers
Tilman Baumann
--
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe
On 21.11.2017 15:58, Junien Fridrick wrote:
> The only way I can think of is to use @hook('stop'), but as far as I
> remember, using hooks is not something one should do in the reactive
> world.
No, just fine. Most of the time when you think hook, reactive will have
a abstract handler for it. Bu
I'm writing a reactive subordinate charm for cassandra.
I can not find a interface for cassandra. But that's ok, since I don't
really need a full blown database connection client.
Easy I thought and just re-used the juju-info interface for fun and profit.
requires:
host-system:
interface: ju
On 22.11.2017 23:26, Haw Loeung wrote:
> Hi Tilman,
>
> On Wed, Nov 22, 2017 at 04:02:08PM +0100, Tilman Baumann wrote:
>> However, that doesn't seem to work. Juju complains the relation doesn't
>> exist.
>> $ juju add-relation cassandra-backup:database cas
7;t know that it is complete but
> https://github.com/jameinel/interface-cassandra
>
> Was my attempt at it.
>
> John
> =:->
>
> On Nov 23, 2017 02:26, "Haw Loeung" <mailto:haw.loe...@canonical.com>> wrote:
>
> Hi Tilman,
>
On 22.11.2017 23:26, Haw Loeung wrote:
> Hi Tilman,
>
> On Wed, Nov 22, 2017 at 04:02:08PM +0100, Tilman Baumann wrote:
>> However, that doesn't seem to work. Juju complains the relation doesn't
>> exist.
>> $ juju add-relation cassandra-backup:database cas
On 22.11.2017 18:51, Cory Johns wrote:
> However, I see that you also want to retrieve relation data that the
> cassandra charm provides using the "cassandra" interface protocol. Here
> it becomes important to note that whether a relation is subordinate or
> not is independent of the interface
Hey John, apart from those fields missing. (BTW check usage section of
https://jujucharms.com/cassandra/36 for a list of fields)
interface.yaml calls this interface elasticsearch. I was able to use
this after I changed that.
;-)
Cheers
Tilman
On 23.11.2017 11:39, Tilman Baumann wrote:
> C
On 28.11.2017 00:38, Stuart Bishop wrote:
> On 23 November 2017 at 21:37, Tilman Baumann
> wrote:
>> I didn't want to talk about it before it's usable. I think I might be
>> working on something similar.
>>
>> https://github.com/tbaumann/jujucharm-layer-cas
28 matches
Mail list logo