=== jcw4|afk is now known as jcw4 [02:19] * thumper tries to remember menno's git trick === Ursinha_ is now known as Guest97591 === Beret- is now known as Beret === meetingology` is now known as meetingology === bigjools_ is now known as bigjools === mup_ is now known as mup === psivaa_ is now known as psivaa === Guest97591 is now known as Ursinha === Ursinha is now known as Guest20083 === viperZ28_ is now known as viperZ28 === uru is now known as urulama === rharper is now known as rharper_brux [06:50] morning all [06:51] any willing reviewers around? [06:51] I need a review on http://reviews.vapour.ws/r/167/ (req by hazmat) and this trivial one http://reviews.vapour.ws/r/168/ [06:53] g'morning === gnuoy` is now known as gnuoy [07:34] two trivial PRs: one to update depdendencies.tsv (https://github.com/juju/juju/pull/906), the other to fix a sporadic test failure i just saw (https://github.com/juju/juju/pull/907) [07:34] dimitern: ^ [07:36] rogpeppe2, looking in a moment === rogpeppe2 is now known as rogpeppe [07:36] dimitern: ta [07:44] rogpeppe, both LGTM, second one with a question [07:45] rogpeppe, can you review those two of mine I posted earlier? ^^ [07:45] dimitern: yes, that character is produced by Duration.String [07:45] dimitern: that's why the test was failing [07:45] rogpeppe, fancy :) [07:46] dimitern: can i still merge with $$merge$$ or do i now have to go through vapour.ws ? [07:48] rogpeppe, you can *only* merge the PR, RB is only for reviewing [07:48] dimitern: ah, cool [07:54] rogpeppe, so can you? :) [07:55] dimitern: am doing. a bit of an unequal swap, if I may say so :) [07:55] rogpeppe, well, at least the trivial one, not the FwNone one if you prefer [07:56] hazmat, hey [07:56] hazmat, have a look at http://reviews.vapour.ws/r/167/ if you want - it's what your asked for I think [07:57] dimitern, did we decide anything last week re going back to github? [07:57] for reviews [07:58] hazmat, no, in fact we decided to automate the RB workflow by creating RB reviews and closing them as PRs appear [07:58] ..and get merged [07:59] dimitern, cool, i'm still in meetings atm. i'll take a look though [07:59] hazmat, cheers [08:02] dimitern: reviewed the trivial one [08:03] rogpeppe, tyvm === jacekn_ is now known as jacekn [08:17] morning all [08:38] morning btw [08:41] TheMue: morning [08:41] restarting computer [08:41] brb :-) [08:48] morning TheMue, voidspace, mattyw [08:48] :) [08:48] dimitern: morning [08:48] dimitern, morning [09:33] voidspace: done any steps regarding the installation of MAAS on gremlin? there is a controller running, but I don't know user and/or pw [09:35] voidspace: looks like a fresh installation, the boot images are not yet imported (according to a message shown when trying to log in) [09:44] TheMue: not me - probably elmo :-) [09:45] TheMue: I think elmo talked to jam about it [09:45] TheMue: jam is not around at the moment it seems [09:45] TheMue: I'm going to install locally on my machine [09:45] voidspace: ok, I'll try to see if the superuser is created via cli [09:45] TheMue: but into a kvm image (probably bridged) [09:45] TheMue: cool [09:46] voidspace: kvm inside parallels? or extra machine? [09:48] dimitern: interesting, it appears that the utf-8 microsecond symbol has appeared after go 1.3 (in tip) [09:48] rogpeppe, so it fails earlier [09:49] TheMue: on my desktop - which is native ubuntu [09:49] rogpeppe, how about adding "u" to the [charset] in the regex? [09:49] dimitern: i'm about to do that [09:49] voidspace: ok [09:49] TheMue: with plenty cpu / ram / hard drive [09:49] TheMue: unlike my laptop.... [09:49] voidspace: ah, you are the one who took the orange box with him [09:50] haha, I wish [09:50] yeah, nice toy [10:27] TheMue: did you create a MaaS superuser on gremlin? [10:28] TheMue: ah, I see you did [10:28] or someone did [10:32] voidspace: someone [10:32] voidspace: not me [10:33] TheMue: it's the same user(name) we had before [10:33] TheMue: it was probably still elmo - I told him what username and password we used [10:33] voidspace: interesting [10:33] aaah [10:33] he wasn't impressed with our high-security password :-) [10:33] hehe [10:33] absolutely [10:34] that's a typical superuser problem, instead of heaving administrator groupd and adding individual users to it [10:34] right [10:34] when it's MY machine it's no problem, but when sharing it ... [10:37] TheMue: interesting - I added a new VM (kvm instance) and it has automatically shown up in the MaaS cluster [10:37] I need to add power details [10:37] at least when I manually started it it came up [10:37] voidspace: nice [10:38] TheMue: what's the format for power address and power id? [10:38] I can look it up [10:38] voidspace: hmm, here it maybe enough to add the maa user to the libvirt group [10:38] yep, needed anyway I think [10:39] voidspace: http://www.teale.de/tealeg/computing/cloud/kvm_maas_juju_openstack.html#sec-5-4 [10:39] done [10:41] TheMue: we still need to generate a key for the maas user I think [10:41] voidspace: seems so [10:41] hmmm... although it's running on the host [10:41] but it will still use ssh+qemu I think [10:41] voidspace: btw, did you start the boot image import? otherwise I'll do it now [10:41] I didn't [10:41] voidspace: ok, I start it [10:41] I'm downloading a utopic iso image locally [10:42] my internet connection is horrible :-/ [10:43] voidspace: hmm, and here I've got troubles with the boot images link, I get a "not found" [10:44] voidspace: ah, the link misses the "MAAS" part of the URI, interesting [10:59] TheMue: sudo -u maas virsh -c qemu+ssh://maas-admin@localhost/system list --all [11:05] two trivial PRs for review: https://github.com/juju/utils/pull/44 and https://github.com/juju/charm/pull/62 [11:08] anyone know what can cause an "Extant directories unknown" error in the 'bot ? [11:08] http://juju-ci.vapour.ws:8080/job/github-merge-juju/920/console [11:08] ah, i know. [11:09] well, perhaps. [11:09] * rogpeppe tries something. [11:12] ? [11:25] TheMue: can you see the node? [11:26] TheMue: I see one node with the status Ready [11:26] and I need coffee [11:33] voidspace: strange, have the headline "0 nodes in gremlin MAAS" here in the UI [11:38] TheMue: how odd [11:41] voidspace: I'm logged in with our admin user [11:59] TheMue: I'm logged in as maas-admin [12:00] maas-test-controller - 1 node in this MAAS [12:00] our node is called "useless-weight" [12:01] which is a pretty cool name [12:06] virsh list --all shows me maas-test-controller running and maas-test-1 shut off [12:07] that's correct [12:07] the node is not running [12:07] but I don't see any "useless-weight" [12:08] only 0 nodes :,( [12:08] I've logged out and back in again and I still see it [12:08] that's very odd [12:08] rogpeppe: I figured out what was causing that Extant directories issue [12:09] TheMue: now I am home my power supply works fine... [12:09] which is good, but also odd [12:12] voidspace: oh, one moment, do you logged into the maas controller on gremlin or inside the image maas-test-controller? [12:13] TheMue: I am logged into the maas controller (web view) on gremlin [12:14] My local url being http://localhost:8080/MAAS/ [12:14] and I'm running ssh forwarding [12:14] ssh gremlin -L 8080:10.124.0.11:80 [12:15] voidspace, you could run a vpn connection to access gremlin's internal ip directly - that's what I use [12:15] voidspace: ah, so we're using different controllers [12:15] dimitern: this is easier [12:15] TheMue: ah, yes [12:15] maas-controller image is a different maas [12:16] maas-test-controller [12:16] heh, that's why [12:16] TheMue: I'm using the MaaS that's installed *on gremlin* [12:18] voidspace: me too [12:19] voidspace: but then you don't need port forwarding, you can use gremlin/MAAS directly [12:19] TheMue: if I use the VPN ? [12:20] this works and is easy enough [12:21] voidspace: the forwarding was only needed for a MAAS controller inside a KVM [12:21] voidspace: I start the vpn and then can talk to port 80 on gremlin directly [12:22] right, I'm not using a vpn [12:22] so I need the port forwarding [12:23] voidspace: yeah, but you're talking to .11 (that's the KVM I installed on Friday), not to .10 (which is gremlin itself running a controller too) [12:23] oh really! [12:23] :D [12:23] hah [12:23] so the kvm image appeared there automatically [12:23] I didn't manually add the node [12:23] how funny [12:24] I just copied the port forwarding from my laptop [12:24] I didn't check the ip address [12:24] *lol* [12:25] so I still would like to know which node you see if only one KVM instance is running, the controller itself *stunning* [12:28] TheMue: installing MaaS locally into a KVM image has seized the keyboard / mouse [12:28] TheMue: and the key combination it wants to release it doesn't appear to exist on my keyboard (I've remapped some of the keys...) [12:29] TheMue: so even when only the controller is running the cluster knows about the other node [12:29] TheMue: it shows it as in a Ready state [12:31] TheMue: I'm going on lunch [12:31] back in a bit [12:33] waigani, hey, are you around for a review? [12:37] http://reviews.vapour.ws/r/167/ [12:37] hey dimitern, sure just abut to head for lunch though [12:38] waigani, sure, np - when you can, have a look please :) [12:41] jcw4: oh yes? [12:41] rogpeppe: it's a godeps issue I believe [12:42] jcw4: entirely probable... [12:42] jcw4, it is before 6am for you, thats dedication [12:42] (coupled with a juju-release-tools weirdness) lol [12:42] alexisb: gotta maximise overlap [12:43] and right back at you alexisb [12:43] :) [12:43] rogpeppe: godeps seems to follow second level imports at the HEAD revision of first level imports [12:44] rogpeppe: before updating the first level imports to the dependencies.tsv revision [12:44] jcw4: when updating, godeps doesn't follow imports at all AFAIR [12:44] jcw4, I am in Brussels so it is normal time for me [12:44] rogpeppe: yeah, I think it does [12:44] alexisb: whew [12:44] :) [12:45] rogpeppe: it does a go get -d .... [12:45] which seems to be a little recursive [12:45] jcw4: go get -d shouldn't follow imports [12:45] hmm [12:45] jcw4: (that's the point of the -d flag) [12:45] rogpeppe: when I was testing yesterday it seemed to [12:46] jcw4: ah, you're right [12:46] jcw4: i misread/misremembered what that flag did [12:47] rogpeppe: of course then the juju-release-tools check that no *extra* packages are downloaded, it causes that Extand directories error [12:47] Extant even [12:47] hmm, i wonder what the best way is of just fetching a repo without its dependencies [12:48] rogpeppe: I can't think of a way to work around this other than to relax the juju-release-tools check [12:48] rogpeppe, jcw4: I should probably email the list explaining, [12:48] but I think we can just fix [12:49] mgz: I'm on the edge of my seat waiting for the rest of that comment [12:49] the issue is go get pulls in tip of master and all dependencies of tip of master, which somewhat conflicts with the concept of having clear and well defined deps [12:49] mgz: right [12:50] so, can either not use go get in godeps, or make the tarball creation delete extranious things go get went and got and trust the build to blow up if they did actually matter [12:50] mgz: yeah. i think godeps should probably avoid using go getr [12:50] well I'm guessing we're more likely to 'fix' godeps than go get [12:50] rogpeppe: I had a brief go at that last night, it's a little annoying [12:51] mgz: yeah, there's a fair amount of logic in the go tool that would need duplication [12:51] but is possible to add a Clone() to VCS and do our own mapping of how to get launchpad.net/ github.com/ etc [12:51] jcw4: well, go get is working as advertised, so it doesn't really need fixing [12:52] the dep collection is at least already there and could be resused [12:52] jcw4: except i guess to add another flag to specify that deps should not be downloaded [12:52] yeah, that's sort of what we want [12:52] rogpeppe: I wonder if we used tags instead of head revisions in the import url [12:53] jcw4: we still have the problem that go get always gets master [12:53] jcw4: go get does what it does. no way to specify tags to go get [12:53] not tags [12:53] rogpeppe, mgz I thought if the import path ended with .something go get looked for a something tag to check out [12:53] jcw4: i don't think so [12:54] hrm - I would expect go get would want to be more deterministic too [12:55] rogpeppe: I think, as a fix for now, I'm going to delete unknown dirs, and trust that things will break [12:55] mgz: i'm not sure that's quite in the spirit of that check [12:55] mgz: isn't the point of that check to make sure that we include godeps info for all our deps? [12:55] yes [12:56] mgz: ah, i see [12:56] mgz: sgtm [12:56] mgz: if we're really dependent on it, then it should break [12:56] +1 [13:03] ick... the script is so nice and safe at present [13:03] making in rmtree stuff is a little scary [13:03] mgz: lol [13:04] mgz, rogpeppe would using gopkg.in-like urls for dependencies avoid this issue? [13:04] jcw4: no [13:04] nah [13:04] :( [13:12] mgz: please let me know when i can try to re-land that branch... [13:12] rogpeppe: will do [13:20] rogpeppe: done change, writing some tests before proposing/landing === mgz is now known as wgz === mgz_ is now known as mgz [15:35] mgz: did you manage to get those changes in? [16:14] what's the configuration option to disable apt-get upgrade on add machine and is it in 1.20 ? [16:17] marcoceppi_: enable-os-upgrade: false i'm pretty sure its not in 1.20. [16:17] * marcoceppi_ raises fists to the sky, falls to his knees, and yells NOOOOOOOOOOOOOOOO [16:18] marcoceppi_: There is master. It can be your friend. [16:18] sure, run a demo using tip of tip, what could go wrong [16:19] marcoceppi_: https://bugs.launchpad.net/juju-core/+bug/1350493 [16:19] Bug #1350493: 1.20.x local provider not running apt-get update [19:41] morning folks [19:41] hi thumper [19:42] waigani: I have a question about state localID and docID [19:42] jcw4: go for it [19:42] :) [19:42] waigani: still working? [19:42] * thumper looks around for fwereade [19:42] does it make sense to do a prefix check on docID like there is in localID? [19:43] thumper: i need to talk to you about the watcher and localID/docID [19:43] I'd like to be able to safely pass an environment prefixed id to docID [19:44] oh right [19:44] I could just do docID(localID(id)) [19:44] but ... [19:44] no, ugly [19:44] yep [19:45] why do you need to docID() if it already has the prefix? [19:45] i'm guessing because you are not sure if it has it or not [19:45] waigani: I have a method that might be called with either [19:45] yep [19:45] i would argue that the code would be easier to read if you did the check in that method [19:46] waigani: okay, that's plausible [19:46] waigani: did you want a hangout? [19:46] tx waigani [19:46] that way, it is clear that the method handles an ambiguous id [19:46] good point [19:47] which, i for one, would be glad to spot when reading your method [19:47] interesting [19:47] so... if the method today does docID(id) [19:47] then I'd assume that id is a localID [19:47] no further checking needed [19:48] okay. Thanks again [19:48] i.e. do the prefix check in your method [19:48] thumper: okay [19:48] yeah [19:48] thumper: hangout channel? [19:49] waigani: you mean standup hangout? [19:49] lol - yeah, sigh [19:49] it's late === jcw4 is now known as jcw4|afk [20:58] cmars: hey, you around? === perrito6` is now known as perrito666 === thumper is now known as thumper-dogwalk === wallyworld_ is now known as wallyworld === uru_ is now known as urulama === thumper-dogwalk is now known as thumper === jcw4|afk is now known as jcw4