/srv/irclogs.ubuntu.com/2011/05/05/#ubuntu-ensemble.txt

_mup_ensemble/expose-provisioning r253 committed by jim.baker@canonical.com00:00
_mup_Make explicit that a couple of methods are only to be used for testing00:00
_mup_ensemble/unit-agent-resolved r275 committed by kapil.thangavelu@canonical.com00:39
_mup_complete the change over to more transitions, fill out coverage00:39
_mup_ensemble/unit-agent-resolved-part-two r274 committed by kapil.thangavelu@canonical.com00:48
_mup_merge and resolve conflict00:48
_mup_ensemble/unit-agent-resolved-part-two r274 committed by kapil.thangavelu@canonical.com01:01
_mup_redo merge resolve conflict, grabbed the wrong resolved file01:01
niemeyerYo!02:11
niemeyerhazmat: ping02:33
hazmatniemeyer, pong02:33
niemeyerhazmat: Yo02:33
niemeyerhazmat: I'm having some trouble to review the new unit-agent-resolved, for lack of a good based to compare it with02:33
niemeyerhazmat: ensemble-resolved, which is the pre-requisite, doesn't include the trunk yet02:33
niemeyerhazmat: the trunk doesn't include ensemble-resolved02:33
niemeyerhazmat: and unit-agent-resolved contains both02:34
hazmatniemeyer, no.. it doesn't, unit-agent-resolved is after ensemble-resolved in my pipeline02:34
niemeyerhazmat: So no matter what's the base, there are cross-changes02:34
niemeyerhazmat: Yes it is, thus, it includes the changes from it02:34
hazmatniemeyer, the base is ensemble-resolved02:34
niemeyerhazmat: Yes it is02:34
hazmati need to push my latest which merges trunk02:34
hazmatof ensemble-resolved02:34
hazmatif you want to utilize it as a base02:35
niemeyerhazmat: unit-agent-resolved contains both the latest from trunk and the latest from ensemble-resolved02:35
hazmatniemeyer, yes02:35
niemeyerhazmat: I can't compare it with either without getting irrelevant changes02:35
niemeyerhazmat: (in the diff)02:35
hazmatniemeyer, the diff to ensemble-resolved looked fine to me02:36
niemeyerhazmat: The solution is to handle the ensemble-resolved merge on trunk, or to update it02:36
niemeyer-html_static_path = ['_static']02:36
niemeyer+#html_static_path = ['_static']02:36
niemeyerhazmat: That's part of that diff02:36
niemeyerhazmat: (and a lot of other things from trunk)02:36
hazmatpushing the latest ensemble-resolved02:37
niemeyerhazmat: That should handle it if you have trunk merged on it, thanks02:37
hazmatniemeyer, let me know if that fixes the issue02:37
hazmatits pushed02:37
hazmatthat's current with trunk02:38
niemeyerhazmat: Yep, that did it, thank you02:38
hazmatniemeyer, cool, np02:39
niemeyerPhew, 2 to go03:01
niemeyerTomorrow, though03:01
_mup_ensemble/config-set r216 committed by bcsaller@gmail.com03:15
_mup_checkpoint03:15
_mup_ensemble/auto-dependency-resolution r217 committed by kapil.thangavelu@canonical.com03:53
_mup_flesh out some tests using a new test ease of use api.03:53
_mup_ensemble/expose-provisioning r254 committed by jim.baker@canonical.com04:17
_mup_Test added to verify opened port parsing04:17
kim0morning folks09:05
_mup_ensemble/config-get r219 committed by bcsaller@gmail.com10:37
_mup_use get_formula_state in get_relation_endpoints, removes duplicate code10:37
_mup_ensemble/config-get r220 committed by bcsaller@gmail.com10:39
_mup_rename hook's local_* methods as get_local_*10:39
_mup_expanded test coverage10:39
_mup_ensemble/config-get r221 committed by bcsaller@gmail.com10:41
_mup_merge trunk10:41
_mup_ensemble/trunk r219 committed by bcsaller@gmail.com10:44
_mup_Merge config-get [r=niemeyer] [f=776605]10:44
_mup_Merge support for config-get cli tool for use in hooks. This makes local service options available within hooks.10:44
kim0config-get lovely :)11:40
_mup_Bug #777816 was filed: Ensemble should resolve dependencies upon deploy <Ensemble:In Progress by hazmat> < https://launchpad.net/bugs/777816 >14:01
niemeyerhazmat: Morning!14:27
hazmatniemeyer, morning14:28
kim0niemeyer: hazmat morning 14:30
hazmatkim0, top of the morning14:30
kim0hehe14:30
hazmatmorning always seems a bit arbitrary given the our globally distributed nature14:31
kim0Yeah .. maybe we should get a bot for translating timezone salutations14:31
hazmatfrom a symbolism perspective, morning is nice though, expressing at hope and joy at the beginning of a new day14:32
hazmathmm.. puppet's changing licensing to apache14:37
kim0so how do I have to bribe to merge my doc branches :)14:41
kim0s/how/who/14:41
hazmatkim0, i'll do it now14:49
hazmatniemeyer, do you know if the bzr --author flag on commit takes  a full name or an lp name?14:49
niemeyerhazmat: I suppose it takes a full name14:50
niemeyerhazmat: Or, actually14:50
niemeyerhazmat: I think this is just metadata14:50
hazmatniemeyer, it is just metadata, but its displayed onlp14:50
hazmatniemeyer, the gopher ppa has the latest go packages?14:50
niemeyerhazmat: Displayed as is, I think14:50
niemeyerhazmat: It does14:50
niemeyerhazmat: ppa:gophers/go14:50
hazmatniemeyer, thanks14:51
niemeyerhazmat: np14:51
niemeyerActually, I have to send those packages again.. some third-party libraries got included by mistake14:51
_mup_ensemble/trunk r220 committed by kapil.thangavelu@canonical.com14:56
_mup_merge kim0's new user guide and faq [a=kim0][r=niemeyer][f=734975]14:56
_mup_Provides a tutorial within the documentation taking the user through14:56
_mup_the process of getting started with Ensemble as well as an FAQ.14:56
hazmatkim0, done, and your noted as the author on lp and bzr history14:57
hazmatkim0, thanks again, that was much needed14:59
_mup_ensemble/auto-dependency-resolution r218 committed by kapil.thangavelu@canonical.com15:10
_mup_additional test for solving deps from both environment and formula repos.15:10
hazmatdoing some bug milestone management, sorry about the noise15:20
_mup_ensemble/resolved-state-api r204 committed by kapil.thangavelu@canonical.com15:31
_mup_merge trunk15:31
hazmatniemeyer, should i change the relation resolved api now (it doesn't need the retry flag).. or just wait, since the entire stack uses the api..15:33
kim0hazmat: thanks man15:33
hazmatkim0, np15:34
niemeyerhazmat: Sorry, ECONTEXT15:35
niemeyerhazmat: What's that about again?15:35
hazmatniemeyer, sure.. the set_relation_resolved(relation_map) really just needs to be set_relation_resolved(relation_list) .. since retry hook has no meaning 15:36
hazmathmm.. i think i suggested that i just make the cli barf in this case15:36
hazmati guess that api has other pending cleanups as well though15:36
niemeyerhazmat: Do we plan to make it retry in the future?15:36
hazmatniemeyer, hmm.. good question15:36
hazmatniemeyer, its concievable.. but not nesc. correct15:37
hazmata hook execution may be obsolete in a relation context 15:37
hazmatby the time we want to retry it15:37
hazmati go ahead cli fix, and note is as something that needs adjustment as part of the staterequest protocol work15:39
hazmat^it15:39
hazmathmm.15:41
hazmati guess i can try it and see how much work it really is15:41
hazmatniemeyer, thoughts on retry?15:44
hazmatuds sessions are posted15:45
koolhead17hi all15:52
kim0hey15:53
koolhead17kim0: am at https://code.launchpad.net/~kim0/ensemble/user-tutorial-and-FAQ/+merge/58861  will buzz you later :)15:54
kim0koolhead17: it's been merged .. http://people.canonical.com/~niemeyer/ensemble/user-tutorial.html15:55
koolhead17ok :)15:56
niemeyerhazmat: Sorry, was answering that message in the cloud ML15:58
niemeyerhazmat: Hmm15:58
niemeyerhazmat: So, let's try to come up with a scenario15:59
niemeyerhazmat: DNS goes off for whatever reason15:59
niemeyerhazmat: db-relation-changed explodes15:59
niemeyerhazmat: Intended change done by the other side of the relation isn't acted upon15:59
niemeyerhazmat: No other changes are done15:59
niemeyerhazmat: DNS goes live16:00
niemeyerhazmat: ensemble resolved unit/0 db16:00
niemeyerhazmat: Change is lost16:00
hazmatniemeyer, yes16:00
hazmatniemeyer, we could capture enough information to retry the hook16:00
hazmatbut then say unit/0 departs16:00
hazmatshould we be retrying a hook for something which doesn't exist anymore?16:01
niemeyerhazmat: How would that take place?16:01
niemeyerhazmat: resolved shouldn't work on a relation which doesn't exist (!?)16:01
hazmatniemeyer, the relation exists but the remote peer that caused the change has departed16:01
hazmats/peer/unit16:01
niemeyerhazmat: Hmm16:03
niemeyerhazmat: Thinking16:03
hazmatsome of this might be more clear if we do on disk persistence and recovery, since the merge of last known to current is applicable16:03
niemeyerhazmat: Hmm.. maybe16:04
hazmatniemeyer, i'll leave the api as is for now16:04
niemeyerhazmat: Sounds good16:04
niemeyerhazmat: Can you please [trivial] a comment explaining that debate please?16:05
niemeyerhazmat: Just enough to give us context for following on that conversation at a latter time16:05
hazmatniemeyer, sure in the commit, merge proposal, bug report, code ? 16:05
niemeyerhazmat: Code feels more visible.. next to the API which we should change16:05
hazmatniemeyer, sounds good16:05
niemeyerhazmat: Thanks16:05
_mup_ensemble/expose-provisioning r255 committed by jim.baker@canonical.com16:16
_mup_Merged trunk & resolved conflicts16:16
_mup_ensemble/expose-dummy-provider r217 committed by jim.baker@canonical.com16:16
_mup_Merged trunk16:16
* hazmat lunches16:23
_mup_ensemble/expose-dummy-provider r218 committed by jim.baker@canonical.com16:25
_mup_Use fail/succeed instead of inlineCallbacks for dummy methods w/o internal yield needs16:25
niemeyerhazmat: Enjoy16:28
_mup_ensemble/expose-provisioning r256 committed by jim.baker@canonical.com16:28
_mup_Merged upstream16:28
niemeyerOne branch pending16:37
niemeyerjimbaker: Will review your lunch after lunch16:38
niemeyerErm16:38
niemeyerjimbaker: Will review your branch after lunch16:38
niemeyer"Will review your lunch after branch" would be nice too16:38
jimbakerniemeyer, i believe i'm to have some sort of chicken soup to deal with my cold symptoms... i will see what my mother-in-law prepares ;)16:40
niemeyerjimbaker: ;-)16:40
=== niemeyer is now known as niemeyer_lunch
_mup_ensemble/trunk r221 committed by jim.baker@canonical.com16:47
_mup_merge expose-dummy-provider [r=niemeyer][f=766241]16:47
_mup_Adds dummy provider support for port opening/closing.16:47
_mup_ensemble/expose-provisioning r257 committed by jim.baker@canonical.com16:48
_mup_Merged trunk16:48
_mup_ensemble/expose-hook-commands r249 committed by jim.baker@canonical.com16:49
_mup_CLI commands16:49
_mup_ensemble/expose-hook-commands r250 committed by jim.baker@canonical.com16:50
_mup_Merged upstream & resolved conflicts16:50
_mup_ensemble/resolved-state-api r205 committed by kapil.thangavelu@canonical.com17:14
_mup_document set_relation_resolved api todo discussion17:14
_mup_ensemble/resolved-state-api r206 committed by kapil.thangavelu@canonical.com17:18
_mup_doc string cleanups per review.17:18
_mup_ensemble/trunk r222 committed by kapil.thangavelu@canonical.com17:47
_mup_merge resolved-state-api [r=niemeyer][f=767762]17:47
_mup_Provides a get/set/clear/watch state api for marking unit errors as resolved.17:47
_mup_ensemble/trunk-merge r191 committed by kapil.thangavelu@canonical.com17:48
_mup_merge trunk17:48
=== niemeyer_lunch is now known as niemeyer
_mup_ensemble/ensemble-resolved r259 committed by kapil.thangavelu@canonical.com17:54
_mup_update code comments per review comment17:54
_mup_ensemble/trunk r223 committed by kapil.thangavelu@canonical.com17:57
_mup_merge ensemble-resolved [r=niemeyer][f=767948]17:57
_mup_Provides a new ensemble resolved subcommand for marking unit errors17:57
_mup_as resolved.17:57
niemeyerAlright, last branch in review!18:16
hazmatniemeyer, i've got some comments on the unit-agent-resolved review that i would like to discuss18:26
hazmatalready attached to the review18:26
niemeyerhazmat: Ok.. I'll need some time to go over this review I'm doing18:41
_mup_ensemble/unit-agent-resolved r279 committed by kapil.thangavelu@canonical.com18:41
_mup_address review comments re formatting18:41
=== deryck is now known as deryck[lunch]
niemeyerjimbaker: I really wish this branch was pushed in a more fine grained way19:14
niemeyerI'm not sure I'll be able to get through it today19:15
jimbakerniemeyer, there is an obvious split between the service changes and the specific support for provisioning19:16
jimbakeralthough the service changes are all very much boiler plate cut & paste19:17
jimbakerhowever, if you want me to split the branch in that way, i can certainly do so19:17
niemeyerjimbaker: Yeah, hundreds of lines of boilerplate ;)19:17
niemeyerjimbaker: That'd take even more time19:18
jimbakerniemeyer, i don't like any of it, but hopefully post budapest it can be removed19:18
niemeyerjimbaker: The idea is to not get into this state19:18
niemeyerjimbaker: As you said, there are several split points..19:18
niemeyerjimbaker: Pushing such a huge branch 3 days before UDS isn't good19:18
hazmat niemeyer, jimbaker, bcsaller test api https://pastebin.canonical.com/47175/19:38
hazmati'm implementing parts as part of the dependency resolver work19:39
hazmatmost of it is cribbed from other test helpers we have around19:39
=== deryck[lunch] is now known as deryck
_mup_ensemble/trunk r224 committed by kapil.thangavelu@canonical.com21:02
_mup_merge unit-agent-resolved [r=niemeyer][f=767961]21:02
_mup_Provides a unit lifecycle support for processing resolved unit relations.21:02
* niemeyer => break21:35
=== niemeyer is now known as niemeyer_break
_mup_ensemble/unit-agent-resolved-part-two r279 committed by kapil.thangavelu@canonical.com21:38
_mup_update unit agent to use correct transition depending on retry setting.21:38
_mup_ensemble/trunk r225 committed by kapil.thangavelu@canonical.com21:43
_mup_merge unit-agent-resolved-part-two [r=niemeyer][f=776014]21:43
_mup_Provides unit agent support for transitioning resolved units and unit relations.21:43
_mup_ensemble/debug-hook-scope-guard r211 committed by kapil.thangavelu@canonical.com21:50
_mup_merge trunk21:50
_mup_Bug #778134 was filed: debug hook seems to have lost hook cli context when using hook api <Ensemble:New> < https://launchpad.net/bugs/778134 >22:03
hazmatwe really do need to have ensemble changed in the environment22:03
hazmator use byobu.. its hard to tell what the debug is actively working on otherwise22:03
hazmatsigh.. we need more release testing, or feature freezes before a release. so many new features this release, i'm seeing a few behavior regressions22:09
jimbakerhazmat, agreed - i haven't fired up AWS recently since i'm working on stuff that just needs unit testing, *for now*22:11
jimbakerbut experience has shown repeatedly that we don't anticipate enough in our unit tests22:11
_mup_ensemble/debug-hook-scope-guard r212 committed by kapil.thangavelu@canonical.com22:14
_mup_switch to using byobu22:14
* niemeyer_break waves22:56
=== niemeyer_break is now known as niemeyer
_mup_ensemble/trunk r226 committed by kapil.thangavelu@canonical.com23:04
_mup_merge debug-hook-scope-guard [r=niemeyer][f=776014]23:04
_mup_Enables live hook debugging via screen/byobu, with better start/end condition handling.23:04
_mup_ensemble/expose-hook-commands r251 committed by jim.baker@canonical.com23:05
_mup_Hook command skeleton, plus parse_port_protocol for that arg23:05
* niemeyer => dinner23:58

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