[09:16] <Chipaca> 👋
[09:16] <bthomas> morning
[09:46] <Chipaca> brb, new kernel
[10:01] <bthomas> wonder if the new kernel is a fix for the recent root shell exploit
[10:02] <Chipaca> bthomas: which root shell exploit?
[10:03] <bthomas> http://securitylab.github.com/research/Ubuntu-gdm3-accountsservice-LPE
[10:05] <Chipaca> bthomas: https://ubuntu.com/security/notices/USN-4616-1
[10:06] <Chipaca> (so not a kernel bug)
[10:07] <bthomas> Ah ok. Indeed. I was mistaken.
[10:35] <facubatista> ¡Muy buenos días a todos!
[10:55] <bthomas> नमस्ते facubatista
[10:55] <facubatista> hola bthomas
[11:45] <facubatista> reviews appreciated: https://github.com/canonical/charmcraft/pull/180
[11:45] <mup> PR charmcraft#180: Support to create a library, first step in all the lifecycle <Created by facundobatista> <https://github.com/canonical/charmcraft/pull/180>
[12:15] <JoseMasson> Good morning!
[12:17] <Chipaca> it is! because i have yet to get lunch!
[12:17]  * Chipaca fixes that
[12:19] <JoseMasson> Bon Appetite!
[12:19] <bthomas> Chipaca facubatista : Is the implementation of event.defer() like a co-routine i.e. does the hook continue from the point event.defer was called or does it continue from the begenning of the hook.
[12:19] <bthomas> I am expecting it continues from beginning of the hook.
[12:19] <facubatista> bthomas, it's not a subroutine at all
[12:19] <Chipaca> bthomas: defer means 'deliver this event again later'
[12:19] <facubatista> bthomas, the event just is sent again, the method is called "from scratch"
[12:20] <bthomas> ok got it so it is from begining of hook. That is good.
[12:20] <Chipaca> facubatista: writing operators in scratch would be fun
[12:20] <facubatista> Chipaca, we can hire Felipe!
[12:20] <Chipaca> facubatista: and then fire him!
[12:20] <Chipaca> facubatista: two life lessons for the price of one!
[12:20] <facubatista> jajaj
[12:20] <bthomas> poor Felipe
[12:21] <Chipaca> facubatista: clearly what we should do is set up an apprenticeship scheme where apprentices *pay us* to learn how to write operators
[12:21] <Chipaca> $$$
[12:21] <bthomas> Chipaca: I think that would work if we remove some of the docstrings
[12:22] <Chipaca> nah, just rotate them all one method to the right
[12:22] <bthomas> Although there still some needs which opens up the possibility of consulatation
[12:22] <bthomas> ha ha. I like rotation.
[12:34] <Chipaca> this joke probably brought to you by me learning about the >>>= operator in javascript, yesterday
[12:36] <bthomas> Haven't seen that. I would have expected compound assignment with right shift to be >>= .
[12:38] <bthomas> JoseMasson justinclark please use my latest develop branch for mongodb . It allows you to connect directly to monodb fully initialized.
[12:39] <JoseMasson> Great bthomas! the branch named "refactor" ?
[12:39] <bthomas> yep
[12:40] <bthomas> Give it a shot. As always I love hearing about any bugs and issues. It may not solve the problem of Graylog connecting to the wrong host. I am not sure about that one but we can dig into it in today's pair programming session.
[13:27]  * bthomas -> lunch
[13:37]  * Chipaca → break
[13:48]  * Chipaca actually going to take that break now
[14:14] <JoseMasson> Chipaca: A break with "Chipaca con chicharrón y mate" or tea and biscuits?
[14:15] <Chipaca> JoseMasson: just a cuppa coffee
[14:28]  * bthomas needs coffee too
[15:06] <justinclark> bthomas, still same logs as yesterday :/
[15:08] <bthomas> justinclark: there are two issues 1) Graylog not seeing mongodb 2) Mongodb not properly initialized. If you connect with mongoclient do you see a prompt such as "rs0:PRIMARY>" . If so mongodb is initilialized. Is this the case ?
[15:08] <mup> PR #1: Fix stop event attribute <Created by dshcherb> <Merged by niemeyer> <https://github.com/canonical/operator/pull/1>
[15:09] <niemeyer> Hi mup...!?
[15:10] <justinclark> bthomas, if I do "mongo <ingress-address>, I got "rs0:SECONDARY". When I did "mongo <ingress-address>/graylog", it was "rs0:PRIMARY"
[15:11] <bthomas> justinclark: Yes ingress address is what I meant
[15:11] <bthomas> If you got either SECONDARY or PRIMARY that is fine
[15:11] <bthomas> Either indicate that mongodb is initialized
[15:12] <justinclark> https://pastebin.ubuntu.com/p/YgXg2TnR5S/
[15:13] <bthomas> justinclark: can we jump on Graylog daily link
[15:13] <justinclark> Yep
[15:13] <bthomas> am there now
[18:06]  * facubatista -> bbl