adam_g | hazmat_: right. i was thinking more in terms of deferring executiion of start until some configuration has been completed | 00:16 |
---|---|---|
niemeyer | adam_g: Yeah, that'd be fine | 00:40 |
niemeyer | adam_g: I mean, deferring start of the service to another hook | 00: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.com | 02:10 |
_mup_ | merge session-event-handling. Much improved session event and connection error handling with zk cluster tests. | 02:10 |
niemeyer | It's past bed time here.. night all | 03:38 |
koolhead17 | kim0, | 07:26 |
kim0 | koolhead17: Morning | 08:02 |
koolhead17 | kim0, i don`t want to see some executive in Tie/Coat surfing cloud in the logo :D | 08:13 |
kim0 | koolhead17: lol :) | 08:18 |
kim0 | it's too early to choose hehe | 08:18 |
koolhead17 | cool, then :D | 08:19 |
kim0 | yeah | 08:19 |
* kim0 checks Inbox | 08:19 | |
koolhead17 | hi et_ | 08:48 |
et_ | koolhead17: holla | 08:53 |
koolhead17 | notthing much | 08:53 |
kim0 | Hi 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, thanks | 12:39 |
niemeyer | Morning all! | 13:14 |
hazmat | g'morning | 13:18 |
niemeyer | hazmat: Hey man, how're things there | 13:19 |
hazmat | niemeyer, pretty good, just got back from a long drive | 13:20 |
=== sidnei-away is now known as sidnei | ||
m_3 | morning gang | 14:17 |
jcastro | kim0: do I need the PPA for oneiric? In oneiric itself python-txzookeeper is uninstallable | 14:22 |
kim0 | jcastro: r u on oneiric again ? | 14:22 |
kim0 | I was contemplating an upgrade :) | 14:23 |
kim0 | jcastro: yeah you generally want the ppa | 14:23 |
kim0 | jcastro: to get the daily builds | 14:23 |
jcastro | ok | 14:23 |
kim0 | m_3: o/ | 14:23 |
niemeyer | jcastro! | 14:44 |
niemeyer | jcastro: Rock the world | 14:45 |
niemeyer | fwereade: Welcome, officially! :) | 14:45 |
fwereade | niemeyer: thanks! | 14:46 |
niemeyer | Folks, William is joining the Ubuntu Server team to help developing Ensemble _today_! | 14:46 |
* fwereade waves shyly | 14:46 | |
fwereade | still figuring a lot of things out, but looking forward to the sprint | 14:46 |
niemeyer | fwereade: and here comes your first code review | 14:47 |
niemeyer | fwereade: https://code.launchpad.net/~hazmat/ensemble/auto-peer/+merge/66913 | 14:47 |
niemeyer | fwereade: Can you please have a look at the change and see what you think of it? | 14:47 |
fwereade | niemeyer: gladly | 14:47 |
niemeyer | fwereade: Then just approve/needs fixing/comment | 14:47 |
niemeyer | fwereade: The change is almost trivial | 14:48 |
niemeyer | fwereade: But I'm sure you'll have to step back a bit and understand the context | 14:48 |
niemeyer | fwereade: Check out the bug (linked from the merge request), and the documentation for more details about what was wrong | 14:49 |
fwereade | niemeyer: yep, it'll probably take me a little while | 14:49 |
fwereade | niemeyer: I'll hassle you if anything seems unduly confusing | 14:49 |
niemeyer | fwereade: Absolutely | 14:49 |
koolhead17 | hello fwereade :) | 14:49 |
niemeyer | fwereade: I'm stepping out in a bit for lunch, but I'll be around soon, and others are around to give a hand too | 14:49 |
koolhead17 | hi niemeyer kim0 | 14:49 |
niemeyer | koolhead17: Yo! | 14:49 |
kim0 | koolhead17: hey :) | 14:50 |
koolhead17 | niemeyer, finish up your lunch. | 14:50 |
fwereade | koolhead17: hello :) | 14:50 |
kim0 | fwereade: wow welcome :) | 14:50 |
niemeyer | koolhead17: I have to start it first! ;-) | 14:50 |
fwereade | kim0: thanks :) | 14:50 |
koolhead17 | kim0, i have changed content of my pycon talk, it will mainly focus on cloud-init and ensemble now :) | 14:50 |
niemeyer | koolhead17: Wow, that's _awesome_ | 14:50 |
koolhead17 | niemeyer, :D | 14:50 |
kim0 | koolhead17: that sounds good :) If that'll make you work on your first formula LOL | 14:51 |
koolhead17 | kim0, yes sir!! | 14:51 |
kim0 | don't sir me man :) | 14:51 |
koolhead17 | kim0, :) | 14:51 |
m_3 | fwereade: welcome! | 14:54 |
koolhead17 | hi m_3 | 14:54 |
fwereade | m_3: thanks :) | 14:54 |
m_3 | fwereade: just started a couple of weeks ago... feel free to ping me and I'll share the little I know! | 14:58 |
m_3 | fwereade: utlemming's new on the server team too | 14:59 |
fwereade | m_3: awesome, I'll be taking you up on that shortly I think :) | 14:59 |
hazmat | fwereade greetings and welcome | 15:02 |
fwereade | hazmat: and thanks also :) | 15:02 |
fwereade | hazmat: am I right in thinking you'll be in Miami next week? | 15:03 |
niemeyer | bcsaller: I'm assuming your review on ~hazmat/ensemble/status-w-peers was an Approve | 15:03 |
bcsaller | niemeyer: yes, sorry | 15:03 |
niemeyer | bcsaller: Hey! | 15:04 |
hazmat | fwereade, sadly not | 15:04 |
bcsaller | hi :) | 15:04 |
niemeyer | bcsaller: Wasn't sure if you were already around | 15:04 |
niemeyer | bcsaller: Morning :) | 15:04 |
niemeyer | bcsaller: Cool | 15:04 |
bcsaller | barely | 15:04 |
fwereade | hazmat: ah, shame :( thought I saw you on one of the related pages | 15:04 |
bcsaller | trying to get some coffee down | 15:04 |
hazmat | fwereade, there's always a next time, hope your enjoy your first sprint, i'll be participating remotely | 15:05 |
fwereade | hazmat: cool, I look forward to it | 15:06 |
* niemeyer => lunch | 15:10 | |
_mup_ | ensemble/status-w-peers r265 committed by kapil.thangavelu@canonical.com | 15:26 |
_mup_ | adjust comments per review. | 15:26 |
jcastro | default-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.com | 16:06 |
_mup_ | merge status-w-peer [r=bcsaller,niemeyer][f=804120] | 16:06 |
_mup_ | Fixes a bug with ensemble status subcommand when displaying | 16:06 |
_mup_ | peer relations. | 16:06 |
=== koolhead17 is now known as koolhead11|Afk | ||
fwereade | ensemble in particular I guess ;) | 16:20 |
hazmat | jcastro, indeed just that re instance-type.. m1.large, t1.micro.. eg. ec2 api symbols for instance-type | 16:22 |
hazmat | s/eg/ie | 16:23 |
jcastro | thanks, I'll add a note in the docs | 16:23 |
hazmat | a 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 |
hazmat | jcastro, m_3, jimbaker SpamapS, fwereade, serge_ , kim0 ^ | 16:35 |
fwereade | what else lives in the unit root at the moment? | 16:37 |
fwereade | the formula directory feels natural to me but I am basically 100% ignorant | 16:37 |
hazmat | fwereade, with lxc, the unit root will be the fs root "/" of the container | 16:39 |
fwereade | ah ok | 16:39 |
hazmat | at the moment, there's just the service unit log file and the formula directory in the root | 16:39 |
fwereade | ok, 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 stuff | 16:41 |
fwereade | I don't think I have a context to judge the distinction between running in the formula dir and the unit root | 16:43 |
hazmat | fwereade, 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 directory | 16:44 |
hazmat | er... s/root/ i mean the formula directory | 16:44 |
fwereade | yep | 16:44 |
* hazmat makes it so | 16:45 | |
* niemeyer puts aside his bricklayer cap and goes back to software development | 17:00 | |
m_3 | hazmat: we've been starting from `pwd` | 17:01 |
m_3 | hazmat: i.e., not assuming it's anywhere in particular | 17:01 |
m_3 | hazmat: doesn't really matter with anything I've seen so far... pick one | 17:02 |
hazmat | m_3, pwd isn't reliable atm | 17:08 |
hazmat | it will be shortly | 17:08 |
m_3 | hazmat: great, we're starting to do more library sorta stuff | 17:10 |
m_3 | templates in separate files and such | 17:11 |
adam_g | hazmat: 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 file | 17:22 |
hazmat | adam_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 directory | 17:24 |
hazmat | but perhaps executing it in the hooks directory is the most obvious/intuitive understanding of where it will be executed | 17:25 |
niemeyer | adam_g: With the new approach it will be predictable as well | 17:25 |
niemeyer | adam_g: You'll just have to source hooks/... instead of ./... | 17:25 |
m_3 | consistent good | 17:28 |
kim0 | my first impression was to be under hooks/ with my templates ..etc .. but sourcing hooks/* is fine as well | 17:35 |
niemeyer | kim0: That's actually one of the reasons we're leaning towards the formula dir as cwd | 17:43 |
niemeyer | kim0: templates should be under templates/, rather than hooks/ | 17:43 |
kim0 | indeed cleaner +1 | 17:46 |
hazmat | but also probably a faq | 17:54 |
hazmat | kim0, niemeyer how's this for an faq entry? http://paste.ubuntu.com/638989/ | 17:56 |
niemeyer | hazmat: That's very nie | 17:56 |
niemeyer | nice | 17:56 |
kim0 | hazmat: great indeed .. just a question do we have other "resources" other than templates | 17:57 |
kim0 | when you mentioned templates should be under templates/ .. I didn't know formulas should have a templates/ directory ?! | 17:58 |
hazmat | kim0, libraries is the other one that comes to mind, but potentially also binaries | 17:58 |
kim0 | wonder if formulas should have a directory structures, where authors know where to put stuff | 17:58 |
hazmat | kim0, they don't per spec have one, but formula authors are atm free to organize any resources needed by their hooks how they like | 17:58 |
kim0 | ah got it | 17:59 |
hazmat | we might develop more best-practices with time as the formula collection goes, and have those enforced for an official formula distribution | 17:59 |
_mup_ | ensemble/debug-with-formula-dir r262 committed by kapil.thangavelu@canonical.com | 18:00 |
_mup_ | hooks executed in the formula directory, and a new faq entry regarding | 18:00 |
_mup_ | ensemble/hooks-with-formula-dir r262 committed by kapil.thangavelu@canonical.com | 18:03 |
_mup_ | merge the debug-with-formula-dir, forget this was setup as a bzr-pipeline | 18:03 |
m_3 | kim0: I've been using hooks/templates/... | 18:08 |
m_3 | but templates/ works fine too | 18:09 |
kim0 | yeah it's just a convention | 18:10 |
hazmat | simple deb packaging question, how do you go about creating empty directories (like /var/log/ensemble) for a package? | 18:15 |
niemeyer | hazmat: mkdir? :) | 18:16 |
hazmat | niemeyer, ah.. but the magic is where? in such a way that is compatible with the python-distutils packaging helper | 18:17 |
hazmat | niemeyer, just put in in preinst? | 18:17 |
=== daker is now known as daker_ | ||
niemeyer | hazmat: I'd say in the binary section of rules | 18:18 |
niemeyer | hazmat: Ah, no.. I'd include it in the package itself | 18:18 |
hazmat | niemeyer, it looks like dh_installdirs is the right place, spec'd in debian/package.dirs | 18:20 |
hazmat | or maybe its just debian/dirs | 18:21 |
niemeyer | hazmat: I belive it's <package>.dirs | 18:21 |
niemeyer | hazmat: I don't claim to know much, though :) | 18:22 |
hazmat | niemeyer, 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 |
hazmat | so it would be one option to support default distro packages, ppa packages, or published bzr branches | 18:34 |
niemeyer | hazmat: Hmm | 18:36 |
niemeyer | hazmat: That sounds pretty good | 18:36 |
_mup_ | txzookeeper/trunk r42 committed by kapil.foss@gmail.com | 18:40 |
_mup_ | [trivial] fix changelog spacing for daily deb builds | 18:40 |
bcsaller | hazmat: nice | 18:41 |
hazmat | niemeyer, 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 incomplete | 18:49 |
hazmat | as it references the ensemble bzr branch | 18:49 |
dvestal | I 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 |
hazmat | dvestal, and the docs https://ensemble.ubuntu.com/docs/write-formula.html | 18:51 |
hazmat | also https://ensemble.ubuntu.com/docs/formula.html | 18:51 |
dvestal | hazmat: Thank you. | 18:52 |
m_3 | dvestal: feel free to ping me with questions while you're writing formulas | 18:52 |
dvestal | Is the target of ensemble primarily for the creation / maintenance of machines as a whole? More explanation following... | 19:01 |
hazmat | dvestal, 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 dependencies | 19:07 |
hazmat | particular 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 |
jcastro | I 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 |
kim0 | you probably should still file a bug | 19:15 |
kim0 | like "docs need updating to mention changing default instance type" | 19:16 |
jcastro | ok | 19:16 |
kim0 | niemeyer: 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 12px | 19:18 |
niemeyer | RoAkSoAx: Welcome! | 19:18 |
RoAkSoAx | niemeyer: thank you! | 19:18 |
kim0 | I 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 now | 19: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 |
niemeyer | kim0: I'm not a designer.. all I know is that my eyes hurt when I have to read that text | 19:19 |
kim0 | obino: o/ | 19:20 |
jcastro | niemeyer: can you put me in ~ensemble so I can edit the wiki? | 19:26 |
niemeyer | jcastro: Of course | 19:27 |
jcastro | thanks! | 19:27 |
niemeyer | jcastro: Your Canonical email isn't found in Launchpad? | 19:28 |
jcastro | it should be, my username is "jorge", usually that's enough to add me to a team | 19:28 |
niemeyer | jcastro: Cool | 19:29 |
niemeyer | jcastro: That's done | 19:29 |
niemeyer | jcastro: Might be good to associate your Canonical address there too | 19:29 |
niemeyer | jcastro: I usually look for people by the email, to avoid mixing | 19:29 |
obino | hi kim0 | 19:30 |
obino | got your request earlier: yes we would like to do something for cloud days :) | 19:31 |
dvestal | hazmat: 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 |
hazmat | jcastro, if it becomes a common enough activity, it might be worthwhile separating the docs into a separate repo | 19:39 |
kim0 | obino: Awesome | 19:40 |
hazmat | it might already be worthwhile | 19:40 |
kim0 | obino: 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 present | 19:40 |
kim0 | obino: if eucav3 is ready for a sneak peak, that'd be awesome indeed :) | 19:40 |
kim0 | obino: if you think you want 2 sessions .. it's perfectly fine | 19:41 |
kim0 | obino: thanks for your interest .. as usual ping me if you need anything | 19:41 |
hazmat | dvestal, 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 tbd | 19:41 |
hazmat | dvestal, 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 |
hazmat | dvestal, like installing a separate configuration management system or gui machine management facility, or monitoring, network volume, etc. | 19:43 |
hazmat | although 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!