/srv/irclogs.ubuntu.com/2017/02/27/#juju-dev.txt

wallyworldthat's a stock juju bug00:00
anastasiamacwallyworld: ha, i clunged to "remote" :)00:01
wallyworld:-)00:01
anastasiamacwallyworld: do u recall if interactive bootstrap should work with builtin or personal clouds as well? I thought there was a limitation where we supported public clouds only...00:57
wallyworldhmmm, not sure00:57
wallyworldi didn't know of such a limitation00:58
anastasiamacwallyworld: well, considering it doesn't work right now, we probably have a bug00:58
wallyworldcould be, the work was sort of half finished00:59
anastasiamacwallyworld: i mean it works with both public and personal but not builtin.. i *think* i know where the problem is... will propose soon...00:59
rick_hanastasiamac: wallyworld yea the rest of interactive bootstrap was meant to tie into the add-cloud work01:06
rick_hThe next step was to tie add-credential to the end of add-cloud and then update bootstrap to tie into add-cloud01:06
wallyworldone day.....01:07
rick_hBest laid plans...01:08
babbageclunkwallyworld: quick review? https://github.com/juju/juju/pull/703701:22
wallyworldsure01:22
babbageclunkwallyworld: thanks01:23
wallyworldlgtm01:24
babbageclunkwallyworld: cool cool01:28
mupBug #1667419 changed: Juju 1.25.10 non-HA cpu/ram usage spike (can't apply changes to env) <canonical-bootstack> <juju-core:Won't Fix> <https://launchpad.net/bugs/1667419>02:32
mupBug #1663633 changed: Juju 1.25.10: Conversation scope is missing sometimes - causes relation hook failure <juju-core:Won't Fix> <https://launchpad.net/bugs/1663633>02:41
mupBug #1663633 opened: Juju 1.25.10: Conversation scope is missing sometimes - causes relation hook failure <juju-core:Won't Fix> <https://launchpad.net/bugs/1663633>02:50
menn0thumper: no joy replicating with juju 1.25.6 and mongo 2.402:51
mupBug #1663633 changed: Juju 1.25.10: Conversation scope is missing sometimes - causes relation hook failure <juju-core:Won't Fix> <https://launchpad.net/bugs/1663633>02:59
thumpermenn0: hmm...03:03
menn0thumper: yes?03:04
thumpermenn0: more the no joy03:04
menn0thumper: I've been poking at it a bit more but I'm not seeing the problem03:04
thumpernot an interested hmm03:04
thumperyeha03:04
thumperyeah03:04
thumperit sucks03:04
anastasiamacmenn0: thumper: is it possible that there was no env-uuid when the charm was deployed? so when it was upgraded, some transacations got *lost*? since there was no envuuid we could group them by?...03:16
thumperno, there was clearly an env-uuid03:16
menn0anastasiamac: I don't *think* so. transactions aren't being lost, just the txn-revno field03:17
jam1menn0: joining us?03:33
=== jam1 is now known as jam
babbageclunkanastasiamac: Could you review https://github.com/juju/juju/pull/7038 plz?04:10
anastasiamacaxw: PTAL https://github.com/juju/juju/pull/703904:11
anastasiamacbabbageclunk: sure \o/04:11
anastasiamacbabbageclunk: or we can swap :D and u could PTAL mine too...04:11
anastasiamacbabbageclunk: u make me swoon - u even updated a bug \o/04:13
babbageclunkanastasiamac: I'm looking at yours now!04:13
axwanastasiamac: reviewed04:15
anastasiamacbabbageclunk: axwawesome \o/04:15
* babbageclunk is too slow04:15
axwveebers: to run CI, do I still need an environments.yaml for juju 2.x? seems like it, just wondering if I'm missing something04:17
anastasiamacbabbageclunk: u could break a tie - do u think that the method name should b the same as the other pkg but with different behavior... m not fussed either way :)04:18
axwanastasiamac: I see where you're coming from, but the "Any" qualifier is pretty meaningless. If it were meaningful I'd have no problem with it04:19
veebersaxw this is with a juju-ci-tools test?04:20
axwveebers: yup04:20
veebersaxw: yeah you'll want to use cloud city and set JUJU_HOME to it's path04:20
axwveebers: ok, thanks. seems unnecessary04:22
veebersaxw it's how we enable being able to test 1.25.* and 2.* across any cloud using the same test code04:23
veebers(it's grown out from testing just 1.25 and evolved from there)04:23
babbageclunkanastasiamac: I think I'm with axw - the Any- prefix suggests some randomness or nondeterminism to me. CloudByName is better in this case.04:25
veebersaxw: is there (good) docs re: the difference between storage-unit, volume and filesystem?04:27
thumperbabbageclunk: where is our new proxy funcs?04:28
babbageclunkthumper: where is your new proxy funcs more like04:31
babbageclunkuh, I mean it lives in juju/juju/utils/proxy04:31
babbageclunkthumper: with stuff to update the settings in proxyupdater and installing it as the default proxy in juju/juju/cmd/jujud/main.go04:33
thumperlooking at utils/proxy stuff now04:33
babbageclunkthumper: not juju/utils/proxy though.04:33
thumperright04:34
babbageclunkthumper: I have seen some complaining about juju/juju/utils/proxy vs juju/utils/proxy and I am not unsympathetic to those complaints.04:34
thumperbabbageclunk: is there a reason we aren't moving one to the other04:35
thumper?04:35
babbageclunkthumper: It didn't occur to me - it seems like the j/j/u/p stuff is specific to juju, while the j/u/p bit isn't? But maybe I should have just put everything in j/u/p?04:36
* thumper shrugs...04:37
axwveebers: sorry was afk. I don't think so04:41
veebersaxw: nw, are you able to one-liner the difference? You did mention yesterday but obviously it didn't gel for me :-(04:42
axwveebers: storage-instance is an instance of a charm-declared store. a volume is just a disk/logical volume, and a filesystem is... a filesystem. a storage instance will have an associated volume and/or a filesystem04:45
axwveebers: so a storage instance is the association between a volume/filesystem and an unit (or application, when we have shared storage)04:45
veebersaxw: ack, thanks :-)04:48
anastasiamacaxw: PR for auth type in add credential: https://github.com/juju/juju/pull/7040 PTAL :D06:15
axwanastasiamac: I think we should probably call cloud.CredentialSchema.Finalize on the input? there are other things in there that we should validate too06:20
axwanastasiamac: Finalize will interpret the file attrs and replace them tho, so don't want that bit...06:21
anastasiamacaxw: oooh. k. did not know wbaout that :) i'll check after school pickup :D tyvm!06:21
axwanastasiamac: maybe introduce a Validate method to CredentialSchema, which does what Finalize does from Coerce up06:21
anastasiamacaxw: that'd b neat coz it'll answer validation in other places too! great idea. i'll look into it further06:22
jamaxw: any chance you could review https://github.com/juju/juju/pull/703409:23
axwjam: looking09:23
jamits not particularly small09:24
axwjam: if I have subnet 10.0.0.0/8, can I have a static route for source=10.0.0.0/16?09:52
axwjam: in MAAS I mean09:52
axwjam: just wondering about the bit that looks up static routes based on the interface's subnet CIDR09:53
jamaxw: I believe so.09:53
jamaxw: that's actually how ante-et-al are using it09:53
jamceph-data is the 10.100.0.0/16 group of subnets09:53
jamand each rack gets, say 10.100.1.0/2409:53
jamand has a static route that says09:54
jam"for anything in 10.100.0.0/16 use 10.100.1.1"09:54
axwjam: so how does this work then? https://github.com/juju/juju/pull/7034/files#diff-e48e1166d15f27c5c7356ca4ee7000c0R28209:55
jamaxw: so a given device will be in a registered subnet, which may have static routes pointing at other listed subnets09:56
jambut there isn't anything that says subnets don't overlap09:56
jamaxw: https://github.com/juju/juju/pull/7034/files#diff-9f2d224cfe3d5b5450772b51d95b625aR2176 is where we build up the map by listing all of the register static routes09:56
jameach one has a "Source" subnet that states where it should apply09:57
axwjam: but won't that end up with a key of 10.100.0.0/16, and the NIC is in subnet 10.100.0.0/24?09:58
jamaxw: so that's not how it works. In the config for Subnet 10.100.0.0/24 you set a destination of 10.100.0.0/1609:58
jamand a magic gateway09:59
jamaxw: you always exactly match a 'local' subnet in the config09:59
jamaxw: IOW, you can't say "all machines in 10.100.0.0/16 use gateway 10.100.1.1" because not all of them have direct routes *to* that machine09:59
jamso *each* /24 subnet needs to be told the preferred (generally the local) gateway to get to the rest of /1609:59
jamaxw: does that make sense?09:59
jam10.100.1.0/24 probably points to 10.100.1.1, 10.100.2.0/24 points to 10.100.2.1, etc.10:00
axwjam: it makes sense, but that seems to be the opposite of <axw> jam: if I have subnet 10.0.0.0/8, can I have a static route for source=10.0.0.0/16?10:00
axwjam: so multiple static routes: one per source subnet, each going to the same destination CIDR but via different gateways10:01
jamaxw: if you want to *reach* 10.0.0.0/8 you can create a static route with source=10.0.0.0/1610:01
jamdestination=10.0.0.0/8 but the gateway IP needs to be in your source range (I believe)10:01
axwjam: sorry, I had that back to front :)10:02
axwok, all good10:02
jamsource is 'who I am' and destination is "who I want to talk to" and gateway "who do I send my letter to that will deliver it"10:02
axwyeah, I just had my CIDRs back to front in my question10:03
jamaxw: if you can think of ways that I can document things to make it easier to pick up. I did add comments to network.Route https://github.com/juju/juju/pull/7034/files#diff-24ce41f044a5d947051b85bb10734d91R26410:05
jambut if I can tweak that to make it more understandable, I'm certainly willing to.10:05
axwjam: it's pretty clear. I think it might be helpful to add a comment that for the static routes coming back from MAAS, source is expected to exactly match the subnet on the device10:06
jamaxw: thanks for the review10:50
axwnp10:50
=== tinwood is now known as tinwood_swap
=== gsamfira_ is now known as gsamfira
thumperbabbageclunk: ping-a-ling https://hangouts.google.com/hangouts/_/canonical.com/websocket-mania20:28
thumperbabbageclunk: can you join us please20:28
thumper?20:28
babbageclunkthumper: sure20:28
jamsinzui: thanks for pushing up a new bug20:30
jamIt seems the MAAS 2.0 *docs* say it supports an API that isn't actually there.20:30
sinzuijam: oops20:30
jamsinzui: oddly enough axw caught that I would have treated static-routes missing as being ok, and thought it would be poor to suppress the error20:31
jamsinzui: seems I was right to be paranoid the first time.20:31
jamsinzui: btw, I hopefully stopped my merge of 2.1 into develop cleanly, but I haven't clicked the "X" very often in case anything bad happens when you do it20:32
jamsinzui: I'd like to add a targetted error trap for that error, is it possible to get access to the 2.0 MAAS so I can confirm the error code, etc?20:40
sinzuijam: I will send you the ssh info. You may already have info for finfolk. but I have additional for the maas 2.0 itself20:51
jamsinzui: thx20:54
jamsinzui: I don't think I need to actually start anything, I just want to track the error messages, etc.20:54
jamredir: ping20:54
jamredir: Looking at your libvirt changes for KVM containers, it looks like we are trying to set guest device names for network interfaces. Did you see that actually working? Because my quick Xenial + Juju 2.2 test doesn't show it working.20:55
jamredir: is there some place we can see the XML that was used to launch the container?20:57
jamsinzui: I need to go to sleep (1am here). Any chance you could check if https://github.com/juju/juju/pull/7045 fixes this?21:13
jamI think it will, but I don't really want to land it without testing it.21:13
sinzuijam: I will follow the merrge21:14
babbageclunkjam: are you ok with me merging 2.1 into develop now?21:14
babbageclunkjam: or have you got something in flight that you want to include?21:15
jambabbageclunk: actually its something we don't want to merge.21:15
jambabbageclunk: my latest patch has a regression against maas 2.0. The above patch should fix that regression and then we'd be good to merge up.21:15
jambabbageclunk: there is also a conflict in dependencies.tsv because of different gomaasapi versions, use the one in 2.121:16
* jam sleeps21:16
babbageclunkjam: yeah, I guessed that one - was going to check on the commit to be sure. So, I should hold off until 7045 lands?21:16
jambabbageclunk: I'll merge up once 7045 lands, but if curtis approve it and it lands while I'm asleep, you're welcome to merge up21:17
babbageclunkjam, ok cool - night!21:21
redirjam pong HO?22:02
redirdo misse dyou22:02
redirwe cna HO tomorrow jam22:02
redireasy review: https://github.com/juju/juju/pull/703523:18
redirPTAL23:18
* anastasiamac looking23:23
redirtx anastasiamac23:36

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