/srv/irclogs.ubuntu.com/2011/07/01/#ubuntu-ensemble.txt

_mup_Bug #804120 was filed: add-relation between add-unit instances gives instances out of range <Ensemble:New> < https://launchpad.net/bugs/804120 >00:46
_mup_Bug #803855 was filed: peer hooks are not invoked <Ensemble:Confirmed> < https://launchpad.net/bugs/803855 >01:06
hazmatSpamapS, negronjl my first comment on the bug shows the output of the peer hook..01:24
negronjlhazmat:  checking the bug now...01:24
hazmatnegronjl,  relations aren't added between units but between services01:25
hazmata peer relation is self-referential.. i gave the example in the bug of adding it for the tomcat service01:25
negronjlhazmat:  my last post on the bug shows the error that ensemble returns when I try to add-relation between services01:25
hazmatnegronjl, it shows adding a relation between units which isn't valid01:26
hazmatoh.. nm01:26
hazmatnegronjl, i see now01:26
SpamapShazmat: it looks like theres a relation with no services listed in zk01:26
hazmatnegronjl, but that command does add the relation and the hooks do fire01:26
hazmatnegronjl, 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 re01:27
hazmatnegronjl, that error in status is a bug though01:27
negronjlhazmat:  I really don't understand your position on this.  I just showed you the command + output.  What am I doing wrong here?01:27
negronjlhazmat:  Are you running the latest version from PPA or something newer ?01:28
hazmatnegronjl, i'm saying the relation is added by the ensemble add-relation tomcat6 tomcat6.. and that the hooks do fire01:28
hazmatnegronjl, i agree the status command appears to have issues displaying peer relations01:28
hazmatnegronjl, i also agree that peer relations should probably be auto added by deploy01:28
hazmatbut my position is that peer hooks do work now01:28
SpamapS[zk: localhost:2181(CONNECTED) 7] get /relations/relation-0000000000/peer    01:29
SpamapS{name: cluster, role: peer}01:29
hazmatSpamapS, what do you expect to see there?01:29
hazmatSpamapS, ls on that same node01:29
negronjlhazmat:  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 again01:30
hazmatnegronjl, agreed re status01:30
SpamapShazmat: two units01:30
hazmatSpamapS, as expected01:30
SpamapShazmat: this code sees no  "rel_services" in status...01:31
hazmatSpamapS, i think we've established there's a bug in status01:31
SpamapS            rel_service = rel_services[0]01:31
hazmatill fix the status bug now01:32
SpamapS    # filter out 'self'01:32
SpamapS            rel_services = [rsn for rsn in rel_services if rsn.service_name !=01:32
SpamapS                            service.service_name]01:32
hazmatyeah.. its unfortunate that the status doesn't have any peer tests01:33
hazmatSpamapS, that code is from status i assume01:33
SpamapSyes, line 22001:33
SpamapSremoving it fixes it01:33
SpamapSBut probably will cause bad output on non peer relations01:35
hazmatnegronjl, did that work?01:38
negronjlhazmat:  still spinning up.  one more minute01:38
hazmatsounds like its been an exciting week, wish i could have been sprinting with you guys01:39
* hazmat looks at status01:39
hazmatSpamapS, thanks for the pointer01:39
SpamapShazmat: its been a little nuts yeah01:45
negronjlhazmat:  just checked it and it works but, status is busted01:49
hazmatnegronjl, 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 week01:50
hazmatthe PWD for hooks to be the formula directory has been in review for a week as well..01:50
hazmatnegronjl, you could probably bug bcsaller and jimbaker  to do a review and we can get it pushed tomorrow if you need to demo it01:50
_mup_Bug #804135 was filed: peer relations should be automatic <Ensemble:New> < https://launchpad.net/bugs/804135 >01:51
hazmati'll see if i can get to that one as well01:51
hazmattonight01:51
negronjlhazmat:  I will.  Thanks for the help hazmat01:51
hazmatnegronjl, np... sorry if i seemed a little short... its just that i saw it working, i didn't understand what the issue was01:52
negronjlhazmat:  no worries01:52
hazmatnegronjl, 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 deploying01:53
hazmatvery magical ;-)01:54
SpamapShazmat: heh.. demo time is in about 7 hours .. I'm just going to demo my LXC branch. ;)01:58
SpamapSif I wake up in time01:58
hazmatSpamapS, nice02:00
hazmatSpamapS, get some sleep.. its late there i assume02:00
SpamapShazmat: hacking on interfacing w/ cobbler. ;)02:01
SpamapSand yeah its about time to hit it02:01
hazmatSpamapS, via xml-rpc of cobbler?02:01
SpamapShazmat: yep02:01
SpamapSlp:~clint-fewbar/ensemble/orchestra-provider02:02
SpamapSVERY VERY raw02:02
hazmatSpamapS, nice02:03
_mup_Bug #804199 was filed: Ensemble needs a way to pin a formula to a specific package version <Ensemble:New> < https://launchpad.net/bugs/804199 >10:01
_mup_Bug #804202 was filed: Ensemble needs to enforce configuration sanity <Ensemble:New> < https://launchpad.net/bugs/804202 >10:02
_mup_Bug #804203 was filed: Ensemble needs to communicate securely with Zookeeper <Ensemble:New> < https://launchpad.net/bugs/804203 >10:04
=== daker_ is now known as daker
m_3http://paste.ubuntu.com/636296/10:53
m_3negronjl: http://paste.ubuntu.com/636296/10:53
m_3negronjl: http://paste.ubuntu.com/636296/10:54
m_3sorry... irssi retard10:54
_mup_Bug #804226 was filed: Relation Get should show all elements <Ensemble:New> < https://launchpad.net/bugs/804226 >10:57
_mup_ensemble/expose-provision-machines r269 committed by jim.baker@canonical.com11:14
_mup_Watch service unit assignment on machines11:14
_mup_ensemble/expose-provision-machines r270 committed by jim.baker@canonical.com11:44
_mup_More guards11:44
_mup_ensemble/expose-provision-machines r271 committed by jim.baker@canonical.com12:27
_mup_Refactored tests12:27
hazmatzookeeper multi-node functionality lands13:37
_mup_Bug #804284 was filed: REST API for managing ensemble environments, aka expose cli as ensemble daemon <Ensemble:New> < https://launchpad.net/bugs/804284 >13:41
_mup_Bug #804327 was filed: Implement formula include <Ensemble:New> < https://launchpad.net/bugs/804327 >14:38
_mup_ensemble/expose-provision-machines r272 committed by jim.baker@canonical.com14:50
_mup_Robust testing without sleep on working with machines14:50
hazmatargh.. includes15:03
jimbakerhazmat, yeah, we need stacks :)15:18
bcsallerhazmat:  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 soon15:20
hazmatjimbaker, indeed, noted the same on the bug comment15:20
jimbakerbcsaller, so they want this to work in a high-latency env?15:21
hazmatbcsaller, 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 both15:21
hazmatjimbaker, az are low latency xc communication15:21
hazmat3-10ms, avg 5ms afaicr15:22
bcsallerhazmat: deploy openstack to create more than one Avail Zone15:22
bcsallerthen use ensemble to manage services in that zone15:22
bcsallerwe have new expectations at many levels of that deployment story15:22
hazmatbcsaller, cool, looking forward to the write up15:22
bcsallerhazmat: I am writing up a review of the AMI branch now, keep having to service interrupts though 15:24
hazmatbcsaller, no worries, i'm dealing with the same (low throughput, kaleb hanging on my arm literally atm)15:27
bcsallerhi kaleb15:27
_mup_ensemble/status-w-peers r264 committed by kapil.thangavelu@canonical.com15:38
_mup_sattus works with peer relations15:38
bcsallerI'll review that today as well ^^15:40
hazmatbcsaller, 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 handle15:41
bcsallerhazmat: if you have an old stack trace or can reproduce point me at it and I can take a look15:42
bcsallerI might not see it otherwise :-/15:42
hazmatbcsaller, https://pastebin.canonical.com/49276/15:43
bcsallerhazmat: and thats intermittent or not?15:43
hazmatbcsaller, constant15:44
bcsallerok, looks like its not getting a handle to ZK in the dummy provider, that might indicate that something in setUp is failing 15:44
hazmatbcsaller, i get it on trunk as well15:44
bcsallerI can take a look15:44
bcsallerdoh!15:44
hazmatwhen just running the status tests15:45
hazmatbcsaller, hmm.. might be my local setup.. something seems strange15:45
hazmatlots of tests fail for me on trunk.. randomly.. i might have a bg zk15:45
bcsalleryeah, I don't get that, just ran the branch w/o issue 15:47
bcsallerhazmat: thats what it sounds like to me15:47
hazmatbcsaller, cool15:52
kirklandhazmat: yo!15:55
kirklandhazmat: how goes :-)15:55
hazmatkirkland, wasup? any good irish explorations ?15:55
hazmatkirkland, pretty good.. hanging at the beach w/ my son, watching wimbledon, fixing bugs, but wishing i was in dublin15:55
kirklandhazmat: heading to scotland next week for some hiking and whisky tasting15:55
kirklandhazmat: nice15:55
hazmatkirkland, awesome15:55
kirklandhazmat: bcsaller says you've got the bug about ensemble requiring its own images15:56
kirklandhazmat: we're blocking a bit on that right now15:56
hazmatkirkland, yeah.. i fixed it earlier this week, its in review, ensemble will be able to use any cloud-init enabled ubuntu image15:56
kirklandhazmat: as we're developing formulas for cloudfoundry that require a) oneiric and b) much larger instances15:56
kirklandhazmat: rock! 15:56
kirklandhazmat: can you point me to that bug/merge?15:57
hazmatkirkland, 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
hazmatand setting the image id15:57
hazmatkirkland, https://bugs.launchpad.net/ensemble/+bug/79150115:57
_mup_Bug #791501: Ensemble should use standard amis and the ppa <Ensemble:In Progress by hazmat> < https://launchpad.net/bugs/791501 >15:57
kirklandhazmat: sweet, thanks15:58
hazmatkirkland, 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
hazmattwisted takes a long time to install as well oddly.15:58
kirklandhazmat: nice15:59
hazmatkirkland, any other blocker bugs for you guys?16:04
hazmatkirkland, i'm working on auto adding relations for peers that troubled negronjl yesterday16:04
kirklandhazmat: hmm, well, we've filed a handful this week16:04
hazmatkirkland, well most of them seemed like wish list items16:04
kirklandhazmat: lynxman and negronjl  have been filing them;  i've been marking them "confirmed" and adding additional notes16:05
kirklandhazmat: i think our highest is the generic images/bigger instances16:05
kirklandhazmat: let me check the others ....16:05
hazmatthe templating one is a wish list, the parallel ssh exec one is going to need some more thought16:05
hazmatsecurity stuff i'm going to be making a big push on for most of july16:06
kirklandhazmat: good, security stuff will be essential before we can actually start pushing this to real customers16:06
hazmatkirkland, i updated that bug with a link to the security spec that forms the initial design16:06
kirklandhazmat: the templating one, yeah, wishlist;  something we really need/want, so that we can define tunables and just put our selections in the config16:07
kirklandhazmat: absolutely necessary for formula reuse16:08
hazmatkirkland, absolutely.. the last branch for config/tunables is in review16:08
hazmatits had a rough time through review, but it should land hopefully next week16:08
kirklandhazmat: cool, that's more important to me than the templating itself16:11
kirklandhazmat: which we can handle as formula writers16:11
kirklandhazmat: but we need help from ensemble on the config side16:11
hazmatkirkland, sounds good16:11
hazmatkirkland, how so?16:11
hazmatbeyond offering the configuration options on a service16:12
kirklandhazmat: heh, just that -- offering the config options and getting them through to the install hook16:17
hazmatkirkland, cool16:18
hazmatoff to grab some lunch, bbiab16:19
* hazmat tries to tap the packaging experience in the room16:24
_mup_ensemble/expose-provision-machines r273 committed by jim.baker@canonical.com16:29
_mup_Test to verify that machine applies firewall policy after unit has been assigned16:29

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!