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

niemeyerQuite painless after the initial issue was sorted out02:43
niemeyerMan, Unity is *awesome*12:43
TeTeTniemeyer: yeah, it's gotten much better through the development cycle. I showed it yesterday and today to LVM12:59
niemeyerTeTeT: I'm impressed indeed13:00
niemeyerTeTeT: It's not just different.. it feels great to use13:00
TeTeTniemeyer: I like the files & folder and applications dialog, very nicely done13:01
niemeyerYeah13:01
TeTeTthe first versions that I saw just had a search box, not very user friendly13:01
niemeyerTeTeT: Yeah, at least for some values of "user" :-)13:55
niemeyerTeTeT: I personally love being able to search for apps rather than browsing through menus blindly to find them13:56
niemeyerHmmm.. we have to talk about the whole "expose" plan14:10
niemeyerThere are some real blockers for using a normal service14:10
niemeyerIt's feeling like a long and painful path14:10
niemeyerhazmat, robbiew: Mornings!15:18
robbiewniemeyer: hey15:20
robbiewniemeyer: is this the 1st qbr where you don't have to defend ensemble?15:21
robbiewlol15:21
niemeyerrobbiew: I'm not sure.. I may still be invited for a call or something. :-)15:22
robbiewheh15:22
niemeyerrobbiew: How're things going there?15:23
robbiewnot bad...on an 11.10 Server requirements call right now..with OEM Services15:23
niemeyerrobbiew: Nice15:27
jimbaker`i also like natty. installed it on my laptop, definitely a better ui exp with unity16:06
jimbaker`also reported two crashed apps so far - like others i have had problems with compiz16:07
=== niemeyer is now known as niemeyer_lunch
_mup_ensemble/expose-services r185 committed by jim.baker@canonical.com16:42
_mup_Use iptables for firewall config and make changes via a built-in service16:42
_mup_ensemble/expose-services r186 committed by jim.baker@canonical.com16:52
_mup_Clarified how ensemble expose adds a relation to the exposer built-in service16:52
* hazmat restarts to natty16:56
jimbaker`hazmat, good luck :)16:57
jimbaker`the only thing i really needed to redo for natty was to reinstall distribute, pip, and virtualenvwrapper because of the upgrade to 2.716:57
jimbaker`after that all of my virtualenvs simply ported over w/o a problem16:58
=== deryck is now known as deryck[lunch]
=== niemeyer_lunch is now known as niemeyer
jimbakeris everyone else able to run the mysql/wordpress example on ec2 against trunk? 17:51
jimbakerit is failing for me in the db-relation-changed hooks17:52
jimbakerwhen i switch to using my new-hook-semantics-4-remove-env-var branch (including environments.yaml change, virtualenv), np17:52
jimbakerhazmat, ^^^17:55
hazmatjimbaker, i haven't done run them on ec2 in about a week,  i can take a look after the standup17:57
jimbakerhazmat, ok17:57
hazmathow do you change timezones with unity..17:57
jimbakerhazmat, fortunately it got my tz right :)17:58
hazmatjimbaker, wait to you switch timezones :-)17:58
jimbakerbut there have been some changes around the clock for sure17:58
jimbakerjust click on the clock, you will see time & date settings17:58
hazmatjimbaker, sure, but it doesn't actually come up17:59
hazmatrun the settings dialog that is17:59
jimbakerhmm, no problem for me changing the settings18:00
=== deryck[lunch] is now known as deryck
niemeyerjimbaker, hazmat: Can we have a call at some point today to talk about expose?18:21
niemeyerThere are some obvious problems with the idea of using a normal service, and I'm starting to feel like we're digging ourselves a hole18:21
niemeyerIt'd be nice to go back to an empty table and look at our requirements again, and then think of some simpler/straightforward ways to achieve it18:22
hazmatniemeyer, sounds good18:24
jimbakerniemeyer, sounds good too18:29
niemeyerbrb18:29
_mup_ensemble/optional-hooks r186 committed by kapil.thangavelu@canonical.com18:41
_mup_switch warning to info log level, use failure hooks instead of missing hooks for hook error tests18:41
jimbakerhazmat, are you planning that we add get_agent_state(), or is that just out-of-date in the docs?18:45
hazmatjimbaker, where's that referenced from?18:45
jimbakerhazmat, internals/agent-presence.rst18:46
hazmatjimbaker, there's is an agent state node, but its usage and the exposed api is limited to presence only18:46
hazmatand only for agents directly associated to a domain context atm (ie. machine and unit, but not provisioning)18:46
hazmatthe spec does cover context-less agents though18:47
jimbakeri'm going through bug 737949 to determine what status info is available for agent state18:47
_mup_Bug #737949: ensemble status should take into account unit and relation workflows and unit agent status <Ensemble:In Progress by jimbaker> < https://launchpad.net/bugs/737949 >18:47
hazmatjimbaker, wrong tree18:49
hazmatjimbaker, they are two different questions18:49
hazmatone is there an agent process running for this domain object18:49
hazmatwhich is answered by the api in ensemble/state/agent.py its a mixin of unit, machine, etc.18:49
hazmatthe second question, which the bug wants to ask, is what is the workflow state of the unit and its relations18:50
hazmatwhich can use the workflow api directly18:50
jimbakerhazmat, thanks for the clarification18:50
hazmatjimbaker, the information for the workflow is probably better accessed via constructing a unit lifecycle/workflow object like the agent18:53
hazmatfor read only usage the state directory isn't strictly nesc.18:54
hazmathmm.. i think18:54
jimbakerhazmat, right, the only thing i see now that's doing something like that is in test_workflow18:54
jimbakerspecifically read_persistent_state18:54
hazmatalso agents/unit.py18:54
hazmatjimbaker, so it needs a separate implementation of unitworkflowstate, relationworkflow state that only loads zk state18:56
hazmatvia modifying load, and probably disabling store18:56
hazmatas external modifications will likely need a different mechanism18:56
jimbakerso global observability is preserved and tested, but no api as you said18:57
jimbakerto actually read it18:57
hazmatjimbaker, well there is an api to read it as provided, it just needs an override of _load/_store methods to defer to the correct implementations for an external process usage.18:58
hazmatie. an api that needs a subclass implementation to utilize it for this case18:59
hazmatbcsaller, jimbaker, niemeyer_ standup?19:00
jimbakerhazmat, sure, just need to connect it to zk19:00
jimbakerhazmat, sure19:00
jimbakerre standup19:00
bcsalleronline19:00
hazmatniemeyer_, ping19:01
niemeyer_hazmat: Hmm.. I'll need some 10~15 minutes, actually, if that's ok19:01
niemeyer_?19:01
hazmatfine by me19:02
jimbakerok19:02
niemeyer_I'm relocating to Claudio's place just to provide some company.. he's got to stay at home due to an issue in his leg19:02
niemeyer_brb19:03
jimbakerbcsaller, hazmat, niemeyer - everyone ready?19:16
niemeyerYep19:16
hazmatsounds good19:17
hazmatniemeyer, you on skype?19:17
niemeyerhazmat: Spinning...19:18
niemeyerhazmat: Working19:18
niemeyerunit-set expose="port[/protocol] [port[/protocol]]"19:44
niemeyerexport-port port[/protocol]19:46
niemeyeropen/close-port port[/protocol] + exposed hook19:59
niemeyerjimbaker: /units/<internal id>/ports20:09
hazmatout of curiosity has anyone on natty gotten the bzr-pipeline plugin working?20:17
hazmati guess i can try modifying the api compatibility by hand and hope it works20:17
_mup_ensemble/statemachine-multi-source-and-success-transitions r181 committed by kapil.thangavelu@canonical.com20:19
_mup_explicit action support and success transition support20:19
jimbakerSpamapS, btw, i really liked the discovery process you mentioned in your email for finding interesting services for ensemble21:04
SpamapSjimbaker: yeah, there's tons of helpful info already in the archive. :)21:21
hazmatniemeyer, jimbaker so one other benefit to the machine as service was that it made the notion of monitoring much easier as well21:44
hazmatwhich is a topic i think we've sort of left off for perhaps too long21:45
hazmatthere's service specific monitoring, and then generic machine/container level monitoring21:45
hazmatthe former we can do via relation hooks between the monitoring service and the other service.. the latter still seems like an open question to me21:45
niemeyerhazmat: Monitoring things which depend on a connection to ZooKeeper to function is somewhat easy22:02
hazmatniemeyer, not the sort of monitoring i was referencing.. more along the lines of munin/nagios 22:02
hazmatie. hd full/memory/cpu/network22:02
niemeyerhazmat: I see.. we haven't really delayed I think.. this is just another service22:03
hazmatniemeyer, i'm not so that it doesn't need additional support of some form for the machine level stats22:04
niemeyerhazmat: How so?22:05
niemeyerjimbaker: The review queue is all yours ;)22:05
niemeyerjimbaker: I'll go over that first thing tomorrow22:05
hazmatniemeyer, well are we saying we need a unit of the this per service.. in the lxc case that's not quite right.22:05
niemeyerhazmat: Why not?22:06
hazmatie. we ensemble deploy munin for example.. we need to install munin-node on each of the machines in the environment22:06
hazmatand configure them to point to the munin service22:07
hazmatie. so say we split into two formulas munin-frontend, munin-node.. when we deploy the latter we don't really want it as a separate unit per se, we want it either in the existing unit (which can be tackled by formula specific monitoring support) or at the machine level22:09
hazmatwhat we don't want is creating a unit of the munin-node on arbitrary placement basis, as it will effectively be monitoring an empty container with just itself22:09
_mup_ensemble/config-pipeline r182 committed by bcsaller@gmail.com22:09
_mup_minor revisions around type validation22:09
niemeyerhazmat: I see, indeed there are some details to sort in this area22:13

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