/srv/irclogs.ubuntu.com/2020/04/23/#juju.txt

wallyworldbabbageclunk: so, when you proposed your recent juju/utils PR, did you see unrelated failures in merge check tests due to focal now being picked up as a series https://github.com/juju/utils/pull/31101:49
babbageclunkwallyworld: hmm, trying to remember...01:50
babbageclunkdoesn't sound familiar01:50
wallyworldi guess i need to make a drive by change then01:51
babbageclunkno, I definitely didn't01:51
wallyworldmaybe distro has been updated on machine01:51
babbageclunkthat was nearly 2 months ago though so I can see a default having changed in the meantime01:52
wallyworldacxtually, maybe focal is released now01:52
wallyworldwas going to be today or thereabouts01:53
babbageclunkit *is* 20.0401:53
babbageclunkyeah that would do that01:53
hpidcockwallyworld: can you review this commit https://github.com/juju/juju/pull/11465/commits/2995c2168bdb04d8708dcac06acdbfb9b90ac3a903:49
wallyworldhpidcock: otp, sec03:52
wallyworldhpidcock: yeah, that uniter test is bloody awful. goes back to the very early juju go port from python and never been fixed04:07
wallyworldhpidcock: looks like a new conflict to solve in gopkg.lock04:08
hpidcockyeah, also still fighting some silly tests04:08
wallyworldjoy04:08
hpidcockI can almost taste go mod04:31
wallyworldmmmmmmm04:34
tlmI want it now hpidcock04:38
hpidcockWaiting for ci jobs04:38
tlmI am cool with untested code04:38
hpidcockOh its already tested. But Jenkins likes to get upset04:39
kelvinliuwallyworld: https://github.com/juju/juju/pull/11490 got this PR to let webhook name keep no change, +1 plz  ty05:10
wallyworldsure05:10
kelvinliuwallyworld: going to grab some food, come back later05:11
wallyworldnp05:11
thumperwallyworld: https://github.com/juju/juju/pull/11491 is the logger branch05:43
thumperwallyworld: it is very mechanical05:44
wallyworldsure05:44
thumperI'm just snap installing microk8s to bootstrap and deploy to ensure all bits are actually hooked up05:46
thumperthis is my first time bootstrapping into k8s, anything I need to know?05:47
wallyworldhope not05:47
thumperand what can I deploy as an "ubuntu-lite" type k8s charm05:47
wallyworldi use ~juju/mariadb-k8s05:47
wallyworldwell, my local copy05:47
wallyworldyou will need to seed microk8s05:47
wallyworldwith your locally build juju image05:48
thumperhow?05:48
wallyworldmake microk8s-operator-update05:48
wallyworldin the discourse post :-)05:48
wallyworldthen just juju bootstrap microk8s tim05:48
thumperack05:49
thumperwill try05:49
thumperstill in the middle of bootstrapping lxd for that part of the test05:49
wallyworldi hope to hear good news :-)05:49
thumperoh...05:49
thumperas noted in the description05:49
thumperI've actually properly fixed an intermittent test failure in the featuretests package05:50
wallyworldyeah, saw that, good05:50
thumperwallyworld: ah, poo, found another place I've missed since the develop merge05:52
thumperworker/uniter/actions has a place I need to thread a logger05:52
wallyworldnp, i'll keep reviewing05:52
thumperI'll update and push05:52
wallyworldthumper: in caasoperator worker, why logger := loggo.GetLogger("juju.worker.uniter.charm") ? and not from config?05:54
thumperwallyworld: because we don't want the "worker.caasoperator" module05:54
wallyworldoh right ok05:55
wallyworldmaybe pass in  as a second logger on the config struct?05:55
wallyworldas it's used twice05:55
wallyworldwell, actuallt no05:56
wallyworldslightly different variations05:56
wallyworldso maybe not05:56
thumperwallyworld: some of this will get cleaned up when we have the caas operator using a nested dep engine06:06
wallyworldthumper: yeah, true that. lgtm with a suggestion06:06
* thumper is still testing...06:07
* wallyworld needs to go to vet06:07
thumperwallyworld: seems I don't have docker installed06:07
thumperwhere do we normally get that from06:07
thumper?06:07
thumperwallyworld, hpidcock: ^^06:07
wallyworldi snap install docker06:07
hpidcockthumper: snap is ok06:07
thumpercheers06:07
wallyworldthere might be a perms issue with /var/lib/docker something06:08
thumperwhy?06:08
wallyworldor /var/run/docker. can't recall06:08
wallyworldbecause docker06:08
wallyworldor because snap06:08
hpidcockI think you just need to add your user to the docker group06:08
wallyworldnot sure06:08
wallyworldah yeah, that rungs a bell06:08
wallyworldbeen a while06:08
* thumper hasn't done any of that, just snap installed docker06:09
wallyworldmay be ok to use it to build images06:09
wallyworldbut running stuff might complain. but microk8s uses containerd now anyway06:10
hpidcocksnap might have fixed the issue06:10
thumperit isn't / hasn't06:10
wallyworldhpidcock: good luck with go mod finalisation, i'll see if there's a devel update after vet :-)06:10
thumperdoes anyone remember how to add to groups without logging in or out?06:10
hpidcocknewgrp docker will fork the shell with the new group06:11
hpidcockbut06:11
hpidcockyou first need to add yourself to the group06:11
wallyworldthat06:11
wallyworldsame as we do for lxd06:11
hpidcockusermod -a -G docker thumper06:12
wallyworldright, off to vet06:12
tlmstart a new session with su thumper06:12
tlmshould re load all the groups in that terminal06:12
tlmsu - thumper06:13
thumperhmm... seems like the docker snap doesn't create the docker group06:14
thumperor at least doesn't put me in it06:14
* thumper sighs06:16
thumperseems like the docker daemon isn't running even06:16
tlmi always install docker from their deb repo06:17
tlmbut thats just me06:17
thumpersnap service docker does show one running06:17
* thumper sighs06:17
thumperwhy is this so hard?06:17
kelvinliuwallyworld: I changed the annoation to "juju.io/disable-name-prefix"06:19
thumperhpidcock: any ideas why snap docker wouldn't do its thing?06:20
kelvinliui installed docker using apt as well06:20
hpidcock`ls -la /var/run/docker.sock`06:21
hpidcockis it using the docker group?06:21
hpidcockalso check `snap services`06:22
hpidcockmaybe there is a docker service there06:22
hpidcockI haven't used the snap in a while06:23
thumperthat's running as root06:23
thumper/var/run/docker.sock06:23
hpidcockshould be owned by root but the group should be docker06:23
thumperit's root root06:24
hpidcockeww06:24
* thumper edits it06:24
* thumper tries again06:26
thumpergot further, but it still doesn't work06:30
thumperhpidcock: https://pastebin.ubuntu.com/p/cDnpRHhJ77/06:32
tlmthumper: are you part of the microk8s group ?06:37
thumper??06:38
thumpermaybe not06:38
thumpernope06:38
tlmsee if that works06:40
* thumper adds himself to the microk8s group and tries again06:40
thumperyep, that now worked06:42
tlm\o/06:43
* thumper tries to deploy again06:43
thumpercharmstore was still down before06:43
thumperlooks like it still is06:44
thumpermay come back down later06:44
* thumper is past EOD06:44
thumperlater peeps06:44
kelvinliuanyone free to take a look this tiny PR plz https://github.com/juju/juju/pull/1149206:54
hpidcockwallyworld: "All checks have passed"07:43
wallyworldhpidcock: so merge that mother plucker07:50
hpidcockI need popcorn07:55
hpidcockUberEats popcorn delivery to the whole team07:56
babbageclunkanyone around in here?09:20
stickupkidmanadart, https://github.com/juju/juju/pull/1148309:35
stickupkidbabbageclunk, hello09:35
manadartstickupkid: Tick.09:37
stickupkidmanadart, Ta09:38
stickupkidmanadart, tests are fun09:38
manadartstickupkid: My MicroStack QA worked for https://github.com/juju/juju/pull/11435.11:31
stickupkidmanadart, was actually just looking at that PR11:32
manadartstickupkid: Quick HO?11:32
stickupkidmanadart: if interface info aka network config doesn't have an origin (older api), then it should be a OriginProvider right?13:54
manadartstickupkid: Hmm, that may get us into trouble.13:56
stickupkidmanadart, quick ho about it?13:56
cmsandersAudio is not working for everyone on youtube you might need to repeate the questions20:13
cmsanderswhoever is talking now can't be heard20:13

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