/srv/irclogs.ubuntu.com/2018/08/09/#juju.txt

wallyworldkelvinliu__: before we land the dep changes we need to update the godeps make target in 2.3 and 2.4 to rm -rf ./vendor00:02
kelvinliu__wallyworld, yes, will do00:03
kelvinliu__wallyworld, https://github.com/juju/juju/pull/9039 https://github.com/juju/juju/pull/9040 mind to take a look these tiny PRs? thx00:33
wallyworldkelvinliu__: yep, looking00:36
thumperwallyworld: I thought we were going to try for a move?01:20
thumperrather than rm01:20
wallyworldthumper: considered it. but more moving parts. by having to run make ensure-dependencies anyway (just like godeps -u ...) it will regenerate it from local cahce and only takes approx 10s01:23
* thumper nods01:24
thumperok01:24
thumperwallyworld: https://github.com/juju/juju/pull/904103:06
veeberskelvinliu_, wallyworld: query about the dep change, it only ever looks in the vendor/ dir right? So to consider a dep  you need to "dep ensure -add ..."03:34
veebersalso, I love that some of our tools use --arg and others use -arg :-|03:34
wallyworldveebers: right03:40
wallyworldthat -add will do a complete operation to update toml, lock copy shit to vendor etc IIANM03:41
veebersack cheers03:52
veeberswallyworld: FYI https://github.com/juju/juju/pull/9042, only fixes the one error message I saw, couldn't repro what you saw03:59
wallyworldveebers: lgtm, i'll see if i can repro the other error04:00
veeberswallyworld: you want to catch up real quick re: working on the cloud container status work, or should I move onto '--resource' taking a file path for oci-image details, oh or actually I could look real quick at the operator-image gen for edge snaps04:06
wallyworldlet's do the operator image gen so we don't break stuff again04:06
veebersack, I'll hit it now. Hopefully a quick fix04:07
veeberscharms don't need to be in a series named directory nowadays do they? It's all sorted in the metadata.yaml?04:16
babbageclunkI think that right veebers04:17
babbageclunkthat's04:17
veeberscool, cheers babbageclunk04:17
veeberswallyworld, thumper we're unlikely to push a 'stable' version number to edge snap right? (i.e. \d.\d.\d)04:27
wallyworldwouldn't think so04:28
thumpercorrect04:28
veebersI'm wanting to put an extra check in the operator image step so nothing released gets overwritten04:28
veeberscool thanks !04:28
kelvinliu_wallyworld, github.com/juju/juju/dependencies_test.go this test ensures tsv does not include spaces. i am going to delete this test file together with the dependencies.tsv04:28
wallyworldsgtm04:28
veeberswallyworld, kelvinliu_ operator image for edge snap should be under jujusolutions namespace right (as opposed to our ci namespace)04:31
wallyworldyup04:32
veebersmean, on it04:33
kelvinliu_`jujusolutions/caas-jujud-operator` veebers04:33
veeberskelvinliu_: ack, the awesome person who wrote the image upload job made only the name and version needed ;-)04:34
kelvinliu_veebers, sorry for hiding the details inside the job....04:36
veeberskelvinliu_: no no, it's great, I'm saying you've made it really easy04:37
kelvinliu_veebers, :)04:37
=== alephnull_ is now known as alephnull
veeberswallyworld: that's an odd message on the pr job failure08:52
wallyworldveebers: it really didn't like talking to github. the last one timed out08:53
veeberswallyworld, kelvinliu_ seems it's having trouble within the lxd container?08:53
veeberswallyworld: hmm, interesting08:53
veebersyeah, sat there and timed out after 60 minutes08:54
wallyworldeach fetch of a dep took waaay too long08:54
wallyworldmuch better now08:55
wallyworldseems to be working again08:55
veebersyeah it's already to dep 96, failed on 20 or so last time08:55
manadartFor review - basic end-to-end worker for upgrade-series: https://github.com/juju/juju/pull/901711:15
manadartUses a pattern for testing the worker that I think could be used more widely.11:16
stickupkidnice easter egg manadart:11:22
stickupkidhttps://github.com/juju/juju/pull/9017/files#diff-1730051dd986d1473fe1e5ef57af3985R14411:23
stickupkidmanadart: you've got a gometalinter issue on that PR11:28
stickupkid"worker/upgradeseries/worker_test.go:1::warning: file is not goimported (goimports)"11:28
manadartstickupkid: Is that just the ordering/grouping? I fixed it and it has proceeded past there now.11:46
stickupkidhml: code review done13:30
hmlstickupkid: ty13:30
hmlrick_h_: should you be able to bootstrap by cloud type?13:32
rick_h_hml: sorry? I don't understand13:34
hmlrick_h_:  e.g. juju bootstrap lxd without defining any additional clouds13:35
hmljust having the default ones13:35
rick_h_hml: no, because you have to setup the remote endpoint.13:35
rick_h_hml: juju bootstrap localhost should work13:35
stickupkidjuju bootstrap lxd should work13:35
stickupkidlxd and localhost are interchangeable13:36
stickupkid\o/13:36
hmlstickupkid: that’s what i’m seeing13:36
stickupkidit should work though, is it not?13:36
hmlstickupkid: but it doesn’t make sense.  since doesn’ twork with any other cloud, i hope13:36
hmlstickupkid: i didn’t expect it to work… and confused why a bug thought it should13:36
stickupkiderm... i just kept it around, so I didn't break backawards compatibility13:37
hmli get the same results with bootstrap locahost and bootstrap lxd13:37
rick_h_stickupkid: hml oh....ummm...that doesn't seem right.13:37
hmlrick_h_: +113:37
stickupkidturns out some people use `juju bootstrap lxd` aka jam :p13:37
hmlrick_h_: i’m seeing this in 2.4.1, so for backwards compat?13:38
rick_h_orly? hmmm13:38
hmlyuck13:38
rick_h_ugh13:38
hmlrick_h_: came across it in my bug and thought it was an error13:38
rick_h_yea, I mean you can't juju add-cloud with google/aws/etc so I wouldn't expect the add-cloud to be the same as the thing you bootstrap13:38
rick_h_as jam says "lxd is 'special'" hmmm13:39
stickupkidif there was a differentiator with lxd and localhost, that would make life a bit easier it certain places, but 2.4 you can use lxd13:39
stickupkidand thumper told me not to break stuff :D13:40
rick_h_yea, not breaking stuff is good...13:40
rick_h_so then the question is do we make the add-cloud something not lxd...13:40
rick_h_lxd-remote13:40
stickupkidwhat's the bug?13:40
rick_h_hml: stickupkid so what if I asked we s/lxd/lxd-remote in this? https://pastebin.canonical.com/p/2WpmnYBvzy/13:42
hmlrick_h_: it might be confusing unless with use lxd-remote everywhere.  since lxd and lxd-remote are the same yes?… but even then giving that folks bootstrap lxd.13:43
hmlwould we end up with localhost, lxd and lxd-remote?13:43
rick_h_hml: so we'd allow lxd but remove it from the docs/help13:44
stickupkidi'm fine with lxd there13:44
rick_h_hml: and have localhost and lxd-remote13:44
stickupkidshould we HO?13:45
pmatulisone can still add a local 'lxd' type cloud manually so it makes sense to keep it 'lxd' with add-cloud13:46
pmatulisthen prompt for 'local' or 'remote'13:46
rick_h_pmatulis: what is a local lxd type cloud locally that's not localhost?13:46
stickupkida local cluster13:47
stickupkids/cluster/remote/13:47
pmatulisrick_h_, 'localhost' is the *name* of a local 'lxd' type cloud13:47
pmatulismaybe we should be changing the name, not the type13:48
pmatulis"lxd-local"?13:48
rick_h_ugh, I knew that half hearted lxd thing would bite us13:49
rick_h_fine, that's a lxd-remote where the IP addr is what you're on, or one of the other nodes in that cluster.13:49
stickupkidthis was why i was originally saying we should split providers between local and remote13:50
stickupkidbut i'm still thinking this way is actually good, tbh13:50
rick_h_here's the thing. If you add-cloud a lxd what happens to the built in "localhost"13:50
rick_h_you can't use both13:50
rick_h_so you show-clouds and localhost and something else you named is just the same reference?13:51
hmlwell this is awesome:  https://pastebin.canonical.com/p/QGjnqNvG86/13:51
pmatulisbootstap13:51
stickupkidyou can, if you use `juju set-default-credential`13:51
rick_h_stickupkid: not following there13:51
stickupkidHO?13:52
rick_h_yea, omw to standup13:52
stickupkidmanadart: CR please https://github.com/juju/juju/pull/904514:27
manadartstickupkid: K.14:30
hmlrick_h_: stickupkid  i forgot to add an lxd group and put ubuntu in it.  :-/14:39
stickupkidah of course, forgot about that14:39
rick_h_hml: ah gotcha14:40
hmlrick_h_: does the juju snap install the lxd snap too?14:40
hmlis that a thing14:40
rick_h_hml: I don't think so as we expect lxd to be on the system14:48
rick_h_hml: and if we did that if you had the deb lxd we'd introduce a lxd in a snap the user isn't expecting14:48
stickupkidwow we get a lot of failures in CI :|15:36
pmatulishml, snaps cannot add other snap afaiu. if a snap needs something it has to drag in the source code somehow. for instance, you don't install deb 'zfsutils-linux' when you use the lxd snap15:46
pmatuliseven though those tools are a deb, i'm pretty certain that it can't install a snap either15:47
hmlrick_h_: pmatulis if lxd is apt installed, a snap install gets juju only.  but if the apt of lxd is purged, a snap install of juju, installs lxd it appears:  https://pastebin.canonical.com/p/WHbxVqV2Qs/  or am i crazy again today.  ;-)16:14
pmatulishml, i've never seen lxd and juju influencing each other ito installing, regardless of how each is installed16:44
pmatulishas something changed?16:44
pmatulisi sure hope not16:44
pmatulishml, lemme know if you want me to test something16:45
hmlpmatulis: i’m curious if you can reproduce16:55
pmatulishml, it appears that lxd snap will always be installed when installing juju snap providing that lxd deb is not installed16:59
pmatulis(tested on Bionic)16:59
hmlpmatulis: interesting, i saw the same, yu16:59
hmlty16:59
pmatulisthat's definitely new behaviour17:00
hmlpmatulis: what’s the landscape project to specify for a doc bug?  or add juju docs to a bug?18:08
pmatulishml, docs team hasn't done anything with landscape for a very long time. can you give me details on the issue you see?18:12
pmatulisand not sure what you mean by your second question18:12
hmlpmatulis:  we need a doc change related to https://bugs.launchpad.net/juju/+bug/1784018 - where it talks about setting up lxd, there is mention that ipv6 is not supported,18:14
hmlpmatulis: lxd init configures ipv6 by default18:14
hmlpmatulis: i mean the lxd setup for juju in the docs, does NOT mention that IPv6 is not supported.  :-)18:16
pmatulisi don't see landscape in any of that (?)18:16
hmlpmatulis: i didn’t mean that the bug was a aginst landscape… just want to add juju docs as a project that needs to fix something as part of the bug resolution18:17
pmatulishml, you want to file a juju docs bug you mean?18:19
pmatulisyou can't do that within LP18:19
hmlpmatulis: sure, that’s another way to accomplish the same thing18:19
pmatulis(can't add the juju docs project within LP i mean)18:20
pmatulisthe easiest is to simply file a docs bug and then link to it in an LP comment18:21
pmatulisanastasia does this fairly often18:21
pmatulishttps://github.com/juju/docs/issues/new18:21
hmlpmatulis: ty18:22
pmatulisrick_h_, fyi, https://bugs.launchpad.net/juju/+bug/178632418:34
rick_h_pmatulis: k, ty18:43
bdxhello all, maas storage question19:21
bdxI filed this a few months ago https://bugs.launchpad.net/juju/+bug/176595919:22
bdxlooks like it was marked a duplicate of https://bugs.launchpad.net/juju/+bug/176595919:22
bdxoops, duplicate of https://bugs.launchpad.net/juju/+bug/169169419:23
bdxI'm wondering if its really a duplicate ....19:23
bdxmy bug, #1765959 has nothing to do with provisioning storage via bundle19:24
bdxhere is the workflow I'm trying https://paste.ubuntu.com/p/5qfqkDYyhn/19:26
bdxit seems #1765959 (and #1691694) are still a valid bugs19:27
bdxfrom what I can tell, I'm provisioning the storage pool and attaching the storage correctly (my nodes raid disks are tagged with 'raid')19:28
bdxis storage for the maas provider just totally borked right now?19:29
bdxper ^ bugs19:29
bdxI feel like ^bugs would have had more priority on them if its true that maas storage is borked19:31
bdxthats why I feel it must be me19:31
bdxbut I also feel my workflow checks out19:32
bdxeither way19:32
bdxany insight here would be appreciated19:32
bdxthx thx19:32
=== thumper changed the topic of #juju to: Topic for #juju is "https://jujucharms.com, general chat on https://discourse.jujucharms.com
bdxcopied ^ over to discourse20:37
Guest18678kaniini has invited you to join #litepub20:43
veebersrick_h_: is bionic supported by 2.4 and 2.3? (I ask re: ci-tests)20:43
veeberswallyworld: I'm seeing your merge failures, I'm not sure what to make of it yet though20:44
wallyworldyeah, there's been a couple of different scenarios20:45
boser28kaniini has invited you to join #litepub20:49
rick_h_veebers: should just be 2.4 I think20:49
rick_h_veebers: since we needed to get things to work in bionic20:49
veebersrick_h_: ack, the jenkins change stickupkid suggested will break things for older branches, I'll counter propose something that should work for all branches20:54
rick_h_veebers: ah gotcha yea I bet he didn't think of that20:55
veebersyeah, the ci stuff is a big beast20:55
bitch17kaniini has invited you to join #litepub20:59
* thumper sighs20:59
=== thumper changed the topic of #juju to: https://jujucharms.com, general chat on https://discourse.jujucharms.com, this channel is going to require registered users while we deal with spam bot (see https://freenode.net)
thumperI thought I could clear the registration requirement20:59
thumperbut three people in the last 20 minutes is too much21:00
veeberswallyworld: so, jumping on the pr lxd machine ~/.config is owned by root, I don't know why yet, but that's why we see the perms denied thing, as git it trying to check it's config. I'm looking into it now21:11
wallyworldveebers: in meeting, ty for looking21:12
veebersI think the pr jobs need a bit of a revamp, but still haven't solved this specific issue ;-)21:31
veebers"make lxd-setup" introduces the ~/.config/lxc dir owned by root, scripts/setup-lxd.sh is run via sudo21:48
veebersif the file exists before hand it's fine. is it possible the xenial lxd images changes recently so .config isn't created by default?21:50
veebersfg21:53
veeberswallyworld: I'm testing out a fix or two for different things, please don't re-merge your PR as I'm using it as a test bed :-)22:13
wallyworldok :-)22:14
babbageclunkhey vinodhini23:28
cory_fuveebers: Hey, so apparently builds.snapcraft.io already supports triggering builds on updates to parts, so it looks like we won't actually need to do anything other than watch master on charmstore-client.  See: https://forum.snapcraft.io/t/further-automation-of-build-snapcraft-io/292623:33
cory_fuveebers: And, along those lines, would you mind taking a look at https://github.com/juju/charm-tools/pull/43523:34
veeberscory_fu: oh cool, seems nice and easy then23:39
veeberscory_fu: sure can23:39
anastasiamackelvinliu_: just to be 100%... when I run 'make dep' and get back only message that says 'skipping dep', it's because i have all i need and dep does not need to do anything?23:52
kelvinliu_anastasiamac, there is a env var flag to turn on/off this target. JUJU_MAKE_DEP23:56
veebersanastasiamac, kelvinliu_: wallyworld has a change that will invert that (i.e. will always do deps23:56
anastasiamackelvinliu_: so i need to set  JUJU_MAKE_DEP= true before running 'make dep'?23:57
veebersonce it land23:57
veeberss23:57
anastasiamacveebers: yes... but until it lands :)23:57
kelvinliu_anastasiamac, so u can run JUJU_MAKE_DEP=true make dep,23:57
veebersBut I'm holding it up a little bit as it's my testbed for pr changes23:57
veebersanastasiamac: right, yeah that was more of a PSA than "this will help you" :-)23:57
wallyworldanastasiamac: the behaviour here hasn't changed - make never used to run godeps -u dependencies.tsv byu defualt23:57
anastasiamackelvinliu_: thnx23:58
anastasiamacwallyworld: i never used make before :)23:58
wallyworldbut we are swapping tht around now23:58
kelvinliu_anastasiamac, np23:58
wallyworldyeah exactly - so people can use make we are making it work23:58
wallyworldby default23:58
anastasiamacwallyworld: i ran godeps directly... yep, +1 on making ppl trust and use make !!23:58

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