[00:27] <babbageclunk> veebers: extra data point - it looks like it might also happen when new controller machines are added? It looks like the mysql unit responds to the config-changed, and updates it status to "maintenance", at which point the mediawiki unit goes to "blocked", and then the mediawiki unit never changes back to "active"
[00:59] <veebers> babbageclunk: cheers, I think I know when it's happening, I just have to confirm. (the db-relation-departed hook removes the canary file it uses to say "I have a connection") I think it's being triggered and miss-handled
[01:00] <babbageclunk> veebers: ah, ok
[01:01] <vino> babbageclunk: do u have a min...to discuss upon this issue i mentioned this morning
[01:02] <vino> ?
[01:02] <babbageclunk> vino: sure
[01:02] <vino> hangout ?
[01:03] <babbageclunk> I'm in standup
[01:10] <veebers> Oh, babbageclunk btw: juju show-status-log mediawiki/0
[01:22] <babbageclunk> veebers: oh right - I always forget that command. Will that show all the hooks that get run?
[01:23] <veebers> babbageclunk: aye it does, in the order they where run, with the message etc. v/ helpful for what I want
[01:23] <babbageclunk> cool
[02:07] <ahop1983> Hello! Is there anyone out there with knowledge of using a pre-existing charm as a layer if it does not exist in https://github.com/juju/layer-index/tree/master/layers ?
[02:09] <ahop1983> My team is running into this: https://bugs.launchpad.net/juju/+bug/1764317
[02:09] <mup> Bug #1764317: bionic LXD containers on bionic hosts get incorrect /etc/resolve.conf files <bionic> <cdo-qa> <cdo-qa-blocker> <foundations-engine> <kvm> <lxd> <network> <uosci> <juju:Triaged by ecjones> <https://launchpad.net/bugs/1764317>
[02:11] <ahop1983> Our idea of a fix is to dynamically generate the DNS data using a charm hook and merge it into the affected preexisting charms, but we are not sure of the best way to get this done.
[03:02] <vino> anastasiamac: is there a way to check logs on status of upgrade at controller side ?
[03:02] <vino> veebers: if anyone can help me on the above question..
[03:03] <anastasiamac> vino: u can check controller logs:
[03:03] <anastasiamac> swicth to controller model, ssh inot machine and broswe the logs
[03:06] <veebers> Is there a why to find the gh/lp page for a charm? (i.e. https://jujucharms.com/mediawiki/ I want to propose a fix0
[03:12] <babbageclunk> veebers: generally there's a link on the charmstore page
[03:13] <veebers> ah right, I had thought so too. Perhaps I'll try file a bug with a pastebin of the diff to fix it.
[03:13] <babbageclunk> veebers: https://bugs.launchpad.net/charms/+source/mediawiki
[03:13] <veebers> babbageclunk: cheers L:-)
[03:32] <veebers> where can one see the current bugs for 2.4? I can only see fix committed or in progress ones.
[03:42] <anastasiamac> veebers: for next beta - https://launchpad.net/juju/+milestone/2.4-beta2
[03:43] <anastasiamac> veebers: or all existing - https://bugs.launchpad.net/juju
[03:44] <veebers> anastasiamac: ah right, I had assumed there would be bugs targetted against 2.4 in general
[03:45] <anastasiamac> veebers: so have i but it does not think so.. it looks like tags were used at one stage but all tagged 2.4 bugs have been addressed :)
[03:46] <veebers> anastasiamac: that's good, seems we're on top of the fixes going into 2.4
[03:46] <veebers> anastasiamac: is https://bugs.launchpad.net/juju/+bug/1465317 still valid?
[03:46] <mup> Bug #1465317: ubuntu devel macos win: panic: osVersion reported an error: Could not determine series <osx> <packaging> <wily> <windows> <juju:Triaged> <juju-core:Won't
[03:46] <mup> Fix> <juju-core 1.24:Won't Fix> <juju-core 1.25:Won't Fix> <juju-release-tools:Fix Released by sinzui> <https://launchpad.net/bugs/1465317>
[03:48] <anastasiamac> veebers: i do not have more info than on the bug.. mayb? :)
[03:49] <anastasiamac> veebers: fwiw it hink we've had couple of attempts at resolving it for good (as opposed to band-aid solutions) but obviously have not resolved it.... would b brilliant to fix :)
[07:49] <eriklonroth> Hello! We are trying to make use of "ansible" with juju. How would we make best use of that without needing to rebuild existing charms for our use-case? I've seen a "layer-ansible" somewhere but I would hope to get some input on the subject.
[08:08] <TheAbsentOne> hi eriklonroth from what I've read the ansible layer should fill that need. Do you want a standalone charm or do you want things on top of the ansible layer?
[08:10] <eriklonroth> Thanx! I think I need something standalone as I'm not yet sure how to puzzle this into the different services we are to create. It would be good to not have to go through a vast testing phase each time a change is made to ansible layers or/and the target charms.
[08:10] <eriklonroth> ... a subordinate charm is perhaps the way to go ?
[08:12] <TheAbsentOne> eriklonroth: I think it depends, in your case I would try first with a normal charm and https://github.com/chuckbutler/ansible-base layer to test playbooks. Once that works it might be easier to determine what you want the charm to do :)
[08:13] <TheAbsentOne> https://github.com/chuckbutler/charms.ansible 's second method might be interesting to look at too
[08:13] <eriklonroth> Thanx for that advice. What are your thoughts about this thing I just googled. v
[08:13] <eriklonroth> https://github.com/cmars/juju-ansible
[08:38] <TheAbsentOne> eriklonroth: I think it's outdated honestly, if it works sure nice thing but I don't see a reason to not use the reactive framework and the existing layers. It all depends however what you want to do with ansible and on what level
[08:39] <eriklonroth> I see
[08:39] <eriklonroth> OK, I'll take your advice to begin with and see where we end up. Do you know of any examples I can look at ?
[08:45] <TheAbsentOne> unfortunately not really, haven't used it myself maybe others here can help
[09:10] <srihas> hi, when I run "juju deploy --constraints tags=compute --config compute.yaml nova-compute" and check the status the public address is by default coming from the IP of of the first NIC in MAAS to that node
[09:12] <srihas> https://paste.ubuntu.com/p/wGQJnxDMdm/
[09:13] <srihas> Its always taking the IP from storage space while I expect from the management space. Is there a way to specify that in compute.yaml?
[09:19] <zeestrat> srihas: You probably want to look at bundles https://jujucharms.com/docs/2.3/charms-bundles#binding-endpoints-within-a-bundle or specifying binds via the cli https://jujucharms.com/docs/stable/charms-deploying-advanced#deploying-to-network-spaces
[09:22] <srihas> zeestrat: aha, will see into it. seems I understood something thatnk you
[09:23] <srihas> zeestrat: but if there are 4 subnets in "management" space which IP will come to my_ip in the nova.config?
[09:23] <srihas> when I bind the "management" space
[09:26] <zeestrat> srihas: That's a good question. Not sure. Does the machine in maas have interfaces for all those subnets?
[09:26] <srihas> zeestrat: no, I have given static IP from one of those subnets specifically
[09:26] <srihas> I hope it solves
[09:28] <zeestrat> srihas: Gotcha. Hope it does the right thing.
[12:09] <srihas> zeestrat: no, it didn't it simply ignored the "bind" :(
[12:33] <srihas> yayy, it worked, thanks zeestrat
[13:02] <srihas> is there a way to tell juju to install ocata version? I got Mitaka version of nova-compute. Can someone help?
[13:20] <zeestrat> srihas: You can use the openstack-origin option for most of the openstack charms, for exmaple "openstack-origin: cloud:xenial-ocata".
[13:21] <zeestrat> srihas: If you look at the main openstack bundle from the openstack-charmers (https://jujucharms.com/openstack-base/, see bundle.yaml) you can see the "openstack-origin" option used for the latest release, queens.
[13:24] <TheAbsentOne> zeestrat: have you used the mysql-shared or pgsql interface recently in a charm (reactive) by any chance?
[13:25] <srihas> zeestrat: /win35
[13:25] <srihas> nvm
[13:27] <zeestrat> TheAbsentOne: No I haven't, sorry.
[13:29] <TheAbsentOne> never lucky x)
[13:32] <srihas> zeestrat: I think I understood it again, thank you
[13:39] <TheAbsentOne> https://pastebin.com/4znUZhvv confused why this is not enough for the mysql-shared interface, got things working on mysql interface but not on shared where I can share dbname-credentials :/
[16:18] <bdx> TheAbsentOne: it helps if you post the github repo with all of the charm code, off the top of my head I see a slew of issues there
[16:20] <bdx> TheAbsentOne: here's how I've done it in the past https://github.com/omnivector-solutions/layer-documize/blob/master/reactive/documize.py
[16:22] <bdx> TheAbsentOne: ^ code is now pretty stale though, it should be implemented using reactive Endpoints, and flags etc etc
[16:23] <bdx> I'll ping you with an update when I've refactored that to use the new bits
[16:23] <bdx> TheAbsentOne: hopefully that will get you thinking in the right direction though
[17:17] <bdx> TheAbsentOne: it helps if you post the github repo with all of the charm code, off the top of my head I see a slew of issues there
[17:17] <bdx> TheAbsentOne: here's how I've done it in the past https://github.com/omnivector-solutions/layer-documize/blob/master/reactive/documize.py
[17:17] <bdx> TheAbsentOne: ^ code is now pretty stale though, it should be implemented using reactive Endpoints, and flags etc etc
[17:24] <TheAbsentOne> thanks bdx, gonna take a look. I might get back to you if I find myself struggling once again; great link!
[17:24] <bdx> np
[17:57] <TheAbsentOne> bdx: it seems I used the configure function wrong, but weirdly enough the flag on database.available is never set. There must be another issue
[17:58] <bdx> TheAbsentOne: make a very minimal example charm to zero in and debug just the mysql relation bits
[17:59] <bdx> you could do it with two handlers
[17:59] <bdx> let me see if I can get a quick example for you
[18:01] <TheAbsentOne> bdx: I might have found it but my battery is dying on me so have to go. If I'm still in need of help I'll ping you for some help after putting everything online too, thanks for the guidance though!
[18:01] <bdx> np
[20:17] <veebers> Morning team \o/
[20:58] <veebers> I'm pretty sure I've seen chatter re: percona-cluster and hooks issues recently, can anyone update me?
[21:53] <veebers> To use a local copy of a reactive charm I need to build it right? I recall doing something like this *ages* ago but the details escape me
[21:57] <veebers> heh, I think I have it. 'charm build' has done something without error, going to try that z^_^_
[22:02] <bdx> TheAbsentOne: https://github.com/jamesbeedy/mysql-shared-example
[22:04] <TheAbsentOne> damn bdx I was just typing I got it working xD
[22:05] <bdx> :)
[22:05] <bdx> it was good for me too
[22:05] <TheAbsentOne> there is only one thing fishy about my status's/flags when the database already exists
[22:06] <TheAbsentOne> but in all honesty, we need more examples of this bdx like real "state of the art examples"
[22:07] <bdx> TheAbsentOne: you can look at the code of any of the upstream charms <- usually what I do when I'm in need of examples
[22:07] <TheAbsentOne> I pretty much have the same now of your minimal example xD sorry for the work you had to do
[22:07] <TheAbsentOne> and well as a matter of fact I was looking at https://github.com/omnivector-solutions/interface-conda/blob/master/provides.py for some inspiration
[22:08] <TheAbsentOne> I'm still having issues in creating my own interface
[22:23] <TheAbsentOne> anyway I'm off to bed, thanks again for the help bdx! Goodnight
[23:04] <veebers> ugh, I've been watching the wrong application thinking it's the one causing the failure :-\
[23:05] <anastasiamac> veebers: just knowing that gets u closer to determining the root cause
[23:06] <veebers> anastasiamac: at teardown I'm seeing the machine being torn down but not the application and it keeps trying. That seems odd right? if it's machine is gone there essentially is no more application
[23:06] <veebers> kelvinliu: where you looking at percona-cluster hooks issues recently?
[23:06] <anastasiamac> veebers: not necessarily
[23:06] <anastasiamac> veebers: if it's a unit than yes, however, the applictaion is k to exist without any units (machines)
[23:07] <veebers> anastasiamac: oh ok, cool I'll continue digging
[23:07] <veebers> I'm wondering if it'll be like yesterday where I spent hours digging all to come up with a 3 line fix ^_^
[23:15] <anastasiamac> well, they do say that simplicity is ingenuios (or smth like that)