/srv/irclogs.ubuntu.com/2015/01/13/#juju-dev.txt

=== kadams54-away is now known as kadams54
katcoanastasiamac: http://reviews.vapour.ws/r/713/ when you have a moment :)00:06
katcoanastasiamac: conceptually rather simple00:06
anastasiamackatco sorry with alexis. brb00:07
katcoanastasiamac: no rush at all! ty!00:09
wallyworld_axw: could you please take a look at https://code.launchpad.net/~wallyworld/gomaasapi/testservice-additions/+merge/246237 when you get a chance00:23
wallyworld_thumper: got 2 minutes?00:25
=== kadams54 is now known as kadams54-away
rick_h_wallyworld_: anastasiamac reply inbound, please let me know if any of it doesn't make sense or you want to chat on a hangout or anything to help clear up my questions/concerns00:58
anastasiamacrick_h_: thnx! will look :)00:58
axwwallyworld_: looking01:03
wallyworld_ty01:03
katcowallyworld_: ty for the review; comments01:04
wallyworld_sure, np01:04
axwwallyworld_: do you know when ?op=deployment_status was added? since forever? (I can't see a mention in the MAAS 1.5 API docs)01:04
katcowallyworld_: just so there's no ambiguity: i left comments to your comments :)01:04
wallyworld_axw: i believe mid 2014, so 1.7 i *think*01:04
axwyeah, 1.7's docs are the first time it's mentioned01:05
wallyworld_maybe even latish 201401:05
anastasiamackatco: reviewed too :)01:09
katcoanastasiamac: ty!01:09
anastasiamackatco: it was a pleasure and I learn something new eveytime I read ur code!01:09
axwwallyworld_: reviewed01:11
wallyworld_ty01:11
thumperwallyworld_: hey01:18
thumperwallyworld_: just eating, catch up in a few minutes?01:19
wallyworld_thumper: i'll ping you in 15? just in a meeting01:19
thumperwallyworld_: kk01:20
axwdimitern: thanks very much for landing my branch01:20
=== kadams54 is now known as kadams54-away
wallyworld_thumper: free now, meet our 1:1?01:53
thumpersure01:54
axwanastasiamac: can you please take a look at https://github.com/juju/juju/pull/1394?02:02
anastasiamacaxw: of course!02:03
axwthe RB bot seems not to have picked it up02:03
anastasiamacaxw: the bot is on lunch? :) it must b on BNE time. I'll look :)02:03
anastasiamacaxw: reviewed :)02:07
axwanastasiamac: thanks02:14
axwit's pretty trivial, but I guess I should follow protocol02:15
axwwallyworld_: ^^ can you please review the review when you have a moment02:15
wallyworld_sure02:15
wallyworld_axw: lgtm, thanks for review board fixes also02:18
axwthanks02:18
thumperaxw: addressed all your review comments: http://reviews.vapour.ws/r/688/diff/#02:41
axwthumper: I saw, thanks02:41
axwthumper: just noticed an import in the wrong block in environmentmanager.go02:41
thumperreally?02:41
* thumper looks02:41
axwjuju/juju/version02:42
thumperfixed02:42
thumperaxw: isn't the bot blocked?02:42
axwthumper: master was unblocked overnight, dunno about now02:43
thumperthere is an open critical bug above02:43
thumperwwitzel3 was looking at it02:43
axwah sou02:43
thumpera power64 failure02:43
wallyworld_axw: a small fix to maas test server, sigh03:13
wallyworld_https://code.launchpad.net/~wallyworld/gomaasapi/testservice-numeric-field-fix/+merge/24625003:14
axwlooking03:14
axwwallyworld_: what triggered the error?03:15
axwwallyworld_: I see tests updated, but no new test that would trigger the problem before?03:16
wallyworld_axw: on the juju side, the start instance code was pulling out mem from the jsonobject map and assuming a float. so i had to modify the juju unit tests to construct  test server nodes with "memory": 8192 instead of "memory": "8192". this then triggered the testserver vreakage03:17
axwI see03:17
axwhence the assertion in the last line of the diff03:18
axwok03:18
axwwallyworld_: approved03:18
wallyworld_yeah, basically making testserver behaviour match what we appear to get with real maas03:18
wallyworld_ty03:18
wallyworld_axw: and here's a one line juju fix (plus tests) http://reviews.vapour.ws/r/718/03:28
wallyworld_thumper: that critical bug is assigned to wayne, is anyone on your team looking at it per chance? you made an earlier comment on the bug, so i reckon last person who touches it, owns it :-)03:29
thumperno, not looking at it03:29
axwwallyworld_: reviewed03:31
wallyworld_great, ty. nfi how that slipped through previously :-(03:32
wwitzel3yeah I was looking at it, never figured it out05:37
wwitzel3I forgot to unassign it when I hit EOD05:38
dimiternaxw, no worries06:15
axwdimitern: thanks for the review07:04
dimiternaxw, np :)07:04
dimiternaxw, I assume you've run the live tests as well, right?07:06
axwdimitern: yes07:06
dimiternaxw, +107:06
dimiternaxw, btw with the diskmanager disable we won't see anymore errors like ERROR juju.worker.diskmanager lsblk.go:105 error checking if "sr0" is in use: open /dev/sr0: no medium found ?07:10
dimiternaxw, perhaps it shouldn't even try on a local environment, when it's enabled again07:11
axwdimitern: that error is news to me, but you are correct, it won't do that anymore07:12
dimiternaxw, I was meaning to file a bug about it, but I keep forgetting07:12
axwdimitern: we will/want to eventually have support for local, though it'll require more work for LXC07:12
dimiternaxw, right, fair point07:13
axwdimitern: probably doesn't matter now, we can worry about it when it gets enabled without the feature flag and local has been looked into07:13
dimiternaxw, yeah - I should've done the same about the networker - feature flag is better than dealing with upgrades and machine jobs set correctly07:14
* dimitern needs to go apply for a SA visa - most likely back in time for standup07:14
axwwallyworld: re the disk parameters error message, I'd prefer not to change it because I want to keep the disk name in the error message. the "name" is just a number, so having "disk" before that gives context07:19
wallyworldaxw: oh, i just meant the text description bit, the "to be created" part I think can go07:19
axwwallyworld: "cannot get parameters for disk %q" then?07:20
wallyworldyeah, i think so, more generic ad doesn't add surpurfulous context07:20
axwfair enough07:22
axwwallyworld: I don't really understand your other question07:23
axwwallyworld: what test are you looking for?07:23
wallyworldwhen a machine is created without disk params, that the get getDiskInfo() method or whatever it is called returns empty07:24
wallyworlda machineWithDisks was created specially to check that the params were recorded07:24
wallyworldbut maybe other non machineWithDisk machines could be checked to ensure there is no info07:24
wallyworldjust need to do it once somewhere07:25
axwwallyworld: yep, adding07:25
axwthanks07:25
wallyworldsure, sorry if it was too pedantic07:25
axwnope, that's fine07:26
wallyworldfwereade: can i ping you later for our 1:1 - i have soccer tonight07:32
rvbaHi wallyworld… it seems I missed your ping from yesterday… do you still need me?08:39
TheMuedimitern: morning. had a bad night and feeling weak now. so I'll step back into bed.08:50
TheMuedimitern: will have irc and mail open, so I later see what's happening08:51
TheMuedimitern: I sent you the mails we talked about in cc08:51
voidspacemorning all09:10
dimiternTheMue, sure, I hope you get well soon! :/09:25
dimiternmorning voidspace09:26
voidspaceo/09:32
dimiternvoidspace, you know what - let's split it up like this - i'll start from one end - network.InterfaceConfig, using it to render the lxc config, etc. while you start from the api call we need before startinstance10:50
dimiternvoidspace, and we'll integrate it in the middle somewhere10:51
dimiternvoidspace, how does this sound?10:52
perrito666morning11:16
wallyworldrvba: hey there, would love a quick chat if you are free11:17
rvbawallyworld: sure.  Hangout?11:17
wallyworldhttps://plus.google.com/hangouts/_/canonical.com/tanzanite-stand11:17
voidspacedimitern: oops, missed your message11:41
voidspacedimitern: but yes, that sounds good to me11:42
dimiternvoidspace, great, I'm already on it11:42
voidspacecool11:45
voidspacedimitern: name for the new API call?11:55
voidspacedimitern: ContainerInterfaceInfo ?11:55
voidspacedimitern: taking a slice of machine ids and returning a slice of InterfaceConfig11:56
dimiternvoidspace, yeah, sounds good11:56
voidspaceor slice of mappings of interface name to InterfaceConfig11:56
dimiternvoidspace, although..11:56
voidspaceif the InterfaceConfig includes name then strictly a mapping is redundant11:57
dimiternvoidspace, while doing the changes around the network package I realized we don't need network.InterfaceConfig11:57
voidspaceespecially as they'll only have one entry initially11:57
voidspacedimitern: just extend SubnetInfo ?11:57
dimiternvoidspace, we might use network.Info, rename it to InterfaceInfo and extend it to include what we need11:57
voidspaceInterfaceInfo or SubnetInfo11:57
dimiternvoidspace, SubnetInfo is very basic, doesn't contain NIC-specific settings, like whether it's auto-start, extra config (e.g. pre-up/post-down rules, routes, etc.)11:58
voidspacedimitern: ok11:58
voidspacehmm...11:59
voidspacealthough as we fleshed it out earlier we didn't discuss including that info anyway11:59
dimiternvoidspace, so let's say the ProvisionerAPI.ContainerInterfaceInfo(ids) []result struct { *error, []results }11:59
voidspacedimitern: ok, that's enough to be getting on with11:59
voidspaceI can hassle you for details as I go12:00
dimiternvoidspace, yeah, but as long as I'm changing it I want to include the necessary fields so we can model: physical interfaces, vlans (both of these we can, but partially), bridges, static addresses, etc.12:00
voidspacedimitern: ok12:00
dimiternvoidspace, sure, I hope to propose it soon12:00
voidspacedimitern: I'll be going on lunch before the MAAS call, so I'll have made a start by then, but probably only a start12:02
dimiternvoidspace, no worries12:02
voidspacedimitern: params.Entities as the arg type?12:03
voidspaceand check each of the entities maps to a container machine12:03
dimiternvoidspace, that's right, cheers12:03
perrito666mm, CI still locked?12:11
dimiternvoidspace, http://reviews.vapour.ws/r/719/ - there it is; still live testing, but just as a precaution - I don't expect anything to break13:42
dimiternvoidspace, ping for maas meeting14:03
voidspacedimitern: omw14:03
voidspacedimitern: LGTM on your PR14:35
dimiternvoidspace, thanks!14:36
dimiternvoidspace, so did it get clearer as you looked at the changes?14:36
dimiternvoidspace, I mean the network.InterfaceInfo and how we'll used it around StartInstance?14:36
voidspacedimitern: yeah, I think it's pretty clear14:37
voidspacedimitern: what I'm not clear on is in the ProvisionerAPI how I get to the environ to do the address allocation14:37
voidspacedimitern: we have a state though14:38
dimiternvoidspace, you can always create an environ from config14:39
voidspacedimitern: is that the *right* thing to do?14:39
dimiternvoidspace, I can't think of another way actually14:40
voidspacedimitern: ok, cool14:40
voidspacethanks14:40
dimiternvoidspace, we "create" an instance of the Environ interface, not an actual environment14:40
dimiternvoidspace, np14:40
voidspaceright14:40
voidspacecoffee!14:41
=== whit|dinner is now known as whit
perrito666wwitzel3: ericsnow and I are feeling lonely at the standup :p15:09
bodie_any chance we can get https://github.com/juju/juju/pull/1399 merged?  it's arguably something that should not be in a tagged version15:25
bodie_just a spurious file in project root15:26
bodie_i.e. nails on the chalkboard of my mind15:26
dimiternoh boy, what a fat panic - bug 141032015:44
mupBug #1410320: juju status --format summary panics with unresolvable IPs <cmdline> <network> <panic> <status> <juju-core:Triaged> <https://launchpad.net/bugs/1410320>15:44
perrito666wha?15:44
dimiternkatco, hey, you might want to have a look at that ^^15:44
perrito666btw, is anyone looking at the current blocker?15:44
dimiternperrito666, wasn't wwitzel3 doing this?15:45
perrito666dimitern: I cannot get a hold of wayne, that is why I ask15:45
perrito666he is assigned15:45
dimiternperrito666, ah, I see15:45
dimiternperrito666, well, I'll have a look to see if it's just a map ordering ppc issue that can be fixed easily15:46
perrito666its not, thumper and I took a look at it yesterday15:46
* perrito666 tries to separate unit and agent as entities and cries a little bit15:48
voidspacerebooting due to spotify killing all window chrome15:51
voidspacerebooting via the command line...15:51
voidspaceBRB15:51
dimiternwow15:51
dimiternperrito666, the whole TestSetMembersErrorIsNotFatal does not make much sense to me15:52
dimiternrogpeppe1, hey, can you give a hand to figure out why this test is failing on ppc ? https://bugs.launchpad.net/juju-core/+bug/140982715:53
mupBug #1409827: TestSetMembersErrorIsNotFatal fails <ci> <intermittent-failure> <regression> <test-failure> <juju-core:Triaged by wwitzel3> <juju-core 1.22:Triaged> <https://launchpad.net/bugs/1409827>15:53
voidspaceand back15:53
rogpeppe1dimitern: i'll try to have a look later15:53
perrito666voidspace: google chrome?15:54
voidspaceperrito666: no, unity chrome15:54
perrito666ah15:54
voidspaceas in - all windows stop responding to mouse clicks15:55
dimiternrogpeppe1, cheers15:55
voidspacesome handler in spotify doesn't return and unity blocks15:55
perrito666voidspace: yep, but browser15:55
voidspaceperrito666: no15:55
perrito666voidspace: ah you are actually using spotify app15:55
voidspaceperrito666: yep15:55
dimiternsinzui, hey, can you clarify which merge by frankban you refer to in https://bugs.launchpad.net/juju-core/+bug/1409827/comments/8 - I can see one landing just after voidspace's maas branch15:56
mupBug #1409827: TestSetMembersErrorIsNotFatal fails <ci> <intermittent-failure> <regression> <test-failure> <juju-core:Triaged> <juju-core 1.22:Triaged> <https://launchpad.net/bugs/1409827>15:56
voidspacedimitern: is this something I should be concerned about / look at?15:56
voidspacedimitern: might I have killed CI?15:56
wwitzel3I was looking at that yesterday, but never got a suitable testing environment setup.15:57
dimiternvoidspace, unlikely :) you change has nothing to do with replica sets or peergrouper15:57
voidspacehah15:57
voidspaceI shall remain blissfully unaware then...15:57
wwitzel3perrito666: I told you Sunday night I was going to be missing standup and out during the AM eastern time. You're bad at this.15:57
ericsnowwwitzel3: lol15:57
dimiternbad, bad perrito66615:58
perrito666wwitzel3: that was today :p15:58
dimitern;)15:58
perrito666wwitzel3: sorry since I saw you assigned to the bug I assumed you where immersed in it15:58
perrito666wwitzel3: I do my best to mimick nate's scheduling ability15:58
perrito666:p15:58
sinzuidimitern, the bug was changed to non-critical, unblocking CI. which was wrong given we still have a failing test that needs to pass15:58
dimiternsinzui, I agree15:59
wwitzel3dimitern, rogpeppe1: thumper suggested I try using gccgo , which I did, but I couldn't replicate the bug with just that.16:00
dimiternsinzui, just trying to figure out comment #816:00
wwitzel3and i was never able to successfully get a ppc64el vm up and going16:00
perrito666bbl lunch16:02
sinzuidimitern, 1.22 was created from the previous commit. wallyworld merged the suspect commit into 1.22 as a pre-requisite for his branch...and then introduced the same bug into the other line of development. We we reported this bug, we were testing both voidspace's and frankban's commits. Since 1.22 failed without frankban's changed, the only suspect is commit 782e9cd16:02
sinzuis/We we/when we/16:03
dimiternthanks sinzui16:04
dimiternjw4, hey, you mentioned you can reproduce that bug relatively easily? ^^16:07
dimiterni have an inkling..16:08
voidspacedimitern: do share16:08
dimiternat first glance the changes introduced by TheMue with https://github.com/juju/juju/commit/d5fd5e032b6593b53d03244773b9c7ac65805fd0#diff-1 *might* cause patched timeouts to get unpatched incorrectly16:09
dimiterns.PatchValue shouldn't be used in a loop or in any case more than once16:09
dimiternonce per test, that is16:09
mgzdimitern: oh, interesting16:09
dimiternmgz, yeah, I had issue with that before - for loops and such, gitjujutesting.PatchValue() should be used, which returns a Restorer that can be called at the end of the loop16:10
dimiternI'm not saying this is the issue (other tests in there are written similarly and should fail intermittently the same way), but it might be related16:11
katcodimitern: hey just saw your message, i'll look into it, thanks16:12
dimiternkatco, np16:12
katcodimitern: it looks like i gave a good warning but then ignored my own warning :)16:13
dimiternkatco, ha :) good catch then16:13
bodie_dimitern, mgz, sinzui -- any of you know whether / how / whom to talk to about getting a single file single line PR through?  we have a stupid foo.yaml file sitting in our project root16:15
dimiternbodie_, I can have a look16:16
bodie_dimitern, not certain how we didn't catch that in review but there it is.  https://github.com/juju/juju/pull/139916:16
mgzbodie_: you can just get it reviewed then force it through16:16
bodie_mgz, okay, cool.  it's reviewed, and I can just land it then?  I thought we were frozen16:17
mgzI'm fine with a trivial change on trunk - give me ten mins though, I'll confer and land it if agreed. what's the pr #?16:18
bodie_mgz, 139916:18
mgzta16:18
dimiternbodie_, LGTM, once ci is unblocked please land it16:18
bodie_thanks :)16:18
mgzbodie_: am going to leave ci idle for now rather than landing your change through the block, in case we want to try out a change to the test along dimiter's proposed patch thing on ci to see if it helps16:48
dimiternmgz, what proposed patch?17:03
voidspacedimitern: ping17:05
dimiternvoidspace, pong17:06
voidspacedimitern: so the new api method17:06
voidspacedimitern: for every machine tag requested it should allocate an address, set it on the machine, construct an interface info result17:06
voidspacedimitern: will this api only be called for machines that support address allocation?17:07
voidspacedimitern: (that information can be added to the ManagerConfig)17:07
mgzdimitern: a speculative future proposed patch17:07
voidspacedimitern: SupportAddressAllocation takes a netId - so should we call environ.Subnets(), then pick a network, check environ.SupportAddressAllocation(netId) (continuing until we find one and erroring if we don't)17:08
dimiternvoidspace, so, the environ supports address allocation or not strictly speaking17:08
voidspacedimitern: allocating an address on the first network we find that supports address allocation17:08
voidspacedimitern: it is implemented as taking a netId17:08
voidspacedimitern: but ok, fair enough (and yes!)17:08
dimiternmgz, unfortunately I won't be around long enough to try a fix :/17:08
voidspacedimitern: but are we assuming this api will only be called where the environ does support address allocation17:09
voidspacedimitern: and how do I pick the right subnet?17:09
dimiternvoidspace, the apiserver should check the given machine tag is a container tag - also it should be allowed only to pass containers with have the agent machine as parent17:09
voidspacedimitern: I'm checking ContainerType17:10
dimiternvoidspace, i think the code path is roughly speaking like this: 1) if env.SupportAddressAllocation() { <case1> } else { return nil and some error - e.g. NotSupportedf }17:11
voidspacedimitern: do you know how I find the agent machine - or should I hunt around?17:11
dimiternvoidspace, sure - that's the tag used at login17:11
voidspacecool and cool17:11
voidspaceyes, check address allocation is supported or error17:11
voidspacegreat17:11
dimiternvoidspace, like authorizer.GetAuthTag() ...17:12
dimiternvoidspace, then, for <case1>, let me think a bit17:12
voidspace:-)17:12
dimiternvoidspace, you need a netId to pass to SupportAddressAllocation17:13
voidspaceyep17:13
dimiternvoidspace, but that's ignored for now, right?17:13
voidspaceas far as I know17:14
voidspaceI'd have to check17:14
voidspacefor example, for MaaS we *could* check if the specified netId has a static range17:14
voidspacebut we don't yet17:14
dimiternvoidspace, right, so we should keep this in mind, but for now let's ignore it17:14
voidspacesure17:15
dimiternvoidspace, we need to allocate an address from the same subnet as the container's host's primary NIC17:15
dimitern(what a mouthful)17:15
perrito666back17:16
voidspacedimitern: ok...17:17
dimiternvoidspace, so what *i think* we need is to get the subnets for that host, then pick a reasonable one17:17
voidspacedimitern: the one containing the primary IP of the host for example17:17
dimiternvoidspace, right17:18
voidspaceso long as the state addresses for the machine are correct that should work17:18
dimiternvoidspace, all this is assuming a bit too much, but until we have per-service-endpoint bindings in place we could improvise17:18
dimiternvoidspace, strictly speaking (as per the model) we should create 1 container NIC per host NIC17:19
voidspaceright17:19
voidspacebut not yet17:19
dimiternvoidspace, but that's too much for now17:19
dimiternvoidspace, yeah17:20
dimiternvoidspace, let's decide which subnet later, for now just pick the first allocatable one17:21
dimiternvoidspace, and please add a comment this is temporary17:21
dimiternvoidspace, it should allow us to do an end-to-end simple test with 1 subnet17:21
voidspacedimitern: hah, ok17:21
voidspacethat's easy enough17:21
voidspacethanks17:21
dimiternvoidspace, cool17:22
* dimitern should be going now17:22
voidspacedimitern: o/17:23
=== kadams54 is now known as kadams54-away
jw4dimitern: sorry - was at the gym... Yes I can repro consistently.  I'll check with katco and your github repo and see if you have any proposed fixes I can test17:45
jw4katco: are you picking up what dimitern was working on with the peergrouper test failures?17:46
katcojw4: sorry, this is the first i'm hearing about this17:47
jw4katco: no worries - I just thought I saw you respond to dimitern when he was talking about it17:47
katcojw4: are you perhaps thinking of the bug dimitern pointed me at? https://bugs.launchpad.net/juju-core/+bug/141032017:47
mupBug #1410320: juju status --format summary panics with unresolvable IPs <cmdline> <network> <panic> <status> <juju-core:Triaged by cox-katherine-e> <https://launchpad.net/bugs/1410320>17:47
jw4hmm; if that was the bug he was talking about I'm confused17:47
mgzthere were a couple of conversatons happening at once :)17:47
katcojw4: i think you... mgz has it :)17:48
jw4katco: :)17:48
katcojw4: i would continue with your assumptions, but i don't think i was ever involved in the peergrouper stuff17:48
jw4kk17:48
mgzdimitern mentioned that the patch in the test at issue in bug 1409827 was dodgy, but didn't have a proposed fix17:49
mupBug #1409827: TestSetMembersErrorIsNotFatal fails <ci> <intermittent-failure> <regression> <test-failure> <juju-core:Triaged> <juju-core 1.22:Triaged> <https://launchpad.net/bugs/1409827>17:49
jw4mgz: yeah that was the one.  I have been able to consistently repro that one on my box since august17:49
jw4mgz: I just ignored it since the CI wasn't getting it, and other folks weren't seeing it17:49
jw4(maybe even before august, that's just how far back my test run captures go)17:50
mgzjw4: you have a talent for getting some of these inconsitent failures...17:51
jw4mgz: lol17:51
* jw4 whispers: I'm using a hyper-v ubuntu VM on top of -- windows 8.1 --- (gasp)17:51
=== kadams54-away is now known as kadams54
* jw4 notes the stunned silence with some chagrin18:04
mgzjw4: I barely even giggled18:06
jw4now I'm crestfallen instead of chagrined18:06
mgzdoes support the general theory of timing relatedness, can't imagine that's the smoothest setup18:06
jw4yeah.  It looks like no-one is assigned to it anymore.  I'll investigate a bit18:09
voidspaceg'night all18:35
voidspaceEOD18:35
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
perrito666wallyworld: drop me a ping whenever you return please19:32
bodie_mgz, still around?  I'm having a mental merge conflict between your and dimitern's directives about pr 1399 :P19:37
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
thumpercmars: hey there20:18
thumpercmars: are you ok if we skip today's call?20:18
thumpercmars: I've got a heap to do20:18
perrito666wallyworld: ping me whenever you are here20:19
thumpercmars: oh, noticed that you had declined today's meeting anyway, so we're all good :)20:20
=== kadams54 is now known as kadams54-away
menn0katco: ping?20:54
katcomenn0: hey what's up?20:54
menn0katco: I'm in the process of making some machine agent workers run per environment (in a multi-env Juju server)20:55
menn0katco: is the lease manager a global thing or a per environment thing20:55
menn0katco: i'm guessing the former, but want to be sure20:55
katcomenn0: per environment20:56
katcomenn0: the way to think about it is it has a 1:1 relation with a state server20:56
menn0katco: ok, but the state server is shared by multiple environments...20:56
katcomenn0: maybe i'm misunderstanding the word "environment"20:57
menn0katco: i'll give some background20:57
katcomenn0: if the state server is shared, then the lease server will be shared20:57
menn0so we're almost at a place where one state server (or set of replicated state servers) will be able to support multiple, independent Juju environments20:58
katcomenn0: ah gotcha... i think i know what this is in reference to20:58
menn0so if you already have a state server up, you can issue a command to add another environment which can then have its own machines, services, charms etc20:59
katcomenn0: since the leases are stored in mongo, and the lease server is running on the state server, i think the answer is "global" in your case20:59
katcos/lease server/lease manager/g21:00
katcomenn0: the spec has a runtime-components diagram which should help21:00
menn0katco: ok great.21:00
menn0katco: I had forgotten about that diagram. I'll take another look just to make sure I've got it straight.21:00
menn0katco: thanks!21:00
katcomenn0: please feel free to ping me with any follow-up questions if it's at all unclear21:01
menn0katco: grr... I can't find the spec, only the text source21:03
katcomenn0: np one sec21:03
katcomenn0: https://drive.google.com/open?id=0B24olKDYt1DQa1piUFhSMGpuWjA&authuser=121:03
menn0katco: thanks. searching for "lease", "lease service" etc on google drive doesn't find it.21:05
katcomenn0: i wonder if i can tag documents21:06
katcomenn0: strange, the title is lease-service.org.pdf21:07
menn0katco: yeah I know. pretty crap.21:07
menn0katco: this is a bit of an aside, but we need to make sure that lease service use cases that are env specific are isolated from each other (e.g. presence)21:11
menn0katco: I guess we just need to make sure sensible ids - which include the env UUID - are used21:11
katcomenn0: the lease service itself is completely agnostic to what it's asked to store21:12
katcomenn0: it provides a namespace functionality, so that can easily be used for presencer etc.21:12
menn0katco: yep I see that. I'm just think out loud about what it's going to be used for.21:12
katcomenn0: your comments are appreciated :)21:12
menn0katco: all good. i'm now sure that the lease service worker just needs to run once, not per env.21:13
menn0katco: and that's what I need to know right now.21:14
katcomenn0: good to hear :) you might also be interested: i pulled MachineAgent into its own exportable package, so you can now write unit tests against them21:14
katcomenn0: without spinning up a jujud21:14
menn0katco: yep, I'd already seen that. very helpful - thanks!21:15
katco:)21:15
menn0katco: at some point I'd like to unpick the upgrade-steps work and extract it to the worker part of the tree for similar reasons. it's currently quite coupled to the machine agent.21:16
katcomenn0: right; i think the agent shouldn't know anything about what it's running. it should just loop over a slice of functions it got passed21:17
katcomenn0: i'm currently spending my fridays picking apart jujud/*21:17
=== kadams54-away is now known as kadams54
menn0katco: well hopefully what I'm about to do doesn't upset your efforts21:18
menn0katco: i'm about to reorganised how some workers get started21:18
katcomenn0: thank you for your concern. i wouldn't worry about it though... your work should take precedent21:18
katcomenn0: mine will take awhile i think21:18
menn0katco: i'm hoping that my changes will also leave the machine agent a code a little clearer than it was21:19
* katco cheers on menn0 21:20
=== whit_ is now known as Guest64142
=== Guest64142 is now known as whit
=== kadams54 is now known as kadams54-away
* thumper groans22:26
=== ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Open critical bugs: 1409827 1410556
wallyworldperrito666: hey, just about to have short meeting, will ping you soon22:28
perrito666wallyworld: going out for a walk if I dont answer ill ping you back :p22:35
wallyworldsure :-)22:35
thumperoh fark22:41
thumpermenn0: unit agents don't run upgrades do they?22:42
thumpermenn0: I need to upgrade the unit agents config files...22:43
thumperwallyworld: did you know about this failure? http://juju-ci.vapour.ws:8080/job/run-unit-tests-precise-i386/1239/console22:44
thumperwallyworld: I recall you doing some maas constraints stuff22:44
wallyworldthumper: in a meeting now with sinzui etc discussing such things22:45
thumperwallyworld: kk22:45
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
wallyworldthumper: we have 4 unit test failures blocking CI. we'll look into the MAAS i386 one. can someone on your team look at bug 1236471?23:00
mupBug #1236471: Sporadic test failure w/ bot inside Uniter: FilterSuite.TestUnitRemoval <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1236471>23:00
wallyworldthat was reported om oct 2013 so is an old failure23:01
wallyworldsorta dormant till now23:01
* thumper sighs23:01
thumperwallyworld: who is looking at the power one?23:01
wallyworldwhich one are you thinking of?23:02
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
wallyworldbug 1410556 ?23:02
mupBug #1410556: TestStartInstanceUnmetConstraints fails on 386 and ppc64el <ci> <i386> <ppc64el> <regression> <test-failure> <juju-core:Triaged> <juju-core 1.22:Triaged> <https://launchpad.net/bugs/1410556>23:02
thumpermaybe...23:02
* thumper looks23:02
wallyworldthat one i'll look at23:02
wallyworldi copied an existing test and added a constraint to start instance so i have nfi why it fails23:03
thumperhttps://bugs.launchpad.net/juju-core/+bug/140982723:03
mupBug #1409827: TestSetMembersErrorIsNotFatal fails <ci> <intermittent-failure> <regression> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1409827>23:03
wallyworldi was going to ping nate about that one23:03
thumperwallyworld: nate is on paternity leave no?23:03
wallyworldah yes23:03
wallyworldhe was going to fix the repliaset related "unit" tests23:04
wallyworldbut i don't hink that's been done yet23:04
wallyworldany mongo related peer group / replica set tests are horrible23:04
wallyworldif you wanted to fix that one instead.....23:04
wallyworldwe just need to start dividing up the work as it's got to the point where i won't be able to do it all in a timely fashion, as i'm also fixing functional issues for 1.2223:05
thumperwallyworld: menno was going to look at bug 140982723:06
mupBug #1409827: TestSetMembersErrorIsNotFatal fails <ci> <intermittent-failure> <regression> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1409827>23:06
wallyworld\o/ that would be great23:06
wallyworldty23:06
thumperI'll take the intermittent failure after I've finished fixing this branch23:06
wallyworldsure, i'll do the maas i396 one23:06
wallyworldand there's another different i386 one also23:07
wallyworldbug 140876223:07
mupBug #1408762: --constraints option is ignored on MaaS provider <constraints> <maas-provider> <juju-core:In Progress by wallyworld> <juju-core 1.22:Fix Committed by wallyworld> <https://launchpad.net/bugs/1408762>23:07
wallyworldah no23:07
wallyworldpingerSuite tests consistenly fail on trusty 38623:07
wallyworldwhatever the right number is23:07
wallyworldi'll see if my team can get that one fixed23:08
wallyworldsinzui: bug 1410556 shouldn't apply to 1.33 yet as the change has only been committed to 1.2223:09
mupBug #1410556: TestStartInstanceUnmetConstraints fails on 386 and ppc64el <ci> <i386> <ppc64el> <regression> <test-failure> <juju-core:Triaged> <juju-core 1.22:Triaged> <https://launchpad.net/bugs/1410556>23:09
=== kadams54 is now known as kadams54-away
sinzuiwallyworld, I will fix that23:17
wallyworldsinzui: i just did23:17
sinzui:)23:18
wallyworldjust letting you know23:18
perrito666wallyworld: back23:28
wallyworldperrito666: give me 2 minutes23:29
perrito666np23:29
wallyworldperrito666: did you want a hangout? https://plus.google.com/hangouts/_/canonical.com/tanzanite-stand23:32
wallyworldsinzui: fix for bug 1410556 just merged into 1.2223:52
mupBug #1410556: TestStartInstanceUnmetConstraints fails on 386 and ppc64el <ci> <i386> <ppc64el> <regression> <test-failure> <juju-core 1.22:In Progress by wallyworld> <https://launchpad.net/bugs/1410556>23:52

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