[00:13] wallyworld_: morning [00:13] hey [00:13] I have a problem for you: [00:13] pulled trunk, got "undefined: ratelimit.New", go get github.com/juju/ratelimit, still get error. What did I miss? [00:14] what error? [00:14] ratelimit is undefined [00:14] it can't find the package [00:14] go get -u [00:14] maybe [00:14] ah [00:15] marcoceppi: thanks for fixing the charm-helper-sh problem [00:15] wallyworld_: no luck, strange.. [00:15] hmmm [00:16] i did hear that tip of ratelimit is not compatible with juju core [00:16] but for the whole package to be undefined doesn't fit with that [00:17] i just pulled ratelimit and it is there [00:17] it must be something with my setup, otherwise others would be hitting this [00:18] are you sure your GOPATH is correct? [00:18] I'll check go paths etc (again!) [00:24] hmm, GOPATH looks correct, ratelimit is in $GOPATH/src/github.com/juju/ratelimit, tried rebuilding pkg hmmm === thumper-gym is now known as thumper [00:24] mwhudson: where are you off to? [00:24] thumper: uk [00:24] sprint? [00:24] or holiday? [00:24] waigani: i'm concerned that the solution to your problems is 'rebuild' everything [00:24] holiday! [00:24] dad's 80th [00:25] nice [00:25] that smells like something is wrong with your setup [00:25] have fun [00:25] waigani: you need to do this: [00:25] go get github.com/juju/ratelimit [00:25] then run [00:25] thumper: i have to keep reminding myself that the routing with 6 hours in sydney was over $1000 cheaper :-) [00:25] godeps -u dependencies.tsv [00:25] mwhudson: haha [00:25] mwhudson: where you going ? neptune ? [00:25] mwhudson: emma and pheobie going too? [00:26] mwhudson: how do you spell that? [00:26] * thumper feels like it is wrong [00:26] thumper: no, solo [00:26] thumper: phoebe [00:26] o before e == long eee sound [00:26] thumper: thanks, davecheney: more of a desperate attempt than a solution [00:27] waigani: lets fix the underlying problem [00:27] waigani: you have godeps built? [00:27] please tell the doctor where it hurts [00:27] davecheney: the underlying problem is not having the deps right :) [00:27] hey I just updated to 1.17.5 on precise and now local machines give me this error "(error: container failed to start)" is this a known issue? [00:27] thumper: godeps -u dependencies.tsv [00:27] "/home/jesse/go/src/github.com/juju/ratelimit" now at 0025ab75db6c6eaa4ffff0240c2c9e617ad1a0eb [00:27] godeps: cannot update "/home/jesse/go/src/github.com/juju/testing": fatal: reference is not a tree: 9c0e0686136637876ae659e9056897575236e11f [00:28] waigani: go version [00:28] waigani: cd ~/go/src/github.com/juju/testing [00:28] go env | pastebinit [00:28] git pull [00:29] thumper: yeah, if waigani is using go get [00:29] probably a way to do it without changing directory [00:29] davecheney: go version go1.2.1 linux/amd64 [00:29] and a working copy already exists [00:29] then it will not update [00:29] go get -u github.com/juju/ratelimit [00:29] also, godeps doesn't pull [00:29] is required [00:29] davecheney: ack [00:31] * thumper breaks his own rules and takes the laptop into the kitchen [00:32] thumper: davecheney: wallyworld_: all working now, tests pass thanks [00:33] good [01:27] axw: all that thinking and we already have it in the Makefile :) [01:28] doh :) [01:45] davecheney: any idea why I'd be getting link errors when trying to build the tests on power? [01:49] oh fark [01:49] stabby [01:49] stabby [01:49] stabby [01:53] thumper: needs more stabby! [01:57] rick_h_: ✂ ☹ [01:57] rick_h_: ✂☹ ✂☹✂☹✂☹ [01:59] lol [02:03] thumper: heh, you're being roped into the "make it work on funny arch" game? [02:03] mwhudson: yeah... [02:04] davecheney: hiya === hatch__ is now known as hatch [02:06] davecheney: I need help [02:24] waigani: shipit [02:24] waigani: well, apparently there's a text conflict in state/initialize_test.go, so after you fix that :) [02:24] oh really? [02:25] okay, axw thanks for the massive review [02:25] waigani: no worries :) [02:44] waigani: https://code.launchpad.net/~waigani/juju-core/remove-checkers-dir/+merge/210935 needs updating with trunk, someone added a test pointing to old checkers [02:44] thumper: on it [02:48] waigani: also the migrate testbase branch has conflicts with trunk [02:51] hello [02:51] i'm here to help [02:52] thumper: sorry, was eating [02:52] davecheney: you aren't allowed to eat [02:52] my god man [02:52] sorry sir [02:52] why is mongodb-server failing on power? [02:52] I'm guessing you've solved this already [02:52] thumper: ahh [02:52] this is a good question [02:53] juju looks for /usr/bin/mongod [02:53] and chides you if it's not there [02:53] BUUUUUUUUUUUUUUUUT [02:53] the actual path of juju-mongodb is somewhere else [02:53] becuase this is our special versino of mongo [02:53] so even if the package is installed, the check still fails [02:53] or the upstart script points to the wrong location [02:54] are we installing that? [02:54] well [02:54] I didn't think that that branch had landed [02:54] it did land and was reverted [02:54] the install instructions say 'apt-get isntall mongo-server [02:54] which isn't correct [02:55] so the default mongo-server on power is fucked [02:55] and we need to use our one? === Ursinha-afk is now known as Ursinha [02:55] thumper: not fucked [02:55] not available [02:55] I installed it [02:55] thumper: as I understood it [02:56] we (juju) should always be recommeding juju-mongodb package [02:56] but it fails to start [02:56] not just for trusty/ppc64el [02:56] but for everyting back to precise [02:56] thumper: it doesn't work 'cos v8 doesn't run on ppc [02:56] it should be juju-db package (according to our sabdfl) [02:56] the juju-mongodb package does not have a javascript interpreter enabled [02:56] well... unless you have the v8 power thing from github [02:56] um [02:57] o/ mwhudson [02:57] i thought a v8 port was available for power? [02:57] probably not packaged though i guess [02:57] I don't think it is packaged [02:57] thumper: sir, it's a little late to reopen this discussion [02:57] developed by not available [02:57] we (juju) should always be recommeding juju-mongodb package [02:57] davecheney: I'll take it to the people I know... [02:57] ^ am I mistaken [02:57] * thumper sighs [02:57] i agree that davecheney is right about where things _should_ be [02:57] davecheney: you are correct with what we originally said [02:58] nfi what the current state is though [02:58] however we had been trumped along the way [02:58] but I'm not sure whether it has been actioned [02:58] * thumper will take to the email [02:58] who wants to get on a hangout and thrash this out ? [02:58] davecheney: so... your local on power had a hacked juju-db upstart? [02:58] thumper: NO [02:58] my hack is [02:59] ubuntu@winton-02:~$ ls -l $(which mongod) [02:59] lrwxrwxrwx 1 root root 24 Mar 14 00:55 /usr/bin/mongod -> /usr/lib/juju/bin/mongod [02:59] IMO two things need to happen [02:59] i don't want to muddy the water tooooo much [02:59] 1. juju stops recommending the mongodb-server package [02:59] but https://launchpad.net/ubuntu/+source/mongodb/1:2.4.9-1ubuntu1/+build/5664994 is a ppc build of mongo for trusty [02:59] 2. upstart scripts are corrected to reflect the path is /usr/lib/juju/bin/mongod [03:00] mwhudson: sorry [03:00] please, this discussino is over [03:00] james page made this package [03:00] ok [03:00] mwhudson: I did try it, it failed to start [03:00] it's too late to try to re solve this problem [03:00] ah ok, so it builds but doesn't work, ok [03:00] we have a solution [03:00] it's a really good solution [03:00] davecheney: i'm not trying to change the solution [03:00] because it *ALSO* solves the problem for precise [03:00] davecheney: AFAIK nate is working on changing to use the juju db package [03:00] which we still have to support for another 3 years [03:00] davecheney: it is a different argument about the name 'juju-db' or 'juju-mongodb' [03:01] I want to see where we are with it [03:01] thumper: cool [03:01] the name of the replacement pacakge is unimportant [03:01] davecheney: so you just symlinked /usr/bin/mongod [03:01] the key is that it does not live in /usr/bin/mongod [03:01] and it isn't called mongodb-server [03:01] ack [03:01] thumper: yes, that is my workaround [03:02] to unblock myself [03:02] it is not a soluton [03:02] right [03:02] * thumper is on to fix the solution [03:02] 1. juju stops recommending the mongodb-server package [03:02] 2. upstart scripts are corrected to reflect the path is /usr/lib/juju/bin/mongod [03:02] ^ i believe this is the correct sequence [03:03] sure... [03:03] davecheney: do you want to be CC'ed on the emails, or are you happy to be left off? [03:04] axw: due to the current aufs issues, I'm going to submit a branch to default aufs to off [03:04] thumper: okey dokey [03:06] thumper: sure [03:06] email away [03:06] davecheney: i'm guessing i need to configure the ppc vms to be able to ssh out to an ec2 instance? [03:06] thumper: re aufs: i agree [03:06] i know mramm really really wants it [03:06] but lets get *something* working [03:06] before moving on to making it use all the super amazing optional features [03:07] wallyworld_: oh, there is no external access [03:07] wallyworld_: if you have the http proxy [03:07] davecheney: none at all? [03:07] goota go through the proxy [03:07] thumper: i used the squid proxy to get http [03:07] and the proxy is whitelist only [03:07] the ip addresses didnt work [03:07] wallyworld_: i'm really sorry [03:07] you have to raise an RT [03:07] please cc me on the RT [03:07] i'm maintaining a list of open ones [03:07] i'm tyring to get the PM to be more active in getting them actioned [03:08] wallyworld_: also, ask for all the vms [03:08] davecheney: so my ssh foo is crap - i can't just set up a config and use the proxies from the doc, they are only for http? [03:08] wallyworld_: not quite sure what you are asking [03:08] wallyworld_: axw has good ssh-fu [03:08] the doc talks about from bne -> your vm [03:08] not the other way around [03:08] incoming access is via batuan, the jump host [03:08] davecheney: yes, but the doc also gives proxies to use inside the vm [03:08] outgoing access is via proxy [03:09] i have outgoing http access via http://squid.internal:3128/ [03:09] correct [03:09] but that is whitelisted [03:09] but you are saying an RT is needed to get outpoing ssh? [03:09] wallyworld_: yes [03:10] and also to have addtional sites whitelisted for the proxy [03:10] davecheney: ok, will raise rt. cause once that's done, i have a branch which would have been abl to bootstrap a workload on aws [03:10] for example I had to ask rog to hold off on the launchpad.net/goyaml -> gopkg.in/goyaml change [03:10] because that site was not whitelisted by the proxy [03:10] OH FUCK [03:10] i just realised that [03:10] sync bootstrapo [03:11] yep [03:11] we required ssh access from the client [03:11] WE"RE FUCKED [03:11] yep [03:11] * davecheney cries [03:11] oh? [03:11] we can't organise that? [03:11] the chances or elmo allowing that are effectively zero [03:11] can we disable sync bootstrap ? [03:12] what's the problem? [03:12] no outgoing ssh [03:12] from ppc boxen [03:12] you can't proxy it? [03:13] what is outgoing? [03:13] bootstrap tries to ssh into aws instance and fails to connect [03:13] axw: sync bootstrap [03:13] if you can ssh, you can ssh out using a tunnel at the worst [03:13] if you can ssh in* [03:13] axw: a human can [03:13] juju probably cant [03:15] davecheney: do you have an HTTP proxy you can go out through? [03:15] davecheney: if so, you can set up ssh to use HTTPS/CONNECT using ProxyCommand [03:16] man ssh_config, look for ProxyCommand [03:16] and set up your ~/.ssh/config accordingly [03:17] axw: worth a shot [03:17] i think some parts of aws are whitelisted [03:17] but it might just be the api endpoiints [03:37] axw: are you actively trying to use the proxy for outgoing ssh ? [03:40] davecheney: I'm not doing ppc stuff, so no [03:40] axw: thanks for confirming [03:40] davecheney: I can help debug if you're having trouble though [03:41] axw: i am also not trying [03:41] ok [03:51] wallyworld_: are you trying? [03:52] no [03:52] am finish tests [03:52] finishing [03:52] i can try after that cause i want to get the branch proposed [03:53] and it's a bit of a rabbit hole with existing code cut and pasted around a bit [03:54] the branch i'm working on is not blocked by the ssh issue [03:58] wallyworld_: https://codereview.appspot.com/77220043 [03:59] wallyworld_: I changed lxc-clone and lxc-clone-aufs to bools [03:59] ok [03:59] wallyworld_: as I tried to use it locally and realised how fucked up strings were in their place [03:59] will look in 2 minutes [03:59] sure [03:59] no rush [03:59] I have to head out shortly [03:59] also has aufs defaulting to off for now [03:59] thumper: what's failing at the moment are tests which i don't think should have passed originally [03:59] haha [04:00] damn [04:00] ie upload tools should not upload for non dev versions [04:00] ie 1.2.x should not upload since it's not a dev release [04:00] right... and I take it that it is? [04:00] yep [04:00] so i'm having to change existing tests [04:00] but 1.2.x.1 should right? [04:00] yep [04:00] ok [04:01] those table driven tests are a pita [04:01] or at least that how it appears [04:01] i have to did though gobs of output [04:02] i might review your stuff to give my eyes a rest [04:04] thumper: https://codereview.appspot.com/77220043/ LGTM [04:07] davecheney: ta [04:08] * thumper goes away for while... [04:08] wallyworld_: is there an MP for the tools/arch change you are working on ? [04:08] * davecheney is ready to review [04:09] davecheney: it's still wip sadly. it was ready and i used it to test live but i added extra tests and they failed cause we have cut and paste code and broken tests which passed even though they should not have IMO [04:09] le fuck [04:10] unless i am wrong, if version.Current is 1.2.x say, the --upload-tools should not work cause 1.2 is a release version [04:10] wallyworld_: i think that you are correct [04:10] but that restriction was never implemented in code [04:10] and yet tests set up such a version.Current and called bootstrap --upload-tools and expected tools to be uploaded [04:11] well, it was in some places [04:11] so, the tests assume that restrictino is not in place [04:11] remove the restriction ? [04:11] hmmm. i would like to keep it [04:11] cause relese tools should be available [04:11] i think it's reasonable to say that upload-tools should be for dev versions [04:14] wallyworld_: sure, i have no position on this [04:14] --upload-tools always produces, x.y.z.1 [04:14] yeah [04:14] so there is no possibility of a conflict [04:14] there was 2 pices of almost identical code [04:15] one lot enforced it i think, and the other didn't [04:15] i've made changes so can't recall exactly [04:16] but the code is now shared, so we can change the policy in once place [05:21] davecheney: if you still feel like reviewing https://codereview.appspot.com/77270043 a lot of the diff is deleted/moved code and tests. i also retained upload release versions for explicit uploads [05:21] davecheney: you should be happy once this lands [05:22] tested on ppc box but failed due to ssh - the tools bit worked fine [05:26] wallyworld_: /me looks [05:26] ta :-) === vladk|offline is now known as vladk === vladk is now known as vladk|away === vladk|away is now known as vladk [08:06] jam, good morning [08:06] jam, https://juju.ubuntu.com/docs/config-LXC.html says that [08:06] "The usage of LXC Linux Containers enforces that bootstrapping and destroying of an environment are done as root. ... [08:06] ... sudo juju bootstrap" [08:06] but I have got [08:06] "ERROR bootstrapping a local environment must not be done as root" [08:06] where can I write about it? [08:23] vladk, it is done by root, but sudo is called later in the bootstrap process [08:24] dimitern, morning [08:24] vladk, morning! [08:25] dimitern: I see, but there is an error in documentation, if I follow it, I have got the above error. So I would like to know who can I write to fix the documentation [08:26] dimitern: how can I 'juju bootstrap' with trusty series? [08:26] vladk, evilnickveitch is in charge of the documentation, and there are bugs filed for the docs separately [08:27] vladk, https://bugs.launchpad.net/juju-core/docs [08:27] vladk, so on trusty, you just need to do juju bootstrap --upload-tools [08:28] dimitern: how to understand upload-tools? [08:29] vladk, ah, that's an instruction to bootstrap to package your existing binaries (from cmd/juju and cmd/jujud) into a tools.tar.gz package and set the version to version.Current.Number + 0.0.0.1 [08:30] vladk, i.e. if version.Current is 1.17.6, with --upload-tools version 1.17.6.1 will be uploaded (and .2 next time you call --upload-tools and so on) [08:30] vladk: morning [08:30] vladk: the docs do need updating, they are correct for juju 1.16.6 (our last stable release), but not correct for trunk [08:30] however, we won't update the docs until 1.18 is out, since otherwise they'd be wrong for everyone using stable [08:38] vladk, dimitern, feel free to file bugs anyhow on things you think are wrong, but mention you are running the dev version [08:38] someday we will have notes for the unstable releases too [08:39] evilnickveitch, \o/ [08:48] mornin' all [08:52] rogpeppe: morning [08:52] vladk: hiya [09:02] mgz, fwereade, maas vlan meeting? [09:02] mgz: vladk, fwereade: care to join us to discuss MaaS ? [09:02] https://plus.google.com/hangouts/_/canonical.com/discuss-vlan [09:26] rejoining [09:28] mgz: poke about MaaS vlan [09:48] mgz: poke [09:55] good morning everyone [10:00] morning perrito666 [10:00] wwitzel3: let me know when you come online [10:02] jam: I'm here [10:02] wwitzel3: hi. We're still doing some of the MaaS VLAN discussion, but I think we're winding down. [10:03] wwitzel3: I'm in the hangout associated with the 1:1 calendar event I sent you [10:47] mgz: poke for standup [10:48] vladk, ^^ [11:00] gah, sorry guys [11:10] could somebody have a llok here: https://codereview.appspot.com/77260044 (trivial fix( [11:11] adeuring: LGTM [11:11] voidspace: thanks [11:34] voidspace: shall we make another hangout? [11:35] natefinch: if you have known tests that fail, and we can fix them with runtime.GOMAXPROCS(1), we can certainly add them. [11:35] I'm interested in vlan stuff, but if I sit in on that, I will loose all the HA stuff jam and I talked about this morning [11:35] natefinch: I am going to take a look at the code changes you pushed up and run them through MaaS, ping me when you're back in the saddle. [11:36] voidspace: https://plus.google.com/hangouts/_/7acpj0plqg71qcoie9g4705ddo?hl=en-GB [11:40] rogpeppe1: coming [11:59] just testing something - please ignore this message (or not at your pleasure) [12:14] mgz, fwereade, dimitern, jam: we want to factor out the address-related stuff from the instance package. suggested package is juju-core/netaddr, with the same Address, etc types that are current in the instance package [12:14] does that seem reasonable? [12:14] rogpeppe1, +1 [12:16] why the factor out? [12:18] mgz: because addresses need to be seen by clients, and it doesn't really make sense for clients to import instance === rogpeppe1 is now known as rogpeppe [12:18] that surprises me a little, I thought everything imported instance [12:20] mgz: there's a load of stuff in the instance package which is really not applicable to API clients [12:21] eg, lots of things use Instance.Id even if they don't use other bits [12:21] mgz: factoring out the address-related stuff seems kind of reasonable to me [12:21] mgz: instance.Id, yes [12:21] it seems reasonable to move it if it helps things [12:21] I just thought instance was pretty pervasive [12:24] mgz: it is, but i guess to me the address stuff feels much less juju-specific than the other stuff in the instance package [12:25] mgz: and dividing them up could make for two nicely coherent packages [12:25] mgz: but if you don't think it's a good idea, i don't think it matters too much [12:26] it seems reasonable if it actually helps anything [12:26] as in, if there are places that don't ending up importing both anyway :) [12:27] mgz, rogpeppe: could you tell me why juju-backup/juju-restore are no regular commands (e.g. juju backup/juju restore)? [12:27] and why they are called plugins? [12:27] TheMue: they are, just magic plugin things [12:27] TheMue: they're a bit hacky to be first-class citizens [12:28] TheMue: but "juju backup" should work [12:28] rogpeppe: hacky in the way they are implemented? sure, a bit different. ;) [12:28] TheMue: as should "juju restore" [12:28] TheMue: (the former requires the shell script to be installed tho) [12:29] rogpeppe: hmm, where is the magic hidden that the script is called? didn't found a reference to the script in the code. maybe too blind. [12:29] TheMue: it starts with "juju-" [12:30] rogpeppe: ah, so if juju (the command) doesn't find a command (e.g. "foo") directly implemented it looks for a "juju-foo" file to execute it? [12:30] rogpeppe: then also the naming as plugin makes sense [12:33] rogpeppe: found the magic, thanks. important for the documentation I'm writing [12:39] jam: want to meet now? [12:39] * jam whimpers [12:40] soo many meetings [12:40] but actually yes [12:40] jam: ok [12:40] fwereade: are you back yet [12:40] jam: maybe the new manager person will help take some of the meetings off your plate? She has a name that I have, of course, forgotten. [12:40] natefinch: alexis is *my* manager, not a team lead [12:41] so just another person to report to :) [12:41] jam: heh... I just hoped she might be able to help with some of the managerial stuff, but sounds like that's not the problem :) [12:42] natefinch: I'm in the channel from the earlier calendar event [12:42] jam: oh, ok === BradCrittenden is now known as bac [13:02] jamespage, Did you unsubscribe me from ~juju-packaging/+archive/stable ? [13:03] sinzui, nope [13:03] oh dear. I don't know who could do it besides you and me [13:03] jamespage, I will avert the 1.18.0 release catastrophe by resubscribing and updating cloud city with the new credentials [13:22] x [13:31] mgz: fancy a review of some instance package additions? https://codereview.appspot.com/77410043/ [13:39] rogpeppe I can hear you [13:39] rogpeppe: wow, that's about a ten second latency on audio [13:40] voidspace: ok, let's try the IRC challenge [13:40] voidspace: i'll type x and say it at the same time [13:40] rogpeppe: ok [13:40] x [13:40] x [13:40] y [13:40] rogpeppe: the first one seemed instantaneous [13:40] z [13:40] rogpeppe: maybe a second or two [13:40] rogpeppe: let me try [13:41] rogpeppe: this [13:41] rogpeppe: did you even get that? [13:41] wow [13:41] ouch [13:41] about 11 seconds delay [13:41] rogpeppe: wwitzel3: I have 1Mbit upstream [13:42] rogpeppe: wwitzel3: maybe if I switch off my camera it will help [13:42] reduce my upstream [13:42] rogpeppe: lunch sounds *great* [13:42] :-) [13:42] awesome, let's do lunch :-) [13:42] byeeee [13:44] wwitzel3: ok, ready, finally [13:51] natefinch: ok :) [13:53] another trivial MP: https://codereview.appspot.com/77430043 [13:57] rogpeppe: looking [14:00] hazmat: you don't use the PublicAddress client API do you? [14:01] hazmat: actually.. never mind, probably too late in 1.17 to remove it now. [14:01] rogpeppe: lgtm [14:02] mgz: thanks [14:03] adeuring: lgtm. [14:03] mgz: thanks [14:03] adeuring: did you also check the other providers just in case? :) [14:04] mgz: let me look again ;) [14:04] no looks good === vladk is now known as vladk|away [14:13] Any reason updated master wont replace juju binaries? [14:14] are you doing juju install or juju build? Build doesn't install, it just compiles [14:14] er sorry, go build bo install [14:14] brains [14:14] go install launchpad.net/juju-core/... [14:15] haha, it's fine :) [14:16] axw, i don't, there's a usage mode in deployer (-f) where people want that but i extract from status [14:17] axw, iotw i was going to.. but no i don't use it atm [14:17] bits3rpent, are you talking about replacing binaries in $GOBIN or those installed via apt? [14:17] bits3rpent: that should work, unless there's no changes to the code. Do you have just a single path in your GOPATH? go install always installs to the first path in GOPATH, if you have multiple [14:17] fwereade: ahh good question [14:18] fwereade: $GOBIN [14:18] hazmat: thanks, it'll likely stay in anyway [14:22] bits3rpent, hmm, that's surprising -- does it install to that location if you move/delete what's already there? [14:26] fwereade: I'm planning to make "juju ssh" connect to private addresses, proxying through the API server address. Any objections to this approach? [14:26] it won't be azure-specific [14:26] axw, I'm +1 on that in general, public ips are in short supply all over the place [14:27] cool, I can work on that independent of the azure stuff [14:29] fwereade: did you see my reply about PrincipalUnits vs. DistributionInstances? I can't really see away around it while also preventing add-machine at that point [14:30] axw, sorry, I didn't get to that yet, just a sec [14:30] add-machine can be prevented by a Prechecker, but that's not supposed to be reliable [14:32] axw, remind me the forces that lead towards a callback ratherthan a plain slice [14:32] axw, but DistributionInstances sounds like a tolerable name to me :) [14:32] fwereade: purely for performance [14:33] axw, so we don't bother calculating it for providers that can't handle it? fair enough [14:33] fwereade: though it's on the state server already, so... *shrug* [14:34] axw, I'm fine leaving it as a callback, I had a vague recollection there was another reason to prefer it, I just can't remember what [14:35] fwereade: perhaps I'll think of it in the middle of the night, but I can't think of any other reason now [14:36] axw, fwiw I wouldn't be opposed to a field that took a string that providers are free to use to try to helpfully tag nstances if possible [14:38] fwereade: sure. that's not a blocker really. the thing blocking me now is that I can no longer prevent StartInstance with no assigned principals [14:40] axw: it *is* the middle of the night, isn't it? [14:40] mgz: it's only 10:40pm :) [14:40] :) [14:43] axw, I see -- it means there's no way to prevent add-machine? [14:43] fwereade: yup [14:43] * fwereade makes a face and stares into space a bit [14:43] fwereade: I'm using the principals in two places for that: in PrecheckInstances, and in StartInstance [14:44] PrecheckInstance* [14:44] axw, how do prevent --to? [14:44] s/do/do we/ [14:44] fwereade: a new UnitAssigner state policy [14:44] * axw context switches a bit [14:45] fwereade: UnitAssigner.CheckUnitAssignment(*state.Unit, *state.Machine) error [14:45] axw, yeah, just found it again === hatch__ is now known as hatch [14:45] fwereade: so Azure just returns an error all the time. It only gets called if a new machine isn't created [14:46] err, if an existing machine is requested [14:47] axw, so, one thing we had for a while that didn't end up sitting quite right was having the environ itself return the assignment policy [14:47] axw, ie AssignLocal, AssignCleanEmpty, etc [14:48] axw, I'm trying to figure out if there's some similar way of describing the allowable operations at that sort of level [14:48] fwereade: --to effectively overrides the policy [14:49] oh, I see what you mean === vladk|away is now known as vladk === hatch is now known as negatron === negatron is now known as hatch [15:10] axw, thinking a bit more: it's *kinda* a CanAssignUnits flag on an environ, that controls validity of both --to and add-machine [15:11] rogpeppe: are you back? [15:11] yup [15:12] fwereade: sounds reasonable. I'm fine with blocking it at that level [15:12] rogpeppe: want to try starting a new hangout [15:12] rogpeppe: nearly typed hangup by mistake [15:12] voidspace: https://plus.google.com/hangouts/_/76cpjgribubncq8d4f1s1nalr0?hl=en-GB [15:12] I have enough hangups already without you starting more [15:12] cool :-) [15:13] fwereade: though, the UnitAssigner was meant to grow to handle filtering machines that can be assigned to for ec2 AZs [15:13] fwereade: so you may support assignment, but you can't assign to any old machine [15:14] axw, --to overrides that, right? this is just for auto-assignment to existing machines? [15:16] fwereade: yup [15:17] fwereade: supporting add-machine/--to could be a flag, independent of that [15:17] just saying I had intended to put them both together in one interface [15:19] Is there anyway to only display unassigned bugs on launchpad? [15:19] axw, I'm wondering whether the assignment could be handled with an interface more like FurthestPossibleInstance(candidates, onesToAvoid []Instance) (Instance, error) [15:20] bits3rpent, sorry: there's an Assignee field in https://bugs.launchpad.net/juju-core/?advanced=1 [15:20] bits3rpent, with a "Nobody" radio button [15:20] fwereade, thanks! [15:20] fwereade: for ec2, yes, that sounds about right [15:21] bits3rpent, if you click the "search" button at the top of the page it might ignore the stuff you specify below, though [15:21] bits3rpent, use the one at the bottom :) [15:21] axw, well, for azure in assignment-allowed mode we can just return any of them [15:21] fwereade, will do :) [15:22] axw, (and for ec2 we will also need an error meaning "you can start an instance that's even further than any of those" [15:22] ) [15:22] yeah that makes sense [15:23] this is getting ahead of the immediate need though I think [15:24] fwereade: did you have any thoughts on how to flag a StartInstance as being add-machine'd without PrincipalUnits? [15:24] how that works actually has ramifications on API and maybe state [15:24] the other stuff can be changed with refactoring [15:24] axw, I was thinking we could actually get away with doing so at the API/state layer, if we just look up the flag on the environ [15:25] axw, if we can guarantee only good data gets into state, we don't need to worry about checking it again later [15:25] note: the obove is obviously not true [15:25] but sometimes it's not unreasonable to pretend it is [15:25] :) [15:26] it's actually not the end of the world if we do start the instance, so I'm okay with that [15:26] so basically some variation of the PrecheckInstance modification I did [15:26] I've got a bone to pick with the destroy-environment command [15:27] marcoceppi, oh yes? [15:27] fwereade: I just watched someone type juju status and get annoyed that the output was something other than what the user expected [15:27] We're mixing user expereinces with environments and destroy-environment started this [15:27] marcoceppi, ha, so the destroy-environment change trained them wrong [15:27] marcoceppi, bugger [15:27] dang [15:28] yeah, I feared this, but now I have evidence [15:28] can anyone remember where that requirement originated? [15:29] fwereade: better go to sleep before I fall asleep on the keyboard. I'll rework my stuff and repropose after the ssh proxy branch is up. Thanks for the chat again... [15:29] axw, thank you [15:29] axw, sleep well [15:29] fwereade, marcoceppi: it was my change that made the environment name mandatory, with -e optional, because flags shouldn't be mandatory [15:29] (for destroy-environment) [15:31] fwereade, marcoceppi: the name was made mandatory due to feedback from several users at canonical that said destroy environment was scary, especially if you have several environments on the same machine. So forcing the user to type out the name of the environment is insurance against destroying the wrong one [15:31] natefinch: I'd rather just make the -e flag manditory [15:32] marcoceppi, natefinch: if it's causing active upset I think I'd come down on the side of consistency with other uses of -e there... did we do a stable release with that change in yet? [15:32] fwereade: I don't think so [15:33] marcoceppi, fwereade: yeah, in hindsight, the consistency with the rest of the commands is more important than the fact that it's weird to have a mandatory flag [15:35] natefinch, I'm worried that people will have updated to use the no-e version [15:35] natefinch, any serious drawback to just accepting both forms? [15:35] fwereade: could add a depreciated warning [15:35] fwereade: we accept both now [15:35] fwereade: or at least, on tip we do [15:35] marcoceppi, natefinch: just swap the deprecation warning :) [15:36] fwereade natefinch should I file a bug wrt this? [15:39] natefinch, Are you still working on Bug #1271937, I thought someone else was going to be assigned [15:39] <_mup_> Bug #1271937: Use juju-mongodb when the package is available [15:42] fwereade: if I hurl up a mp of a first pass of state networks doc, can you look it over? [15:42] mgz, soon, on a call atm [15:42] I currently lack tests, and want to know what a sane base level of testing is for new state documents [15:42] (my template, constraints, has no unit-testy bits for just the constraints doc) [15:47] anyone willing to review my fix for bug 1291400 ? https://codereview.appspot.com/77340044/ [15:47] <_mup_> Bug #1291400: migrate 1.16 agent config to 1.18 properly (DataDir, Jobs, LogDir) [15:49] mgz, voidspace ^^ ? [15:51] natefinch, wwitzel3 ^^ ?? [15:51] dimitern: can probably look in a sec [15:52] mgz, ta! it's not huge [15:54] dimitern: he beat me to it... [15:54] xchat notifications are very subtle [15:57] fwereade: https://codereview.appspot.com/77270046 [15:57] dimitern: ping [16:01] sinzui: about Bug #1271937, I have code that makes it work. it should be landing this week. I'm not sure what the timeline is for people that want it [16:01] <_mup_> Bug #1271937: Use juju-mongodb when the package is available [16:01] voidspace, :) thanks anyway [16:01] vladk, pong [16:01] natefinch, The landing will unblock several people. I will consider a 1.17.6 release when the fix is available. [16:03] mgz, yeah, that's pretty much what I was looking for [16:03] sinzui: there's basically two ways to make it work: one involves a fair amount of code, which is what I have, and one is a little hackier but much easier. currently we create the upstart script on the client and send it to the bootstrap node, so it doesn't know if the bootstrap node has juju-mongodb or not. [16:04] sinzui: the fix is either to create the upstart script on the bootstrap node, or just create it with the command as "mongod" and let the PATH figure out which one to use [16:04] * sinzui nods [16:05] sinzui: my code does the former, but the latter would be trivial to get in. my code should be ready in a day or two, but historically I've been bad about estimating when this particular code will finish [16:06] * fwereade bbs [16:08] rogpeppe: any idea where we might get a hold of the actual hostname of a machine (to use for mongo replicaset) during bootstrap. [16:08] wwitzel3: ha ha [16:08] wwitzel3: actually... [16:08] wwitzel3: perhaps you can, these days [16:09] wwitzel3: i'm not entirely sure whether bootstrap-state now has a valid environ config now or not [16:10] rogpeppe: ok, so the environ config is where it would be though [16:11] wwitzel3: no, but the environ config lets you get an environs.Environ which allows you to get an instance.Instance which allows you to find out the address :-) [16:11] wwitzel3: you'll also need the bootstrap machine's instance id [16:11] rogpeppe: obviously [16:11] wwitzel3: from ... i can't quite remember where [16:13] rogpeppe: sounds straightfoward ... [16:14] wwitzel3, rogpeppe, it's provider-state [16:14] dimitern: ah yes [16:15] bootstrap-state just says "storage is writable" [16:15] dimitern: i guess now that bootstrap is synchronous, there's actually no need for the bootstrap instance to query the provider-state file [16:15] dimitern: (assuming it still does) [16:15] rogpeppe, dimitern: what does that mean, it's provider-state? [16:15] mgz: another instance package review for you: https://codereview.appspot.com/77470043 [16:16] wwitzel3: there's a file in the environ's Storage that's conventionally used to store the bootstrap machine's instance id [16:22] mgz, review poke ;) [16:24] dimitern: nearly have a gap :0 [16:25] mgz, cheers :) [16:26] rogpeppe: so how do you retrieve an instance if you have a given id? [16:27] wwitzel3: Environ.Instances([]instance.Id{id}) [16:27] wwitzel3: godoc launchpad.net/juju-core/instance and launchpad.net/juju-core/environs for details [16:34] * dimitern is away for a while [16:59] any reviews of this would be appreciated: https://codereview.appspot.com/77470043 === niemeyer_ is now known as niemeyer [17:00] voidspace: away for a minute or two === vladk is now known as vladk|offline [17:21] it looks like Juju does not have ability to enforce runtimes only startup [17:22] In my test I brought up a multi-node RabbitMQ cluster, I then took one of the machines out using `lxc-shutdown`, [17:22] Juju did not try to restart the machine or spin up another one [17:22] I was hoping Juju would sense the downed machine and make an attempt to restart it [17:22] I am also looking for plans to integrate with vSphere/ESX stack [17:28] hey fine people, please review this if you'v got the time https://codereview.appspot.com/77490043 [17:29] viperZ28_: you're correct, it doesn't do that currently. At some point it probably will, we're just not there yet. [17:29] any plans for ESX/v* integration? [17:29] anyone familiar with wemux? [17:30] I'm trying to set up pairing for my team and it's not being friendly [17:31] viperZ28_: as far as I know there's no plans for it, but plans can change and I'm not the leader of much. fwereade might have a better idea, but I think he's AFK for a while [17:37] viperZ28_, oddly enough we've found that most people seem to get upset when we start up downed units/machines for them -- and the python version *did* do that, and nobody noticed for months, until they tried to shut down some unused machines out-of-band and got upset when juju replaced them :/ [17:38] perhaps this should be an option [17:38] rogpeppe: grabbing a drink too [17:38] if I want a HA RabbitMQ cluster I could not use Juju for this use case [17:39] rogpeppe: can you invite me to your hangout? [17:39] viperZ28_, I think I agree there, but I'm not sure I can promise it'd get scheduled any time soon -- to Do It Right in the general case we'd need to be able to assign the storage from the old nodes to the new ones [17:39] is there still a bug in juju debug-log? [17:39] viperZ28_, well, you'd need monitoring and human response, at least [17:40] viperZ28_, automated response to *apparent* failure can itself be problematic [17:40] anyone know what's up with the bug that's like [17:40] # launchpad.net/juju-core/worker/instancepoller [17:40] go/src/launchpad.net/juju-core/worker/instancepoller/aggregate.go:67: undefined: ratelimit.New [17:40] ? [17:40] I'm getting this as output of go get on a fresh system [17:40] seems in a cloud model or IT as a service this is a requirement, of course with added alerting and throttling [17:41] bodie_: that's a new package that recently got added [17:42] bodie_: go get github.com/juju/ratelimit I believe [17:43] shouldn't that be pulled down automatically if it's needed? [17:43] bits3rpent check this out [17:43] viperZ28_, it also enables a whole host of exciting problems -- consider a network partition in which a majority of nodes are lost to the state servers, and the state servers bring up replacements [17:44] bodie_: go get -u launchpad.net/juju-core will get it, but it'll overwrite whatever branch you're working on in juju-core [17:44] I think this is manageable as long as a single master is controlling units running [17:44] bodie_: do a go get launchpad.net/godeps and then you'll have the godeps program, which we use to track dependencies [17:45] bodie_: then from the root of juju-core, you can do godeps -u dependencies.tsv and it'll tell you if any dependencies are missing or out of date [17:45] so is the Juju model more about orchestrating startup and less about operation? [17:46] or should I say maintaining state and operation [17:46] viperZ28_, (also: re vsphere/esx: no current plans, but we love new substrates and would be keen to assist anyone who wanted towork on it) [17:46] viperZ28_: for now, basically, yes. I mean, for operation, you can add or remove instances, add or remove services. [17:46] viperZ28_, not necessarily -- but the correct responses at runtime are very application-spcific [17:46] viperZ28_, and hence more within the individual charms' purview [17:47] this is true, I think this is why there is a gap in PaaS and IaaS when talking about services [17:47] natefinch, I got that bit. it looks OK now. [17:47] bodie_: cool [17:49] wwitzel3: https://plus.google.com/hangouts/_/76cpjgribubncq8d4f1s1nalr0?hl=en-GB [17:49] viperZ28_, more detailed runtime orchestration is certainly possible via the API fwiw -- we're not currently focused on building more sophisticated external brains for juju, but we're definitely not opposed to them :) [17:50] * fwereade puts his own supper on, bbs [17:50] Does Juju currently have REST API? [17:51] I saw this https://bugs.launchpad.net/juju/+bug/804284, but didn't see a resolution [17:51] <_mup_> Bug #804284: API for managing juju environments, aka expose cli as daemon [17:56] viperZ28_ that bug is resolved [17:57] is there any documentation for the API? === vladk|offline is now known as vladk [18:00] I don't think so, the GUI communicates via a websocket [18:00] cool [18:00] that appeases me [18:02] viperZ28_, hatch: right, there's an API, but it's through websocket (the CLI uses that too) [18:02] viperZ28_, er, not really :( -- the juju-gui talks to it, but I'm not sure that bit is very well abstracted out; and then there's https://launchpad.net/python-jujuclient [18:02] bbiab again [18:02] well, not abstracted out to the point you could put it into another project [18:03] there is a feature request to do that however [18:05] thanks all for the insight [18:09] viperZ28_ the GUI is open source so you could extract the commands from here https://github.com/juju/juju-gui/blob/develop/app/store/env/go.js [18:10] ex) https://github.com/juju/juju-gui/blob/develop/app/store/env/go.js#L454 [18:15] Does the API server in fact currently log everything as debug? [18:15] I am trying to replicate https://bugs.launchpad.net/juju-core/+bug/1173122 [18:15] <_mup_> Bug #1173122: API server should not log passwords [18:16] tail -f ~/.juju/local/log/unit-*.log shows no debug messages [18:17] Has anyone replicated this bug? [18:19] bits3rpent: if you bootstrap with --debug it'll output debug messages [18:19] Thank you. [18:23] so many gotchas :( [18:32] bodie_: is there something we can do to help? [18:33] we're just figuring out the collaborative side of things right now, I'm putting a vm together for us to share that hopefully will have working versions of the code and such [18:43] * rogpeppe is done for the day [18:44] g'night all [18:45] nite [19:04] hey, my local copy of juju-core, obtained using go get lacks a trunk, it does has a branch master, why is that? [19:08] perrito666: go get doesn't actually check out the branch, it just gets the code. You can do a bzr branch lp:juju-core to get an actual branch [19:09] natefinch: just a branch and then I can switch to trunk? [19:09] perrito666: there's no real reason to be on trunk per se. You can't commit directly to trunk anyway, and a branch of trunk is just as good as trunk as long as it's up to date [19:11] natefinch: indeed, but since I was just peer programming with gz and his local had trunk I was wondering if my own branch was not from the wrong place [19:12] perrito666: oh, so, that's not a real thing. That's a branch called trunk that he keeps in sync with master [19:13] perrito666: he's using cobzr, which is a way of keeping multiple branches in the same directory on disk. It's the way git works, and it's handy for working with go. [19:14] natefinch: I am cobzring too :) [19:14] perrito666: the way you start it is to do bzr checkout lp:juju-core, which will grab trunk/master/tip whatever you want to call it from juju-core, then do brz switch -b trunk, and that'll make you a colocated branch called trunk that you can keep in sync with main [19:14] perrito666: ahh good [19:14] altough the idea to have a trunk in place is nice [19:15] perrito666: yeah, it's a lot easier to just have a cobzr branch called trunk, then you can always just bzr switch trunk; bzr pull; bzr switch -b [19:15] you guys need a bot to answer these questions :S [19:15] I had the same exact problems not two days [19:15] ago [19:16] bodie_: how do you know I'm not a bot? :) [19:16] bodie_: we could also add it to CONTRIBUTING or README I guess [19:16] :p [19:16] now that's just crazy talk [19:16] READ the README? [19:17] bodie_: for what I have seen of natefinch he is a bot that has a tiny human controlling him in fron of him [19:17] s/fron/from [19:17] lol [19:18] pay no attention to the man behind the curtain... [19:18] or, maybe it's more like the men in black aliens that pilot a humanoid robot [19:19] bodie_: he means my 9 month old daughter who sits on my lap for our morning standups because she always wakes up at 6am [19:19] (or earlier) [19:20] I can so relate! [19:20] the tiny masters are powerful... [19:21] yep [19:27] natefinch: tx, I have my repo up and running [19:35] out of the box tests explode right? [19:37] perrito666: uh.... not if your environment is set up correctly. The main thing is that you need mongo with SSL installed in /usr/bin (note that apt-get does not install one with SSL capability) [19:37] perrito666: also you currently need to *not* have mongod at /usr/lib/juju/bin/mongod [19:39] duh, I had run the install dependencies step on another vm [19:39] natefinch: thanks again [19:41] perrito666: welcome [19:45] curiosity, tests also fail if bzr name is not set [19:49] perrito666: yeah that should really be fixed, but since you'll almost certainly have one to work on juju, it's usually not a huge deal [19:56] morning [19:57] * thumper peruses the email for urgent items [19:58] howdy === vladk is now known as vladk|offline [20:06] one more, I am getting coding errors from lxc.go, something there that I am missing right? [20:11] * perrito666 runs updates for go lxc [20:13] thumper: https://codereview.appspot.com/76670043/, https://codereview.appspot.com/73390043/ (added tests for auto-restart) (oh and good morning) [20:13] morning [20:13] perrito666: what sort of errors? [20:16] * thumper looks at his calendar [20:18] natefinch: ping [20:22] thumper: yo [20:22] hi natefinch [20:22] the juju-mongodb package work, is that progressing? [20:22] or shall I take it off you? [20:23] wayne and I are finishing it up. Currently works except for the local provider for some reason [20:23] I'm also curious as to the actual other reasons it broke things [20:23] natefinch: want me to look at it? [20:24] thumper: sure, help would be appreciated. the branch is lp:~natefinch/juju-core/030-MA-HA [20:24] * thumper grabs it [20:25] thumper: the reason it broke things is because we were creating the upstart script for mongo on the client, and using the existence of /usr/lib/juju/bin/mongod on the client to determine the path of mongod to specify in the upstart script that gets created on the server [20:25] ah [20:26] how that came about was that I landed half the changes in a branch, and so it had the changes to figuring out mongod, but not the changes to creating the upstart script on the server [20:26] * thumper nods [20:26] s/creating/create/ [20:30] thumper: also, destroy environment local isn't cleaning up the new upstart script yet, so you may need to do a stop juju-db-v2 between bootstraps, or it'll complain the mongo port is in use [20:31] any particular reason for changing the upstart script name? [20:32] thumper: poor man's version control [20:32] so we can know if we need to remove the old version and install the new version [20:35] natefinch: what is the purpose of all the agent config changes? [20:35] seems somewhat unrelated to just the mongo package [20:36] thumper: so the branch is really for HA support, so that's code the machine agent runs to call EnsureMongoServer when it notices it's now supposed to be an EnvironManager [20:36] thumper: I had an outdated version of golxc [20:36] perrito666: ack [20:36] natefinch: hmm... [20:38] thumper: we could probably factor out just the code that calls ensure mongo server during bootstrap, but it would kind of be a pain [20:39] thumper: the other option is a temporary hack to change the upstart script to have the command it runs be "mongod" and then if /usr/lib/juju/mongod is the first mongod in your path, bam, it works. [20:39] I'm very concerned that we have tied a dependent piece for something I need right now into HA which is still coming [20:40] thumper: there's not much actual HA stuff here. it can land on its own without the rest of HA. [20:41] we didn't know we needed it right now until a few days ago, from my understanding, so we didn't worry too much about it as long as it wasn't breaking things. [20:43] yeah... I didn't know it was breaking things either [20:43] Well, so it was breaking things, and then martin made a patch to revert it to the previous behavior, and then from what I hear, some people with a lot of money decided they wanted it to work sooner rather than later. [20:44] though this is all third hand, so I may be misunderstanding various bits. [20:45] natefinch: how would you feel if I created a branch that pulled bits out of your branch and just did the package change thing? [20:45] thumper: I'd be happy it was you and not me. [20:46] haha [20:46] natefinch: I'm pretty sure I know what I need to do... [20:46] ish [20:46] I think all you really need to do is take the code from agent/bootstrap.go and have it call EnsureMongoServer. We've tweaked ensure mongo server to do some replicaset stuff, but that should be easy to see and ignore [20:47] I was thinking a bit simpler than that :-) [20:48] what's your plan? [20:48] * thumper is still reading the diff [20:49] very little of the diff on that branch is applicable [20:49] the only thing that really matters is the call to ensuremongoserver in agent/bootstrap.go and making sure agent/mongo/mongo.go is doing the right thing to figure out the mongo path [20:50] come to think of it, that's not really hard at all to pull out [20:50] so... the key bit is that you are moving the creation of the mongo upstart script to the machine agent? [20:50] so, yes and no. That part is actually only needed for HA. If you only have one bootstrap node, you can just toss EnsureMongoServer in agent/bootstrap.go [20:50] and remove the code that creates the upstart script on the client [20:52] well... actually the bare minimum I need to do is to update cloudinit :-) [20:52] and fix the path of the import [20:53] You mean before we send it to the server? Isn't that going to hit the same problem, where we don't know where mongod will exist on the server? [20:55] natefinch: oh... now I get it [20:59] natefinch: as the simplest thing that can work now, how about this: [21:01] natefinch: we update the mongo upstart script to add the location of the juju-mongodb mongodb exec to the path, and don't specify the full path for mongodb ? [21:01] that way if we have juju-mongodb installed, we pick up the right mongodb [21:01] thumper: yeah, that was my hack to get it done ASAP in a way that's not awful [21:01] I think that is the best thing to get what we need *right now* [21:02] that way I'm not blocked on you [21:02] * thumper was surprised to see that the mongo upstart script location had moved in trunk [21:02] hadn't noticed that move [21:03] * thumper hacks around a bit [21:04] natefinch: your branch didn't install the juju-mongodb package [21:04] thumper: nope [21:04] ok [21:05] ok, I gotta run. Email me if you need anything, I'll keep an eye on it. [21:05] btw, the mongo upstart script moving was part of my half-feature commit that broke things :/ [21:26] ah bollocks [21:27] thumper, it does "juju-mongodb | mongodb-server" [21:27] ah [21:27] can we change that? [21:27] we can [21:27] jamespage: I'm thinking that for the local provider on trusty, we always use mongodb-server [21:27] either that, or I need to check [21:27] thumper, can't [21:28] thumper, mongodb-server is not mir'able [21:28] juju-mongodb is [21:28] sorry, typed the wrong thing... [21:28] phew [21:28] what I meant to say was: [21:28] on trusty, I want to have the local provider use juju-mongodb [21:28] so we just have one mongo thing for trusty juju\ [21:29] so I don't have to see what you hvae installed [21:29] thumper, so mongodb-server would not be supported [21:29] that's fine [21:29] umm... [21:29] perhaps as of 1.17.6 we make the local provider use juju-mongodb [21:29] on trusty [21:29] does that sound reasonable? [21:30] jamespage: I'm trying to get a minimal patch in for juju so that it will work with power and not screw up the ha stuff too much [21:30] effectively I want to do a switch internally that says "if trusty use juju-mongodb, otherwise use mongodb-server" [21:30] and deal with other operating systems as we get them [21:30] thumper, that would apply to all providers right? [21:30] right [21:30] thumper, not just local [21:30] right [21:30] OK - that's fine [21:31] thumper, if >= trusty :-) [21:31] we have juju-mongodb for trusty everywhere right? [21:31] right [21:31] thumper, yes [21:31] ok... that is my plan then [21:31] +1 [21:31] thumper, I'll line up the juju-mongodb change when 1.17.6 releases [21:32] awesome... [21:32] jamespage: also... [21:32] jamespage: I have a plugin coming 'juju-local' that we should include in the juju-local package [21:32] worth noting that trusty installs juju-mongodb to /usr/lib/juju/bin and juju looks for it in /usr/bin [21:32] but it has nothing in it yet [21:32] I'll keep you in the loop [21:32] thumper, ok [21:32] bodie_: ack, this will be part of the change [21:33] hooray [21:33] does that mean I don't have to wipe my workstation and reinstall with 12.04? *sigh* [21:33] bodie_: you can if you like [21:33] I've just been setting up a remote dev box today in the hopes it'll get resolved soon on trusty [21:34] as much as i love reinstalling my pc... [21:34] * thumper dev machine is trusty [21:34] it is also my day to day machine [21:34] same here [21:34] I just keep getting one thing after another [21:34] moved the mongod binary to /usr/bin, now some other thing is broken [21:35] don't do that [21:35] :) [21:45] Hello all, I am working on the bug stating that juju in debug mode stores passwords of logins etc. [21:45] I will be fixing the issue (most likely) a configurable switch [21:46] i.e juju bootstrap --debug --show-passwords (Default is false) [21:46] this bug right? https://bugs.launchpad.net/juju-core/+bug/1202682 [21:46] Would everyone prefer the whole log is dropped, or just that the password is parsed out. [21:46] <_mup_> Bug #1202682: debug-log doesn't work with lxc provider [21:46] https://bugs.launchpad.net/juju-core/+bug/1173122 [21:46] <_mup_> Bug #1173122: API server should not log passwords [21:46] oops thanks bits3rpent [21:48] I wanted to keep it as a switch just in case someone wanted it, but do most of you not want any possibility of passwords being logged (via very specific switch)? [21:48] jcw4 no problem [21:48] Also I was wondering if all of you would rather have the whole log output dropped or just the password parsed out. [22:03] bits3rpent: how do you propose to parse the output? [22:06] thumper: check for ,"Password":*", and replace with empty string [22:07] check result of jsoncodec.DumpRequest(hdr,body) to be specific [22:28] wallyworld_: I have a few errands in town, back later [22:28] ok [22:28] wallyworld_: lbox is still working out the diff for my branch [22:28] of course it is [22:28] https://code.launchpad.net/~thumper/juju-core/juju-mongodb/+merge/211642 [22:28] will look [22:28] not tested on power yet, will check that later... [22:28] * thumper thinks [22:28] hopefully rt will be done soon too [22:28] might have time now [22:29] * wallyworld_ reboots to apply updates [22:33] wallyworld_: power still seems to have issues, will chase more later [22:33] ok, what issues? [22:40] not starting issues === thumper is now known as thumper-afk [22:40] thumper: i think nate is doing some work in the area of EnsureMongoServer etc [22:40] yes I know [22:40] I've taken a minimal approach [22:40] his work wasn't yet installing juju-mongodb [22:40] and was tied up with HA stuff [22:41] ok, so no issues landing yours then [22:41] nope === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [23:11] sinzui: lost you [23:11] i think we're done [23:11] no need to reconnect [23:47] http://paste.ubuntu.com/7117018/ .... [23:48] this is on a totally clean 13.10 install... did make install-dependencies and go get -u dependencies.tsv [23:48] any input welcome [23:48] i'd guess the ssh command exited early [23:56] so maybe just a fluke? [23:59] bodie_: hope so