=== andreas__ is now known as ahasenack [01:06] thumper-gym: re Preflight, do you have a preference for splitting it into two methods, one for creating an instance, one for a container on an instance? Then the instance.Instance parameter is never optional. === thumper-gym is now known as thumper [01:29] axw: sounds very reasonable [01:29] thumper: so i missed you before, i was stuffing my face. i got that big branch landed :-) [01:29] axw: for example, the null provider can't create machines, but could perhaps create containers [01:29] axw: what did you think of my method name suggestions? [01:29] wallyworld: good to get it landed [01:29] thumper: I quite like Vet, and Precheck isn't bad [01:30] not so keen on Probe [01:30] or Review [01:30] PrecheckCreateMachine, PrecheckCreateContainer [01:30] ? [01:30] yeah I think that sounds decent [01:31] thumper: do you think different interfaces are necessary, or is that overkill? [01:31] MachinePrechecker, ContainerPrechecker... *shrug* [01:31] I don't mind either way [01:31] chances are [01:32] that every provider will end up having it anyway [01:32] for some precheck stuff [01:32] yeah true [01:32] I'll just keep it in one then [01:32] ok [01:32] cool [01:32] thanks! [01:37] thumper: if you are tired of coding, i have a small piece of work which uses the new storage stuff to set tools retries when needed. but it can wait if you have other things to do https://codereview.appspot.com/13577045/ [01:37] tired? I haven't even started [01:38] oops, sorry [01:38] * thumper looks [01:38] you don't have to [01:53] did [01:57] thumper: with bool params, i hear you but they are used everywhere. and there are others in the tools area and felt consistency was better here [01:58] I know... but I still feel the need to push back [01:58] what about type AllowRetry bool [01:58] alright [01:58] and then two const values [01:59] it doesn't have to be exactly that [01:59] but play and see what feels good [01:59] yeah, i know the pattern to use. just felt wrong ony changing one instance of it [02:00] i'll finish my current branch and go back to it soon [02:11] anyone know where we are filing doc bugs? [02:11] hazmat: juju-core docs series isn't a bad start [02:11] they all kind of go to the same place/people anyway [02:11] yeah.. [02:12] davecheney, thanks [02:32] % juju scp gccgo/0:/home/ubuntu/gccgo.tar.bz2 . [02:32] ^ :heart juju [02:56] fwereade, curious what you think of this https://bugs.launchpad.net/juju-core/+bug/1227450 [02:56] <_mup_> Bug #1227450: juju does not retry provisioning against transient provider errors [02:57] fwereade, it seems with 1.14 things are a bit better for recovering without waiting (ie i can kill machines and services/units without the unit agent coming online)... but ideally the transient would just be auto'd [03:30] wallyworld: coming? [03:30] no 1:30 yet [03:30] still 10s to go [03:31] thumper: wallyworld can you hear/see me in the hangout? [03:31] no [03:32] try this one axw wallyworld https://plus.google.com/hangouts/_/0d2e7f7c6d9229ef8ed15d6c8f7ff08b0de146cc?hl=en [03:37] davecheney: any luck on those charm reviews? :) [03:51] bradm: i am really sorry [03:51] i know they are reviewed but have not made it into the charm store [03:51] i will try to find out (again) what is going on [03:53] davecheney: no worries, I'll just prod you every now and then about it :) [03:56] bradm: i will follow up with marcoceppi [04:11] * thumper twiddles thumbs waiting for lbox before going to make coffee [04:12] * wallyworld looks at thumper's review [04:12] * thumper noticed something wrong [04:12] poo [04:12] * thumper leaves it for now as an exercise for wallyworld to find [04:13] * thumper -> coffee [04:17] * thumper needs to help with early dinner [04:17] back for meetings tonight === thumper is now known as thumper-afk === tasdomas_afk is now known as tasdomas [05:01] mornin' all [05:04] o/ [05:13] davecheney: hiya [05:41] just ran into my first real world user who has a default vpc [05:51] zomg [05:51] how did it go [05:51] ? [05:54] davecheney, it didn't work with juju .. throws an error [05:54] thumper-afk, how do you remove a container on a machine [05:55] hazmat: poop [06:30] is there some best practice about how to ship updated code to juju instances via a charm? right now I've got to update the stuff from python-moinmoin to do openid properly, and I'm shipping files, which just feels like a terrible unmaintainable hack. [06:30] I could do patches, but thats only slightly less of an unmaintainable hack [06:31] I could try to get the code upstream, but that won't always happen [06:31] bradm: if you're talking about including code inside the charm [06:32] that is one way [06:32] otherwise you could have the charm bzr branch something [06:32] but putting the code inside the chamr will at least ensure that all units of that service get the same copy [06:32] davecheney: yeah, basically I need to patch the python code that the python-moinmoin deb puts on disk for openid [06:33] sounds nasty any way you cut it [06:33] lp:~brad-marshall/charms/precise/python-moinmoin/python-rewrite [06:34] quite a few charms have a configuration settting to control adding a ppa [06:34] so if you have that config set [06:34] thats what I've gotten so far, it does seem to work ok, I've got an instance up on canonistack [06:34] the install hook will use the ppa version [06:34] ooh, that could work [06:34] it feels like a less terrible hack [06:35] bradm: the wordpress charm is a good plcae to look [06:36] davecheney: ta, I'll have a look at that, it feels like at least then I'll know it'll all work together [06:37] it does mean I'd have to keep on top of new versions of moin that come out, and have a way of getting people to update [06:38] fork's suck [06:39] ah, a downside of that is you have to assume egress access too, which wouldn't work in our environment [06:40] maybe I should just try and get the code upstream, thats the least sucky option [06:41] anyone for a review? https://codereview.appspot.com/13778043 [07:10] hi, any update on the juju failure from yesterday? [07:32] yolanda: hi [07:33] hi rogpeppe [07:33] yolanda: i got a question that you may be able to answer [07:33] tell me [07:33] yolanda: do you still have access to an instance that this happened on? [07:33] rogpeppe, i destroyed it [07:33] but i can create a new one with the same problem [07:34] yolanda: that would be great. i'd like to find out the contents of /proc/sys/vm/overcommit_memory [07:34] ok, just a moment [07:34] yolanda: thanks [07:34] i need to have a working juju for the work i'm doing now so i'm glad to help [07:36] yolanda: for the record, here's the question i asked, and its reply from one of the Go core team: http://paste.ubuntu.com/6127199/ [07:37] shall i try with a bigger instance? [07:40] yolanda: if you can, that would be an excellent thing to try, yes [07:40] yolanda: but i'd like to see the overcommit_memory thing on an instance where the problem has happened [07:40] yolanda: so that we can try to pin down the issue [07:40] ok, still bootstrapping, it takes time to sync tools [07:44] rogpeppe, /proc/sys/vm/overcommit_memory = 0 [07:46] yolanda: ah ok, i think that probably settles it [07:46] yolanda: thanks [07:46] yolanda: i guess that too much is going on at bootstrap time [07:47] yolanda: perhaps we should run juju as root [07:49] rogpeppe, shall i try with a bigger instance to discard memory? [07:49] yolanda: yes please - i predict it'll work fine on a bigger instance [07:50] let me try [07:50] by default it uses 512mb right? [07:53] yolanda: i don't think there's any default - it probably just chooses the smallest available [07:53] trying with 1024 [07:54] mgz: ping [08:07] rogpeppe, with 1gb of memory works [08:07] so yes, it's a ENOMEM issue [08:07] yolanda: ok, thanks, at least we know where we are now [08:08] but this was working until yesterday afternoon, can it be related with some update done? [08:08] yolanda: perhaps something different is being done at bootstrap [08:08] yolanda: which uses more memory [08:09] i'll deploy a service with 1gb of memory now to test [08:10] yolanda: i'm afraid i don't know much about the details of how the openstack instances are set up [08:11] at least the defaults now should be set to 1GB to work [08:22] yolanda: yes. or we could set overcommit_memory to 1, i guess [08:23] yolanda: or, even better, work out what's taking all that memory at bootstrap time :-) [08:23] yolanda: go does grab a lot of VM at init time, although it doesn't touch it until it actually needs it [08:25] rogpeppe, but that's not directly related with juju, but with cloud-init, right? [08:42] yolanda: well, juju is written in Go, so the VM issue is partially Go-related [08:43] yolanda: but what's running at bootstrap time is indeed cloud-init and image-related [08:44] rogpeppe, i was asking that to try to file a bug, but i'm not sure on how to place it [08:49] yolanda: file it against juju, because there are several possible ways to solve the problem, not all of them in cloud-init. [08:50] rogpeppe, ok [09:05] yolanda, rogpeppe: If you are not overcommitting memory, and go is asking for a bunch that it will use later (but doesn't touch yet), doesn't that cause this issue? [09:05] jam: indeed it does [09:05] or is the go request "give me address space" different from "allocate some memory to me" [09:05] rogpeppe: I know internally we have a default "minimum memory" of 1GB for VMs. [09:06] though I think you can pass your own constraints to override it. [09:06] jam: i'm surprised that when yolanda used a 1GB constraint, that it caused it to work [09:06] rogpeppe: it might depend on which provider [09:06] works like a charm now [09:06] jam: if we do have that minimum memory default constraint [09:07] jam: yeah. are we getting this stuff from simplestreams now? i wonder if something changed there. [09:07] yolanda: which charm would that be? :-) [09:09] rogpeppe: environs/instances/instancetype.go: "minMemoryHeuristic = 1024" [09:09] which I'm pretty sure is in MB [09:10] jam: if the instance types were somehow reporting the wrong value, then it might be choosing the wrong instances, i suppose [09:11] jam: hmm, but then the change in constraints value wouldn't affect it. [09:11] rogpeppe: theoretically. It is possible that we are getting our units wrong. Do you know what provider this is? [09:11] jam: this is on canonistack [09:12] jam: and the issue only just started happening [09:12] jam: so *something* has changed recently [09:13] rogpeppe: do you know if there was any change like lcy01 => lcy02 ? [09:14] 01 runs Openstack F while 02 runs Grizzly, IIRC [09:14] jam: the same issue occurs in both, afair [09:15] rogpeppe, https://bugs.launchpad.net/juju-core/+bug/1227533 [09:15] <_mup_> Bug #1227533: Juju fails to bootstrap if memory is lower than 1GB [09:16] yolanda: thanks [09:20] yolanda: are you passing a constraint? or just no constraints? [09:20] jam, now i pass a constraint for 1024mb, without constraints it fails [09:21] i tried with canonistack only, but i think it was failing under other environments [09:21] yolanda: strange, because I bootstrapped to canonistack 2 days ago, and things are working. I'll see if I can reproduces [09:21] jam, yes, it started to fail yesterday afternoon [09:21] i've been playing with juju and canonistack for weeks [09:22] yolanda: I wonder if a new instance type showed up in the catalogue or something. [09:22] it's grabbing from simple-streams, so maybe, yes [09:22] yolanda: so instance types are in the openstack Flavor catalogue. Vs *image* which is from simplestreams [09:22] Image == Ubuntu 12.04 [09:22] Instance == m1.small [09:23] yolanda: it is possible that we got a new image, too, which might have changed overcommit [09:23] jam, do you have some booted machine previous to the failure? then you can check for the overcommit [09:24] yolanda: I do, give me a sec [09:25] my instance has overcommit_memory = 0 as well [09:25] free says I have 512MB, though [09:25] same as mine that were failing [09:25] top agrees [09:26] so it is always possible that canonistack itself is under mem pressure because of a lot of people starting instances, etc. But if it is reliable and not intermittent than I doubt that is the issue [09:27] jam, it's not intermittent, happens all time since yesterday, in the 2 zones, at different hours [09:27] yolanda: so I'll try quickly with 1.14 that is in the stable ppa, I don't know if I can get 1.12 [09:28] jam, i tested with 1.14 today [09:28] same problem, now i'm using that [09:28] rogpeppe: so at the least, we have a bug that we think we use a min-memory heuristic of 1GB but don't [09:28] yesterday i tried with 1.12 [09:28] jam: well, i think that's true - but it would be good to check the actual memory of the provided instance [09:29] rogpeppe: I did, the instance I have running for a couple of days is 512MB [09:29] jam: cool [09:30] rogpeppe: And I just bootstrapped now and got the same 512MB [09:30] jam: i've got a proposal for review, if you fancy taking a look: https://codereview.appspot.com/13778043 [09:31] rogpeppe, are you expecting https://codereview.appspot.com/13493044/ to go anywhere, or are you dropping it? I've kinda forgotten context from before this week [09:31] fwereade: ^ [09:31] rogpeppe, I'm just going through from the top today, trying to approach the bottom [09:31] rogpeppe: I do see the failure like yolanda mentioned, Cloud init reports that something failed, and I have "fatal error: runtime: ..." [09:31] rogpeppe, but it's also my meeting day, so... [09:32] jam: ah, so juju failed to start [09:32] rogpeppe: right [09:32] rogpeppe, also https://codereview.appspot.com/13512051/ [09:32] fwereade: thansk for https://codereview.appspot.com/13635044/ I'm just waiting for sshstorage to land first. [09:32] fwereade: ah, i'll submit the latter; the former can wait, i think [09:32] thanks* === thumper-afk is now known as thumper [09:33] rogpeppe: hey [09:33] thumper: yo [09:34] rogpeppe: https://codereview.appspot.com/13512051/ I think Tim has a branch that changes some names, so it will conflict (eventually), otherwise seems ok [09:38] fwereade: https://bugs.launchpad.net/juju-core/+bug/1227450 Are we intending that if the first request to Provision fails, we will ever try again? [09:38] <_mup_> Bug #1227450: juju does not retry provisioning against transient provider errors [09:38] I thought we intentionally weren't restarting things people manually stopped [09:38] which sort of falls into a similar category [09:39] jam, the original intent was that we hook up juju resolved [09:39] fwereade: so you could run "juju resolved" and it would try to provision again? [09:39] jam, yeah, that's the idea [09:40] fwereade, hey, I see you didn't have time for this - can you take a look now please? https://codereview.appspot.com/13501051/ [09:41] dimitern__, I'm ...2 away from it in the list [09:42] fwereade, ok [09:42] dimitern__, thanks for your patience [09:45] fwereade, no rush, just reminding :) [10:01] fwereade: coming? [10:06] is there a tag for 1.14? [10:43] mgz: can you link me the document? [10:59] thumper, fwereade: 1 min to meeting [11:06] mgz: fwereade, rogpeppe: https://codereview.appspot.com/13562045/ is the critical fix for Openstack security groups [11:06] jam: sorry, was paged up [11:11] jam: i don't think it would be too hard to add a live test that checked exposing [11:11] jam: but it would be slow to run [11:12] jam: unless we jammed it in the kitchen sink of BootstrapAndDeploy [11:12] rogpeppe: we don't have any tests today that run a custom program on the remote machine, so I didn't have much to go off of. It would be possible, but I'd rather land the fix and have done manual testing. [11:12] jam: agreed, good to land the fix, but please file a bug [11:15] rogpeppe: https://bugs.launchpad.net/juju-core/+bug/1227586 [11:15] <_mup_> Bug #1227586: cross-provider test that we don't expose non-juju service ports [11:15] jam: thanks [11:17] rogpeppe: note also that we have bug #1217595 which means that "juju upgrade" won't fix the security groups that exist, and "juju destroy-environment" doesn't delete security groups so "juju destroy-environment && juju bootstrap" will leave you vulnerable, but I'm thinking to fix #1217595 [11:17] <_mup_> Bug #1217595: security groups reused without ensuring validity [11:17] <_mup_> Bug #1217595: security groups reused without ensuring validity [11:19] bug #1227588 [11:19] <_mup_> Bug #1227588: destroy-enviroment does not delete security groups [11:24] jam: i don't think that the old security groups pose a security hazard, on ec2 anyway [11:24] jam: just a resource problem [11:24] jam: because the ensures that if old security groups exist, they have the correct permissions [11:25] jam: s/because the/because the code/ [11:25] jam: ah, i hadn't seen 1217595 [11:26] jam: do you know what provider that's using? [11:26] rogpeppe: openstack at least [11:26] jam: i remember writing logic in the ec2 provider that specifically tried to cope with that case [11:26] rogpeppe: note that I think we copied that behavior from ec2 [11:27] it detects a duplicate, though I'm trying to see if it updates it [11:27] "if err == nil { g = resp.SecurityGroup" [11:27] jam: see ec2.environ.ensureGroup [11:27] I do see it doing a set stuff [11:28] to find what to revoke [11:28] jam: it looks like the openstack provider doesn't do the right thing [11:29] * rogpeppe gets some lunch [11:31] rogpeppe: that was changed in codereview.appspotcom/11655043 [11:32] the alternative is using the same fiddly stuff that ec2 does with security groups [11:32] really the code should be unified regardless [11:36] mgz: I think we should move the permSet into a shared module and both use it [11:38] mgz: right, so I'm fine with doing a Get before we do Create to avoid the duplicate-with-quantum bug [11:38] but we can still take the thing we have and do a set diff to figure out what to put on it [11:41] * TheMue => AFK [11:44] * thumper -> bed [11:49] fwereade, review poke :) [11:50] mgz: it doesn't look like the openstack provider ever revoked security group rules, even before that change [11:50] dimitern__: i'll do yours if you do mine: https://codereview.appspot.com/13778043 [11:51] rogpeppe, looking [11:59] rogpeppe, reviewed [11:59] dimitern__: ta! [12:14] rogpeppe, fwereade: I have 2 CLs that need reviews please https://codereview.appspot.com/13501051/ and https://codereview.appspot.com/13627051 [12:15] dimitern__: i'm already on the first one [12:15] rogpeppe, great [12:20] dimitern__ how many underscores do you need ? :) Is it possible to share the Machine object somewhere, it sure feels repeated. [12:21] jam, not sure what do you mean? [12:22] about the underscores or the Machine? :) [12:23] it's how we agreed to do the api [12:23] for underscores, there appear to be 3 of you [12:24] my irc client surely acts funny today [12:24] ah, so that's his trick [12:24] for Machine, it looks like a tiny object with 2 bits of state and a callable that has a few apis on it. If it is actually different than the other ones thats fine [12:24] jam, they're all different [12:25] jam, and expose only a subset of the state.Machine methods, as needed by each worker [12:26] hi, using config_changed hook, what should be the best way if a config var has changed since the previous invocation? we receive the hook on each config, but i'd like to take some action if a given var has a different value. Maybe store old value in some place? [12:27] yolanda, you could save the old value at each config_changed call, and the use it in the next [12:28] yolanda, that will of course trigger a config_changed on the remote unit as well [12:28] dimitern__: Id() Life() and Tag() sure seem common, but we can deal with that some other time, I guess [12:28] jam, we can yes [12:29] dimitern__, you mean, saving on a file? not sure if i follow you [12:29] yolanda, I mean doing relation-set oldValue=X, but you can use a file as well [12:30] yolanda, that way the remote config_changed hook won't be triggered [12:30] dimitern__, maybe a file is simpler, then i avoid double relation hook call [12:31] yolanda, yes [12:31] just i was wondering if juju methods had something to retrieve previous val, may be useful [12:32] yolanda: i sometimes wonder if we should provide a standard easy way to store persistent state across hook invocations [12:32] yolanda: because everyone reinvents their own wheel there [12:32] yolanda, juju doesn't provide that at the moment [12:33] rogpeppe, dimitern__, sounds like an useful feature [12:33] rogpeppe, something like relation-save key=value [12:34] dimitern__: there's not really anything relation-oriented about it [12:34] rogpeppe, config settings are stored per relation [12:35] rogpeppe, so it makes sense to have a way to store them locally with a hook command, but the name could be anything, yeah [12:35] dimitern__: i'm not necessarily talking about config settings - just persistent state that one hook invocation can set to let another one see [12:36] dimitern__: tbh it's probably just a matter for better standard bash tooling - not something that juju-core needs to be involved in [12:36] rogpeppe, should these things be stored in state as well? [12:36] dimitern__: definitely not [12:36] rogpeppe, i agree [12:48] dimitern__: https://codereview.appspot.com/13501051/ reviewed [12:48] rogpeppe, thanks! [12:50] mgz: did you get a chance to look at: https://codereview.appspot.com/13562045/ ? [12:51] or rogpeppe. You made some comments on IRC, but didn't comment on the CL from what I can see [12:51] jam: oh, sorry, i got distracted. [12:52] rogpeppe: I'm looking at dimitern's second CL [12:53] jam: cool, thanks - i was some way through it, but happy for you to do it [12:53] rogpeppe: well certainly submit what you've gotten through [12:53] jam: i had no comments yet [12:54] jam: looked at, not gone through all the test stuff yet [12:54] will do that now [13:00] jam: reviewed [13:00] dimitern: https://codereview.appspot.com/13627051/ reviewed [13:08] natefinch: you should be doing some sort of "ssh shared@maas.mallards" [13:09] eg Username == shared [13:09] jam: oh.. duh [13:10] jam: I guess I expected the config "user" setting to do that for me, but then failed to realize it obviously wasn't [13:10] jam: using shared@ works perfectly [13:10] natefinch: it should [13:10] were you accidentally doing nate@ ? [13:10] jam: nope [13:11] jam: maybe it just wasn't picking up the config [13:11] natefinch: did you put it into config.personal? [13:11] I don't *think* that file is read by default, (It has to be imported somehow) [13:11] jam: yep [13:12] I reran sshebang afterward... [13:12] natefinch: I think it is ok to use garage mass without calendar as long as you aren't trying to allocate all 16 machines, and cleanup after yourself [13:12] actually I see User nate being specified for *.mallards in config.personal above there.... depending on which one wins [13:12] natefinch: your test cases are just provisioning 1-2 machines so it should be reasonably well behaved. [13:13] natefinch: I *think* first-entry wins [13:13] that would do it. easy enough to try [13:15] jam: yep, first one in wins [13:44] writing wiki docs makes me happy [14:02] rogpeppe, fwereade, updated https://codereview.appspot.com/13501051/ [14:05] TheMue, I can'tfind where your auto-sync-tools code is, did something happen to it? [14:06] fwereade: have to look myself [14:08] fwereade: should be this one https://code.launchpad.net/~themue/juju-core/035-bootstrap-autosync merged on Aug, 2nd [14:12] fwereade: and found it in trunk [14:13] TheMue, yep, just did likewise, thanks [14:13] fwereade: yw [14:13] TheMue, was looking right past it, sorry [14:13] fwereade: np, as long as my answer is positive (and i haven't missid to merge it *phew*) [14:51] niemeyer: ping, any luck with more details on the issue? [14:52] rick_h_: Hey [14:52] rick_h_: Not really, unfortunately [14:52] rick_h_: Now that I'm consciously trying to replicate it I can't either [14:52] thanks rick_h_ . yeah niemeyer, we want to stomp this but can't dupe :-( [14:52] yes very frustrating [14:52] niemeyer: ok, we've had 4 people try to replicate without success so far. If we can find something let me know and we'll jump right on it. Where were you linked from when it died? [14:53] rick_h_: I've accessed it directly [14:53] rick_h_: It actually stopped right on entrance the first time [14:53] niemeyer: right, your second email said you were linked there? [14:53] rick_h_: I was trying to guess the URL of a charm [14:53] rick_h_: So both times were hand-written [14:54] rick_h_: Both times CTRL-R solved the issue [14:54] niemeyer: ok, hmm. So maybe some race in a deeper url. Ok, well that gives more info to go on trying to replicate [14:54] niemeyer: on entrance - do you mean, 'loading juju-gui' ? [14:54] hatch: No, just typing jujucharms.com [14:55] :-/ [14:55] rick_h_: I wouldn't be surprised if it's something timing out [14:55] niemeyer: sorry - I mean, there are two loading messages, one is for the assets and one is for the actual juju connection [14:55] hatch: Hmm, ok? [14:56] sounds like you're getting hung up on the connection [14:56] hatch: I'm not using any juju environments [14:57] hatch: Well, that I know of [14:57] yeah it still connects on sandbox [14:57] (to an in-browser-memory fake juju) [14:57] I see, ok [14:57] yeah that :D [14:58] So, a timeout might explain why it failed on the first try, when all the caches on my path were cold [14:58] yeah odly enough that should never happen [14:59] I have some ideas to track this down though [14:59] right, we need console messages [14:59] Okay, I don't have them now, but if it happens again I'll try them [15:00] thank you very much niemeyer. ok hatch, cool, glad you have some ideas. I was going to suggest that we reply to Gustavo's message with a request for anyone who encounters this issue to please get in touch with us *before* reloading. [15:00] I'll send that out quickly [15:01] gary_poster: Sorry about that.. it was kind of stupid.. I should know to have observed the console for any hnts [15:01] np thanks for raising it niemeyer. at least we know there's a likely issue somewhere [15:05] damn schrodinbugs [15:06] fwereade: hmm, i just noticed that checkers.Set was renamed to testing.PatchValue. i'm not that keen, as the reason for it being in jc was because it has minimal dependencies so that it can be used from internal tests without fear of import loops. [15:09] fwereade: i thought it's worth discussing before i propose a move back though. [15:10] is the lean kit board reasonably up to date for me to look through it for things that have already landed but are not yet in a release? [15:11] fwereade: rogpeppe: dimitern__: TheMue: ^^^^ [15:11] mramm: i did put a Doing card on earlier, but tbh I haven't looked at it much since we stopped doing daily kanban runthroughs [15:11] so how are we managing work now? [15:11] mramm: that's bad, i know, sorry [15:12] tickets, lkk, whatever -- something needs to be there [15:12] mramm: yeah. i thought that kanban board discussion gave a good focus actually. [15:13] well, that is for you guys to sort out [15:13] for now I guess I'll try to just look through the commits that have been merged to trunk and go from there... [15:15] mramm, mine is always up-to-date [15:15] * rogpeppe polishes dimitern__'s halo :-) [15:16] :P [15:16] dimitern__, natefinch, TheMue: do you have any opinions about jc.Set vs testing.PatchValue ? [15:17] dimitern__, natefinch, TheMue: (the latter being a new name for the former) [15:17] rogpeppe, I confess a mild preference for testing.PatchValue [15:18] fwereade: i'd like it not to be in testing [15:18] fwereade: because of the dependency issue [15:18] fwereade: and how about just Patch ? [15:19] rogpeppe, jc.Patch definitely > jc.Set [15:19] rogpeppe, I'd +1 that [15:20] fwereade: cool [15:21] yeah, I like patch [15:22] Patch implies temporary, set implies permanent [15:23] * TheMue votes for Patch too [15:24] +1 for Patch [15:28] How is this possible? http://i.imgur.com/7x5eYib.png [15:28] does TestManageStateServesAPI failin on the bot mean anything to anyone? [15:28] Ran debug-hooks during an install error hook, ran resolved --retry, trapped both hooks? [15:28] 1.14.0, should this be a bug or is this expected, or what? [15:30] hm, bug 1219661 [15:30] <_mup_> Bug #1219661: TestManageStateServesAPI is flakey [15:31] landed on trunk only [15:36] hi, go question: for my juju-core branch, bzr shows i'm out of date by many revisions. but 'go get -v launchpad.net/jujuj-core/...' does nothing. what gives? [15:36] fwereade: one thought on .yaml vs bare , how about a ".juju" extension? that way the files are readily identifiable when sent around the network, and could even be potentially double-clicked to open [15:38] gah, nm s/v/u/ [15:44] rogpeppe: can I have a rubber stamp on cl 13722051 please? [15:45] mgz: stamped [15:45] ta [15:55] fwereade: ping [15:56] rogpeppe, pong [15:57] rogpeppe, ah, sorry, missed the above [15:57] fwereade: just wondering how you feel about the above possibility [15:57] rogpeppe, it's somewhat interesting [15:57] fwereade: using an extension means that we can be sure that temp files don't clash too [15:57] fwereade: (we don't currently have any restriction on environment names) [15:58] rogpeppe, yeah, that's not a bad idea... but, hmm, .juju doesn't feel quite right [15:58] rogpeppe, if anything, .env or something [15:58] fwereade: .jujuenv [15:58] rogpeppe, not totally in love [15:58] fwereade: neither me [15:58] rogpeppe, anyway, sorry, I have a call starting [15:59] fwereade: can i leave .yaml for the time being, and we can bikeshed it when we actually hook up the Write code? [15:59] rogpeppe, ok, sgtm [16:16] arosales, sinzui: landed the required fix on 1.14 branch [16:16] mgz thank you [16:16] mgz, thanks. Do you have authority to get sinzui access to the go-bot creds? [16:16] needed to make a release [16:17] ^ you are a faster typer than I am [16:17] I can't add his key to the launchpad account, I can stick a tag on for him today though [16:17] mgz, that helps. [16:18] mgz, we also need a 1.14.1 tag on goose at the same rev as 1.14.0 [16:18] fwereade: ping [16:18] mgz, I want to try using dependencies.tsv for the 15+ releases. No more tags [16:18] TheMue, listening, but in a meeting [16:19] that would be a good thing [16:19] fwereade: you hade a good nose [16:19] fwereade: see http://paste.ubuntu.com/6128903/ [16:19] sinzui: changing the tarball script is easy, the harder half is making the bot do the same, so things actually break if people forget to bump a dep [16:19] TheMue, nice [16:20] fwereade: have to see now where exactly it crashes, but it dislikes those statements in the data [16:20] fwereade: i think it's the $where [16:20] mgz. yeah, I thought as much. I intended to try a ci approach where the tarball is used as a source for the tests. Release candidates fail if the tarball doesn't build [16:21] ugh, 1.14 is impressively diverged from trunk [16:21] sinzui: I poked tarmac a little to try that approach, but it doesn't fit in well with the current use of the bzr plugin [16:21] just need some time to re-look at the bot setup really [16:22] and understand how tarmac wants to work a little [16:23] mgz. Understood. We are building a plugin/subordinate charm for the jenkins charms that acts as a tarmac gatekeeper and test runner. [16:24] We have nothing against tarmac, but it was just one piece that was failing in our setup of charmworld testing [16:41] fwereade: halve so wild, it only has been the . in the map key. mongo dislikes dots there. eval or db.eval as value are not executed [16:44] dimitern__, fwereade, mgz, TheMue: a small change: https://codereview.appspot.com/13786043 [16:46] rogpeppe, looking [16:46] dimitern__: thanks [16:47] rogpeppe: reviewd [16:47] TheMue: ta! [16:49] rogpeppe, me too [16:49] dimitern__: ta to you too! [16:59] rogpeppe, fwereade: stamp on cherrypick sg fix to trunk cl 13787043 please! [17:01] mgz: done [17:13] natefinch, dimitern__, fwereade, mgz, TheMue: another small one: https://codereview.appspot.com/13341051 === tasdomas is now known as tasdomas_afk [17:20] rogpeppe: I'll run the live tests on that branch [17:20] mgz: thanks [17:21] mgz: i don't think the live tests verify the expose semantics currently, so probably worth doing a sanity check there too, if poss [17:24] * lamont has what may be a stupid question... [17:24] To connect to ... insecurely, use `nocheckcertificate'. [17:24] where do I say 'nocheckcertificate' for juju (-core) bootstrap to see and use it? [17:28] lamont: juju-core doesn't use ssh to connect, you may want bug 1202163 [17:28] <_mup_> Bug #1202163: openstack provider should have config option to ignore invalid certs [17:28] rogpeppe: reviewed, like it [17:29] TheMue: thanks [17:33] rogpeppe: is there a NewApiClient that is not from a name? Wondering why you need to say "fromName" when it clearly takes the name as an argument? [17:33] so, will step out now. see you on monday (tomorrow holiday) [17:33] natefinch: i didn't invent the name and i try to avoid repainting sheds [17:34] natefinch: i agree in principle though [17:34] TheMue: see ya [17:34] natefinch: oh, sorry, I should have scrolled down, missed that it was there before [17:34] have a good night [17:46] mgz: it's trying to talk to swift, using https because I don't like cleartext tokens and all that [17:46] but the CA cert for the signing cert is not in the ca-certs package [17:46] and I'm too cheap to go buy a cert for this particular venture [17:47] + tar xz C /var/lib/juju/tools/1.12.0preciseamd64 [17:47] + wget noverbose O https://swift.... [17:47] so what I actually need to know is how to tell whatever is calling wget to say wget --nocheckcertificate ... [17:47] which may just mean hacking over the tarball [17:50] except it's fetching the tarball that is failing. [18:17] g'night all [18:18] g'night [18:19] mgz: is there a way to do a build such that I can copy the juju client and the tools to another computer for testing purposes? [18:20] mgz: I finally have a maas setup, but I can't really get juju to connect to it from my local machine [18:20] maybe that's fixable with some ssh magic, I don't know [18:20] lamont: That related to https://bugs.launchpad.net/juju-core/+bug/1202163 ? [18:20] <_mup_> Bug #1202163: openstack provider should have config option to ignore invalid certs [18:20] jpds_: probably [18:20] * natefinch is not good with teh ssh [18:21] natefinch: you can give sync-tools a directory with stuff in as a param [18:21] and I think I got my mess figured out enough to have ways forward [18:22] natefinch: I recognize that sentence as valid english, but I don't know how to execute on it :) [18:22] mgz: err ^^ === tasdomas_afk is now known as tasdomas === tasdomas is now known as tasdomas_afk [20:23] natefinch: fancy a review? https://codereview.appspot.com/13489044 [20:23] fwereade: ^ [20:23] or anyone else that happens to be around [20:24] natefinch: fairly simple stuff [20:28] rogpeppe: sure [20:28] natefinch: thanks [21:09] rogpeppe: sorry, got a phone call in the middle, and now don't have time to finish, but I can finish in the morning if it still needs it. Sorry :/ [21:09] natefinch: ok, fair enough [21:09] natefinch: if you could publish any comments you already have, that would be great [21:10] rogpeppe: good point.. I don't have much, it was a long phone call [21:10] gotta run [21:11] natefinch: g'night [21:24] rogpeppe: actually, got a reprieve from dinner duties, so I can finish the review [21:44] morning [21:46] thumper: morning. How's your team in the Cup doing? Scoring lots of goalies? [21:46] * natefinch doesn't understand sailing. [21:47] natefinch: oracle won the first race, and the second was called off due to wind limits hit [21:47] next race is tomorrow morning (afternoon SFO time) [21:47] nz needs one more to win [21:47] oracle needs 7 [21:47] thumper: wow [21:47] thumper: ok then [21:47] oracle has fixed their boat now and has a slight speed advantage [21:48] so it makes it interesting [21:48] hey, interesting is better than boring [21:49] friend of mine follows the Cup and was complaining for days about all the races getting cancelled [21:51] thumper: a review for you if you wanna: https://codereview.appspot.com/13489044 [21:52] rogpeppe: I just finished that one up btw [21:53] howdoo [21:56] o/ bigjools [21:57] whelp, I'm outta here [21:57] https://bugs.launchpad.net/juju-core/+bug/1227722 [21:57] night all [21:57] fun [21:57] <_mup_> Bug #1227722: juju uses tools for the wrong architecture when bootstrapping a MAAS node [22:00] bigjools: I blame wallyworld [22:00] thumper: thanks [22:00] I don't know if it is his fault or not [22:00] but [22:00] * thumper shrugs [22:00] rogpeppe: np [22:00] blame schmame. [22:01] it's far too early in the morning for blamestorming [22:01] never too early [22:01] never too early to blame wallyworld? I could get behind that :) [22:02] yep [22:05] wallyworld: plus I am happy because I am off on our road trip tomorrow [22:05] oh yah [22:05] will be great [22:05] brimmed the fuel tank - $200...eek [22:06] i still have another week :-( [22:06] petrol is expensive here [22:06] cheaper than Europe [22:07] should come down a bit, the A$ made ground against US$ lately [22:07] yep :-) [22:07] fwereade: you still around? [22:08] wallyworld, heyhey, yeah, I wanted to chat about your CL, because the last thing I want to do is block you [22:08] fwereade: ok, quick hangout? [22:08] wallyworld, sure [22:08] https://plus.google.com/hangouts/_/d3f48db1cccf0d24b0573a02f3a46f709af109a6 [22:09] wallyworld, you sure that's the link? [22:09] it worked for me [22:09] i'll try another [22:10] wallyworld, https://plus.google.com/hangouts/_/67b33e32c2942787f0aa5076ba1f070cd1203c4c [22:26] fwereade: any reason you aren't landing https://code.launchpad.net/~fwereade/juju-core/prepare-leave-scope/+merge/181065 ? [22:41] ironically a test for synchronization fails [23:05] hmm... [23:05] * thumper is looking at an intermittent test failure [23:13] * thumper tries something... [23:29] * thumper proposes [23:34] wallyworld: I'd like axw to review the branch I'm just proposing [23:34] but you could take a look too if you like [23:35] ok [23:35] it fixes a race condition in a test [23:35] and also writes the test in a more broken up way [23:35] so three tests, not one test that tests three things [23:36] \o/ [23:36] https://codereview.appspot.com/13799043 if you are interested [23:36] looking [23:36] thumper: this is for the 1.15 release if you have a moment https://codereview.appspot.com/13763044 [23:37] sure [23:38] wallyworld: I have the gym shortly, but we should catch up after that to talk about logging [23:38] sounds good [23:38] i have one more branch to write for the release [23:38] then testing [23:38] then tools cleanup [23:38] then release notes [23:42] thumper: those revised tests look nice to me [23:42] thanks [23:42] smaller tests are good [23:42] looking over yours now, but not sure I'll get it finished before gym time :) [23:42] agreed [23:42] np [23:43] i'm cleaning up the mps william looked at, and landing those now