[00:20] waigani: just user IMO [00:20] waigani: because all users are local [00:20] thumper: ok [00:34] thumper: waigani menn0 https://github.com/juju/juju/pull/653 [00:34] if you have a chance [00:34] this is what we discussed on the call [00:35] davecheney: sorry, I haven't had a chance to look yet [00:38] s'ok [00:38] no that urgent, but not that complex either [00:39] davecheney: done [00:39] thanks [00:39] re gofmt [00:39] that's sort of how it comes [00:39] and i'm moving those packages to the top level so that will change the ordering again [00:46] menn0: you were right about gofmt [00:46] fixed [00:48] thumper: the state/api{,server} -> / change is coming next [00:48] davecheney: kk, awesome [00:55] thanks mongo, http://paste.ubuntu.com/8211128/ [01:01] ugh... [01:01] * thumper is starting to really hate the juju/juju/juju package [01:01] back in the day j/j/juju was supposed to be "the" way of connecting to state [01:01] but now we have [01:01] state/api [01:01] and agent/ [01:01] i guess all good things come in threes [01:01] * thumper nods [01:02] j/j/juju needs to die IMO [01:02] i'm the man for that job [01:02] unfortunately I can't kill the method right now [01:02] as restore plugin has decided to use it [01:02] everywhere else is just tests [01:02] for the method I'm looking at [01:02] juju.NewAPIState(environ, api.DialOpts{}) [01:05] hmm [01:05] there is OpenAPIState in another package [01:05] probably few of them [01:05] and testing/OpenAPIAs [01:05] colour me unsurprised [01:05] I am daves complete lack of surprise [01:06] * thumper needs to find some time to write the LXC talk he is giving in about 4.5 hours [01:06] glwt [01:11] thumper: http://godoc.org/github.com/davecheney/graphpkg [01:11] just updated this a little [01:12] so I can see the lay of the land [01:12] you can also use godoc to get a graph of the packages [01:12] but I don't trust it to be up to date [01:13] and dot went to 100% [01:13] :( [01:13] not a good sign [01:15] wallyworld_: I think we have more new flaky test [01:15] http://paste.ubuntu.com/8211272/ [01:16] davecheney: known issue, already in the doc [01:16] cool [01:16] thanks for confirming [01:16] np [01:16] i haven't seen that one before [01:16] you're lucky [01:16] i'm not sure if that means Ineed to look more, or less [01:16] sadly we have a few of those common ones [01:17] but once it's fixed, a several breakages will go away [01:17] it's an odd one [01:17] it's happening in test tear down [01:17] btw, I love the open source community [01:17] https://github.com/davecheney/gmx/issues/2 [01:17] such people skills [01:17] yup, it also can happen elsewhere i think, but teardown is most common [01:18] lol [01:19] i'm a tool [01:19] davecheney: in Launchpad, the various build recipe APIs were wrong for a while because I couldn't spell [01:19] who can't spell gauge [01:19] i thought it was recipie [01:19] wallyworld_: how many i's are there in recipippie ? [01:19] not enough [01:19] imo [01:19] wallyworld_: you're not alone, i have a hard time remembering that recipe isn't spelled, recepit [01:20] fuck [01:20] recepit [01:20] i just can't spell in general [01:20] damn it [01:20] i really cannot spell that word [01:20] or any other that is slightly like it [01:20] without the red underscore I am worthless [01:20] dyslexic much [01:20] me too [01:21] axw: well, i have done my friday test fix early this week - stupid mega watcher test race bit me trying to land some code [01:22] wallyworld_: okey dokey, [01:22] https://github.com/juju/juju/pull/655 [01:22] truly enormouse, entirely mechanical change [01:23] wallyworld_: I think I'm going to do tools catalogue & storage in one [01:23] probably not much bigger of a PR in the end [01:23] whatever is easiest :-) [01:23] i don't mind big pr's sometimes [01:23] wallyworld_: https://github.com/juju/juju/pull/655/files [01:24] I don't think it'll be all that big, we'll see [01:24] 600 files!! [01:24] 600 files changed, +600 lines, -600 lines :( [01:24] davecheney: so just a package move [01:24] sed baby, sed [01:24] yup [01:24] hopefully uncontentious [01:24] yup [01:25] people i talk to think putting the api at the top level makes sense [01:25] i'm +/- on having both api and apiserver at the top level [01:25] i rememver back in the day there was something like [01:25] api/apiserver [01:25] or apisever/api [01:25] but that sounds no better [01:26] davecheney: IMO we should move api out of this repo altogether at some point [01:26] axw: +1 << 32 [01:26] have language-specific API repos [01:26] yes, that was part of the reason for monving api/params to apiserver/params [01:26] cool. [01:27] i'd be keen to see the api (client) move it it's own repo [01:27] but I don't think it is urgent [01:27] ie, it doesn't justify your time to setup another repo and top level build job [01:27] agreed [01:43] davecheney: FWIW the gofmt comment was waigani's, not mine [01:44] prefixed with "super minor point" gofmt -s -d says it should come after [02:11] menn0: right [02:11] sorry [02:11] anyway, it's fixed now [02:19] (╯°□°)╯︵ ┻━┻ [02:19] that's the ticket [02:46] thumper: waigani the current state of play http://godoc.org/github.com/juju/juju/state?import-graph [02:47] hey that's really cool [02:47] hit hide(all) to hide the std lib pacakges [02:47] davecheney: can you generate that but only look at "github.com/juju/juju" ? [02:47] that will make it a bit simpler [02:48] thumper: do you mean the juju/juju package [02:48] or juju/juju/... [02:50] thumper: https://github.com/davecheney/juju/compare/juju:master...davecheney:188-state-clone-state-serving-info?expand=1 [02:50] not ready for review yet [02:50] I think I can reduce the delta a bit more [02:50] but we're still going to have three copies of params.StateServingInfo after this change [02:53] there are also a lot of things which now depend directly on state [02:53] which is not good either [02:55] thumper: ping [02:56] wwitzel3: hey [02:56] whazzup? [02:57] hey, you have a second for a quick hangout, I have some questions about some juju run stuff I've been working on. [02:59] sure [02:59] thumper: I'll go to the Oynx standup one [02:59] ack [03:04] all: juju/mongo is a helper package for setting up and managing mongo servers, right ? [03:06] fixed it: ┬─┬ ノ( ゜-゜ノ) [03:06] so much awesome.. http://vimeo.com/95066828 [03:06] comedy value and distributed systems [03:51] thumper: looking at state/apiserver/client/run.go .. the client.Run method, it calls ParallelExecute which calls ssh.ExecuteCommandOnMachine [03:51] wwitzel3: yeah, that is how the api server calls out to the machines that it needs to call [03:51] wwitzel3: it calls the 'juju-run' command on the other side [03:52] thumper: ahh, ok [04:17] jam: i have an api version question if you're around [04:40] waigani: hmm... [04:40] * thumper thinks of expedience [04:40] vs learning [04:40] bugge [04:40] r [04:41] waigani: the issue I'm having is that you have done things exactly as they have been done before [04:41] the problem is that they way they were done before is kinda crap [04:41] haha [04:41] well, let's do it right [04:41] sure? [04:41] ugh .. no but your call [04:42] * thumper takes a quick look to determine the amount of work [04:42] hangout? [04:43] sure [04:43] waigani: use the standup one === Ursinha is now known as Ursinha-afk [06:11] hazmat: if you haven't already, you should read his columns too. hilarious and educational === urulama-afk is now known as urulama [07:37] morning all [08:04] back and I have internet.... [08:04] currently provided by a 30metre ethernet cable slung into next door... [08:11] morning [08:12] voidspace: hehe, welcome back. troubles with provider switch at least almost solved? [09:15] well, that's 330mb of updates done [09:25] voidspace, have EE given you a better date than 2 weeks? [09:48] mattyw, since you're the OCR along with myself, would you mind taking a look at this trivial fix? https://github.com/juju/juju/pull/659 [09:49] dimitern, looking [09:52] dimitern, done [09:53] dimitern, and thanks for pointing it out, the branch I'll be landing soon had some loggers I needed to rename [09:55] mattyw, cheers! [10:00] mattyw, mail sent\ [10:10] jam, can you take a look at https://github.com/juju/juju/pull/659 as well please? [10:20] dimitern: heya. want to fill me in on what you and markS talked about? [10:20] wallyworld_: /wave [10:20] jam: hi there, just otp, will ping soon [10:21] dimitern: so on https://github.com/juju/juju/pull/659 I'm wondering if we want to change the logging path, since if anyone was filtering theyd have to change their scripts [10:22] dimitern: review [10:22] reviewd [10:27] jam, you mean the prefixes? [10:27] dimitern: the logging prefixes, yes [10:27] but it seems better in the new place anyway [10:28] jam, yeah, and I've sent a mail to juju-dev, just in case someone complains, we can deal with it [10:28] jam, thanks, I'll merge it then [10:33] axw, those are precious.. thanks "A systems programmer will know what to do when society breaks down, because the systems programmer already lives in a world without law." [10:35] although the nosql bane line in the presentation takes the cake for me. bane voice. "let your reads and writes choose their own destiny." :-) [10:37] jam, did you have a chance to try the rudder charm or look at the readme. [10:38] hazmat: I looked through the readme, but I haven't played with it [10:38] its essentially just creating a tunneling network just like you would get installing openvswitch etc on each node [10:39] hazmat: :) [10:40] jam, in a nutshell, but its all coordinating the subnet split to host map without central point of failure and it works in environments that are gre hostile (azure). [10:41] and you don't really need openvswitch to do the point to point gre tunneling. [10:42] fwereade: the UpgradeInfo work is finally up for review. https://github.com/juju/juju/pull/660 [10:46] dimitern: standup? [10:47] jam, omw, sorry [10:52] morning [11:19] menn0, thanks, there is a small chance I will get to it today... [11:20] fwereade: it probably needs someone else to have a look as well given that we're the authors [11:20] fwereade: but it would be good to get your feedback on the change I made since you last looked at it [11:22] * perrito666 discovers new levels of heartburn [11:29] jam: hi, got time for a question? [11:31] wallyworld_: so I'm on the phone now myself, I'm happy to chat in IRC a bit [11:31] sure [11:45] perrito666, morning [11:45] mattyw: morning [11:45] wallyworld_: so what's your question? [11:45] perrito666, I managed to get that auth fails bug again this morning - but I wasn't looking for it when it happens :| [11:45] dimitern: thanks for fixing my fuckup [11:45] it never occred to me about the logger names [11:45] voidspace: http://paste.ubuntu.com/8214743/ [11:45] please consider my suggestion in reply [11:46] i think we can make the default case of the logger less of a footgun [11:46] davecheney: what is the call stack for top level var inits? [11:46] mgz, am I being hated again? https://github.com/juju/juju/pull/562 [11:46] mattyw: I presume you cannot make it happen willingly right? [11:46] jam it will have the package name in it [11:47] all package level vars are initalised by a faux init() function [11:47] bascically one per file [11:47] that is created by the compiler for you [11:47] hang on [11:47] i'll prove it [11:47] perrito666, well I've tried running just a subset of the tests that should show the error and I've got through hundreds of runs with no error. But I've seen it a couple of times during a make check [11:48] jam: so, i have a client api call that i can add params to. when run against older juju, the new params will be ignored. but i'd rather have the client detect what version of the api is running server side and warn the user. it's the EnsureAvailability() api call on client. can we up that one api call to version 2? or does it have to be done at the facade level? [11:48] mattyw: I have the theory that under a decent load on the testing machine you should be able to triggerit [11:48] jam: http://paste.ubuntu.com/8214777/ [11:49] davecheney, no worries :) [11:49] wallyworld_: api versioning is at the Facade level, and I would like us to bump the version if we change anything, even if it is "technically compatible" [11:49] ok, sad that the client facade is sooooo big [11:49] jam: back on freenode - rejoining hangout [11:50] jam: calling Remove on a replicaset is likely to cause primary renegotiation [11:50] jam: (I would expect) [11:50] davecheney, you heading out early on the sprint to hit go eu? [11:50] jam: which is why it would be slow [11:50] wallyworld_: agreed. would it be easier to move EnsureAvailability to a locally clustered API and version *that* one ? [11:50] hazmat: negative [11:50] jam: is the version gets bumped to V2, how will a caller know what methods may be incompatible or not? they won't. [11:50] hazmat: people couldn't get their shit sorted in time [11:50] so I couldn't change my flights [11:51] wallyworld_: they know only about the ones that they are using. So we will still expose v0 for clients that don't know about v2 [11:51] i'm going to dotGo only [11:51] wallyworld_: but no, we don't have WADL sort of thing so that you can programattically say "oh, v2 is exactly like v0 except for here" [11:51] davecheney, ugh. bummer. i was thinking of coming in for the day from brussels just to check it out. [11:51] hazmat: i wouldn't say no [11:51] jam: i could introduce a new facade. it makes sense that all apis on a facade should be bumped together [11:51] i'm going to be in paris from the 9th til the 12th [11:52] wallyworld_: you've already been part of the great Client breakup [11:52] Keyserver et al [11:52] jam: yes indeed, i was going to use the same technique [11:53] wallyworld_: just to mention, that all new facades should start at V1, as v0 is intended to be the version that was in 1.18 [11:53] jam: is there sample code that shows how to set up a new api version? point me where to look? [11:54] i guess there's a version number registered somewhere [11:54] wallyworld_: so just creating a new one is easy [11:54] the line of Register() [11:54] takes a 1 instead of a 0 [11:54] ok, ta [11:55] wallyworld_: the client side code needs to check what the supported version of the API is, and then fall back to the Client facade if it can't get to the new facade [11:55] how do it do that? in this case it doesn't matter as the new fascade will be there or not, but in general? [11:58] wallyworld_: Facade.BestAPIVersion() [11:58] thanks [11:59] jam: I think I'm back again, lost the hangout though *sigh* - really sorry [11:59] :) [12:01] TheMue: can you help wallyworld_ find the right API docs to figure out how to properly introduce a new Facade version? [12:01] jam: TheMue: in standup, will check back soon [12:01] I feel like we've documented all this, but I'm not finding the docs in our source tere. [12:01] tree. [12:03] wallyworld_: so there is a bit of "must be careful" here, I believe, which maybe we can make better. But for a Facade that didn't exist in 1.18, then "BestAPIVersion()" should return 0, which we "know" didn't exist, so your client code can tell that it should use the other facade. [12:04] It is also possible that the new client layer could do the transition without the cmd/juju stuff caring. [12:04] so we would have api/statemanagement/statemanagement.go [12:04] and that would embed a FacadeCaller for your new StateManagement facade [12:04] and it could have EnsureAvailability() on it [12:04] which internally would check [12:05] if self.BestAPIVersion() == 0 { // switch to old interface: [12:07] wallyworld_: back from lunch, ping me when available too [12:07] jam: I don't have the wireless router connected at all now, and my connection is via a switch [12:07] but you're still only either or? [12:10] mfoord: either IRC or Hangout, but never both... :) [12:12] jam: it still looks like my connection is being broken every minute [12:12] jam: I've emailed you [12:13] jam: I can browse and use email fine but both freenode and hangouts hate me [12:13] jam: I *have* to get IRC working as a very minimum [12:13] voidspace: yeah [12:13] I emailed you [12:13] good luck sorting it out [12:13] I'm close to EOD anyway [12:15] voidspace: it seems to be calling c.stopNow() which is fundamentally calling runtime.Goexit() [12:15] which certainly seems like it should be exiting ungracefully [12:16] voidspace: ah, goexit is just this goroutine [12:16] jam: looking at the traceback [12:16] eg, kill this thread, not kill this process [12:17] jam: so Remove didn't used to be an attemptLoop - but that was unreliable too because Remove *needs* to be an attemptLoop (for the same reason that the other operations do) [12:17] jam: we probably don't want Remove to be in a defer [12:17] voidspace: it doesn't help the traceback that we defer a func() that calls a function that takes a func() [12:17] right... [12:18] jam: we could just not defer those removes and do them at the end, that would simplify [12:19] jam: that function isn't used outside of those two tests I don't think - so it shouldn't matter (?) if a test fails and we don't call remove [12:19] voidspace: I wonder if we want to Remove at all [12:19] we'll clean up the replicaset anyway [12:19] I would think changing the test to just nuke everything would be cleaner [12:19] jam: well, it is "assertAddRemoveSet" [12:19] voidspace: so *those* Remove calls are just "cleanup what I set up" [12:19] because they are in defer [12:19] there is a call on line 241 [12:19] they are, but the test name implies we want to test that Remove works [12:19] that is the actual testing of Remove working [12:20] ah [12:20] TheMue: hi. i can read the code to see how to bump up an api version, or are there docs i can read? [12:20] that may also be the flakiness [12:20] voidspace: if we get an error, and the replicaset is in a bad state [12:20] and then we hammer it with "remove them one by one" [12:20] while I'm destroying some of them [12:20] I imagine it isn't happy with that [12:21] the tests setup a new replicaset every time - so perhaps we don't need those defered removes at all [12:21] as we call Destroy immediately after [12:21] voidspace: The only reason we *might* is if we wanted to not have to set up the Root to be shared between tests or something like that [12:21] but I have the feeling, we're better off *for the replicaset tests* to start and return to scratch each time [12:22] I know we share the DB between tests when we can, just calling Drop Databases in TestTearDown [12:22] but I don't think we need to do that here. [12:23] wallyworld_: do you know jams doc on Google? [12:23] jam: TearDownTest calls root.Destroy() [12:23] jam: and in the IPV6 suite we explicitly call Destroy ourselves [12:23] TheMue: i don't think so. i may have got an email at one point but can't recall now [12:24] TheMue: probably not. as the goal was to get them somewhere in the source tree/on juju.ubuntu.com and I think those never got finished [12:24] jam: so I don't think that's a concern [12:24] voidspace: right, so that is just the root, but yeah, we should just be clearer that we call Instance.Destroy() on everything and not try to Remove them down the stack [12:24] because cleaning up a Mongo Cluster by removing one, killing it, removing one, killing it [12:24] is likely to just cause us more pain that we need to be testing. [12:25] jam, wallyworld_: ah, ok. a part of it is here: https://github.com/TheMue/juju/blob/api-implementation-guide/doc/design/juju-api-implementation-guide.md [12:25] jam: we also defer the Destroy on the members [12:25] TheMue: thanks, will read that [12:25] jam: I only wait to get my current experiences with new facades into it too [12:26] wallyworld_: I'm currently writing some code helping to test the client side when the server side not yet has the newest version [12:26] ok, sounds good [12:26] TheMue: sure, so just share it as we can, and we should get it published soon. better to have something for reference. [12:27] jam: yep [12:27] even if it isn't 100% complete, as long as it isn't *incorrect* [12:38] jam: i need to be able to run ensure-availability with a placement directive to have a specified machine become a state server, not just any old new one. the guys are happy to pass in either a machine number or maas name (like in --to for add-unit). This will require either converting a HostUnits machine to a ManageEnvirons machine, since add-machine creates HostUnits machine, or 2. adding an option to add-machine to create a [12:38] ManageEnvirons machine which does not participate until activated. pros and cons to both. maybe there's a 3rd option. i think 1 may be most flexible. update machine jobs in state; a watcher in machine agent notices, updates agent conf to record the manageenviron job, then restarts machine agent. but i'm not fully across all of the HA mechanics so i'm not sure what else needs to be done. do you have any thoughts or should i ask nate [12:38] or william? [12:39] wallyworld_: what has never been clear from a MaaS guys is why they need to add-machine first [12:39] I realize they want to control locations [12:40] jam: this is landscape guys [12:40] and maybe there is a problem that they need to specify 2 machines [12:40] wallyworld_: sure, but its on MaaS [12:40] yes, >1 will be needed [12:40] --to foo,bar [12:40] wallyworld_: hey regarding https://github.com/juju/juju/pull/630/files#r16968425 [12:40] they want this machine right here to be the state server, not any other one [12:40] voidspace: lost you again ? [12:41] wallyworld_: will the updated config be persisted to environments.yaml making the change permanent? [12:41] wallyworld_: sure, I'm just wonderign why we need to "add-machine" first [12:41] can't we just "juju ensure-availability --??? maas-name:A,maas-name:B" [12:41] katco: it will get written to jenv, becoming permanent [12:41] wallyworld_: ahh ok. ty [12:42] jam: we could i guess, but that will be a bit of work, since we won't have run cloud init to set stuff up [12:42] wallyworld_: ? [12:43] wallyworld_: the point is that we can have ensure-availability still allocating machines, just give them the knob to say what machine [12:44] add-machine boots a machine and runs cloud init to set up the tools, agent config etc. if we don't do that and ensure-availability to an arbitrary machine, that machine still has to then be set up to run juju [12:44] wallyworld_: presumably they had a knob available on "add-machine" so that they could decide what that exact machine was [12:44] and couldn't we supply it on ensure-availability? [12:44] ah, i think the add-machine knob was to specify ssh: [12:45] that would take an existing machine and put juju on it [12:46] so i guess if we did juju ensure-availability --to maas-name:A,maas-name:B then that would have to ssh in and set up juju [12:47] wallyworld_: the idea is that they are manually provisioning with ssh? [12:47] "juju add-machine ssh:foo@bar" / [12:47] I thought they were just doing "juju add-machine" but with maas-name [12:47] to pick an explicit machine to proviison [12:47] provision [12:47] they want to use whatever they use with add-unit [12:47] add-unit --to blah [12:47] wallyworld_: add-unit or add-machine ? [12:47] same syntax as for add-unit [12:48] wallyworld_: AFAIK you can't add-unit to a manually provisioned machine [12:48] so a machine number or mass name, right? [12:48] wallyworld_: right, but that just requests a machine from the Provisioner, which lets us set up everything in cloud-init. [12:48] wallyworld_: now... I *hope* all of the EnsureMongoServer stuff has gotten done correctly so we can create a state server late [12:48] rather than only at cloud-init time. [12:49] So I'd be *happy* if "juju ensure-availability --to 1" worked correctly. But For what they're doing what they need is [12:49] "juju ensure-availability --to maas-name:A" [12:49] how does mass-name placement directive work then? does that assume a virgin maas machine? [12:49] not "juju ensure-availability --to 1" (I think) [12:49] wallyworld_: like tags [12:49] wallyworld_: each machine just has a unique name [12:50] with tags, that assumes that a maas machine is not running, but tagged in maas, and so is then booted with cloud init etc? [12:50] wallyworld_: right, same with maas-name [12:50] maas-name is a Provisioning constraint (placement directive) [12:51] give me a machine that fits this description [12:51] which happens to uniquely address one machine ever [12:51] ok, so "juju ensure-availability --to maas-name:A" would be like add-machine but setting it up to run a state server etc [12:51] wallyworld_: so... I'd like "juju ensure-availability --to 1,2" to work. But I'd really like to understand what Landscape is trying to do, as I feel that them doing "juju add-machine" first is actually bad practice [12:51] rather than host units [12:52] wallyworld_: (I think everything still gets host units, but it would also get JobManageEnviron) [12:52] yep [12:52] i think we can tell them what best practice is [12:52] i think not using add-machine is the right way to go [12:53] wallyworld_: I certainly understand their desire to say "ensure-availability and put it exactly here" [12:53] And we want to definitely support that case. [12:53] And ideally we could turn a machine into a proper state server late. [12:53] You'd have to try it/check with nate to see if it might work today [12:54] because we *shouldn't* be setting all that stuff in cloud-init now [12:54] but doing it as part of EnsureMongoServer [12:54] mgz, ping? [12:54] that sounds right [12:56] * fwereade has a doctor's appointment and may be gone for the rest of the afternoon, but will be back in the evening sometime [12:56] fwereade: just ask him to warm his hands first [12:56] and use gloves [13:00] wallyworld_, are you able to help solve problems with the landing bot? [13:00] wallyworld_, my branch isn't being picked up https://github.com/juju/juju/pull/562 [13:01] mattyw: i may not have login credentials to jenkins handy, i'll have a look [13:02] wallyworld_, thanks [13:10] jam: ping [13:10] voidspace: / [13:10] I'm here for now... [13:10] voidspace: sure, I'm just in the next meeting now [13:10] jam: ah, ok [13:11] I'm getting 12mbp downstream but can't connect to google hangouts [13:11] voidspace: I'm usually EOD now, but I have a meeting with markr today [13:11] jam: I'll create a PR with those extra Removes removed [13:11] and look at GetStatus [13:11] sounds good, just test it a bit as well [13:11] ok [13:12] mattyw: i can't seem to ssh in to the slave to look, you'll have to ask mgz sorry [13:21] voidspace: well maybe if you stopped streaming 12mbps of youtube videos your google hangouts would be more stable :) [13:23] does api server returning non json results ring a bell to anyone.. (1.20.5-1.20.6) https://bugs.launchpad.net/juju-deployer/+bug/1364375 [13:23] Bug #1364375: TypeError: expected string or buffer [13:35] wwitzel3: ping about cloud-sigma reviews [13:35] I know you mentioned you've been doing some, but I'm wondering if I'm missing the comments somewhere [13:42] sinzui, ping? [13:43] hi mattyw === ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Open critical bugs: 1348477 [13:50] jam: no, you aren't missing them, I've only got my comments published for two of the PRs. I will get them published for #173 and #172 today. === Ursinha-afk is now known as Ursinha [13:56] wwitzel3: how are you managing to delay publishing them, writing them somewhere else? [13:57] jam: yeah, I've been doing most of the review locally since i'm trying to use the amazon and azure provider as examples. [13:57] jam: then I just take then and add them all to github at the same time [14:01] natefinch, perrito666, wwitzel3: standup? [14:02] jam: I'm still feeling like I'm not reviewing this correctly though. I feel like there is some bigger picture I am supposed to be aware of, but I'm just reviewing usage and ensuring common idioms. [14:03] jam: yeah, my notes for 172 are done, I will publish those right after standup and you can take a look. [14:04] here === ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Open critical bugs: 1348477 1364410 [14:07] ericsnow, wwitzel3, perrito666: trying to join... google is defying me [14:07] ericsnow, wwitzel3, perrito666: chrome has been a bitch since it updated this morning. [14:08] natefinch: different browser? [14:20] sinzui, i'm going to take a look at LP: #1348477, since I'm already set up with access to a power machine [14:20] Bug #1348477: userAuthenticatorSuite.TearDown failure [14:20] would latest master branch be a good place to start? [14:20] thank you cmars...i think mattyw was saw it [14:21] sinzui, we're going to work together [14:21] sinzui, for moral support [14:26] mattyw, perrito666, natefinch, what's that windows PR that needs reviewing? [14:27] dimitern, which one? [14:27] mattyw, something about logging? not sure.. [14:27] mattyw, alexisb asked me to take a look as OCR [14:27] dimitern, #652? [14:27] mattyw, could be - looking [14:32] jam: also I just realized that my client review ended up on the environinstance review. Guess that is a problem with doing them offline and then adding them. === ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Open critical bugs: 1348477 1364410 1364438 === hatch__ is now known as hatch [15:12] wwitzel3: ping [15:13] voidspace: pong [15:17] evilnick: i understand you're the guy to talk to regarding juju documentation! please see https://github.com/juju/docs/pull/155 :) [15:45] No wonder this test was passing every time no matter what I did to it [15:45] "OK: 0 passed" [15:45] gocheck takes a regex pattern not a glob... [16:16] katco, okay! thanks! [16:24] katco, that all sounds very terrifying, thanks [16:24] evilnick: lol [16:24] evilnick: the evil you know... etc. :) [16:25] katco, *I* am the evil I know. But yeah. I might have to put some sort of warning for those of a nervous disposition on those docs [16:26] evilnick: https://github.com/juju/juju/pull/630/files#diff-7f2ac2b013ef527684140a73c9773b54R110 [16:27] katco :) [16:28] evilnick: halloween isn't far away either. we could do a special on juju and "how the repear harvests" ;) [16:53] perrito666, ping? === urulama is now known as urulama-afk [16:54] mattyw: pong === ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Open critical bugs: 1348477 1364410 1364438 1359837 [17:32] ericsnow: can we move our 1:1 back another half hour? I just got back and need to do a few things first [17:32] natefinch: sure [17:47] wwitzel3, ping? [17:50] mattyw: pong [17:51] wwitzel3, I'm not sure how much you know about the presence watcher. I want to know if there's a reason why it uses mgo.Collection rather than taking a session and opening/closing it as needed [17:53] wwitzel3, actually - I just noticed it does session.copy [17:55] mattyw: ok, I was going to say no I don't know why, so my response wasn't going to be very helpful [17:55] wwitzel3, ok no problem [17:55] mattyw: yeah, that ping method copies the session, no sure why specifically [17:56] mattyw: actually looks like the prepare method does as well, maybe others [17:56] wwitzel3, looks like a few of them [17:56] mattyw: yeah looks like most of them do [17:56] wwitzel3, I'm looking into https://bugs.launchpad.net/juju-core/+bug/1348477 with cmars and it appears that it's the presence watcher that is returning the error in some cases [17:56] Bug #1348477: userAuthenticatorSuite.TearDown failure [17:59] mattyw: ahh, interesting [18:00] natefinch: ready? [18:01] ericsnow: yep [18:01] katco, well, I think we have the trick sorted. not sure about the treat. [18:48] i'm having a gccgo toolchain issue on ppc64el and opened a bug, https://bugs.launchpad.net/ubuntu/+source/gccgo-go/+bug/1364562 [18:48] Bug #1364562: Intermittent go test crashes on ppc64el [18:49] anyone experienced this? where should I look for support (if any is available)? [18:53] cmars, I always start with dave cheney [18:53] cmars, do you know if this is a known gcc-go toolchain issue? [18:54] there are a few out there we seem to always hit [18:54] alexisb, will try to find out [18:54] cmars, this one seems to come up a lot: [18:54] https://bugs.launchpad.net/ubuntu/+source/gccgo-4.9/+bug/1362906 [18:54] Bug #1362906: internal compiler error: in comparison, at go/gofrontend/expressions.cc:6508 Trusty):Invalid> [18:55] alexisb, yep, that one bit us last week. this one's weird, its as if the 'go test' command itself has the issue [18:55] ok [20:04] davecheney, good morning, I have a gccgo question for you [20:05] i keep seeing these nil pointer refs and segfaults on ppc64el, https://bugs.launchpad.net/ubuntu/+source/gccgo-go/+bug/1364562 [20:05] Bug #1364562: Intermittent go test crashes on ppc64el [20:05] known issue? any advice? [20:20] cmars: sorry mate [20:20] had to cloes that bug [20:20] i dunno where you got that compiler from but it's to old [20:20] davecheney, what should I use then? [20:21] cmars: can I ask a different question [20:21] how did you hit this bug ? [20:22] mattyw and I were pairing on reviews, and it was raised by QA [20:22] we were looking at https://bugs.launchpad.net/juju-core/+bug/1348477 [20:22] Bug #1348477: userAuthenticatorSuite.TearDown failure [20:23] so i apt-get install gccgo-go, rsync over a snapshot of master (because no github access in the lab) and then go test is falling all over the place [20:24] cmars: yes that is because the compiler fix has not landed in main [20:24] ack [20:24] i wish I could explain why [20:24] just stear clear of gccgo bugs [20:24] they need special care and attention to repro [20:24] that bug isn't ppc64 related [20:24] take the ppc tag off it [20:25] yup, all those failures are the "known failures" that wallyworld_ is tracing [20:25] tracking [20:25] ah, oh [20:25] ok [20:46] gsamfira, ping [20:46] hazmat: pong [20:47] gsamfira, sweet [20:47] gsamfira, i was wondering about maybe getting juju to work on debian.. and figured your the right person to ask ;-) [20:47] cmars: thanks for fixing the tag on that bug [20:47] as you saw, it's one of our known failures, which ian logged on the 25th of july [20:48] debian should be easy :). All you need to fix up is the userdata :) [20:48] the rest is almost identical [20:48] i can't speak for sinzui but I think there is a general agreement that those bugs are not build blockers [20:48] for whatever value of living with broken windows you choose [20:48] hazmat: namely, making sure that you add proper repos before doing the apt-get install bits [20:49] gsamfira, juju has a few hardcodes around the distro series detections bits [20:49] hazmat: and of course creating the repos for the bits you need :) [20:49] gsamfira, nothing really needed re repos afaics, package names are all the same [20:50] hazmat: yes. Correct. But that should be easy to code. If it was easy for windows, debian should be 20 mins work :). Look in version/osversion.go [20:50] gsamfira, i thought you might have already done the basics around centos [20:50] windows is different enough that its a separate path through alot of the base, where as linux variants remove distro assumptions [20:50] hazmat: not yet. Merging the windows support took longer then expected. [20:51] hazmat: off the top of my head, for os detection: https://github.com/juju/juju/blob/master/version/supportedseries.go#L28 [20:52] osversion_linux.go should work for debian as well [20:52] gsamfira, aha.. yeah. thats what i wanted [20:52] thanks [20:52] * hazmat hacks [20:53] hazmat: you are welcome. I remember juju having to add a few repos on older versions of ubuntu to get up to date packages [20:53] davecheney, which bugs? [20:53] gsamfira, yeah.. only on precise.. for mongo [20:53] also, for MaaS you need to enable debian as a supported OS [20:53] sinzui: the list that wallyworld_ is curating [20:53] hazmat: talk to Blake Rouse, or Andreas about any plans to do so [20:53] gsamfira, yeah.. they have user uploaded images in maas now.. its basically a masquerade there [20:54] sinzui: https://docs.google.com/a/canonical.com/document/d/1k6o9yBzlJeRdaSuH3ZgPcdhL7SzhS2Ws7wDKSN99fAU/edit [20:54] well maas 1.7 [20:54] look ma, not on LP :) [20:54] gsamfira, targeting gce atm though not maas, but yeah.. i had this discussion with them as well ;-) [20:54] hazmat: awesome :D [20:54] davecheney, right, they are not release blockers. I am happy to defer them to a future release to deliver goodness to people sooner [20:54] hazmat: debian should be quick and easy to add [20:55] hazmat: centos will require a bit of abstraction on package management, and an updated cloud-init package. [20:55] hazmat: they still have an outdated package from the paleolithic [20:55] davecheney, But I am happy to discuss the essential definition of 1.21.0 If stakeholders wont use it because they want something on that list...I think we will require the issue to be resilved [20:56] gsamfira, i'm trying with manual provider to get started [20:56] skip the cloud init bits.. [20:57] sinzui: cool [20:57] hazmat: https://github.com/juju/juju/blob/master/version/supportedseries.go#L17 and https://github.com/juju/juju/blob/master/version/supportedseries.go#L75 might interest you as well [20:57] i don't want to be part of that discussion [20:57] only trying to help cmars [20:57] happy hacking :D [20:58] hazmat: looking forward to seeing debian work :D [21:05] interesting... [21:05] _thumper_, waigani: morning [21:06] juju upgrade juju -> error message can't upload charm http://pastebin.ubuntu.com/8218255/ silly [21:09] argh.. cpu-checker [21:09] so not needed.. its line two lines of shell script to check for kvm support in /proc/cpuinfo output [21:09] its like [21:10] hazmat, ping [21:33] Hello juju-dev I am having a tools problem with 1.20.6 and I was hoping someone could have a look at the bug https://bugs.launchpad.net/juju-core/+bug/1364631 [21:33] Bug #1364631: juju fails to find matching tools [21:33] It may _look_ like a dupe of https://bugs.launchpad.net/juju-core/+bug/1309805 but I do not believe it is. [21:33] Bug #1309805: LXC / Local provider machines do not boot without default-series [21:39] mbruzek, I doubt the issue relates to the bug. What is your tools-metadata-url set to? Are you are a private network? [21:39] mbruzek, There was a subtle change to the rules for locating tools in 1.20.6. The command line didn't change to prevent regressions, but the rules certainly are different [21:39] sinzui, I have no tools-metadata-url set in environments.yaml for local and not on a private network this is my laptop [21:40] mbruzek, very interesting, do you see the trusty precise tools being uploaded when you first bootstrap? [21:40] sinzui, I do I also have a pastebin of the bootstrap with --debug [21:41] http://paste.ubuntu.com/8218239/ [21:42] mbruzek, thanks I was going to ask about that. So bootstrap confirms the tools were uploaded and the metadata was generated [21:43] mbruzek, is it the deployments that didn't find tools? [21:44] sinzui, it looks to me like the tools are found and downloaded, but never found by the machines. I can not deploy cs:precise/ubuntu [21:45] mbruzek, We need the cloud-init-output.log from machine-1 [21:46] sinzui, sure, looking for that now... [21:47] mbruzek, I did this today but lost the command to copy that file from the container to $HOME to read it before it is destroyed [21:48] /home/mbruzek/.juju/local/cloud-init-output.log [21:48] Is that the one you are looking for? [21:48] no [21:50] mbruzek, we need to log from the actual container that failed, not your localhost (state-server) [21:50] mbruzek, I did something like this today after I saw the status of a container say there was an error [21:50] sudo cp /var/lib/lxc/jenkins-local-precise-utopic-amd64-machine-1/rootfs/var/log/cloud-init-output.log ./ [21:50] sinzui, I can not juju ssh to those machines to get it. [21:51] mbruzek, you can always ssh to the machines juju created even when jujud isn't installed. juju provisions with your keys so you just ssh to the ip address [21:52] sinzui, The machines do not have an IP address they are in a pending state [21:56] mbruzek, sudo lxc-ls --fancy will always show the truth [21:57] mbruzek, juju often claims it cannot create machines/containers because the jujud didn't report...but lots of things happen before jujud is downloaded as a tool [21:57] http://pastebin.ubuntu.com/8218539/ [21:58] mbruzek, that isn't a tools error. you cannot get a tools error without a machine. what is juju status showing? [21:59] sinzui, http://pastebin.ubuntu.com/8218548/ [21:59] juju status is reporting "no matching tools available" [22:00] mbruzek, I award you a gold star for finding a awesome cryptic bug [22:01] * mbruzek bows [22:01] mbruzek, you are on trusty deploying a precise charm right? [22:01] <_thumper_> o/ [22:01] sinzui, yes. === _thumper_ is now known as thumper [22:01] sinzui, you can see that I tried to deploy precise first and then trusty. [22:02] mbruzek, did you set default-series in environments.yaml? [22:02] It *was* set when I reported the bug, but I suspected that was an issue so I removed default-series for this particular bootstrap [22:03] sinzui, I will add it again but charms will not deploy [22:03] mbruzek, I am just looking for differences between my own setup. I am trusty with default-series of trusty [22:04] thumper: the Action field in ModifyUsersStruct, where are we using that? [22:04] sinzui, I am setting default-series, do you want me to set it to trusty or precise? [22:04] mbruzek, trusty [22:04] waigani: we should be using that in the server side, check that the action = 'add' and error if it doesn't with 'unknown action' [22:05] waigani: the idea being that we'll implement 'remove' [22:06] thumper: but isn't the action determined by the function called: ShareEnvironment would always add a user, so what value does the check have in there? [22:07] waigani: the current client api will always add to the server api [22:07] waigani: we will add another client api that calls the same server api with a different action [22:07] the server api stays the same [22:07] but gains another action [22:07] does that make sense? [22:08] sinzui, http://pastebin.ubuntu.com/8218617/ [22:08] thumper: what do the cmds look like? [22:08] what commands? [22:08] juju ? [22:08] we haven't decided yet [22:08] e.g. juju share add user@pro [22:08] no [22:08] juju share user@pro user2@pro [22:08] perhaps... [22:08] juju share --remove user@pro [22:08] ah [22:09] default is to share with someone [22:09] but we need to allow removal [22:09] so that is why we need the actions [22:09] yes [22:09] got it [22:09] there will be two different client api calls [22:09] or... [22:09] maybe later, one call [22:09] with an action option [22:10] but the server needs to support the action [22:10] as that is the bit that shouldn't change [22:10] should I make the actions consts and where should they live? [22:10] apiserver code [22:10] ok [22:10] with the params [22:10] right [22:10] consts are preferred but not essential [22:11] iotas ? [22:11] cmars: around? [22:11] no, strings [22:11] ok [22:11] "add", "remove" [22:11] better for understanding the wire protocol [22:11] thumper, here [22:11] makes sense, going over the wire [22:11] cmars: are we meeting today? [22:12] thumper, we are. thought it was monday, sorry [22:12] :) [22:14] mbruzek, I am trying juju sync-tools to change the tools in the env, if that works, then we know something more [22:14] mbruzek, oh! [22:15] sinzui, ? [22:15] before you try sync-tools, pastebin a copy of ~/.juju/local/storage/tools/streams/v1/com.ubuntu.juju\:released\:tools.json [22:16] mbruzek, this is mine: http://pastebin.ubuntu.com/8218656/ [22:17] mbruzek, sync-tools is not fast :( It will pull down about 8 tools for precise and trusty [22:18] http://paste.ubuntu.com/8218657/ [22:18] mbruzek, that looks fine to me [22:19] sinzui, Looking at the diff of those 2, looks very similar to me. [22:22] sinzui: mbruzek: i haven't read all the backscroll in detail. 1. you have found a tools bug? 2. if you want to juju ssh into a local provider lxc instance, you need to use sudo ssh or else you get a permission denied error [22:23] wallyworld_, I just updated the bug https://bugs.launchpad.net/juju-core/+bug/1364631 [22:23] Bug #1364631: juju fails to find matching tools [22:23] wallyworld_, I don't think my lxc instances are coming up. [22:24] sinzui, thanks for the update [22:24] wallyworld_, I believe I have found a tools related bug. I can not deploy and it looks to be tool related. [22:25] mbruzek, It took me 15 minutes to sync-tools. I forgot that it would download utopic too. I wonder if matching tools were found after you had the non .1 versions [22:25] sinzui, I have not yet synced would you like me to? [22:25] sinzui: mbruzek: i can retest with 1.20 trunk, but last time i tried it last week, there were no issues that i know of. so i'm sad if there's a new problm :-( [22:25] mbruzek, Lp is timing out. I am trying to set the bug to 1.21-alpha1 with a suggestion to backport to 1.20.7 [22:26] sinzui: mbruzek: there is a potential issue in trunk because of aria2 not being found - that is going to be reverted [22:26] that issue will cause the lxc container to come up but tools copy into the container to fail [22:27] wallyworld_, I have been using 1.20.6 all day, and I cannot reproduce it myself. I even did this same kind of deployment this morning [22:27] :-( that will make it hard to fix [22:27] wallyworld_, failure to download tools means we get a machine and a nice log. [22:27] so we will need all the logs from /var/lib/juju/containers [22:28] let's get these attached to the bug if possible [22:29] mbruzek, does this show anything interesting about deploy: juju debug-log -l ERROR --replay [22:29] mbruzek, or just attach the .juju/local/log/all-machines.log to the bug [22:29] OK. [22:30] and the /var/lib/juju/containers logs [22:30] ^^^^ these are important as they container cloud init data [22:30] contain [22:30] wallyworld_, there is no cloud init because there were not tools selected [22:30] wallyworld_, that path contains 4 directories, which files do you want from there? [22:31] wallyworld_, sudo lxc-ls --fancy shows no containers being created [22:31] mbruzek: all of them if possible, in tar.gz [22:31] http://pastebin.ubuntu.com/8218736/ [22:31] sinzui: oh, ok. so it's failing really early [22:31] wallyworld_, mbruzek /var/lib/juju/containers The four containers are the new and old template containers I think [22:31] mbruzek: ok, just the ones with lxc [22:32] the ones without are the old directories and can be deleted [22:36] wallyworld_, uploaded to https://bugs.launchpad.net/juju-core/+bug/1364631 [22:36] Bug #1364631: juju fails to find matching tools [22:36] mbruzek: ty. can you also include all-machines.log [22:36] wallyworld_, on it [22:36] ty [22:37] done. [22:40] sinzui, your command shows only 2 lines [22:40] machine-0: 2014-09-02 22:05:47 ERROR juju.worker runner.go:218 exited "api": unable to connect to "wss://localhost:17070/" [22:40] machine-0: 2014-09-02 22:06:20 ERROR juju.provisioner provisioner_task.go:418 cannot find tools for machine "1": no matching tools available [22:42] mbruzek, and that one extra line is the difference from me. [22:42] sinzui, you mentioned that you saw this problem earlier today? [22:43] mbruzek, no, I have never seen this problem [22:43] I have done deployments exactly like yours today without incident [22:44] mbruzek: can you please upload your ~/.juju/local/storage/tools ? [22:45] so we can see what tools and metadata were generated at bootstrap [22:47] wallyworld_, it is in the pastbin I added to the bug [22:47] ok, ta, looking [22:48] wallyworld_, mbruzek , but I didn't ask to confirm the tools were there and readable. We just verified http://paste.ubuntu.com/8218657/ [22:48] looking [22:50] everything looks readable by mbruzek [22:50] mbruzek: sinzui: that pastebin is the products file, if there the index file also? [22:50] it's the index file that appears to be the problem [22:51] $ ls -l streams/v1/ [22:51] total 8 [22:51] -rw------- 1 mbruzek mbruzek 1671 Sep 2 17:05 com.ubuntu.juju:released:tools.json [22:51] -rw------- 1 mbruzek mbruzek 498 Sep 2 17:05 index.json [22:51] wallyworld_, do you need to see index.json? [22:51] yup [22:51] that's what the error message in machines.og refers to [22:52] http://paste.ubuntu.com/8218852/ [22:52] hmmm, looks ok [22:52] wait [22:53] fetchData failed for "http://10.0.3.1:8040/tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found [22:53] the file is named index.json [22:53] typo? [22:54] or is that just a different file? [22:56] mbruzek: no, it first looks for the sjosn version [22:56] so that's ok [22:56] OK [22:56] mbruzek: can get fetch http://10.0.3.1:8040/tools/streams/v1/index.json ? [22:57] subst localhost for 10.0.3.1 [22:57] the sjson is signed json metadata [22:58] $ wget https://localhost:8040/tools/streams/v1/index.json [22:58] --2014-09-02 17:57:47-- https://localhost:8040/tools/streams/v1/index.json [22:58] Resolving localhost (localhost)... 127.0.0.1 [22:58] Connecting to localhost (localhost)|127.0.0.1|:8040... failed: Connection refused. [22:58] we use signed json on the official simplestreams website [22:58] do you still have your local provider running? [22:58] or have you destoyed it? [22:58] still running [22:58] hmm, maybe you need to leave the 10.0.3.1 [22:59] i'm just curious as to what data is actually served up [22:59] just to rule out it is not providing different data to what we think [23:00] wallyworld_, mbruzek NO ONE NEEDS sjson, None of us have keys to sign it [23:01] only streams.canonical.com gets signed metadata [23:01] yep [23:01] wallyworld_, leaving 10.0.3.1 worked [23:01] http://paste.ubuntu.com/8218897/ [23:02] mbruzek, I thought you were on local host [23:02] mbruzek: there's the problem [23:02] why does it say ppc64? [23:02] exactly [23:02] sinzui, I AM on the local provider on my intel laptop [23:02] it's generating tools metadata for ppc64 [23:02] mbruzek, your bug gets more awesome by the hour [23:03] mbruzek: your local laptop isn't ppc64 is it? :-) [23:03] no it is not [23:03] not that i think it is [23:04] what would cause the arch to be incorrect. [23:04] ? [23:04] well, now we know why it can't find tools, just have to fogure out how the fark it's generating ppc64 metadata [23:04] don't know right now, i'll do a little digging in the code [23:05] wallyworld_, OK. [23:05] wallyworld_, mbruzek is one of the few people who can develop on ppc64, Is there a backdoor to select arch that mbruzek could have tripped in his shell env? [23:06] mbruzek, I if you run sync-tools, then return in 30 minutes, you will have every tool and I suspect you can deploy. [23:07] something is making juju think it needs ppc64 tools [23:07] wallyworld_, do you want me to do that? Will that provide anything useful for your debug? [23:07] not straight away [23:07] sinzui, I dumped my env vars and grepped for ppc [23:08] let me first check to see how juju gets the arch it thinks it needs [23:08] well I think uname -p says what we expect to be selected [23:08] $ uname -p [23:08] x86_64 [23:08] yes, that's what i think too, but something else must be happening [23:08] i can't think of why it then writes ppc64 [23:19] mbruzek: when possible, i'd love to see a copy of the output when you "juju bootstrap --debug --show-log" [23:19] that will contain the info needed to delve deeper into this [23:19] to see where the tools are getting generated [23:22] mbruzek: also a listing of the ~/.juju/local/storage/tools/releases directory [23:23] mbruzek@workhorse:~/.juju/local/storage/tools/releases$ ls -l [23:23] total 16008 [23:23] -rw------- 1 mbruzek mbruzek 8195954 Sep 2 17:05 juju-1.20.6.1-precise-amd64.tgz [23:23] -rw------- 1 mbruzek mbruzek 8195954 Sep 2 17:05 juju-1.20.6.1-trusty-amd64.tgz [23:24] Let me destroy the environment and get that for you [23:26] http://paste.ubuntu.com/8219045/ [23:27] thank you [23:27] ~$ juju bootstrap --debug --show-log -e local 2>&1 | tee juju_bootstrap_4.txt [23:27] That is how I ran it [23:28] mbruzek: that log appears to show everything is correct at first glance, ie amd64 tools metadata, nt ppc64 [23:29] what does the index.json file contain now? [23:34] since this looks perfectly as expected: [23:34] 2014-09-02 23:25:37 DEBUG juju.environs.simplestreams simplestreams.go:367 read metadata index at "file:///home/mbruzek/.juju/local/storage/tools/streams/v1/index.json" [23:34] 2014-09-02 23:25:37 DEBUG juju.environs.simplestreams simplestreams.go:534 candidate matches for products ["com.ubuntu.juju:14.04:amd64"] are [{Tue, 02 Sep 2014 18:25:36 -0500 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64 com.ubuntu.juju:14.04:amd64]}] [23:34] 2014-09-02 23:25:37 DEBUG juju.environs.simplestreams simplestreams.go:847 finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [23:34] 2014-09-02 23:25:37 DEBUG juju.environs.simplestreams simplestreams.go:885 metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.20.6.1 amd64 map[20140902:0xc21000a360]} com.ubuntu.juju:14.04:amd64:{ 1.20.6.1 amd64 map[20140902:0xc21000a660]}] map[] Tue, 02 Sep 2014 18:25:36 -0500 products:1.0 com.ubuntu.juju:released:tools } [23:34] 2014-09-02 23:25:37 INFO juju.environs.bootstrap bootstrap.go:58 newest version: 1.20.6.1 [23:34] 2014-09-02 23:25:37 INFO juju.environs.bootstrap bootstrap.go:86 picked bootstrap tools version: 1.20.6.1 [23:37] wallyworld_, the wget gives me ppc64. [23:37] "com.ubuntu.juju:12.04:ppc64", [23:37] "com.ubuntu.juju:14.04:ppc64" [23:37] wtf [23:37] I don't know! [23:38] the content of the file on disk? [23:38] says ppc64? [23:38] give me location again? [23:38] "file:///home/mbruzek/.juju/local/storage/tools/streams/v1/index.json [23:38] "com.ubuntu.juju:12.04:amd64", [23:38] "com.ubuntu.juju:14.04:amd64" [23:39] this is a mystery ! [23:39] yes [23:39] Where is it getting ppc64. [23:39] so if you wget from http://10.0.3.1/.... you get ppc64 [23:39] yes [23:40] mbruzek: netstat -anp [23:40] who is listening on 10.0.3.1 [23:40] oh crap [23:40] sinzui, was right. [23:41] what did he say? [23:41] I am running sshuttle -r ubuntu@stilson-01 10.0.3.0/24 so I can see the local systems on the power machine stilson-01 [23:41] bad ida [23:41] idea [23:42] lol [23:42] especially on that range [23:42] well that explains a lot [23:42] i was beginning to worry [23:42] Doh! [23:42] I am sorry [23:42] no problemo [23:42] glad we found the problem [23:43] so, has this fixed all the problems ? [23:43] or just some of them ? [23:43] bootstrapping. [23:43] what is "all the problems"? [23:43] wallyworld_: all the ones mbruzek reported to me earlier [23:43] with tools selection being screwed [23:44] yes, i think this will fix all that [23:44] good [23:44] i hope anyway [23:44] i hope everyone learnt a valuable lesson :) [23:44] sorry guys [23:44] np [23:44] no need to apologise :-) [23:44] we found the problem [23:45] we introduce enough bugs of our own :-) [23:45] mbruzek: your pennence is to write up what happened [23:45] and forward it to anyone who is using sshuttle [23:45] yes sir [23:46] I can confirm that the system bootstraps now, and I can deploy both precise and trusty ubuntu charms. [23:49] \o/ [23:49] alexisb: i've finished my review of the gccgo4.9 bugs [23:50] please see my email for details [23:56] anyone able to review this? https://github.com/juju/juju/pull/660