adam_ghazmat_: right. i was thinking more in terms of deferring executiion of start until some configuration has been completed00:16
niemeyeradam_g: Yeah, that'd be fine00:40
niemeyeradam_g: I mean, deferring start of the service to another hook00:40
hazmat_adam_g: definitely.. i do something similiar in the mongodb-config server, it only starts when there is a relation to a mongos server (else its just a regular mongodb server)00:47
=== franciscosouza_ is now known as franciscosouza
_mup_txzookeeper/trunk r41 committed by kapil.foss@gmail.com02:10
_mup_merge session-event-handling. Much improved session event and connection error handling with zk cluster tests.02:10
niemeyerIt's past bed time here.. night all03:38
koolhead17kim0, 07:26
kim0koolhead17: Morning08:02
koolhead17kim0, i don`t want to see some executive in Tie/Coat surfing cloud in the logo :D08:13
kim0koolhead17: lol :)08:18
kim0it's too early to choose hehe08:18
koolhead17cool, then :D08:19
* kim0 checks Inbox08:19
koolhead17hi et_   08:48
et_koolhead17: holla08:53
koolhead17notthing much 08:53
kim0Hi everyone, just letting you know we're having the Ubuntu Cloud Days irc event on the 25th/26th. Everyone is invited to add a session at https://wiki.ubuntu.com/UbuntuCloudDays/Timetable Please add your session as soon as you can, if unsure about the title, just write TBD. Ping me for any details, thanks12:39
niemeyerMorning all!13:14
niemeyerhazmat: Hey man, how're things there13:19
hazmatniemeyer, pretty good, just got back from a long drive13:20
=== sidnei-away is now known as sidnei
m_3morning gang14:17
jcastrokim0: do I need the PPA for oneiric? In oneiric itself python-txzookeeper is uninstallable14:22
kim0jcastro: r u on oneiric again ? 14:22
kim0I was contemplating an upgrade :)14:23
kim0jcastro: yeah you generally want the ppa14:23
kim0jcastro: to get the daily builds14:23
kim0m_3: o/14:23
niemeyerjcastro: Rock the world14:45
niemeyerfwereade: Welcome, officially! :)14:45
fwereadeniemeyer: thanks!14:46
niemeyerFolks, William is joining the Ubuntu Server team to help developing Ensemble _today_!14:46
* fwereade waves shyly14:46
fwereadestill figuring a lot of things out, but looking forward to the sprint14:46
niemeyerfwereade: and here comes your first code review14:47
niemeyerfwereade: https://code.launchpad.net/~hazmat/ensemble/auto-peer/+merge/6691314:47
niemeyerfwereade: Can you please have a look at the change and see what you think of it?14:47
fwereadeniemeyer: gladly14:47
niemeyerfwereade: Then just approve/needs fixing/comment14:47
niemeyerfwereade: The change is almost trivial14:48
niemeyerfwereade: But I'm sure you'll have to step back a bit and understand the context14:48
niemeyerfwereade: Check out the bug (linked from the merge request), and the documentation for more details about what was wrong14:49
fwereadeniemeyer: yep, it'll probably take me a little while14:49
fwereadeniemeyer: I'll hassle you if anything seems unduly confusing14:49
niemeyerfwereade: Absolutely14:49
koolhead17hello fwereade :)14:49
niemeyerfwereade: I'm stepping out in a bit for lunch, but I'll be around soon, and others are around to give a hand too14:49
koolhead17hi niemeyer kim0 14:49
niemeyerkoolhead17: Yo!14:49
kim0koolhead17: hey :)14:50
koolhead17niemeyer, finish up your lunch. 14:50
fwereadekoolhead17: hello :)14:50
kim0fwereade: wow welcome :)14:50
niemeyerkoolhead17: I have to start it first! ;-)14:50
fwereadekim0: thanks :)14:50
koolhead17kim0, i have changed content of my pycon talk, it will mainly focus on cloud-init and ensemble now :)14:50
niemeyerkoolhead17: Wow, that's _awesome_14:50
koolhead17niemeyer, :D14:50
kim0koolhead17: that sounds good :) If that'll make you work on your first formula LOL14:51
koolhead17kim0, yes sir!! 14:51
kim0don't sir me man :)14:51
koolhead17kim0, :)14:51
m_3fwereade: welcome!14:54
koolhead17hi m_3 14:54
fwereadem_3: thanks :)14:54
m_3fwereade: just started a couple of weeks ago... feel free to ping me and I'll share the little I know!14:58
m_3fwereade: utlemming's new on the server team too14:59
fwereadem_3: awesome, I'll be taking you up on that shortly I think :)14:59
hazmatfwereade greetings and welcome15:02
fwereadehazmat: and thanks also :)15:02
fwereadehazmat: am I right in thinking you'll be in Miami next week?15:03
niemeyerbcsaller: I'm assuming your review on ~hazmat/ensemble/status-w-peers was an Approve15:03
bcsallerniemeyer: yes, sorry15:03
niemeyerbcsaller: Hey!15:04
hazmatfwereade, sadly not15:04
bcsallerhi :)15:04
niemeyerbcsaller: Wasn't sure if you were already around15:04
niemeyerbcsaller: Morning :)15:04
niemeyerbcsaller: Cool15:04
bcsallerbarely 15:04
fwereadehazmat: ah, shame :( thought I saw you on one of the related pages15:04
bcsallertrying to get some coffee down15:04
hazmatfwereade, there's always a next time, hope your enjoy your first sprint, i'll be participating remotely15:05
fwereadehazmat: cool, I look forward to it15:06
* niemeyer => lunch15:10
_mup_ensemble/status-w-peers r265 committed by kapil.thangavelu@canonical.com15:26
_mup_adjust comments per review.15:26
jcastrodefault-instance-type: accepts what as a setting in environments.yaml? I am assuming the instance API name right? t1.micro, etc.15:50
_mup_ensemble/trunk r265 committed by kapil.thangavelu@canonical.com16:06
_mup_merge status-w-peer [r=bcsaller,niemeyer][f=804120]16:06
_mup_Fixes a bug with ensemble status subcommand when displaying16:06
_mup_peer relations.16:06
=== koolhead17 is now known as koolhead11|Afk
fwereadeensemble in particular I guess ;)16:20
hazmatjcastro, indeed just that re instance-type.. m1.large, t1.micro.. eg. ec2 api symbols for  instance-type16:22
jcastrothanks, I'll add a note in the docs16:23
hazmata question for formula authors in the room, which directory would you want your hooks to run in.. The formula hooks directory, the formula directory, or the root of the unit directory (the formula for the unit lives at '/formula' under the unit root)?16:33
hazmatjcastro, m_3, jimbaker SpamapS, fwereade, serge_ , kim0  ^16:35
fwereadewhat else lives in the unit root at the moment?16:37
fwereadethe formula directory feels natural to me but I am basically 100% ignorant16:37
hazmatfwereade, with lxc, the unit root will be the fs root "/" of the container16:39
fwereadeah ok16:39
hazmatat the moment, there's just the service unit log file and the formula directory in the root16:39
fwereadeok, the hooks directory feels wrong because... well, it's the formula's interface, and if we run in that dir we encourage people to clutter it up with other stuff16:41
fwereadeI don't think I have a context to judge the distinction between running in the formula dir and the unit root16:43
hazmatfwereade, agreed, authors can include arbitrary library or configuration stuff in the formula, its probably nicer to address that from the root, then including a '..' everywhere or cluttering up the hooks directory16:44
hazmater... s/root/ i mean the formula directory16:44
* hazmat makes it so16:45
* niemeyer puts aside his bricklayer cap and goes back to software development17:00
m_3hazmat: we've been starting from `pwd`17:01
m_3hazmat: i.e., not assuming it's anywhere in particular17:01
m_3hazmat: doesn't really matter with anything I've seen so far... pick one17:02
hazmatm_3, pwd isn't reliable atm17:08
hazmatit will be shortly17:08
m_3hazmat: great, we're starting to do more library sorta stuff17:10
m_3templates in separate files and such17:11
adam_ghazmat: id personally prefer it run in formula hooks directory. in the formulas ive written, im usually keeping some file that contains common stuff that i source in, and currently need to do some extra steps to get the location of that file17:22
hazmatadam_g, i think the notion is that what's in the hooks directory is the public interface of the formula, its fine to put that stuff in anywhere in the formula, you could put in the root of the formula, and still continue to source 'common.env' with the hook executing in the formula directory17:24
hazmatbut perhaps executing it in the hooks directory is the most obvious/intuitive understanding of where it will be executed17:25
niemeyeradam_g: With the new approach it will be predictable as well17:25
niemeyeradam_g: You'll just have to source hooks/... instead of ./...17:25
m_3consistent good17:28
kim0my first impression was to be under hooks/ with my templates ..etc .. but sourcing hooks/* is fine as well17:35
niemeyerkim0: That's actually one of the reasons we're leaning towards the formula dir as cwd17:43
niemeyerkim0: templates should be under templates/, rather than hooks/17:43
kim0indeed cleaner +117:46
hazmatbut also probably a faq17:54
hazmatkim0, niemeyer how's this for an faq entry? http://paste.ubuntu.com/638989/17:56
niemeyerhazmat: That's very nie17:56
kim0hazmat: great indeed .. just a question do we have other "resources" other than templates17:57
kim0when you mentioned templates should be under templates/ .. I didn't know formulas should have a templates/ directory ?!17:58
hazmatkim0, libraries is the other one that comes to mind, but potentially also binaries17:58
kim0wonder if formulas should have a directory structures, where authors know where to put stuff17:58
hazmatkim0, they don't per spec have one, but formula authors are atm free to organize any resources needed by their hooks how they like17:58
kim0ah got it17:59
hazmatwe might develop more best-practices with time as the formula collection goes, and have those enforced for an official formula distribution17:59
_mup_ensemble/debug-with-formula-dir r262 committed by kapil.thangavelu@canonical.com18:00
_mup_hooks executed in the formula directory, and a new faq entry regarding18:00
_mup_ensemble/hooks-with-formula-dir r262 committed by kapil.thangavelu@canonical.com18:03
_mup_merge the debug-with-formula-dir, forget this was setup as a bzr-pipeline18:03
m_3kim0: I've been using hooks/templates/...18:08
m_3but templates/ works fine too18:09
kim0yeah it's just a convention 18:10
hazmatsimple deb packaging question, how do you go about creating empty directories (like /var/log/ensemble) for a package?18:15
niemeyerhazmat: mkdir? :)18:16
hazmatniemeyer, ah.. but the magic is where? in such a way that is compatible with the python-distutils packaging helper18:17
hazmatniemeyer, just put in in preinst?18:17
=== daker is now known as daker_
niemeyerhazmat: I'd say in the binary section of rules18:18
niemeyerhazmat: Ah, no.. I'd include it in the package itself18:18
hazmatniemeyer, it looks like dh_installdirs is the right place, spec'd in debian/package.dirs18:20
hazmator maybe its just debian/dirs18:21
niemeyerhazmat: I belive it's <package>.dirs18:21
niemeyerhazmat: I don't claim to know much, though :)18:22
hazmatniemeyer, bcsaller regarding [0] on sans-ami branch.. i'm looking at switching ensemble-branch config option to ensemble-install-source with the value being either 'distro' (default for official releases in ubuntu releases), 'ppa:location', or 'lp:~xxx' 18:33
hazmatso it would be one option to support default distro packages, ppa packages, or published bzr branches18:34
niemeyerhazmat: Hmm18:36
niemeyerhazmat: That sounds pretty good18:36
_mup_txzookeeper/trunk r42 committed by kapil.foss@gmail.com18:40
_mup_[trivial] fix changelog spacing for daily deb builds18:40
bcsallerhazmat: nice18:41
hazmatniemeyer, bcsaller the only caveat i can think of is if we want to test a branch of txzookeeper in the wild, then the lp location spec is incomplete18:49
hazmatas it references the ensemble bzr branch18:49
dvestalI really like the concept of Ensemble and am interested in potentially converting some of my AWS EC2 scripts to Ensemble formulas.  Are the principia formulas going to be the best resource for learning how to write them or is there other documentation for creating formulas?18:50
hazmatdvestal, and the docs https://ensemble.ubuntu.com/docs/write-formula.html18:51
hazmatalso https://ensemble.ubuntu.com/docs/formula.html18:51
dvestalhazmat: Thank you.18:52
m_3dvestal: feel free to ping me with questions while you're writing formulas18:52
dvestalIs the target of ensemble primarily for the creation / maintenance of machines as a whole?  More explanation following...19:01
hazmatdvestal, its more about automating service deployment and orchestration, as a consequence it also manages machine deployments. regarding it maintenance, it currently handles those tasks as needed for inter service dependencies19:07
hazmatparticular tasks like service specific maintenance action, and overall maintenance of the machines aren't handled atm (for example managing security updates for packages on a machine).19:09
jcastroI made a small doc fix to learn the workflow for ensemble, I don't think it's large enough to like file a bug, etc, so do I just leave it in the merge queue?19:14
kim0you probably should still file a bug19:15
kim0like "docs need updating to mention changing default instance type"19:16
kim0niemeyer: so we talked about how 12px font in the cloud portal is a little too small. I know understand the reason this font size was chosen is because it's the canonical design team's standard size set. As per the design guideline document (http://design.canonical.com/brand/D.%20Ubuntu%20Web%20Guidelines.pdf) page 16 .. they mention paragraphs should be font 12px19:18
niemeyerRoAkSoAx: Welcome!19:18
RoAkSoAxniemeyer: thank you!19:18
kim0I also checked ubuntu.com like (http://www.ubuntu.com/business/cloud/overview) and it's 12px as well .. so I'm little reluctant to change that now19:19
_mup_Bug #806638 was filed: Docs need updating to mention what it expects as a value for instance type <Ensemble:New> < https://launchpad.net/bugs/806638 >19:19
niemeyerkim0: I'm not a designer.. all I know is that my eyes hurt when I have to read that text19:19
kim0obino: o/19:20
jcastroniemeyer: can you put me in ~ensemble so I can edit the wiki?19:26
niemeyerjcastro: Of course19:27
niemeyerjcastro: Your Canonical email isn't found in Launchpad?19:28
jcastroit should be, my username is "jorge", usually that's enough to add me to a team19:28
niemeyerjcastro: Cool19:29
niemeyerjcastro: That's done19:29
niemeyerjcastro: Might be good to associate your Canonical address there too19:29
niemeyerjcastro: I usually look for people by the email, to avoid mixing19:29
obinohi kim019:30
obinogot your request earlier: yes we would like to do something for cloud days :)19:31
dvestalhazmat: Is the individual machine maintenance, etc. something that would be of an interest for the community?  Being able to orchestrate the specific machine maintenance items, as well as app upgrades (Tomcat war's, etc.) is something that I will need to do anyway.19:38
hazmatjcastro, if it becomes a common enough activity, it might be worthwhile separating the docs into a separate repo19:39
kim0obino: Awesome19:40
hazmatit might already be worthwhile19:40
kim0obino: I'd love it if you guys would add an event to the table (even if it says TBD) while you discuss what you want to present19:40
kim0obino: if eucav3 is ready for a sneak peak, that'd be awesome indeed :)19:40
kim0obino: if you think you want 2 sessions .. it's perfectly fine19:41
kim0obino: thanks for your interest .. as usual ping me if you need anything19:41
hazmatdvestal, its definitely something ensemble will need to grow into fulfill the existing feature set of traditional configuration management, how its implemented (reuse or build) is still tbd19:41
hazmatdvestal, at the moment there is a notion that's being explored (in specification form) of co-locating service units. where one of those units could be some sort of policy formula.19:42
hazmatdvestal, like installing a separate configuration management system or gui machine management facility, or monitoring, network volume, etc.19:43
hazmatalthough the last is doable now with just relations..19:43

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