[00:46] <_mup_> Bug #804120 was filed: add-relation between add-unit instances gives instances out of range < https://launchpad.net/bugs/804120 > [01:06] <_mup_> Bug #803855 was filed: peer hooks are not invoked < https://launchpad.net/bugs/803855 > [01:24] SpamapS, negronjl my first comment on the bug shows the output of the peer hook.. [01:24] hazmat: checking the bug now... [01:25] negronjl, relations aren't added between units but between services [01:25] a peer relation is self-referential.. i gave the example in the bug of adding it for the tomcat service [01:25] hazmat: my last post on the bug shows the error that ensemble returns when I try to add-relation between services [01:26] negronjl, it shows adding a relation between units which isn't valid [01:26] oh.. nm [01:26] negronjl, i see now [01:26] hazmat: it looks like theres a relation with no services listed in zk [01:26] negronjl, but that command does add the relation and the hooks do fire [01:27] negronjl, i've succesfully run debug-hooks against the peer relation hooks in your formula, and watched them execute after i got gustavo's first email re [01:27] negronjl, that error in status is a bug though [01:27] hazmat: I really don't understand your position on this. I just showed you the command + output. What am I doing wrong here? [01:28] hazmat: Are you running the latest version from PPA or something newer ? [01:28] negronjl, i'm saying the relation is added by the ensemble add-relation tomcat6 tomcat6.. and that the hooks do fire [01:28] negronjl, i agree the status command appears to have issues displaying peer relations [01:28] negronjl, i also agree that peer relations should probably be auto added by deploy [01:28] but my position is that peer hooks do work now [01:29] [zk: localhost:2181(CONNECTED) 7] get /relations/relation-0000000000/peer [01:29] {name: cluster, role: peer} [01:29] SpamapS, what do you expect to see there? [01:29] SpamapS, ls on that same node [01:30] hazmat: I'll try again with the debug-hooks running but, the output of ensemble status is still a bug even if I see hooks running...I'll get back to you in a minute so I can try again [01:30] negronjl, agreed re status [01:30] hazmat: two units [01:30] SpamapS, as expected [01:31] hazmat: this code sees no "rel_services" in status... [01:31] SpamapS, i think we've established there's a bug in status [01:31] rel_service = rel_services[0] [01:32] ill fix the status bug now [01:32] # filter out 'self' [01:32] rel_services = [rsn for rsn in rel_services if rsn.service_name != [01:32] service.service_name] [01:33] yeah.. its unfortunate that the status doesn't have any peer tests [01:33] SpamapS, that code is from status i assume [01:33] yes, line 220 [01:33] removing it fixes it [01:35] But probably will cause bad output on non peer relations [01:38] negronjl, did that work? [01:38] hazmat: still spinning up. one more minute [01:39] sounds like its been an exciting week, wish i could have been sprinting with you guys [01:39] * hazmat looks at status [01:39] SpamapS, thanks for the pointer [01:45] hazmat: its been a little nuts yeah [01:49] hazmat: just checked it and it works but, status is busted [01:50] negronjl, cool, i'm working on status right now, it will be in the review queue in an hr or two, but it probably won't get enough reviews to go in b4 next week [01:50] the PWD for hooks to be the formula directory has been in review for a week as well.. [01:50] negronjl, you could probably bug bcsaller and jimbaker to do a review and we can get it pushed tomorrow if you need to demo it [01:51] <_mup_> Bug #804135 was filed: peer relations should be automatic < https://launchpad.net/bugs/804135 > [01:51] i'll see if i can get to that one as well [01:51] tonight [01:51] hazmat: I will. Thanks for the help hazmat [01:52] negronjl, np... sorry if i seemed a little short... its just that i saw it working, i didn't understand what the issue was [01:52] hazmat: no worries [01:53] negronjl, SpamapS btw if you guys are doing a demo, its a little bit of a cheat, but in the bzr history, there's an auto-deploy rev, that will auto deploy dependent formulas and add required relations automatically when deploying [01:54] very magical ;-) [01:58] hazmat: heh.. demo time is in about 7 hours .. I'm just going to demo my LXC branch. ;) [01:58] if I wake up in time [02:00] SpamapS, nice [02:00] SpamapS, get some sleep.. its late there i assume [02:01] hazmat: hacking on interfacing w/ cobbler. ;) [02:01] and yeah its about time to hit it [02:01] SpamapS, via xml-rpc of cobbler? [02:01] hazmat: yep [02:02] lp:~clint-fewbar/ensemble/orchestra-provider [02:02] VERY VERY raw [02:03] SpamapS, nice [10:01] <_mup_> Bug #804199 was filed: Ensemble needs a way to pin a formula to a specific package version < https://launchpad.net/bugs/804199 > [10:02] <_mup_> Bug #804202 was filed: Ensemble needs to enforce configuration sanity < https://launchpad.net/bugs/804202 > [10:04] <_mup_> Bug #804203 was filed: Ensemble needs to communicate securely with Zookeeper < https://launchpad.net/bugs/804203 > === daker_ is now known as daker [10:53] http://paste.ubuntu.com/636296/ [10:53] negronjl: http://paste.ubuntu.com/636296/ [10:54] negronjl: http://paste.ubuntu.com/636296/ [10:54] sorry... irssi retard [10:57] <_mup_> Bug #804226 was filed: Relation Get should show all elements < https://launchpad.net/bugs/804226 > [11:14] <_mup_> ensemble/expose-provision-machines r269 committed by jim.baker@canonical.com [11:14] <_mup_> Watch service unit assignment on machines [11:44] <_mup_> ensemble/expose-provision-machines r270 committed by jim.baker@canonical.com [11:44] <_mup_> More guards [12:27] <_mup_> ensemble/expose-provision-machines r271 committed by jim.baker@canonical.com [12:27] <_mup_> Refactored tests [13:37] zookeeper multi-node functionality lands [13:41] <_mup_> Bug #804284 was filed: REST API for managing ensemble environments, aka expose cli as ensemble daemon < https://launchpad.net/bugs/804284 > [14:38] <_mup_> Bug #804327 was filed: Implement formula include < https://launchpad.net/bugs/804327 > [14:50] <_mup_> ensemble/expose-provision-machines r272 committed by jim.baker@canonical.com [14:50] <_mup_> Robust testing without sleep on working with machines [15:03] argh.. includes [15:18] hazmat, yeah, we need stacks :) [15:20] hazmat: bare metal deployments changes the timeline on the multi availability zone stuff. I am writing up the conversation I just had, we need to chat about this soon [15:20] jimbaker, indeed, noted the same on the bug comment [15:21] bcsaller, so they want this to work in a high-latency env? [15:21] bcsaller, not sure i see the relation between the two.. multi-availability zone is basically rack level awarness in physical terms.. a --location param seems to encompass both [15:21] jimbaker, az are low latency xc communication [15:22] 3-10ms, avg 5ms afaicr [15:22] hazmat: deploy openstack to create more than one Avail Zone [15:22] then use ensemble to manage services in that zone [15:22] we have new expectations at many levels of that deployment story [15:22] bcsaller, cool, looking forward to the write up [15:24] hazmat: I am writing up a review of the AMI branch now, keep having to service interrupts though [15:27] bcsaller, no worries, i'm dealing with the same (low throughput, kaleb hanging on my arm literally atm) [15:27] hi kaleb [15:38] <_mup_> ensemble/status-w-peers r264 committed by kapil.thangavelu@canonical.com [15:38] <_mup_> sattus works with peer relations [15:40] I'll review that today as well ^^ [15:41] bcsaller, cool, thanks, i had some problems on some of the render tests, but they seem to predate the branch.. not sure, maybe missing i'm missing graphiz locally the error expressed oddly as unable to obtain zk handle [15:42] hazmat: if you have an old stack trace or can reproduce point me at it and I can take a look [15:42] I might not see it otherwise :-/ [15:43] bcsaller, https://pastebin.canonical.com/49276/ [15:43] hazmat: and thats intermittent or not? [15:44] bcsaller, constant [15:44] ok, looks like its not getting a handle to ZK in the dummy provider, that might indicate that something in setUp is failing [15:44] bcsaller, i get it on trunk as well [15:44] I can take a look [15:44] doh! [15:45] when just running the status tests [15:45] bcsaller, hmm.. might be my local setup.. something seems strange [15:45] lots of tests fail for me on trunk.. randomly.. i might have a bg zk [15:47] yeah, I don't get that, just ran the branch w/o issue [15:47] hazmat: thats what it sounds like to me [15:52] bcsaller, cool [15:55] hazmat: yo! [15:55] hazmat: how goes :-) [15:55] kirkland, wasup? any good irish explorations ? [15:55] kirkland, pretty good.. hanging at the beach w/ my son, watching wimbledon, fixing bugs, but wishing i was in dublin [15:55] hazmat: heading to scotland next week for some hiking and whisky tasting [15:55] hazmat: nice [15:55] kirkland, awesome [15:56] hazmat: bcsaller says you've got the bug about ensemble requiring its own images [15:56] hazmat: we're blocking a bit on that right now [15:56] kirkland, yeah.. i fixed it earlier this week, its in review, ensemble will be able to use any cloud-init enabled ubuntu image [15:56] hazmat: as we're developing formulas for cloudfoundry that require a) oneiric and b) much larger instances [15:56] hazmat: rock! [15:57] hazmat: can you point me to that bug/merge? [15:57] kirkland, alternatively you can use the ./bin/ensemble-make-image script to make a 64 bit image for use with the environments.yaml config 'default-instance-type' [15:57] and setting the image id [15:57] kirkland, https://bugs.launchpad.net/ensemble/+bug/791501 [15:57] <_mup_> Bug #791501: Ensemble should use standard amis and the ppa < https://launchpad.net/bugs/791501 > [15:58] hazmat: sweet, thanks [15:58] kirkland, cutting out the use of bzr with the ppa, makes the initial install time about the same as a prebaked image (minus the bootstrap node which needs to install java) [15:58] twisted takes a long time to install as well oddly. [15:59] hazmat: nice [16:04] kirkland, any other blocker bugs for you guys? [16:04] kirkland, i'm working on auto adding relations for peers that troubled negronjl yesterday [16:04] hazmat: hmm, well, we've filed a handful this week [16:04] kirkland, well most of them seemed like wish list items [16:05] hazmat: lynxman and negronjl have been filing them; i've been marking them "confirmed" and adding additional notes [16:05] hazmat: i think our highest is the generic images/bigger instances [16:05] hazmat: let me check the others .... [16:05] the templating one is a wish list, the parallel ssh exec one is going to need some more thought [16:06] security stuff i'm going to be making a big push on for most of july [16:06] hazmat: good, security stuff will be essential before we can actually start pushing this to real customers [16:06] kirkland, i updated that bug with a link to the security spec that forms the initial design [16:07] hazmat: the templating one, yeah, wishlist; something we really need/want, so that we can define tunables and just put our selections in the config [16:08] hazmat: absolutely necessary for formula reuse [16:08] kirkland, absolutely.. the last branch for config/tunables is in review [16:08] its had a rough time through review, but it should land hopefully next week [16:11] hazmat: cool, that's more important to me than the templating itself [16:11] hazmat: which we can handle as formula writers [16:11] hazmat: but we need help from ensemble on the config side [16:11] kirkland, sounds good [16:11] kirkland, how so? [16:12] beyond offering the configuration options on a service [16:17] hazmat: heh, just that -- offering the config options and getting them through to the install hook [16:18] kirkland, cool [16:19] off to grab some lunch, bbiab [16:24] * hazmat tries to tap the packaging experience in the room [16:29] <_mup_> ensemble/expose-provision-machines r273 committed by jim.baker@canonical.com [16:29] <_mup_> Test to verify that machine applies firewall policy after unit has been assigned