/srv/irclogs.ubuntu.com/2016/04/28/#juju-dev.txt

mupBug #1575403 changed: juju2: juju deploy --to and -n not usable together? <landscape> <juju-core:Invalid> <https://launchpad.net/bugs/1575403>00:01
davecheneycherylj: https://github.com/juju/juju/pull/529700:18
mupBug #1575983 opened: Having 2 machine-0 is confusing <juju-core:New> <https://launchpad.net/bugs/1575983>00:37
mupBug #1575983 changed: Having 2 machine-0 is confusing <juju-core:New> <https://launchpad.net/bugs/1575983>00:40
mupBug #1575983 opened: Having 2 machine-0 is confusing <juju-core:New> <https://launchpad.net/bugs/1575983>00:49
davecheneymenn0: https://github.com/juju/juju/pull/529700:50
davecheneydo you have a sec for a small review of a blocker00:50
menn0davecheney: give me 2 minutes00:50
menn0davecheney: looking now00:56
axwdavecheney: LGTM00:59
menn0davecheney, axw: I have no real issue with the change but I don't understand why there was a data race to begin with01:03
menn0can you explain it?01:03
axwmenn0: only if Stdout==Stderr exactly will cmd/exec guarantee that only one goroutine writes to one at a time01:04
axw(I wondered too)01:04
menn0davecheney, axw: in that case, would this be a better solution? http://paste.ubuntu.com/16090295/01:06
menn0then we don't lose the interleaving of stdout and stderr01:06
axwthat assumes there's no stderr in the success case... which probably should always be true01:07
* axw shrugs01:07
axwjust use CombinedOutput in that case then01:07
menn0true01:08
menn0whatever... it's a minor thing and I guess there is the risk that there might be something on stderr for the success case01:09
menn0davecheney, axw: just leave it01:09
redirwallyworld: cherylj: whomever... http://reviews.vapour.ws/r/4724/01:18
wallyworldlooking01:18
davecheneymenn0: interlieving of stdout/stderr is undefined01:26
davecheneyit'll make the test brittle01:26
davecheneymenn0: there is a data race becase var both bytes.Buffer is being written by two writers01:26
davecheneymenn0: but we're not looking for stderr, we're looking for stdout, which is the juju version01:26
davecheneythe code cannot cope with anything on stderrr01:26
davecheneythe code cannot cope with anything on stderr01:27
menn0davecheney: all good. your change avoids any unnecessary complexity.01:28
davecheneymenn0: fwiw i wish the test wasn't written like that01:32
davecheneythe test is written to cope with the fact that the mock exec.Command is weak01:32
wallyworldredir: i have some suggestions which had been on my mind before but which I've now enumerated in the review. happy to discuss01:37
menn0axw: thanks for the review. a few things:01:48
menn0the calls are bulk on the server side01:48
menn0they're just not on the client side01:49
axwmenn0: ah, didn't look properly, sorry01:49
menn0regarding passing tags, instead of machine or unit ids ... i'm fine with that01:50
menn0the client will have to have the logic to figure out which is which but that's fine01:50
=== natefinch-afk is now known as natefinch
axwmenn0: yeah, my only concern with it is that the client would have to be updated to handle new entities. but I think that's never going to happen, or only extremely rarely01:51
menn0I considered lumping the addresses together but the concept of a preferred private and public addresses is baked right into the machine docs01:52
menn0also, if they're returned together then the client needs to figure out which one to use01:52
menn0maybe that's a good thing01:52
natefinchdavecheney, menn0: sorry for the crappy code/test01:53
menn0but it would be quite a change to the current commands01:53
menn0axw: ^^01:53
axwmenn0: OK, forget about that for now then01:53
axwmenn0: thanks01:53
menn0axw: I agree the current approach isn't ideal01:54
davecheneynatefinch: it's ok01:54
menn0axw: esp when there's mixed IPv4/6 deployments01:54
davecheneyit's not that crappy01:54
davecheneypatchvalue comes with it's own costs01:54
menn0axw: I'll just make the calls take tags instead of raw ids for now01:55
axwmenn0: SGTM, thanks01:55
mupBug #1575983 changed: Having 2 machine-0 is confusing <juju-core:Invalid> <https://launchpad.net/bugs/1575983>02:20
mupBug #1576003 opened: Juju 2.0: default bootstrap-timeout insufficient for physical machines <juju-core:New> <https://launchpad.net/bugs/1576003>02:20
redir_wallyworld: got a minute to discuss?02:29
wallyworldsure02:29
redir_tanzanite?02:29
wallyworldstandup hangout02:29
redir_there02:29
wallyworldaxw: can you let me know when you have 5 mins?02:55
axwwallyworld: I have 5 mins02:55
axwmaybe even more02:55
wallyworldaxw: standup ho02:55
mupBug #1576021 opened: 1.25.6 cannot deploy on CI maas 1.9 or 1.8 <ci> <maas-provider> <regression> <juju-ci-tools:Triaged> <juju-core:Incomplete> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1576021>04:23
axwdimitern: FYI, http://reviews.vapour.ws/r/4625/diff/3-4/  -- see comments for an alternative method of filtering instances in ec208:21
dimiternaxw: thanks! looking08:21
frobwareping08:23
dimiternaxw: I was thinking about using client-token like this, but decided to go with a simpler approach for now - adapting the group-based selection08:24
axwdimitern: okey dokey08:24
dimiternfrobware: was that for me?08:25
dimiternaxw: can you expand on this: The only danger is if we need to make non-idempotent calls to RunInstances for the machine ID ?08:29
frobwaredimitern, heh, nope. off-by-1. :)08:30
dimiternha :)08:30
axwdimitern: if provisioning fails, then you do "juju retry-provisioning", then we will call StartInstances again. if we use a predictable ClientToken, then the result of StartInstances should always be the same08:30
babbageclunkvoidspace: so do you want to propose your kflavor/mount_point fix instead?08:31
voidspacebabbageclunk: https://github.com/juju/gomaasapi/pull/4908:31
axwdimitern: that would be fine if RunInstances is always called with exactly the same args08:31
axw(for a given machine)08:31
voidspacebabbageclunk: I'm doing mount_point / filesystem as a separate branch as it's a bit more involved08:31
voidspacedimitern: https://github.com/juju/gomaasapi/pull/4908:31
voidspacebabbageclunk: dimitern: as it's a critical juju bug we'll also need to propose juju PR bumping gomaasapi08:32
babbageclunkvoidspace: I'll get on with the constraint schema change - it's also a bit more involved, means changing the gomaasapi interfaces.08:33
frobwaredimitern, voidspace, babbageclunk, dooferlad, jam: would appreciate a review for http://reviews.vapour.ws/r/4722/08:33
dimiternaxw: agreed, as the API docs say "A client token is valid for at least 24 hours after the termination of the instance"08:33
voidspacebabbageclunk: this is a separate issue - the problem with space / storage constraints?08:34
babbageclunkvoidspace: yup08:34
dimiternvoidspace, frobware: looking at both08:34
voidspacethanks08:35
babbageclunkfrobware: looking now08:35
axwdimitern: also, at some point I want retry-provisioning to be replaced with automatic retries. so any potential problem would be exasperated. I don't *think* there's any problem, but also don't want to change it this close to RC :)08:35
frobwaredimitern, voidspace, babbageclunk, dooferlad: might not be in standup. expecting Lenovo engineer to turn up with parts to fix my latop.08:37
voidspacefrobware: ok08:38
dimiternfrobware: no standup today btw08:38
babbageclunkoh yeah - big meeting at 11 instead?08:39
frobwaredimitern, ah, ok. was on autopilot08:39
dimiternaxw: it should like a daunting task to do that generically for all providers, and idempotently as well (at juju-level, possibly relying on cloud-specific features underneath, like client-token)08:40
dimiterns/should like/sure looks like/08:41
voidspacedimitern: babbageclunk: corresponding juju PR: https://github.com/juju/juju/pull/530108:43
axwdimitern: I don't think it's *that* hard, and we don't need to have the the idempotent provisioning if we reap unknown instances. but I'm sure I'll find gotchas if/when I do it :)08:43
dimiternaxw: hopefully in 2.1 or 2.2 :)08:44
dimiternvoidspace: that one also LGTM08:44
voidspacedimitern: ta08:49
jamfrobware: I just reviewed http://reviews.vapour.ws/r/4722/08:50
voidspacemgz: did you file a bug for the filesystem issue?08:52
frobwarejam, thanks08:53
voidspacemgz: so the schema for partition can already handle filesystem being null09:02
dimiternfrobware: reviewed09:02
voidspacemgz: so it's just mount_point and label need to be optional09:02
voidspacemgz: the output you sent me - was that blockdevices? http://paste.ubuntu.com/16085749/09:05
voidspacesome of those have no partitions but a top-level filesystem, which we don't expose anyway09:05
voidspacehmmm... that may bite us in the future09:05
voidspacewe'll see09:05
frobwarejam, dimitern: you both had comments about parsing the file and whitspace and trim, et al. I was treating this as a machine generated file - how far and how robust should we try to be?09:15
dimiternfrobware: I'm ok with assuming that, but when the format changes even a little, we might fail unpredictably (even silently), so more logging should help09:17
dimiternfrobware: even a single extra space before e.g. ` #LXD_IPV4_ADDR="0.1.2.0/24"`09:19
voidspacemgz: I found https://bugs.launchpad.net/juju-core/+bug/1575808 - which answers my questions09:34
mupBug #1575808: filesystem 2.0 schema check failed: mount_point: expected string, got nothing <bootstrap> <ci> <maas-provider> <juju-core:In Progress by mfoord> <https://launchpad.net/bugs/1575808>09:34
voidspacedimitern: frobware: babbageclunk: https://github.com/juju/gomaasapi/pull/5009:41
dimiternvoidspace: LGTM +2 suggestions09:44
voidspacedimitern: without the ok check it panics09:45
dimiternvoidspace: it panics, after the schema was coerced ?09:46
voidspacedimitern: ah, you mean still use the two value form of the cast but ignore ok09:46
dimiternyeah09:46
voidspacedimitern: yep - because nil is a valid option09:46
voidspacedimitern: and you can't cast nil to a string...09:46
voidspacedimitern: your suggestion works09:47
dimiternvoidspace: no, it's already verified to be a string at that point09:47
voidspacedimitern: nope, string or nil09:47
voidspacebut this works09:47
voidspacevalue, _ := thing.(string)09:47
dimiternvoidspace: yeah, but (string) with ignored ok will yield "" for a nil value09:47
voidspacedimitern: yes09:48
voidspacedimitern: the single value form of the cast panics09:48
voidspacenot the double value form09:48
voidspacedimitern: so thank you09:48
dimiternvoidspace: ta09:48
voidspacedimitern: updated09:49
voidspacehmmm, no09:49
voidspace*now* updated09:50
dimiternvoidspace: looking09:55
voidspacedimitern: too late09:55
dimiternbabbageclunk: fair question btw - I've replied with some examples09:55
dimiternvoidspace: thanks :)09:55
voidspacedimitern: frobware: babbageclunk: https://github.com/juju/juju/pull/530209:57
voidspacedimitern: thanks09:58
dimiternvoidspace: you're on fire today :D09:58
dimiternnice!09:58
voidspacedimitern: easy ones I can do...09:58
voidspaceheh09:58
axwwallyworld anastasiamac_: team meeting?10:04
axwdimitern: ^^10:05
mupBug #1576120 opened: "juju kill-controller" removes controllers.yaml entry even if destroying fails <juju-core:Triaged> <https://launchpad.net/bugs/1576120>10:06
dimiternI won't make it to the team meeting :/10:11
wallyworldaxw: was at soccer11:09
frankbanaxw: could you please take a look at a quick fix for macaroon login that we need in the GUI for next beta? https://github.com/juju/juju/pull/530511:17
axwfrankban: sorry was afk, reviewed now11:40
axwwallyworld: you gave mattyw's branch a shipit, but I don't think we should be ignoring errors ...11:44
axwI mean it's not ignored, but we should surely be checking for specific types of errors11:44
wallyworldaxw: at that point, the controller name is either invalid or not found so we exit. i think that's the right thing to do?11:45
wallyworldthe type of error doesn't really matter11:45
axwwallyworld: you might fail to read the controllers.yaml file? or the cross-process mutex fails?11:46
wallyworldaxw: right, but what can be done besides exiting with an error?11:46
axwwallyworld: that's exactly what we should do11:47
wallyworldthat's what i thoguht we did, i may have misread the change11:47
axwwallyworld: except in the case where the controller just wasn't found11:47
axwwallyworld: ah11:47
axwwallyworld: no, it's me that's doing the misreading :)11:47
wallyworldwhew11:47
axwwallyworld: I looked at the diff back-to-front11:48
wallyworldi *almost* did the same thing :-)11:48
axwsorry!11:48
wallyworldnp :)11:48
mupBug #1576184 opened: "juju create-backup" fails if you're not operating on the admin model  <juju-core:New> <https://launchpad.net/bugs/1576184>12:18
mupBug #1576184 changed: "juju create-backup" fails if you're not operating on the admin model  <juju-core:New> <https://launchpad.net/bugs/1576184>12:30
frankbanaxw: ty!12:36
mupBug #1576184 opened: "juju create-backup" fails if you're not operating on the admin model  <juju-core:New> <https://launchpad.net/bugs/1576184>12:37
babbageclunkvoidspace, dimitern, frobware: change for constraint parsing here: https://github.com/juju/gomaasapi/pull/5112:40
voidspacebabbageclunk: looking12:41
dimiternbabbageclunk: I think it will be a lot nicer, if we used the schema to process the constraintsMap12:43
dimiternbabbageclunk: e.g. like when deserializing a vlan embedded into a subnet12:43
voidspaceother than that it looks alright to me12:43
voidspacerelatively straightforward12:44
voidspaceI don't think it's that clunky, but if you can do as dimitern says then it sounds better12:44
babbageclunkdimitern: ok - I'll look at that12:44
dimiternbabbageclunk: basically, define a getConstraintsMapDeserializationFunc and the related constraintsMapDeserializationFuncs map with twoDotOh: constraints_map_2_0 (ugh! I really don't like underscores in go code :( btw but I'd rather have consistency with pre-existing code)12:46
babbageclunkdimitern: Right, so put a StringMap(Any) for each of them, and then a separate function for each that does another checker.Coerce call? Sounds like it's worth a go.12:47
dimiternbabbageclunk: that as well, yeah12:48
babbageclunkdimitern: ok - something that takes an interface{} and returns a nice map[string][]int would be a huge improvement.12:48
dimiternbabbageclunk: see for example how (the lot more complicated) interface_set is handled in machine_2_012:49
babbageclunkdimitern: I don't want to go back through the version dispatch though - I'm just going to make a function and call that directly.12:51
dimiternbabbageclunk: ignoring the API version sounds like a bad idea - esp. if the response format differs12:52
dimiternbabbageclunk: a much simpler (alas inconsistent) way will be to define a struct with JSON serialization tags for the map and its keys12:53
babbageclunkdimitern: Oh, I thought this was down-stack from a machine_2_0 function, but you're right.12:54
dimiternbabbageclunk: (inconsistent with the other code I mean)12:54
dimiternbabbageclunk: look at how devices or interfaces are handled in the 1.0 code in provider/maas/ (before the changes to gomaasapi)12:54
babbageclunkdimitern: yeah, I don't really understand why this code didn't use the builtin JSON serialisation tags.12:55
dimiternbabbageclunk: me too (fwiw) :)12:55
dimiternbabbageclunk: but I guess the schema is the sexy new thing everybody should use everywhere now :)12:56
babbageclunkdimitern: it's ok, but it doesn't much help with the type system stepping all over everything.12:57
dimiternbabbageclunk: going with the struct(s)+json tags will be a lot cleaner to do for such a simple map format, and since it will be in gomaasapi no need to jump through hoops like in provider/maas/interfaces.go (e.g. serialize to JSON only to get the []byte blob and deserialize it via the struct)12:58
babbageclunkdimitern: yeah, but I probably should try to keep it consistent. <sigh>12:59
dimiternbabbageclunk: here's a trick: just put all that in a separate file :) inconsistency less obvious13:00
perrito666morning13:19
babbageclunkdimitern, voidspace: put up a tweaked version that just pulls out the common conversion code13:33
=== babbageclunk is now known as babbageclunk|afk
* babbageclunk|afk goes for a run.13:34
dimiternjam: ping14:41
voidspacebabblooking14:43
babbageclunkvoidspace, dimitern: any objections to me merging https://github.com/juju/gomaasapi/pull/5114:50
dimiternbabbageclunk: sorry, got distracted, will have a look now quickly14:50
babbageclunkdimitern: thanks!14:50
voidspacebabbageclunk: LLLGTM14:53
voidspaceuhm, or something like that14:53
babbageclunk:)14:53
voidspacebabbageclunk: so I assume there's a follow-up in juju coming to use this14:54
dimiternbabbageclunk: it could be a bit simpler, considering the "storage" and "interfaces" are both validated to be maps with string keys and []int values14:54
dimiternbabbageclunk: what will happen if you type-assert to map[string]map[string][]int instead on line 826 in controller.go?14:55
dimiternbabbageclunk: if it works, then convertConstraintMatches becomes unnecessary and you could just iterate over the nested map for both top-level keys14:57
babbageclunkdimitern: I couldn't get that to work - the values actually have interface objects in them, so they need to be visited to unpack them.14:57
dimiternbabbageclunk: you can still type assert the nested maps - e.g. https://play.golang.org/p/D2cz2Af4vE14:59
dimiternbabbageclunk: but I'm OK with landing this as is and possibly trying a bit simpler approach in a follow-up15:00
dimitern(and the follow-up itself doesn't have to be done today)15:00
dimitern:)15:00
babbageclunkdimitern: I think the problem is that you can't do the next level down - https://play.golang.org/p/0jmajp13vl15:01
alexisbvoidspace, babbageclunk nicely done on the bugs reported by CI for maas 2.015:03
babbageclunkdimitern: so you can't do the full cast on line 826, you have to walk through the key/values converting the interface{}s to []interface{}15:03
babbageclunkdimitern: and then walk through those turning the leaf interface{}s into ints.15:04
babbageclunkalexisb: thanks!15:04
katcoericsnow: standup time15:04
babbageclunkdimitern: (at least, that's what I think - I'd be happy to have that code be simpler!)15:05
dimiternbabbageclunk: you can go as deep as you want: https://play.golang.org/p/UmVNx8N8tu15:08
dimiternbabbageclunk: but as I said, as long as it fixes the bug let's land it, and improve upon it when we have some spare time15:10
babbageclunkdimitern: Right, but that's essentially what I had in https://github.com/juju/gomaasapi/pull/51/commits/61b3b97003699be0c103f21cb26e7fb924d19b4b15:10
mupBug #1570796 changed: container startup issue when juju network management disabled <juju-core:Invalid> <https://launchpad.net/bugs/1570796>15:10
mupBug #1576266 opened: apiclientSuite.SetUpTest fails because no tools available <ci> <go1.6> <test-failure> <unit-tests> <windows> <juju-core:Incomplete> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1576266>15:10
mupBug #1576270 opened: 'juju create-backup'  fails first on a mongodump dependency then auth failure <docteam> <juju-core:New> <https://launchpad.net/bugs/1576270>15:10
babbageclunkdimitern: the casting is all interspersed with the matching devices and interfaces.15:11
babbageclunkdimitern: anyway, thanks!15:11
babbageclunkdimitern: :)15:11
dimiternbabbageclunk: that looks better, yeah - remember the schema gives us some confidence to do e.g. matchMap := source.(map[string][]int) directly15:12
babbageclunkexcept that panics - it complains that the actual value is a map[string]interface{} (even though all of the interface{}s actually hold []interface{}s and all of them have ints).15:14
dimiternbabbageclunk: anyway, it was an interesting exercise I guess :)15:17
babbageclunkdimitern: yup yup - thanks!15:18
jcastroalexisb: filing bugs in juju core, launchpad or github?15:47
jcastroif launchpad shouldn't we disable the github issues tracker?15:47
alexisbjcastro, launchpad15:47
natefinchjcastro: we've talked about that a bnuch15:47
alexisbjcastro, we have discussed disabling it15:48
jcastrowe need to make it obvious then, I just realized I've been filing bugs in the wrong place15:48
jcastroand I work here15:48
alexisbour current policy is that we open launchpad bugs for folks15:48
babbageclunkvoidspace, dimitern, frobware: review? http://reviews.vapour.ws/r/4733/15:51
babbageclunkthis is the other side of my gomaasapi constraint change.15:51
natefinchcode review anyone? https://github.com/juju/utils/pull/20815:51
natefinchvery short and sweet15:51
dimiternbabbageclunk: did you try this live against MAAS2 ?15:54
babbageclunkdimitern: ooh, no - thanks for reminding me! That was what lead me down this crazy rabbithole in the first place!15:54
dimiternbabbageclunk: :) ok15:55
mupBug #1576295 opened: add-credential input field should support tab completion <juju-core:New> <https://launchpad.net/bugs/1576295>15:55
babbageclunkdimitern: hmm. So I can add a machine using --constraints spaces=private, and it picks the right machine and starts deploying..., but the machine never comes up16:15
dimiternbabbageclunk: how are the machine NICs configured?16:16
babbageclunkdimitern: it's running, but juju says pending. I can't ssh in by juju ssh or directly.16:16
dimiternbabbageclunk: it doesn't let you in or it doesn't connect ?16:16
dimiternbabbageclunk: if EPERM, try ssh -i ~/.local/share/juju/ssh/juju_id_rsa.pub ubuntu@<IP-known-by-maas>16:17
babbageclunkdimitern: network looks like this http://pastebin.ubuntu.com/16098886/16:19
babbageclunkdimitern: juju ssh just hangs16:20
babbageclunkdimitern: I tried ssh with the key, that says: Connection closed by 192.168.150.416:21
dimiternbabbageclunk: I suspect the DHCP primary is the reason for this16:21
babbageclunkdimitern: any way to log in on the terminal? Probably no default password for ubuntu user, right?16:21
babbageclunkdimitern: ok16:21
dimiternbabbageclunk: I've never tried that and maas docs are not quite clear what does it mean (it's not the same as Auto)16:22
mupBug #1576301 opened: Cryptic error message if Juju uses the wrong json file from GCE <juju-core:New> <https://launchpad.net/bugs/1576301>16:22
dimiternbabbageclunk: you can hack the userdata juju passes to maas to include setting the password (or removing it)16:22
mupBug #1576313 opened: windows: uniter tests fail because logs get dumped to stderr <juju-core:New> <https://launchpad.net/bugs/1576313>16:22
babbageclunkdimitern: ok, so I released the machine, but I can't remove it in juju - just stays in pending.16:25
dimiternbabbageclunk: remove-machine # --force16:25
babbageclunkdimitern: I tried that - it looks like it timed out on its own eventually16:26
babbageclunkdimitern: ok, so I've changed it from DHCP to auto? Try again?16:26
babbageclunkdimitern: Or should I try deploying it in MAAS and making sure I can ssh to it as I'd expect?16:26
dimiternbabbageclunk: either auto or static should work (that's true for all types of NICs)16:27
dimiternbabbageclunk: well, that's also an option if you're not sure juju does the right thing16:27
dimiternbabbageclunk: but as you explain it, it looks like juju did good, maas didn't16:28
dimiternthere's still a LOT maas can do to improve the UX around misconfigured nodes, networks, images, ..16:28
natefinchericsnow: MR OCR, can you check out my patch?  it's 31 lines, half of that is comments.  https://github.com/juju/utils/pull/20816:28
mgzbogdanteleaga: new bug is very like fixed bug 147060116:29
mupBug #1470601:  UniterSuite.TestLeadership fails on windows <blocker> <ci> <regression> <unit-tests> <juju-core:Fix Released by bteleaga> <https://launchpad.net/bugs/1470601>16:30
ericsnownatefinch: sure16:30
dimiternbabbageclunk: re cloud-init and ubuntu password: http://blog.scottlowe.org/2015/11/09/changing-passwords-cloud-init/ (you can hack provider/maas/ where it creates a cloudinit config; alternatively, in maas you can add it to the custom preseed scripts used for deployments)16:30
babbageclunkdimitern: I'm getting "Unable to allocate static IP due to address exhaustion." - I think my DHCP covers the whole subnet16:31
babbageclunkdimitern: where can I adjust the range? I can't find it.16:32
babbageclunkdimitern: Do I need to delete and re-add the subnet?16:33
babbageclunkdimitern: ah, found it - on the VLAN16:35
bogdanteleagamgz, yeah, I think what we talked about earlier is happening, the fix to that bug was to create a reg key that just happened to stick around16:35
mgzbogdanteleaga: heh16:36
dimiternbabbageclunk: no need to remove the subnet, adjust the range16:36
babbageclunkdimitern: I can't see how to do that - I can either provide DHCP or disable it, but they never give me the option to adjust the range.16:37
dimiternbabbageclunk: have a look at the subnet in the ui16:38
dimiternbabbageclunk: you should see a bunch of used addresses at the end16:38
dimiternbabbageclunk: and there are also the CLI commands for iprange(s) that control what's reserved, etc.16:39
dimiternbabbageclunk: but I haven't actually tried (I did poke around in the postgres db directly though with maas-region --dbshell :)16:40
dimiternbabbageclunk: `sudo maas-region dbshell -i` - it's the familiar django dbshell (running psql)16:42
ericsnownatefinch: ship-it16:43
natefinchericsnow: thanks!16:44
mupBug #1576324 opened: Juju2.0 commandline client inconsistent treatment of yaml files  <landscape> <usability> <juju-core:New> <https://launchpad.net/bugs/1576324>16:52
mupBug #1576324 changed: Juju2.0 commandline client inconsistent treatment of yaml files  <landscape> <usability> <juju-core:New> <https://launchpad.net/bugs/1576324>16:55
babbageclunkdimitern: hmm. I shouldn't have deleted that subnet while it was in use, I don't think.16:59
babbageclunkdimitern: I think I might need to reinstall MAAS tomorrow.16:59
dimiternbabbageclunk: sounds good (after a few times it becomes always second nature :)17:01
dimiterns/always/almost/17:01
mupBug #1576324 opened: Juju2.0 commandline client inconsistent treatment of yaml files  <landscape> <usability> <juju-core:New> <https://launchpad.net/bugs/1576324>17:02
babbageclunkdimitern: Sometimes taking off and nuking the site from orbit really *is* the only way to be sure!17:02
rogpeppeanyone know if there's a way to list what models are stored locally?17:36
cheryljrogpeppe: what models or what controllers?17:37
rogpeppecherylj: what models17:37
rogpeppecherylj: all the models i can juju switch to17:37
cheryljrogpeppe:  well, all the models locally won't necessarily be all the ones you can switch to17:38
cheryljhmm17:38
rogpeppecherylj: ah, switch allows you to switch to remotely held models too?17:38
cheryljactually17:38
cheryljyeah, you could be granted access to a model17:38
cheryljand it wouldn't be in your local cache17:38
rogpeppecherylj: juju switch will automatically go and grab a model into the local cache?17:39
cheryljthere's a way you can list models you have access to for a paricular controller17:39
cheryljjuju list-models will limit it to ones you have access to17:39
cherylj(unless you're an admin and use the whatever all-models flag)17:39
rogpeppecherylj: but there's no way to find out what models i have cached locally?17:40
cheryljrogpeppe: I'm not sure if the model info will be stored locally17:40
cheryljwhen you switch to it17:40
cheryljI'd have to see17:40
rogpeppecherylj: well, model info is stored locally17:40
rogpeppecherylj: i'm presuming that's used sometimes17:40
cheryljrogpeppe: not apart from manually looking in ~/.local/share/juju/models.yaml17:41
mupBug #1576342 opened: `juju status` should show leadership primitives <juju-core:New> <https://launchpad.net/bugs/1576342>17:44
mupBug #1576346 opened: upgrade-charm with a local charm fails with trailing slash <juju-core:New> <https://launchpad.net/bugs/1576346>17:44
bdxhey whats going on everyone? Does anyone know the timeframe for RC1?17:46
cheryljbdx: we're most likely going to do another beta next week.  Not sure when we're going to have something we want to call rc117:46
bdxcherylj: ok, awesome. thx17:48
mupBug #1576359 opened: Cannot talk to a new model with a reused name <juju-release-support> <switch> <juju-core:Triaged> <https://launchpad.net/bugs/1576359>18:20
kwmonroehey juju-dev, i have 2 models in azure, and both have a "machine-4".  the last one to come up seems to steal the dns entry.  is this a bug, or am i doing networking wrong?  http://paste.ubuntu.com/16115389/18:35
mupBug #1576366 opened: juju 2 beta6: show-controller --format=json is broken <landscape> <juju-core:New> <https://launchpad.net/bugs/1576366>18:44
mupBug #1576368 opened: blockdevice 2.0 schema check failed: model: expected string, got nothing <ci> <deploy> <maas-provider> <juju-core:Triaged> <https://launchpad.net/bugs/1576368>18:44
natefinchkwmonroe: not sure... definitely worth filing a bug, though.18:46
katcomgz: ping18:52
mgzkatco: yo18:52
katcomgz: o/18:52
mgz\o\18:52
katcomgz: i'm removing HP cloud schtuff in master, and there's some code in the openstack provider that considers an instance started if the status is BuildSpawning... is that safe to remove?18:53
katcomgz: https://github.com/juju/juju/blob/master/provider/openstack/provider.go#L1089-L109718:53
katcomgz: just want to remove the nova.StatusBuildSpawning from L1093, and a corresponding test18:54
mgzyeah, it should be, I don't think any trunk version of openstack used that form of status18:54
katcomgz: awesome, ty18:54
mgzkatco: hm, we may want to keep something, looking at https://github.com/openstack/nova/tree/master/nova/compute *_state.py files18:57
katcomgz: it looks like the only reference to spawning is for task states whereis this is server state19:01
katcomgz: you know way more about openstack, but seems safe to me? could ask in #openstack maybe19:01
mgzkatco: yeah, the HP way of displaying "BUILD(spawning)" was HP specific19:02
mgzbut the isAliveServer logic is pretty ropey19:02
katcoyeah19:02
* katco just remembered ods is going on19:03
mgzkatco: I think I'd remove the code as it exists and file a bug against goose to update/make the various exposed states more usable19:03
mgzyeah, it's a good and a bad week to ask about openstack things :)19:04
katcohehe19:04
katcomgz: as in, don't expose the state, expose a synthesized concept of machine up?19:04
mgzkatco: well, we get three types of status/state exposed, but goose doesn't give us that cleanly19:05
katco14:05> go get -u gopkg.in/juju/charm.v6-unstable19:07
katco# cd /home/kate/workspace/go/src/gopkg.in/juju/charm.v6-unstable; git pull --ff-only19:07
katcofatal: unable to access 'https://gopkg.in/juju/charm.v6-unstable/': server certificate verification failed. CAfile: none CRLfile: none19:07
katcois this just me?19:08
mgzkatco: I think I made all the upstreams for charm etc go straight to github19:08
mgzha, actually, didn't restore that after my drive got wiped19:09
mgzso, lets see19:09
natefinchkatco: I don't get that19:10
mgzkatco: worked for me19:10
katcohm, ok... now wondering what the heck is up with my machine19:10
natefinchHowever, I have been having problems with go get -u.... I get this: http://pastebin.ubuntu.com/16118444/19:10
natefinchmaybe godeps + go get -u is a bad combo19:11
katconatefinch: i think your're just on a detached head19:12
katconatefinch: try git checkout master first19:12
natefinchkatco: right, but I think that's because of godeps19:13
katconatefinch: well yes, godeps checks a commit out which puts you on a detached head unless the commit happens to be master19:13
natefinchkatco: right, ok, so it's just godeps messing up go get -u. That's fine.19:14
natefinchannoying, but fine :)19:14
mupBug #1576376 opened: azure multi model dns failure <juju-core:New> <https://launchpad.net/bugs/1576376>19:17
natefinchericsnow: I think reviewboard is grumpy.  My last couple of PRs haven't been picked up19:23
ericsnownatefinch: :(19:24
cheryljhey katco, did you see I scheduled the interview for tomorrow morning?  Will you be able to make it?19:27
ericsnownatefinch: you mean like http://reviews.vapour.ws/r/4735? <wink>19:27
katcocherylj: yes, i'll be there. sorry i haven't responded yet.19:28
cheryljkatco: no worries, just wanted to make sure.19:28
katcocherylj: thanks for setting that up19:28
cheryljkatco: did you want to chat for a bit first to make a plan?  I'm not sure how you and mattyw worked things out before19:28
natefinchericsnow: yeah, weird, it didn't update the PR with the link19:28
natefinchericsnow: I'm not sure what to do with the test that ensures we don19:33
natefinchericsnow: don't support SSL.  It seems redundant with this change, but... I was hesitant to remove a test that still passed and still tested something we want to be true,.19:33
=== urulama is now known as urulama|____
mupBug #1572772 changed: URLsSuite.TestImageMetadataURL paths fail on windows <ci> <regression> <test-failure> <unit-tests> <windows> <juju-core:Fix Released by hduran-8> <https://launchpad.net/bugs/1572772>20:47
mupBug #1575463 changed: buildSuite.TestGetVersion* CryptAcquireContext: Provider DLL failed to initialize <blocker> <centos> <ci> <ppc64el> <regression> <test-failure> <unit-tests> <windows> <juju-core:Fix Released by axwalk> <https://launchpad.net/bugs/1575463>21:29
redirso this https://github.com/juju/juju/blob/master/environs/config/config.go#L342 should validate that 'series' is a valid LTS series, yes?21:33
perrito666bbl ~1h21:34
redirericsnow, natefinch, katco ^^21:36
katcoredir: sec otp21:36
ericsnowredir: not a valid *LTS* necessarily21:36
ericsnowredir: just one the charm package recognizes as valid21:37
redirericsnow: um, so the error is wrong or the test is wrong?21:37
redirericsnow: but it should verify an actual LTS series, no?21:38
ericsnowredir: charm.IsValidSeries() just ensures that the string is a valid simple name: "^[a-z]+([a-z0-9]+)?$"21:39
ericsnowredir: the LTS-ness comes from being the result of the "distro-info --lts" command21:40
redirright but distroLtsSeriesFunc returns the latest LTS series so that doesn't seem like a valid check21:40
redirshould it be more correct, ericsnow ?21:41
rediror omitted?21:41
ericsnowredir: the charm.IsValidSeries() call is just making sure the data we got back from "distro-info --lts" is valid21:41
redirwell is a lower case string that doesn't start with a number.21:42
ericsnowredir: I think the error message is fine given the context of the function21:42
redirwhich isn't a valid LTS21:42
redirwhich means the function could return a nonsense string21:42
ericsnowredir: it doesn't have to verify that; it's more a sanity check of the output21:43
redirpartial sanity check:)21:43
ericsnowredir: we're relying on "distro-info --lts" to do the right thing21:43
redirOK21:45
perrito666Wallyworld ill be half hour later to the 1:1 I misread the calendar21:59
wallyworldperrito666: no problem at all, just ping me21:59
perrito666Tx21:59
perrito666wallyworld: I am in the call22:26
wallyworldok22:26
mupBug #1575472 changed: Data Race github.com/juju/juju/environs/tools/build.g <ci> <race-condition> <regression> <test-failure> <unit-tests> <juju-core:Fix Released by dave-cheney> <https://launchpad.net/bugs/1575472>23:06
mupBug #1575472 opened: Data Race github.com/juju/juju/environs/tools/build.g <ci> <race-condition> <regression> <test-failure> <unit-tests> <juju-core:Fix Released by dave-cheney> <https://launchpad.net/bugs/1575472>23:15
mupBug #1575472 changed: Data Race github.com/juju/juju/environs/tools/build.g <ci> <race-condition> <regression> <test-failure> <unit-tests> <juju-core:Fix Released by dave-cheney> <https://launchpad.net/bugs/1575472>23:24
axwanastasiamac_: what's the 3 day weekend? don't think it is over here23:45
anastasiamac_axw: oh... maybe jsut qld: labour day :D23:45
axwanastasiamac_: ah, ours is earlier in the year23:45
anastasiamac_oh..23:45
anastasiamac_axw: m happy to have both off - it's sinful to work on labour day... right?23:46
wallyworlddavecheney: i just saw for the first time your compiler benchmarks. wtf. i thought go > 1.2 was slow, but wow. was it just that the go compiler sucks compared to c++?23:47
axwC23:48
wallyworldgo 1.7 looks like it is getting back to parity23:51

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