/srv/irclogs.ubuntu.com/2020/06/24/#juju.txt

rick_hkelvinliu:  right, but looking at the relation I don't see it writing out the config actually. just setting pod_spec00:13
rick_hkelvinliu:  does something write that out to the LocalSettings.php in some way?00:14
rick_hkelvinliu:  once the relation is there does it actively come up as a usable wiki or still want more configuring00:14
kelvinliurick_h: which charm are u using?00:14
kelvinliuu just need relate the mediawiki with mariadb then expose00:15
rick_hkelvinliu:  right, so when you expose it and load the page does it come up saying "LocalSettings.php not found.00:16
rick_hPlease complete the installation and download LocalSettings.php.00:16
kelvinliuu see this from the wiki web page?00:16
kelvinliuim not sure, for testing purpose, I just always check the webpage gives status code < 40000:17
kelvinliurick_h: im deploying it to see what's in the page now00:18
rick_hkelvinliu:  k, I'm trying it on another model to see as well00:19
rick_hkelvinliu:  so I setup a deploy on microk8s and I still get the "setup your wiki" and when you walk through that it asks you to configure your database manually00:24
rick_hkelvinliu:  so it doesn't actually look like the db relation "works" when you look at it00:24
kelvinliurick_h: in the mediawiki podspec I can find the db host, port, db_name, pwd, username are all set00:33
kelvinliurick_h:  i think the charm doesn't config the db credential ENV name correctly00:38
kelvinliuhttps://hub.docker.com/_/mariadb/00:38
kelvinliuthey should be MYSQL_<xxx> but not MEDIAWIKI_<xxx>00:39
kelvinliurick_h: https://pastebin.ubuntu.com/p/VHQKtQrHXK/00:41
rick_hkelvinliu:  right I mean I understnad but do you see my point that you can't use the wiki as a wiki?01:27
kelvinliurick_h: the db relation works but the charm itself does get the relation data correctly set to the podspec01:29
kelvinliudoes NOT01:29
rick_hkelvinliu:  right01:29
kelvinliurick_h: sorry, the solution is probably not to rename the env names, but we need to generate the LocalSettings.php using the relation db data then mount into the pod using configmap01:51
kelvinliuthis is the thing was missing in the charm01:51
kelvinliu_hpidcock: or tlm could u take a look this small pr plz? ty  https://github.com/juju/juju/pull/1174806:22
hpidcockkelvinliu_: lgtm06:58
kelvinliu_ta06:58
flxfooHi all,07:42
flxfooSorry to bother... i install `pip3 install juju` to write a script some time ago. now the script can ages to run (retrieving public ips of nodes). I have as well those messages coming out.07:43
flxfoounknown facade CAASModelOperator07:44
flxfoounexpected facade CAASModelOperator found, unable to decipher version to use07:44
flxfoounknown delta type: id07:44
stickupkidflxfoo, those are warnings, it's safe to ignore. Essentially there is a facade that libjuju doesn't know about, but juju advertises08:16
stickupkidmanadart_, CR please https://github.com/juju/juju/pull/1173608:16
manadart_stickupkid: Yep, need a few. If you've time, I'll swap for https://github.com/juju/juju/pull/11749.08:36
stickupkidstupid apt-cache was down... argh08:53
flxfoostickupkid: thanks!09:03
flxfooa little one quick (not an issue).09:03
flxfoorunning the script (basically connect to controller and gather informations). Sometimes it goes like less than a second to finish, sometimes more than a minute... is this normal behaviour? if yes could it deplend on controller resources?09:05
stickupkidflxfoo, what version of juju and what substrate you hitting against?09:06
flxfoostickupkid:version is 2.8.009:26
flxfoopublic ips from a model09:26
flxfoounits public ips09:26
manadart_stickupkid, achilleasa: Forward merge; kind of big, but no conflicts: https://github.com/juju/juju/pull/11750.09:38
achilleasamanadart_: lgtm; I noticed your description commit and am wondering whether I need to update juju/description to include the VirtualPortType for exported devices (develop branch only)09:53
manadart_achilleasa: Yeah, you will need to.09:54
stickupkidmanadart_, https://github.com/juju/juju/pull/11736#discussion_r444760182 <- for all DTOs or just for the client?10:12
manadart_stickupkid: I lean towards all, maybe even in a separate sub-package to make it as dependency free as possible - DTO dependence on client elements would become circular.10:16
stickupkidmanadart_, yeah ok, I'll do that now10:16
achilleasamanadart_: can you take a quick look at https://github.com/juju/description/pull/81?10:49
manadart_achilleasa: Yep.10:51
stickupkidachilleasa, is juju-2.7 branch in bundlechanges a valid 2.7 branch or is it tainted?11:08
achilleasastickupkid: I think I bumped it recently to fix the panic for relations without endpoints; let me check if that landed on 2.711:11
stickupkidachilleasa, yeah it has11:13
stickupkidwicked11:13
achilleasayes11:13
achilleasacan I get a CR on https://github.com/juju/juju/pull/11752?11:43
manadart_achilleasa: I'll look at yours. Can you check out this mechanical one? https://github.com/juju/juju/pull/1175314:37
achilleasamanadart_: sure14:38
Eryn_1983_FL24 Jun 2020 14:54:48Z  juju-unit  error      hook failed: "leader-settings-changed"14:56
Eryn_1983_FLahhhhh14:56
Eryn_1983_FLovn freaking broke again14:56
achilleasamanadart_: got two questions on your pR15:09
gsamfirahello folks. Any chance we can get Windows Server 2019 juju tools in simplestreams: http://streams.canonical.com/juju/tools/streams/v1/com.ubuntu.juju-devel-tools.json ?15:14
petevggsamfira: we've got a fix committed, but it hasn't made it into a release yet. Have you tried bootstrapping w/ --agent-stream=proposed?15:28
petevghttps://bugs.launchpad.net/juju/+bug/187249515:28
mupBug #1872495: can't deploy win2019: no matching agent binaries available <simplestreams> <juju:Fix Committed by petevg> <https://launchpad.net/bugs/1872495>15:28
=== sfeole_away is now known as sfeole
stickupkidhml, can I get a CR https://github.com/juju/juju/pull/11754 and https://github.com/juju/bundlechanges/pull/63/commits/9c9a93fa5758432ec07279ca9ece5c686008a80217:26
gsamfirapetevg: will give it a shot in the morning! Thanks!17:29
=== sfeole is now known as sfeole_away

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!