=== thumper-dogwalk is now known as thumper [00:12] axw: wallyworld: trivial PTAL - http://reviews.vapour.ws/r/3869/ (use in memory store) [00:12] ok [00:19] axw: i think that ssh fix should just be jfdi? [00:43] anastasiamac: that turned out quite neat [00:43] wallyworld: I don't think it's important enough to JFDI [00:44] wallyworld: we've lived with it for 2 years or so... :) [01:50] wallyworld: ping, when you get a sec can you run me through this restore stuff? I'm missing something. === ses is now known as Guest79219 [02:10] rick_h__: hey sure [02:11] wallyworld: https://plus.google.com/hangouts/_/canonical.com/rick?authuser=1 when you get a sec [02:11] axw: wanna join [02:12] okey dokey [02:26] axw: yes. u r awesome :D === ses is now known as Guest66102 [03:20] thumper: backport PR for 1.25 https://github.com/juju/juju/pull/4431 [03:37] davecheney: you don't normally have to worry about reviews for backports [04:06] oneline timesheet ? [04:06] i don't like the sound of this [04:42] wallyworld: has anyone changed the "juju resolved" command for 2.0 yet? [04:43] * axw looks at the code and answers his own question [04:43] no, don't think so [04:43] we haven't [04:43] wallyworld: we're going to tho, right? [04:43] yeah, supposedly [04:43] but not this week [04:43] we'll run out of time [04:44] wallyworld: sure. just want to know it's still happening [04:44] I don't think anyone likes it as it is [04:44] nope [04:44] i need to check notes, but in my mind it got approved [04:52] wallyworld: I think I just need to fix tests now, new-style switch is working nicely [04:53] yay [04:53] wallyworld: and I've gotten rid of the current-model file (again) [04:53] even better [06:01] anyone has any idea what this online timesheeting is about? per davecheney^^^ [06:20] wallyworld: juju switch branch: http://reviews.vapour.ws/r/3872/ [06:49] axw: looking [06:54] axw: rick's suggestion is show-controller and show-model without args would display the current controller / model [06:54] wallyworld: sounds good [06:54] wallyworld: kind of a pain if you just want the name though [06:55] axw: i think the intent is just the name [06:55] we need that for scripting [06:55] wallyworld: ok, I don't really like that then... another dual purpose command [06:55] it's still a bit messed up though [06:55] yup [06:55] let's try it for the beta and get feedback [06:56] wallyworld: try show-controller/show-model with no args? [06:56] yeah, in the absence of something better. i suggested "juju current-controller" and "juju current-model" and he didn't like it [06:57] okay [06:57] but i do like my suggestions [06:59] wallyworld: if you're making the changes to registration to return the controller UUID, can you please update the "juju register" command to record all the details in jujuclient as well? [06:59] wallyworld: controller & account details [06:59] wallyworld: if that's too much, I can do it after yours is landed [07:00] axw: ok, finishng tests for --share. getting lovely mgo dirty socket errors, will do registration after that if i get a chance after soccer soon [07:00] okey dokey [08:41] mgz, morning :) [08:42] mgz, it seems a couple of CI jobs have SSH issues and result in false positives for failures [08:44] that's not a false positive [08:44] unless a failure is the result we want? [08:45] the centos job succeeded apparently [08:46] it was marked as a failure due to wait_for_port failing eventually with no route to host, which considering we're killing the controller is to be expected [08:46] why does that bug lead nowhere... [08:47] I was wondering the same :) [08:49] while the windows job fails similarly (after apparently succeeding) but due to python 2.7 incompatibility? [08:49] yeah, I have a solution for that [09:04] dimitern, ping. sync? [09:04] frobware, hey [09:04] frobware, yeah, omw - 2m [09:23] wallyworld: I'm going to look at changing the initial model name back to admin, let me know if there's something else you want me to do [10:00] dooferlad, voidspace, jam, standup? [10:17] dimitern, voidspace, dooferlad: new upstream branch is `maas-spaces2' [10:19] frobware, cheers, pulling now [10:21] dimitern, voidspace, dooferlad: also deleting existing branch to avoid any confusion. [10:24] and gone [10:25] frobware: great [10:28] frobware, done [10:44] morning [10:53] dimitern: do you have a moment to pair up on this? [10:54] dooferlad, ok, just give me 2m [10:54] dimitern: sure, thanks [10:58] wallyworld: axw right, the thing is that adding a new command, doc, tab completing, for such a one off scripting requirement seems :/ [10:58] wallyworld: axw especially when I could just run switch and know I was there, or use existing commands to get the machine readable data and such [10:58] dooferlad, standup HO? [10:58] dimitern: sure [11:00] dooferlad, omw [11:19] Bug #1546043 opened: unit tests leave apiserver/logsink.log behind [11:19] rick_h__: i guess that needs to be balanced against a dual purpose command that is not obvious [11:21] wallyworld: how is it dual purpose? It'll show the same info as normal? [11:21] use case 1: switch models. use case 2. print the current model [11:21] 2 differebt functions [11:21] one command [11:21] wallyworld: so this isn't the show-model command? [11:22] rick_h__: SORRY, I THOUGHT WE WERE TALKING ABOUT JUJU SWITCH [11:22] doh, caps [11:22] we want to remove the function of juju switch which prints the current model [11:23] if we use juju show-model instead, does that print the full yaml or a single name [11:23] dimitern: ping [11:23] wallyworld: the full yaml of info [11:23] wallyworld: which includes the name? [11:23] if the full yaml, it's a bit of a pain to use in bash to get the name [11:23] dimitern: so, I can switch from mapping space names to id to mapping subnets to space id instead [11:24] dimitern: *however*, the effect is *exactly* the same [11:24] dimitern: because... [11:24] dimitern: ah no it's not [11:24] dimitern: forget that [11:24] :) [11:24] rick_h__: as in `juu show-model` and assigning that to a var [11:24] dimitern: when maas lists subnets it only gives the space name - so I thought I still needed a name -> id map [11:24] dimitern: however, the subnets are listed *within the space data structure* [11:25] dimitern: so you already know the space id... [11:25] so you don't need to lookup by name [11:25] my bad :-) [11:25] voidspace, exactly, and since the discovery will list spaces rather than subnets we'll have all bits we need in 1 api call - ids and names included (both for spaces and subnets) [11:49] wallyworld: sorry, was otp. [11:49] np [11:49] wallyworld: well apparently last nights storm was a bit over average, it about 2 hs of duration it killed 3 people, broke countless trees and flooded hundreds of houses :p [11:49] wallyworld: I think that list-models should indicate current model, and that show-model without an arg shows details for the current model. [11:50] wallyworld: I know it's a pain to grab the name, but really it should be a simple grep'ing of the header? [11:50] wallyworld: or there's tools for parsing out the yaml [11:50] wallyworld: but since you're scripting it's not that it has to be simple/human one liner. You're assumption is they're running code [11:50] rick_h__: sure, just having a simple cli way to print just the name is very useful and we are taking that away [11:51] call the field model-name and a 'juju show-model | grep model-name' won't work? [11:51] guess so [11:51] wallyworld: right, but I just don't think it's useful enough for a one off command imo [11:51] np, your call, we can always add it if people complain [11:51] wallyworld: +1 I've been known to be wrong before :) [11:52] but you did ask my opinion :P [11:52] i did, and i expressed mine also. one of us will be proven to be right [11:52] * rick_h__ bets a bottle of wine on it [11:52] let's make it interesting! [11:52] ok :-) [11:54] we should start putting those things in the code [11:54] like // if you remove/add this line inform X that he/she must pay a wine bottle to Y [11:58] * perrito666 enjoys of a rather good connection even though its only 10/2M only because every possible other user has a power outage so the whole connection is for him [14:01] Bug #1546100 opened: Upgrade 1.24.7 -> 1.25.3 fails [14:10] morning all [14:11] alexisb: morning [14:15] morning alexisb [14:44] lets say that I need to destroy-controller --force, and we no longer have force, what do I do now? [14:55] perrito666: i think that kill-controller is kind of like destroy-controller-with-force [14:55] yup, it is [14:56] it is odd destroy sounds much more final than kill [14:56] perrito666: neither work really well for me... I have to restart my computer if I want to re-bootstrap after. otherwise, I get "no matching addreses" error :( [14:56] yes \o/ [14:56] oh, I have not tried to rebootstrap [14:57] well, neither wallyworld nor axw have the same issue... deleting all caching files does not help :/ so dunno and don't have enough time to figure it out :D [14:57] so there is a chance u r not affected :D [14:58] karma hates me, I am most likely affected :p [14:58] perrito666: and here I thought I was the only one with bad karma [15:01] anastasiamac, what time is it for you? [15:02] * rick_h___ guesses late [15:02] rick_h___: or early [15:02] 1AM? [15:04] * anastasiamac wondering what answer alexisb would like to hear [15:04] alexisb: it's good time for me :D i *think* i solved a bug [15:04] I am going to bed [15:04] ^^ that answer [15:04] :) that is good [15:04] alexisb: oh. k.. yes.. i will be :D [15:04] being aware at this time sounds like a bug :P [15:04] Bug #1546135 opened: Joyent region not respected [15:08] rick_h___: I am sure she will come to her senses tomorrow morning when trying to re-read her code :p [15:08] happens to me all the time [15:11] frobware, I will be late to our 1x1, will ping [15:13] Bug #1546135 changed: Joyent region not respected [15:25] alexisb: probably a good idea as I have bouncing my machine a lot... [15:26] k [15:28] Bug #1546135 opened: Joyent region not respected [15:31] Bug #1546135 changed: Joyent region not respected [15:35] Bug #1546142 opened: After restore, the controller shows its local-cloud address as its public address [15:38] Bug #1546142 changed: After restore, the controller shows its local-cloud address as its public address [15:41] Bug #1546142 opened: After restore, the controller shows its local-cloud address as its public address [15:51] fwereade: got a minute? I have a uniter question [15:51] natefinch, sure [15:52] lol, a minute for a uniter question [15:52] fwereade: we're trying to update the code in the uniter so that charm-upgrade fires for updates resources as well as updated charmURL... but I seem to be having some trouble.. the hook fires ok... but it fires over and over. There's a localstate and remotestate that need to get synced and I am evidently not doing that correctly [15:52] perrito666: lol! [15:52] * fwereade frantically swaps mental context [15:55] natefinch, ok, so you have a resolver.LocalState and a remotestate.Snapshot [15:56] fwereade: yes [15:56] natefinch, LocalState encodes how you look right now, and the Snapshot tells you how you should look, and some NextOp implementation compares the two and decides what should be done next [15:57] natefinch, so presumably there's some new representation of the resource version in each of those? [15:57] fwereade: yep. [15:58] fwereade: we call it the CharmModifiedVersion, just an int that increments when something in the charm changes [16:01] natefinch, so it's a value supplied by the apiserver? and you set it on local-state, to the value-that-triggered-the-op, when you commit whatever operation makes resource changes? [16:01] fwereade: I think it's that last bit that I'm having trouble with. This stuff is all spread across like 7 files [16:02] natefinch, yeah, I can imagine that's the point at which it's hard to close the loop [16:03] natefinch, so, a bit more context: what operation is responsible for writing new charm resources? [16:03] natefinch, does a deploy op now Do More, or is a resource change distinct? I can imagine they'd be tricky to separate? [16:04] fwereade: deploy does more (you can also update resources later independently of the charm version) [16:04] fwereade: https://github.com/juju/juju/pull/4439/files [16:11] natefinch, ok, that makes sense [16:12] natefinch, I think all your other operations are resetting CharmModifiedVersion to 0 [16:13] natefinch, at least, all the ones that call stateChange.apply [16:14] Bug #1545196 changed: Juju claims AWS ap-northeast-2 not found [16:14] natefinch, I'd leave that field off stateChange, and just write it explicitly into the returned *State from the deploy op [16:14] I did something similar not long ago, isn't something like this needed? https://github.com/juju/juju/blob/master/worker/uniter/resolver/opfactory.go#L130 [16:14] to update the localstate [16:17] natefinch, listen to this man, he speaks truth [16:17] wrapUpgradeOp should be the right place [16:17] awesome, ok [16:20] Bug #1545207 changed: Rackspace os-security-groups not found [16:35] Bug #1545207 opened: Rackspace os-security-groups not found [16:41] fwereade, bogdanteleaga: thanks for the help, that seems to have done the trick! [16:43] great :) [16:44] Bug #1545207 changed: Rackspace os-security-groups not found [16:44] Bug #1455629 opened: TestResumerCalls [16:44] Bug #1456725 opened: TestActionEvents fails [17:14] dooferlad: frobware: trivial one if you have time, but needed for my tests: https://github.com/juju/gomaasapi/pull/5 [17:19] voidspace: occasionally fails for me [17:20] voidspace: http://pastebin.ubuntu.com/15094253/ [17:21] frobware: weird, looking [17:21] voidspace: that's on xenial using go1.6rc2 [17:21] voidspace: 1 in 3 times [17:21] frobware: it sometimes fails on an unsupported platform with an unsupported version of go? [17:21] hmmm... how much do I care? ;-) [17:22] frobware: can't get it to fail here [17:22] I wonder if it's a dict iteration order or something [17:22] voidspace: heh. well, I mentioned that because I jumped to xenial today... [17:24] different DNSServers [17:24] odd [17:24] on a subnet [17:24] shouldn't be possible [17:25] ah, no - different order of subnets [17:25] so it is dictionary iteration order [17:25] a nuisance to fix - I'll see if I can make it deterministic [17:25] frobware: to be fair this PR doesn't introduce that problem [17:26] but it needs fixing [17:28] frobware: updated version shouldn't fail [17:32] voidspace: trying again [17:34] voidspace: thanks for supporting my unsupported combo. :-) [17:34] voidspace: LGTM [17:34] hehe [17:34] might have been the go version [17:34] might not [17:34] but it needed fixing [17:34] frobware: thanks [18:33] katco: ping [18:33] jose: pong [18:34] katco: hey, just read your email and I was thinking on something similar earlier today with my team [18:34] jose: yeah? [18:34] just wanted to make sure we're on the same idea [18:34] with resources/units you mean machines? [18:34] like, a 2GB 2cores machine, and a 4GB 4 cores machine? [18:35] jose: ah, no [18:35] jose: sorry, "resources" is a new concept we're developing in juju [18:35] jose: think "binary blobs of data" [18:35] oh gotcha [18:35] jose: isos, tar files, runtimes, w/e [18:35] sorry about the confusion :) [18:35] yep [18:36] jose: no worries at all. do you think i need to send a clarifying follow-up? [18:36] it's probably just me not catching up with stuff [18:37] jose: it looks as if i have another response, so that will probably steer the conversation in the right direction [18:37] awesome, thanks :) [18:37] jose: thanks for reaching out all the same :) [19:44] ericsnow, katco: btw, got the upgrade-charm hook firing exactly right... working on tests and removing some unneeded code now [19:45] natefinch: sweet! [19:45] natefinch: nice! === urulama is now known as urulama__ [20:00] Bug #1546272 opened: doc: docs/devel/developer-layers-interfaces typo: get_remove [20:07] well, joy and happiness, a storm stronger than yesterday' s is approaching... [20:08] do we have any workers where code sends a request to the worker then blocks until the result comes back from the worker? [20:09] ericsnow: workers are usually selfcontained... I don't think we usually send them messages.. they just read info off watchers and/or call the API if they need outside info [20:10] natefinch: that's my understanding as well [20:11] ericsnow: my thought is that if you need to give information to a worker, you do so by putting it into mongo [20:31] Bug #1532629 changed: Juju 2.0 should use a different default JUJU_HOME [20:43] Bug #1532629 opened: Juju 2.0 should use a different default JUJU_HOME [20:52] Bug #1532629 changed: Juju 2.0 should use a different default JUJU_HOME [20:58] OMG, I hate trying to figure out what's actually wrong when a uniter test fails.... [20:58] natefinch: it didn't get better in that regard? [20:59] katco: uh... no [20:59] natefinch: :( [21:00] katco: here's an example test failure (with literally thousands of lines of logging stripped out): http://pastebin.ubuntu.com/15095985/ [21:01] natefinch: ah, is this related to my table-driven test gripe? e.g. you can't run the 1 test you think is broken? [21:02] katco: partially... but also that they have factored out so much of the test that you can't actually tell what it's doing, and the failure is deep in some helper function [21:02] boo =| [21:05] I know I said this many times before but: status tests are a soul crushing torture [21:05] katco: like... what is this testing? https://github.com/juju/juju/blob/master/worker/uniter/uniter_test.go#L723 The error I get is "never reached desired status" [21:06] natefinch: are the structs passed in steps to perform? [21:06] they seriously feel like being offered a leaf of lettuce and a small glass of hot wather after a marathon [21:07] perrito666: lol that is an incredible analogy [21:07] ahh never reached desired status, one of my favorites, nate you can ad c.Logf() in the status checking with more info oterwise it will mask the fact that you might be erroring [21:12] perrito666: thanks [21:13] katco: FWIW, it looks like they did break it up so it's one test per test function now [21:13] natefinch: \o/ small victories [21:14] katco: yep, at least it's a step in the right direction, and I don't have to run 4 minutes worth of tests for one failure [21:26] anastasiamac: I just reviewed your simplestreams signing change [21:51] menn0: \o/ [21:52] wallyworld: juju add-user --share reviewed [21:52] oh wow, thanks menn0 [21:55] menn0: juju register is in the cloud-credentials branch [21:56] wallyworld: ok cool, ignore that then. I was hoping it was something like that. [21:56] our expected vs obtained test logs, especially the ones that show missmatch between maps are insanely user unfriendly [21:56] np, all a WIP [21:56] perrito666: depends if gc of js is used [21:56] jc [21:56] jc is better [21:57] wallyworld: none does a pretty print [21:58] pprint is for pussies :-) real men look at base64 and can tell the error :-) [21:58] base64 is for weaks, real men feel the humming of the pc running tests and know the errors [21:59] yes! [21:59] this is a beautiful example https://pastebin.canonical.com/149939/ [21:59] that usually gets printed line wrapped [22:04] wallyworld: I got a LTE modem in case storm returns [22:04] dedication [22:06] * anastasiamac wonders what a definition of real women will be then...? just look at real men and know they are buggy?.. [22:11] uhhh, burn [22:27] this modem is already paying for itself [22:45] anastasiamac: +1 [23:05] katco: I take it wallyworld's suggested time doesn't suit someone? I'm afraid your invite is way too early for me :( [23:05] axw: yeah =/ it's not meant to be permanent, just until we can figure something out [23:05] katco: okey dokey [23:05] axw: the problem is that the suggested time will always interrupt someone's family dinner [23:05] katco: fair enough [23:06] axw: it's just going to be difficult, but we'll work out something [23:06] axw: also, i don't think i made this clear in the email: for now there will be 2 stand-ups until we do get that figured out [23:07] axw: so you aren't being cast off or anything :) [23:07] katco: heh :) ok, no worries [23:07] katco: I keep getting told I'm optional... [23:07] axw: really? by whom? [23:07] axw: we r all optional in comparison to u \o/ [23:08] axw: if you have imposter syndrome, i will be full on neurotic ;p [23:09] a little bit doesn't hurt [23:09] impostor syndrom.. not neurosis [23:10] wallyworld: have you seen the latest CI results for cloud-credentials? looks very sick [23:10] sick in a bad way, not fully sick [23:10] axw: yes, will discuss in standup [23:10] wallyworld: ok [23:33] so much struct duplication [23:37] anastasiamac: I've added a comment to the tags bug, I think it should point you in the right direction [23:38] axw: \o/ === psivaa_ is now known as psivaa === hazmat_ is now known as hazmat [23:44] anyone here is allwatcher savvy I have a sudden doubt [23:44] ? [23:44] nevermind