/srv/irclogs.ubuntu.com/2011/04/20/#ubuntu-ensemble.txt

hazmatkim0, i was curious where the log of last weeks cloud-meeting was at00:56
kim0hazmat: http://irclogs.ubuntu.com/2011/04/13/%23ubuntu-cloud.html#t19:01 and summary at http://foss-boss.blogspot.com/2011/04/ensemble-cloud-community-meeting_14.html01:21
hazmatkim0, awesome thanks!02:07
_mup_Bug #766721 was filed: upgrade hook should get access to previous and new versions numbers of the formula <Ensemble:New> < https://launchpad.net/bugs/766721 >02:07
_mup_ensemble/config-state-manager r197 committed by bcsaller@gmail.com03:20
_mup_merge trunk03:20
_mup_ensemble/expose-1-dummy-provider r200 committed by jim.baker@canonical.com03:52
_mup_Dummy provider support for exposing ports03:52
_mup_ensemble/expose-1-dummy-provider r201 committed by jim.baker@canonical.com03:52
_mup_Merged trunk03:52
_mup_ensemble/expose-1-dummy-provider r202 committed by jim.baker@canonical.com03:56
_mup_Test code path on unexposing ports in dummy provider03:56
hazmatg'morning10:40
_mup_ensemble/natty-image r189 committed by kapil.thangavelu@canonical.com11:27
_mup_add a wait to ensure ssh is available, bump default image to natty daily from 20-4-201011:27
_mup_ensemble/natty-image r190 committed by kapil.thangavelu@canonical.com11:27
_mup_merge trunk11:27
_mup_Bug #767021 was filed: Use natty machine image <Ensemble:New> < https://launchpad.net/bugs/767021 >11:28
_mup_ensemble/resolved-state-api r187 committed by kapil.thangavelu@canonical.com12:05
_mup_move is relation running api, up stack12:05
_mup_ensemble/config-get r199 committed by bcsaller@gmail.com12:17
_mup_config-get synced to current12:17
_mup_ensemble/ensemble-resolved r244 committed by kapil.thangavelu@canonical.com12:25
_mup_test cases for resolved command line.12:25
hazmatbcsaller, g'morning.. still up?12:25
bcsallerhazmat: sadly yes12:26
hazmatbcsaller, fwiw, i took a stab at getting the yaml-state tests running with with the hook state context, worked beautifully.12:26
hazmater. running with the hook state context tests that is12:26
bcsallerha, I was just playing with that.12:26
bcsallerthats great12:26
bcsallerstate/relation should change as well 12:27
hazmatbcsaller, i'm curious what  your game plan is with the hook context, extend it with a yaml state for unit relation settings, and service settings and extend the api to get/set/delete + _relation and get + _service and wire that into the api server?12:28
hazmatbcsaller, if you need any help, i've got some extra cycles12:29
bcsallerthats pretty much the direction I'm headed. I already went through and did config-get but then I had to wire it into hook.flush to call write and I figured I'd better insert a pipe for those12:29
bcsallerother flush calls12:30
hazmatbcsaller, even with the service stuff there is still only one yaml state for the purposes of modification by the hook, afaics. the service settings are read only from the hooks12:31
hazmatwiring in the initialize/read on the yaml state proved a bit more invasive but minor12:31
bcsalleryeah, I imagine you did the same thing, but I just put it in the hooks node cache. 12:32
bcsallerand use a single instance var for the service options12:33
hazmathmm.. i ended up bypassing the node cache, and stuck the yaml states as attributes, there's a spot in read which checks if its self unit relation, where i just divert to the instance yaml state12:34
hazmats/read/get_value12:34
hazmati'm sure they both work fine.12:34
bcsalleryeah12:36
=== DigitalFlux_ is now known as DigitalFlux
_mup_ensemble/resolved-state-api r188 committed by kapil.thangavelu@canonical.com12:55
_mup_new state errors for resolved.12:55
_mup_ensemble/resolved-state-api r189 committed by kapil.thangavelu@canonical.com13:04
_mup_get/set/clear for unit resolved and relation resolved.13:04
hazmatbcsaller, fwiw, i expect the workflow for service change would look like that for an upgrade (only from the running state circular transition)13:15
hazmathmm.. dynamic dependencies13:16
hazmatbut against a static set of knows13:17
hazmatworks13:17
niemeyerYo!13:49
hazmatniemeyer, top of the morning14:00
niemeyerhazmat: Hey man, feeling good today?14:01
hazmatniemeyer, yup.. making good progress on resolved14:01
hazmatdoing a some user oriented docs for it now14:01
niemeyerhazmat: Sweet14:01
hazmatits hard to talk about sometimes without exposing internals14:01
_mup_Bug #767147 was filed: upgrade-formula should have a --force option to allow for upgrading without incrementing the version. <Ensemble:New> < https://launchpad.net/bugs/767147 >14:06
SpamapSso.. natty by default? really? ;)14:12
* SpamapS clings tightly to his beloved LTS14:12
niemeyerhazmat: You've answered privately to me on that thread, was that the intention?14:16
niemeyerSpamapS: Hehe :)14:17
SpamapShazmat: I think you missed xx-relation-departed in the development update14:19
hazmatniemeyer, no it wasn't.. 14:20
hazmatniemeyer, i'll resend14:20
niemeyerhazmat: Cool, thanks.. will wait for it before responding14:20
niemeyerhazmat: Just so people get in the proper order14:20
niemeyerhazmat: People will be amazed at how fast I can answer a message, though ;-)14:21
hazmatniemeyer, :-)14:21
SpamapSooo I didn't know upgrades were moving along so nicely14:22
hazmatniemeyer, sent14:23
SpamapShrm.. nothing in docs/source ??14:23
hazmatSpamapS, i forget to move them out of drafts14:23
niemeyerhazmat: Oh, we have to move something else too14:23
* niemeyer tries to remember14:23
niemeyerThe configuration stuff14:23
hazmatniemeyer, looks like it already is for service-config14:24
hazmatnot sure if its wired into the index14:24
niemeyerhazmat: It's in drafts?14:24
niemeyerhazmat: Drafts don't have to be manually inserted14:24
SpamapShazmat: indeed. I saw the bug report about passing versions and it immediately made me think that we should be copying debian packaging in this regard..14:24
hazmatniemeyer, its not in the drafts.14:24
niemeyerhazmat: Right, it should be14:24
niemeyerIt's not ready yet14:24
hazmatah.. yeah.. i'll do a quick branch to fix that up.14:25
niemeyerhazmat: It's also not in the index, but the right thing is to simply move it to the drafts directory14:25
niemeyerhazmat: Just cowboy it14:25
hazmatSpamapS, i'm all ears.. what's debian do?14:25
niemeyeras [trivial]14:25
hazmatk14:25
SpamapShazmat: http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html14:25
SpamapShazmat: you can probably skip to 6.514:26
SpamapShazmat: and 6.6 is actually where my mind went14:26
SpamapS"Details of unpack phase of installation or upgrade"14:26
hazmathmm14:27
SpamapSNow, frankly.. I'd say less than 1% of packages I've touched implement things like 'abort-deconfigure'14:27
SpamapSBut the useful bits are postinst (upgrade|install) and preinst (upgrade|install) .. and somewhat.. prerm14:28
hazmatSpamapS, right now our model is a single hook for the upgrade.. on failure we're going to allow either retry or manual fiddling and resolution.14:28
SpamapShazmat: thats probably ok, because we don't care at all about removal14:28
hazmatbreaking it out into a half-dozen hooks... 14:28
hazmati dunno it might be real world required.. but i'm not sure debian packaging is the friendly feel that ensemble is going  for 14:29
SpamapSI'm thinking more about the flow14:29
SpamapS*probably* want to call install again14:29
SpamapSbut w/ one hook, can be done at maintainer's choice..14:30
SpamapShazmat: hah true dat. ;)14:30
hazmatSpamapS, hmmm.. yeah.. i expect the smarts of the upgrade are hopefully encapsulated in the package upgrade.. i'm totally willing to revisit, but it would be nice if it was practice driven.14:30
hazmatadding the upgrade version thing otoh, just seems like a no-brainer 14:31
SpamapSits useful information for sure14:32
SpamapSDid we ever settle on revision number being anything other than an int?14:32
SpamapShazmat: also how are upgrades of units handled? in parallel w/ no coordination?14:33
hazmatSpamapS, yes.. there's a separate upgrades doc from the formula doc which explores more advanced upgrade options14:34
hazmatSpamapS, the remote sides never see the upgrade with a formula-upgrade atm14:34
hazmatit looks like the service is still there..14:34
hazmatif they try to talk to it via their relation settings, the response will be delayed till the upgrade is complete14:35
hazmatif the upgrade fails, all hooks are queued till the issue is resolved..14:35
hazmathow its resolved is the subject of a new command ensemble resolved.. which allows manually correcting for hook errors on units and unit relations,  i'm writing some docs for it atm14:36
SpamapShazmat: well that makes perfect sense. in the upgrade hook I can enumerate and do sets right?14:37
hazmatSpamapS, not yet14:37
SpamapSok.. because that would be useful14:38
hazmatthe only real functionality that the upgrade hook offers atm that's different than normal hooks is that its executed first out of the new formula.14:38
SpamapSbut no, services should be resilient to transience of their related partners..14:38
hazmatSpamapS, yeah.. i did some discussion of that in the futures section of the upgrade-formula doc14:38
hazmatre enumerate and set14:38
SpamapShazmat: its kind of a corner case really14:39
hazmatSpamapS, the real issue with it at the moment, is that looks we're tending towards some anonymous relations14:39
hazmatSpamapS, i definitely think its realistic14:39
hazmatmaybe a corner, but for advanced upgrading usage, its a pretty important piece.14:39
hazmatby tending to anon relations, i mean the mysql formula for example, can have multiple relations with clients named 'db'.. 14:40
SpamapSThe one I worry about is the new config file that needs to be generated.. need to enumerate and basically rejoin every relation.14:40
hazmatthe identity of those multiple instances of the same name is a question..14:40
SpamapShazmat: sorry I've gone cross eyed again. huh?14:41
hazmatat the moment with another command targeting unit relations, i'm treating them as a set, but if we expose to hooks, they have to have some names14:41
hazmatSpamapS, say we have two wordpress blogs/services, and they both connect to mysql14:41
hazmatnow mysql has two relations instances, but they have the same name.14:41
SpamapStwo services w/ the same name?14:42
hazmatSpamapS, two relations with the same name14:42
SpamapSso the services are 'blog0' and 'blog1' .. .right? 14:42
hazmatSpamapS, sure14:42
SpamapSmysql has seen them as such and there are two databases?14:42
hazmatperhaps we should encode the remote service name in user visible portion of the relation to add a qualifier for enumeration14:43
hazmat^of the relation name14:43
SpamapSits sort of the natural order of things14:43
hazmatniemeyer, ^ re anon relation addressing14:43
SpamapSservice_name+relation_name == unique relation id14:43
niemeyerhazmat: ECONTEXT14:44
hazmatSpamapS, yeah.. that sounds good to me14:44
niemeyerhazmat: Let me read back14:44
SpamapShazmat: given that one would be able to enumerate their established relations and have something that can be used to pass to tools to say "relation-list blog0-db" ?14:44
SpamapSactually blog0:db would imply it is the :db on blog0's side.. but its really the db on mysql's side isn't it?14:45
hazmatSpamapS, yeah.. probably as RELATION_NAME=blog0-db relation-list 14:45
hazmatyeah.. its the mysql side.14:45
SpamapSWell I love the idea of being able to do that14:46
hazmatwe can reverse the order rel-name/service-name14:46
niemeyerhazmat: Ok, in sync again14:47
niemeyerhazmat: I don't think we should use the service name anywhere in a relation14:47
hazmatniemeyer, even as a transient qualifier?14:48
hazmattransient id14:48
niemeyerhazmat: It enables people to build custom-logic based on the service name, which is a big killer for the formula concept14:48
hazmathmmm.. it does14:48
niemeyerhazmat: We have unique ids for the relation already14:48
niemeyerhazmat: The internal ids14:48
niemeyerhazmat: They're not semantically meaningful, but that's exactly the idea.. they shouldn't be14:49
hazmatniemeyer, are you suggesting we expose them to hooks for the purpose of iteration/transient ids?14:49
hazmatniemeyer, cool14:49
niemeyerhazmat: Yeah, I think it'd be fine to have, e.g. db-42414:49
niemeyerhazmat: Just to enable people to iterate over multiple relations in an upgrade hook or similar14:49
hazmatniemeyer, yup.. sounds good.14:50
SpamapSYeah it doesn't matter what the id is, just that a formula can be aware of them on upgrade so that they can list/get all the data out of them.14:50
_mup_Bug #767195 was filed: Ensemble should have hook cli apis to enumerate and interact with all the relations of a unit. <Ensemble:New> < https://launchpad.net/bugs/767195 >14:50
hazmattranscript in the bug report14:51
niemeyerhazmat: Thanks14:51
niemeyerSpamapS: Right14:51
SpamapShazmat: when you say the upgrade spec is in drafts.. where is that so I can read it?14:52
hazmatSpamapS, its in the docs/source/drafts dir.. it will be online in about 15m.. after i move things around for trunk.14:53
hazmatand the doc site rebuilds14:53
hazmatniemeyer, any reason we're not using rtfd?14:53
hazmati thought we where, but the links point back to chinstrap14:53
niemeyerhazmat: It broke repeatedly14:53
SpamapSoh doh :)14:53
niemeyerhazmat: So I gave up on them and put a cronjob in place14:53
hazmatniemeyer, ugh.. did we get any feedback or insight from them.. i thought it was pretty active dev14:53
niemeyerhazmat: It is pretty active.. perhaps too active :)14:54
niemeyerhazmat: At one point they said "Oh, sorry, we broke bzr support a couple of weeks ago in PyCon"14:54
hazmatits amazing to me after doing tdd, how many branches get merged in openstack with neglible or no tests.14:54
niemeyerhazmat: The second time I didn't bother to ask14:54
hazmatbut their dev is insanely active14:54
SpamapShazmat: so I'd like to see some coordination possibilities. You mention it in the doc a bit..14:54
niemeyerhazmat: Yeah, to me it feels a bit like building a bomb :-)14:55
hazmatSpamapS, yeah.. those are still open questions, i'd be glad to brain storm with you on it.14:55
hazmatwhat should it look like to a formula author, what should ensemble do to enable it.14:55
hazmati mean we can totally play tick-tac-toe in a formula..  we can probably do a round-robin :-)14:56
SpamapShazmat: basically it would be good to be able to run 'rm -f /srv/code/live && ln -s /srv/code/4481 /srv/code/live' at the exact same time on all machines.14:56
SpamapShazmat: that is a huge reason people are using mcollective right now14:56
hazmatSpamapS, its async, but the latency should be comparable to mcollective14:57
hazmatperhaps better14:57
niemeyerhazmat: Yeah, that's what I was going to say14:57
niemeyerhazmat: We're almost certainly better14:57
niemeyerhazmat: Due to the live connections14:57
hazmatniemeyer, mcollective is pub/sub on amqp.. not parallel ssh, so its pretty comparable14:57
SpamapShazmat: another way people do it is they pick an exact second they want it to happen.14:57
hazmatat least that was my understanding of it14:58
niemeyerhazmat: Ah, ok, yeah, that may be similar14:58
hazmati found a pretty nifty implementation of func in python.. using zeromq the other day, https://github.com/thatch45/salt14:58
SpamapSright mcollective is a two way channel to each box facilitated via AMQP14:58
hazmatalso uses ruby factr lib to expose to its python scripts.14:59
hazmater. expose machine info14:59
SpamapSthats just the default agent14:59
SpamapSpeople write them to do all kinds of weird stuff. :)15:00
SpamapSthe amorphous nature is one reason we have an opportunity to provide something with more structure and less custom work15:00
hazmatniemeyer, here's the delta for the trivial docs update.. https://pastebin.canonical.com/46437/15:02
niemeyerSpamapS: Yeah, we have to think a bit more about actual impact, but being able to coordinate execution does sound like something we should be looking at15:02
niemeyerhazmat: It shouldn't be in the index15:02
niemeyerhazmat: Wait.. is it reversed?15:03
SpamapSniemeyer: I think we talked about a relation-cas command before... getting back to what I wanted tho.. relation-lock ;)15:03
hazmatniemeyer, the upgrades doc talks about the general update scenarios, and the upgrade-formula one goes into details of the formula upgrade.15:03
hazmatniemeyer, into internals/specs?15:03
SpamapSeither way, thats a nice to have. just being able to upgrade formulas is GREAT right now15:04
niemeyerhazmat: They are both being inserted into the index?15:04
hazmatSpamapS, should be a few more goodies coming for formula authors before budapest15:04
SpamapSsettings is, IMO, the last thing before I will start deploying and managing a couple of things on ensemble.15:04
hazmatniemeyer, atm yes.15:04
niemeyerhazmat: You can just drop the files in drafts/15:04
SpamapSLooking specifically at Roundcube for my webmail. :)15:05
niemeyerhazmat: Oh, wait, sorry.. have you merged upgrades already?15:05
hazmatSpamapS, yeah.. that's key15:05
hazmatniemeyer, yes.. the upgrades are merged, i did a few end-to-end tests yesterday15:05
niemeyerhazmat: Awesome, fantastic, sorry for the confusion15:05
niemeyerhazmat: +1 on the change15:06
hazmatniemeyer, cool, thanks15:06
_mup_ensemble/trunk r203 committed by kapil.thangavelu@canonical.com15:07
_mup_pull docs for committed upgrade functionality out of drafts, move service-config into the drafts dir till it lands. [trivial][r=niemeyer]15:07
niemeyerSpamapS: Oh, that's awesome15:07
niemeyerhazmat: Regarding the natty branch, can we try to ssh actively rather than just sleeping?15:08
hazmatniemeyer, not sure what you mean by active.. fabric uses it but jumps if doesn't work.. 15:09
niemeyerhazmat: Active != sleeping15:09
hazmati could try turning up the logging there and see if i can find some additional info out of it.15:09
niemeyerhazmat: Nah15:09
hazmatbut its pretty low priority to me15:09
niemeyerhazmat: Just pondering, but that's rare enough15:10
niemeyer+1ing15:10
niemeyer        parser.add_argument("--log-level",15:16
niemeyer                            help="Set a logging level "15:16
niemeyer                            "CRITICAL|DEBUG|INFO|ERROR|WARNING",15:16
niemeyer                            default=logging.WARNING)15:16
niemeyerHmm15:16
niemeyerINFO is the most commonly used default for logging, I think15:16
niemeyerWas just reviewing ahmed's branch with --log-level=INFO everywhere15:16
niemeyerkim0: ^15:16
niemeyerWait, hmmm..15:17
niemeyerIt might be more complicated than that.. --log-level means two different things for different commands it seems15:18
* niemeyer inspects further15:18
niemeyerAh, yes indeed15:19
hazmatdid it again..15:41
hazmatre email send15:41
hazmatdog walk.. bbiab15:42
_mup_ensemble/expose-1-dummy-provider r203 committed by jim.baker@canonical.com15:55
_mup_Merged trunk15:55
_mup_ensemble/expose-2-hook-commands r203 committed by jim.baker@canonical.com15:56
_mup_Initial commit15:56
_mup_ensemble/expose-2-hook-commands r204 committed by jim.baker@canonical.com15:56
_mup_Merged upstream15:56
kim0so let me know whether or not INFO is fine for logging15:57
niemeyerkim0: I'm working on a fix for that15:59
niemeyerkim0: It is fine for logging15:59
kim0cool15:59
niemeyerkim0: The issue is that INFO should be the default15:59
kim0aha .. yeah agree15:59
niemeyerkim0: and it's not because we're currently mixing two different concepts15:59
kim0just bec it's the correct level16:00
niemeyerkim0: Filtering logs, and logging at a given level16:00
niemeyerkim0: I'm fixing that16:00
kim0got you .. rock on16:00
kim0reminder of our meeting in 3 hours16:00
niemeyerkim0: If you want, you can already change that in your branch16:00
niemeyerkim0: Just remove all the --log-level INFO from ensemble-log calls16:00
niemeyerkim0: Thanks16:00
kim0ok .. will clean that and push16:01
hazmatthis is to change the default level in the code or the command?16:02
niemeyerhazmat: The command16:06
niemeyerhazmat: It's logging everything as WARNING, because it's incorrectly picking the filtering argument to use as the level to log for16:07
niemeyerAlmost done with the fix.. will push after lunch16:07
hazmatick16:09
hazmatniemeyer, cool16:09
hazmatniemeyer, sorry i didn't realize you had posted to me privately.. if that was intentional16:20
niemeyerhazmat: It wasn't.. my fault this time16:21
=== niemeyer is now known as niemeyer_lunhc
=== niemeyer_lunhc is now known as niemeyer_lunch
jimbakerbrb, need to drop off car for service16:48
kim0niemeyer_lunch: should I remove x in "set -eux" in formulas ?16:57
kim0I think it's too verbose to be the default for anything :)17:02
=== niemeyer_lunch is now known as niemeyer
niemeyerkim0: Agreed17:10
niemeyerkim0: Yes, please remove it17:10
* kim0 nods17:10
hazmatyipee17:10
hazmatoff to lunch, bbiab17:11
kim0niemeyer: pushed the updated branch "set -eu" and no "--log-level INFO"17:11
niemeyerkim0: Awesome, thanks!17:13
jimbakerkim0, makes sense to me with the new logging you're doing17:21
kim0cool17:22
kim0hmm I think I'm hitting some bug17:22
jimbakeralthough i did find -x to be very helpful17:22
kim0probably while developing the formula only17:22
jimbakerwe really need the relation setting logging17:22
jimbakeralso it would be interesting to have some sort of monitoring of the nodes integrated in some way (not necessarily though logging). need to think of what my wishlist should be17:23
kim0hehe17:23
kim0can someone please check http://paste.ubuntu.com/596612/17:24
jimbakeranyway, round 2 on getting car fixed, my father in law put the wrong tires in the car17:24
kim0some twisted errors17:24
kim0jimbaker: :) that's what fathers in law are for hehe17:24
kim0I think ensemble-log is broken or something17:26
kim0exceptions.AttributeError: Logger instance has no __call__ method17:26
kim0hmm should I file a bug ?17:51
jimbakerkim0, back now. yes, -x is definitely necessary for formula debugging with bash script hooks (at least for this novice bash scripter)18:13
kim0jimbaker: any idea why I'm getting those errors http://paste.ubuntu.com/596612/ though18:13
jimbakerkim0, yikes that's ugly18:14
kim0yeah :)18:14
kim0trying to write that user tutorial, but the moon is misaligned :)18:14
kim0I wonder what ensemble version runs on the ec2 instances? does it pull trunk18:15
jimbakerkim0, it does look like a problem with ensemble-log as you mentioned18:15
jimbakerkim0, by default it does, but you can choose another branch instead18:15
kim0ok cool18:16
_mup_Bug #767364 was filed: ensemble-log logs in wrong level <Ensemble:In Progress by niemeyer> < https://launchpad.net/bugs/767364 >18:16
kim0is it realistic to expect those ensemble-log crashes to be fixed soonish .. like today :)18:16
jimbakerfor an environment in your ~/.ensemble/environments.yaml (or otherwise specified), use something like this:18:17
jimbaker    ensemble-branch: https://code.launchpad.net/~jimbaker/ensemble/new-hook-semantics-remove-ensemble-change-env-var18:17
kim0thanks18:18
jimbakernow i should not be so quick to say it will choose trunk as the desired version... in my environments.yaml file, i do have this18:18
niemeyerkim0: That's pretty weird18:18
jimbaker ensemble-branch: http://bazaar.launchpad.net/~ensemble/ensemble/trunk18:18
niemeyerbcsaller: Do you have any hints on thta?18:18
niemeyerthat18:18
jimbakeri just comment out as desired18:19
kim0jimbaker: thanks :)18:19
jimbakerkim0, i suspect someone who doesn't run bleeding edge has more experience on this one aspect to be honest ;)18:19
bcsallerhmm18:19
bcsallerlooks like the setup of passing in the log handle would be wrong there18:20
jimbakerkim0, if you ever use ensemble-branch, prepared to be occasionally confused as might get stuff out of sync. ("didn't we fix that? ahhh...")18:20
kim0jimbaker: trunk is probably a safe choice for me18:21
kim0:)18:21
jimbakerkim0, indeed, i think that's the case. it doesn't impact your principal use case, which is formula dev. but if you want to try out a new branch that fixes a problem, then it lets you have immediate access18:22
kim0bcsaller: should I file a bug on that logging thing18:31
bcsallerkim0: yes, I think its on the server side, sounds misconfigured18:32
* hazmat catches up18:33
hazmatensemble defaults to trunk if its not specified via 'ensemble-branch'18:34
hazmatinteresting tracebacks, one in amp and one in the amp server protocol when calling out to the logging18:35
hazmatlooks like ensemble-log is broken18:36
hazmathook cli api that is18:36
* hazmat reboots for natty updates18:36
_mup_Bug #767391 was filed: ensemble-log causing twisted crashes <Ensemble:New> < https://launchpad.net/bugs/767391 >18:36
jimbakerhazmat, thanks for the clarification. what happens when ensemble is installed from a ppa?18:40
hazmatjimbaker, trunk on the remote18:45
jimbakerhazmat, sounds good for now i think18:45
_mup_ensemble/trunk r204 committed by gustavo@niemeyer.net18:49
_mup_Merged add-ensemble-log-to-examples branch [a=kim0] [r=niemeyer]18:49
_mup_This adds sensible ensemble-log messages to the example formulas, and18:49
_mup_removes the excessively verbose -x flag from scripts.18:49
_mup_Bug #767405 was filed: Add open-port and close-port hook commands <Ensemble:In Progress> < https://launchpad.net/bugs/767405 >18:50
_mup_Bug #767407 was filed: Add "ensemble expose" and "ensemble unexpose" subcommands <Ensemble:New for jimbaker> < https://launchpad.net/bugs/767407 >18:52
_mup_Bug #767414 was filed: Modify "ensemble status" to display exposed ports and whether a service is exposed or not <Ensemble:New> < https://launchpad.net/bugs/767414 >18:55
_mup_Bug #767418 was filed: Modify the provisioning agent to watch ZK settings for exposed services and makes appropriate firewall changes through the provider <Ensemble:New for jimbaker> < https://launchpad.net/bugs/767418 >18:58
_mup_Bug #767420 was filed: Add a provider implementation for EC2 to support port exposing <Ensemble:New for jimbaker> < https://launchpad.net/bugs/767420 >18:59
kim0Starting meeting in 1 minute in #ubuntu-cloud : jimbaker hazmat bcsaller niemeyer 19:00
niemeyerkim0: Ack19:00
jimbakerkim0, over there now19:00
kim0yeah the minute just flipped .. let's do it19:00
_mup_Bug #767426 was filed: Modify the canonical WordPress formula to demonstrate exposing <Ensemble:New for jimbaker> < https://launchpad.net/bugs/767426 >19:02
niemeyerkoolhead17: So, welcome19:37
koolhead17niemeyer: am still a n00b in coding19:38
* koolhead17 pokes TeTeT :)19:38
niemeyerkoolhead17: That's fine19:38
niemeyerkoolhead17: No one is born knowing it :-)19:39
koolhead17:D19:39
niemeyerkoolhead17: But you'll need quite a bit of patience to push through the basics19:40
niemeyerkoolhead17: "bzr branch lp:ensemble" will get you the project source19:40
koolhead17niemeyer: cool19:40
TeTeThi koolhead17 19:41
* koolhead17 installs virtualbox19:41
niemeyerkoolhead17: You'll also need lp:txaws19:41
hazmatdocumentation and other non coding contributions are welcome as well..19:41
hazmatand an amazon ec2/aws account19:41
niemeyerkoolhead17: kim0 can also give you a hand to get your first working environment, since I think he's doing exactly that right now19:41
niemeyerkim0: Right?19:41
koolhead17hazmat: i will jump to the documentation work soon19:41
niemeyerkoolhead17: Once you have that in place, you have a world to poke around :019:41
niemeyer:)19:41
TeTeTwas the s3 problem fixed in txaws?19:42
koolhead17nehehe19:42
kim0koolhead17: feel free to shoot any questions or problems at me :)19:42
niemeyerkoolhead17: You can start developing some custom formulas to get a feeling, try to get some small sized improvements going, etc19:42
kim0I have a working env already .. but yeah no problem19:42
niemeyerkim0: Yeah, the idea was just that if you might be able to easily guide him through the basics of setting up  an environment since you've done that not too long ago19:43
koolhead17but i need multi system setup to test my deployment. isn`t it19:43
koolhead17?19:43
kim0koolhead17: you probably want to deploy the example wordpress formula .. feel the magic .. love it .. then start writing a new formula .. wow19:43
niemeyerkim0: I'll likely skip a lot of steps19:43
hazmatTeTeT, niemeyer was working on it re s3 bug19:43
niemeyerTeTeT, hazmat: Yes, it's fixed19:43
hazmatniemeyer, great!19:43
TeTeTawesome :)19:43
kim0koolhead17: ensemble basically uses ec2 only for now .. so you don't need any physical machines19:43
koolhead17i don`t have any account on ec219:44
koolhead17but i can borrow one from a friend of mine19:44
kim0ec2 offers a free account (free tier)19:44
kim0you just need to register with a credit card though19:45
kim0after that the fun begins :)19:45
hazmatniemeyer, how often do the docs update.. i moved the upgrade docs a while ago.19:45
niemeyerhazmat: Every 5 minutes19:46
niemeyerhazmat: Must be something wrong, checking19:46
koolhead17kim0: i hate cc19:48
koolhead17am scared of it19:48
kim0koolhead17: don't be :)19:48
koolhead17kim0: will only use a CC if someone gifts one to me :P19:49
kim0hehe you wish19:49
kim0it won't really be charged anything (unless you screw up somehow ) so dont worry too much19:49
koolhead17is there a apt command which tells you about its depandency with other packages?19:52
niemeyerhazmat: Just looking for phones19:52
niemeyerOkay, I'm up19:53
hazmatkoolhead17, apt-cache rdepends will show you reverse deps19:53
hazmatapt-cache show will show you deps19:53
koolhead17hazmat: cool19:53
kim0koolhead17: but since you'd run ensemble from trunk .. it's not too useful :)19:55
koolhead17kim0: o.O19:56
koolhead17o.019:56
kim0koolhead17: try,    sudo apt-get install python-zookeeper python-txaws19:56
kim0those are what I needed19:56
kim0koolhead17: there was some python egg too .. can't remember its name19:57
koolhead17am on lucid BTW :P19:57
kim0lucid .. the land of the ancient19:58
TeTeTthe land of the corp services team :)19:58
kim0hehe19:58
koolhead17kim0: am in love with LTS19:58
koolhead17until few night my laptop was running on 8.0419:58
kim0if you're interesting in running bleeding edge non released software .. lucid is not gonna be too happy19:58
koolhead17although netbook has latest one19:59
koolhead17:P19:59
kim0koolhead17: natty VM then19:59
kim0can't wait for natty to be released to upgrade to oneirirc  :)19:59
koolhead17kim0: i will install virtualbox cos my hw is not supported. 19:59
koolhead17kim0: i had a question i asked the same20:00
kim0vbox will work great20:00
kim0since all the heavy lifting happens in ec2 .. it should be ok20:00
koolhead17why /etc/lsb-release does not mention natty beta220:00
koolhead17it will be a good feature to add20:00
koolhead17we just know its development branch or sumthing there20:00
kim0just says "development branch" for me ..20:01
koolhead17kim0: exactly20:01
kim0well it says natty .. so you know it's natty20:01
_mup_ensemble/hook-context-uses-yaml-state r203 committed by kapil.thangavelu@canonical.com20:01
_mup_hook context using yaml state20:01
niemeyerhazmat, bcsaller: Not hearing anything?20:01
koolhead17kim0: i installed 3 times today to test the documentation :P20:01
koolhead17beta220:01
koolhead17kim0: can i put this in wishlist sumwer?20:02
hazmatinternet fail20:02
koolhead17hazmat: where are you ?20:03
koolhead17mine would be worst than most of you guys20:03
hazmatkoolhead17, washington, dc20:04
koolhead17how come it fail there :P20:04
kim0hehe20:04
koolhead17kim0: i am happy i put my point about beta namings in ubuntu-server :)20:45
koolhead17hazmat: where are these launchpad servers hosted? As in data centre? Am i the only one who finds it very slow20:46
hazmatkoolhead17, london for the most part21:00
hazmatkoolhead17, where are you based?21:00
koolhead17hazmat: india21:01
hazmatquite a time zone difference.21:01
hazmatkoolhead17, they've been working on making them better for everyone, there's some ongoing work on making it regionally better in asia/china region.21:02
koolhead17hazmat: i am an insomniac i suppose. :) 21:04
hazmatbcsaller, fwiw my yaml-state hook context integration is at lp:~hazmat/ensemble/hook-context-uses-yaml-state21:04
bcsallerhazmat: thanks, found it :)21:04
hazmatniemeyer, +1 on the log branch21:08
jimbakerniemeyer, it seems to me that it would make more sense to use YAML to store the serialization of open port data instead of JSON, especially given the yaml state work21:11
jimbakeri guess we could do the equiv for json serialization however21:11
hazmatyeah.. would be trivial21:13
hazmatabstracting the serialization21:13
jimbakerhazmat, actually it may not matter anyway - the current json serialization presumably will require managing conflict below the top key level - that is, the list of port/protocol dicts21:16
jimbakerwhich presumably should be treated as a set for this purpose21:16
hazmatjimbaker, indeed21:16
jimbakerthe current specified format is: {"open": [{"port": 80, "proto": "tcp"}, ...]}21:16
hazmatdifferent resolution, would be nice if we could get it for free everywhere, by handling nested data structures for merging, but that's probably too much for the common use case.21:17
jimbakerhazmat, yeah, we should probably build a separate solution for now, then see if there's available refactoring21:18
jimbakerthat's reasonably clean21:18
jimbakerthe fact that it should be treated as a set is already suggesting some parts not so common21:19
jimbaker(of course if we changed the format to be a multi-level dict, with a standard set to dict mapping... anyway, i think the point still stands)21:20
_mup_ensemble/resolved-state-api r190 committed by kapil.thangavelu@canonical.com21:46
_mup_additional state api tests for resolved.21:46
niemeyerjimbaker: Yeah, it'd be fine to have it as YAML too21:48
niemeyerjimbaker: The original intention was to have no YAML inside ZooKeeper21:48
niemeyerjimbaker: For some reason we forgot about that goal21:48
niemeyerjimbaker: So at this point it might even make more sense to have it as YAML than JSON, for consistency21:49
jimbakerniemeyer, agreed on being consistent at this point21:50
_mup_ensemble/resolved-state-api r191 committed by kapil.thangavelu@canonical.com21:58
_mup_add watch apis for unit and unit relation resolved21:58
_mup_ensemble/resolved-state-api r192 committed by kapil.thangavelu@canonical.com22:05
_mup_more resolved watcher state api tests22:05
_mup_ensemble/resolved-state-api r193 committed by kapil.thangavelu@canonical.com22:39
_mup_do a final poke in slow callback tests to flush pending watch calls, loops more reliably.22:39
_mup_Bug #767762 was filed: Need a unit state api for get/set/del/watch resolved on units and unit relations <Ensemble:New> < https://launchpad.net/bugs/767762 >22:41
_mup_ensemble/ensemble-resolved r246 committed by kapil.thangavelu@canonical.com23:31
_mup_ensemble resolved cli tests23:31

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