[02:12] bye baby [02:13] ok, wrong focus... sorry [05:16] m_3 or hazmat: Earlier hazmat mentioned the exploration of the notion of co-locating service units in specification form. Is that in reference to the upgrade, etc. documentation at https://ensemble.ubuntu.com/docs/ or are there other specs that I could find to see what's already been discussed about the topic? === dvestal is now known as dvestal|away [08:20] Morning folks === koolhead11|Afk is now known as koolhead11 [10:37] dvestal|away, re co-location not atm re docs === daker_ is now known as daker [13:34] Hey Ensemblers [13:34] What are you Formulating today? :-) [13:52] niemeyer: morning [13:52] niemeyer: I'm debugging nfs this morning [13:52] niemeyer, ensemble cli plugins and an ide [13:53] niemeyer: then planning on expanding node.js and starting on greenplum [13:53] hazmat, m_3: Mornings [13:53] m_3: Sweet [13:53] m_3: Wow :) [13:54] having a problem with empty endpoints in add-relation at the moment... probably just naming on my end [13:54] m_3, awesome, which greenplum product out of curiosity? [13:55] hazmat: dunno... just popped on Mark's radar from conversations with Barclay's [13:55] hazmat: that's the first task... ping me with suggestions [13:58] m_3: What are you planning on node.js? [13:58] niemeyer: well I have a node.js "app" formula written [13:59] m_3: Interesting [13:59] but it doesn't do much other than deploy a noe.js app from a repo [13:59] m_3: What does it do to deploy the app? [13:59] m_3, so greenplum has a couple different product lines, they focus on offering analytics w/ ides, on top of warehouse dbs, be it their own version of pg, hadoop, hive.. the latter is typically an ingestion into the former, they have a fairly sophisticated graphical toolchain that the target analyst market expects [14:00] i saw a nice demo of it at a local hadoop meetup [14:00] niemeyer: just installs nodejs packages and then pulls a node.js test app from github [14:00] niemeyer: then spins it up [14:01] niemeyer, m3 i imagine its the same pattern for any language app server deployment, vcs config details, entry points, url mounting, dependency management, and db and proxy options [14:01] hazmat: yup [14:01] hazmat: Kind of [14:01] hazmat: It's the same problem, for sure [14:01] next is to figure out how to bind a db service and make it available to the node app [14:01] hazmat: But I'm curious about how to leverage the environment we're offering [14:01] hazmat: How to connect dbs etc [14:01] there's a different option too that we should build [14:02] hazmat: We can literally offer a PaaS for people, without having one [14:02] niemeyer, wsgi, rails, nodejs are pretty similiar aspects here, i think their different formulas, but really they have the same responsibilities and deploy patterns [14:02] a node.js _hosting_ service [14:02] similarly for rails [14:03] niemeyer, sure, that's the rather the point of ensemble. [14:03] hazmat: Yep.. that's why I'm asking then.. how can we do more than simply "deploy code in a server" with a formula [14:03] nodejitsu has an open source framework for hosting node [14:05] I'll distinguish them by name for now [14:05] 'rails-app' -vs- 'rails'... similarly for node [14:05] m_3, there are literally dozens of the platform specific paas options [14:05] although not many are opensource [14:06] hazmat: yup [14:06] hazmat: again, please feel free to suggest priorities [14:07] as I understand, we need a base set of formulas [14:07] that just keeps building [14:09] m_3, your priorities sound good (nodejs & greenplum), i'd like to see more scalable infrastructure components so glusterfs, cassandra, elasticsearch [14:09] hazmat: yeah, me too [14:10] hazmat: negronjl has cassandra working I think [14:10] hadoop would be interesting to look at as well, especially in comparison to the python whirr implementation (their project specific ec2 scripts).. the biggest missing thing i see there is better volume management [14:11] yeah.. i should check out the latest principia [14:11] db service binding was easy in railsapp, there's pretty much a set way to do it in the app [14:11] harder for node b/c it's a lot more unstructured [14:11] I'll pick _a_ way to show as an example [14:11] hadoop's in there too [14:12] hazmat: I'll check out whirr [14:12] m_3, feel to have a formal entry point into the node app, like have a yaml file with this data [14:13] hazmat: right, one I'll have to structure [14:13] hazmat: maybe using mongo if the peer stuff's up [14:14] m_3, sounds good, which reminds me i should push my mongo formulas [14:14] hazmat: yes please! [14:15] yeah, I'm bad about that... I need to push it all to lp [14:15] branch naming was preventing some of my pushes [14:16] (i.e., my misunderstanding of branch naming rqmts ) [14:16] I'll rtfm [14:17] hazmat: what sort of IDE stuff were you talking about earlier? [14:18] m_3, more of a web interface that would allow for interactive formula development with instrumentation [14:18] hazmat: nic [14:19] hazmat: I want blocks! with wires between them! [14:19] m_3, i think we'll need cli and server plugins first, but the ide itself would likely come after some sort of rest api server [14:19] hazmat: gotcha [14:19] hazmat: sounds perfect [14:19] m_3, mostly just brainstorming on ideas for the future, i think the cli-plugins are good first start [14:20] hazmat: yes [14:20] hazmat: I was thinking something like a '--block' cli option would allow for formula testing [14:21] hazmat: right now it'd have to have sleeps put in which is... not ideal [14:21] but there're all sorts of cool cli ideas [14:22] love the graphviz status btw === dvestal|away is now known as dvestal [14:28] dvestal: re your question from last night [14:28] dvestal: I think the orig idea in colocated services was to provide for 'aspects' like monitoring and log consolidation services to be colocated with a primary service [14:29] dvestal: think mysql with munin-node [14:29] dvestal: I'm looking for other 'specs', but I think the ensemble docs are primary atm [14:30] m_3: Has there been any discussion on how to handle system configuration things outside of the "service" installation and configuration? [14:30] dvestal: there are lots of feature requests too (https://bugs.launchpad.net/ensemble) [14:31] dvestal: yes, lots... I'm not sure the current state of that though [14:31] m_3: For example, I have all of my servers authenticating with ldap instead of just the base AWS ubuntu user auth. [14:32] kim0, there ? [14:32] dvestal: that one might actually work as a service though... "authentication service" [14:32] m_3: I'll have to dig through the email list archives to try to catch up different things. [14:32] dvestal, m_3 help plz :) [14:32] dvestal: Oh, that's quite interesting actually [14:33] dvestal: We have a few different things in progress ATM [14:33] dvestal: there are things that don't fit as a "service" [14:33] dvestal: and this one looks like the concept we're pushing in terms of "co-located" formulas [14:33] alienpulse: what's up? [14:33] dvestal: The idea is that certain formulas will be able to be deployed within the same container as another formulas [14:34] another formula [14:34] dvestal: To allow tweaking the environment in a sensible way [14:34] dvestal: E.g. distributed logging, monitoring, etc [14:34] dvestal: It sounds like what you're trying to do is related to this as well [14:34] niemeyer: Yeah. [14:34] m_3, hello..I'm new with every thing like im clueless ,,in Launchpad ,, i'v my own bug but i don't now how to add formula and nodes and etc on it [14:35] m_3, silly i know ,, but kim0 was my survivor in this kind of things [14:35] niemeyer: I have several small things like that. ldap auth is just the simplest to explain, and the most widely used. [14:36] dvestal: Ok, do you have another example, just to ensure we're on the same page? [14:36] alienpulse: no problem... wanna send me a url to the lp bug? [14:36] okay [14:37] m_3, https://bugs.launchpad.net/~abedeltawil [14:38] niemeyer: What I do now is a scripted snapshotting of a machine so that I have an ami to stand up a new machine from. [14:38] m_3, so how can i remove Admin links drupal .. ? and how to add a new project to start working on it and from where [14:39] dvestal: Ok, this is a fairly common approach, but at the same time it's the kind of trick we're trying to obsolete with Ensemble [14:39] alienpulse: ah, I think I understand [14:39] m_3, please advice .. [14:40] niemeyer: Basically things like syslog -> mysql logging. Auto-installation of wars into Tomcat and ears into Glassfish. [14:40] niemeyer: Yeah, I don't like doing it this way... which is how I found Ensemble. :) [14:41] dvestal: These sound like good examples of co-located formulas [14:42] dvestal: The idea will be quite simple, actually: you'll be able to describe certain relations as co-located, and Ensemble will know that the related services have to live together [14:42] dvestal: They will still be normal relations, though [14:42] dvestal: So, e.g. [14:42] dvestal: Imagine a relation of type "tomcat-war" [14:43] dvestal: WIth colocation on [14:43] dvestal: Ensemble will put both of them in the same container, and will establish the relation [14:43] dvestal: When tomcat notices the relation was established on war-relation-joined, [14:44] dvestal: It does "relation-set war-directory=/path/to/wars" [14:44] dvestal: You see where this is going? [14:49] alienpulse: I can't remove the associated bug... just please ignore that as noise for now [14:49] alienpulse: have you started on the formula itself? [14:49] m_3, emm okay from where should i start if i wanna start a project for scratch [14:50] alienpulse: what I do to start is copy another formula [14:51] m_3, i'v my bug but i don't now what should i do next ! :/ [14:51] alienpulse: I don't think there's a need to create a new launchpad project for a formula [14:51] alienpulse: so the first thing to do is get a working directory where your formula will reside [14:51] m_3, how that ? [14:51] how can i do that ? [14:51] alienpulse: what platform are you working on? [14:52] u mean my project ? [14:52] Drupal ! [14:52] dvestal fainted with the explanations.. sorry! ;-) [14:53] alienpulse: the first thing we need to do is make a local repo for the formula [14:53] alienpulse: have you used bazaar before? [14:53] no :( [14:54] let say i made a local repo [14:54] should i upload it ,, right ,, but where on the launchpad should i upload ? [14:55] rumour has it via the grapevine that somebody has asking for input in doing an Ensemble Logo [14:55] who would be the best person who might know more details? [14:55] sladen: kim0 or jcastro maybe? [14:56] alienpulse: it's not bad... something like http://paste.ubuntu.com/639527/ [14:57] not me, I only sat in on the web meeting [14:57] jcastro: that's more than I did. kim0: any knowledge? [14:57] m_3, and should i copy it and past it where !? [14:58] alienpulse: so the formula development will be done entirely on your machine [14:58] alienpulse: once you've gotten it going the way you like [14:59] alienpulse: you can push your repo up to launchpad [14:59] alienpulse: (can really push up at any time... the important point is that the development work is done on your local machine) [15:00] alienpulse: have you installed ensemble on your machine? [15:01] m_3, yeah sorry for that . [15:02] alienpulse: np [15:04] m_3, okay you where saying should the Formula development will be done on my laptop and with bzr is linked to my bug on launchpad ? [15:05] niemeyer: Sorry for the delayed response. I had to run upstairs for breakfast with the kids. Yeah, that's a good explanation. I like where it's going too. [15:05] ^ with the wife and kids... [15:06] dvestal: No worries, was just kidding.. I know how that works too :-) [15:06] alienpulse: yes, develop the formula first, then we can associate the repo you're using with the lp bug [15:06] dvestal: Nice, so if you have any ideas to suggest or any questions, just pop up and we'll be happy to talk/fix/implement :) [15:09] niemeyer: I definitely will. This is something that I anticipate contributing to. I'm sure that it will need to primarily be things that are specific needs of my company, but I talked to our owner about potentially working on this some as I am working toward automating our infrastructure and he seemed to be onboard with it. [15:09] dvestal: awesome! [15:10] ~> [15:10] that was a hung ssh :) [15:16] dvestal: That's great news indeed.. it's a good time to join in too, as you can help shaping the face of it to your needs [15:16] alienpulse: sorry my irc was hung .. so are starting on the drupal formula [15:16] alienpulse: did you read my formula writer's tutorial .. it should be easy to follow .. hey it's even for drupal too :) [15:17] kim0, no :( i want to did u blog it ? [15:17] ill read it from your blogs [15:17] * kim0 getting link [15:17] alienpulse: just this one https://ensemble.ubuntu.com/docs/write-formula.html [15:19] kim0, okay i was saying i dont know from where should i start ,, i dont want begin wrong .. [15:20] alienpulse: so basically, I'd start by reading that tutorial, and try to execute it step by step till you have drupal running on ec2 [15:20] alienpulse: once it's running, you can start hacking on it [15:20] to make a real formula out of it [15:20] and then i upload it to launchpad ? [15:21] alienpulse: no need for that .. you can create the formula on localhost .. and use it to deploy .. [15:21] im almost done with reading the ensemble tutorial .. [15:21] alienpulse: putting it on LP .. is like the final step [15:21] kim0, aha [15:21] kim0, okay ,,im getting it all now [15:22] 1st step ..run drupal on ec2 [15:22] okey guys i have filled a bug finally dbconfig-common and phpmyadin [15:22] koolhead11: woohoo \o/ [15:22] the preseed made me cry [15:22] 2nd step hacking it .. 3rd step create a formula on my machine ,, and finally ill upload it to LP [15:22] kim0, miss any thing ?! [15:23] let me rephrase .. this is how I would do it [15:23] 1- copy formula from tutorial into files [15:23] 2- run it as is, launch drupal on ec2 with it [15:23] 3- understand what is going on [15:23] 4- start changing the formula [15:23] 5- upload to launchpad, share your formula with the world [15:24] alienpulse: that's all [15:24] kim0, you're a bless from heaven ! [15:25] alienpulse: You know what .. even easier .. I remember now I have pushed my drupal to LP [15:25] alienpulse: so you can skip step 1 .. and instead do → bzr branch lp:~kim0/+junk/drupal [15:25] kim0, okay [15:27] fwereade: Would you mind to review this merge proposal when you have a moment: https://code.launchpad.net/~hazmat/ensemble/hooks-with-formula-dir [15:27] niemeyer: a pleasure [15:27] fwereade: Thanks! [15:28] sladen: o/ [15:29] sladen: so yeah, a community member is interested in working on a logo+mascot for Ensemble [15:29] sladen: he does pencil concepts. He's starting to send me concepts drawings, but I'm really not made to judege these things :) [15:30] sladen: can I link you two up ? so you start hacking those graphics together / [15:32] * koolhead11 is allowed to ask dumb/stupid questions :P [15:33] hazmat: I don't think the env var should be yanked.. please see the latest comment there [15:33] kim0: -> sladen@c.com [15:33] hazmat: Just pointing out here so you don't work on this before seeing the comment [15:33] koolhead11: Everyone is! ;_) [15:33] sladen: awesome .. linking :) thanks man [15:34] niemeyer, :) [15:34] niemeyer, k, thanks [15:36] niemeyer, could you clarify what you meant by [3] [15:36] hazmat: Just mentioning what is $CWD in the docs [15:36] hazmat: Next to the hooks themselves [15:37] niemeyer, ah.. sounds good [15:40] couple of questions about what directory we run in [15:40] what makes the unit dir better than the formula dir? [15:40] I haven't been able to see any serious distinction in this context but presumably there's some reason to prefer the unit dir [15:42] hazmat, niemeyer: the docs currently say we run in the formula dir, but it seems we run in the unit dir [15:42] fwereade: I think we're using the formula dir? [15:42] fwereade, it does run in the formula dir [15:43] it just uses the unit dir as a base reference point [15:43] hm, let me reread the code [15:43] looked like it was using the unit dir [15:44] In fact, there's an important reason for it to be the formula dir now.. we'll soon have co-located formulas in the same unit dir [15:44] fwereade, its at the bottom of invoker where it spawns the process, and there's a corresponding test [15:45] hazmat: where it calls with "hook_proto, hook, [hook], env, self._unit_path)"? [15:45] hazmat oh damn, wrong rev [15:45] fwereade, are you on the right branch? latest rev is 262 of lp:~hazmat/ensemble/hooks-with-formula-dir [15:45] cool [15:45] forget I said anything [15:46] :) [15:48] niemeyer, the implementation of co-location will need to modify the impl as needed. the formula location will no longer just be /formula [15:48] hazmat: Right, that was my point [16:07] * niemeyer => lunch [16:13] alienpulse: just noticed m_3 did a drupal formula on https://code.launchpad.net/principia .. it's ok, you can still study how things work, then improve on Mark's formula [16:14] kim0, im working on your now .. [16:14] kim0: can you forward me the actual pencil sketches too [16:14] kim0, but thanks any way [16:14] alienpulse: yeah don't let that stop you .. you need to understand ensemble .. then you can hack any formula :) [16:14] sladen: yep .. getting em [16:17] sladen: emailed [16:20] niemeyer, re formula upgrade and cleanup of files, its not quite read only.. but point taken.. if we assume namespacing in the future, fhs locations in the unit would need qualifications as a result, we can nominate a particular formula directory as inviolate by ensemble and suitable for variable storage (aka /var) or store the manifest at deploy time to compare to the delta, to just remove old formula files but not files created by the formula... [16:32] kim0: ta. Do you have an full copy of the mailing message https://lists.ubuntu.com/archives/ensemble/2011-June/000199.html available? [16:32] kim0: the one in the archive is missing the attachments [16:35] sladen: it was only links .. no attachments [16:36] sladen: I emailed you the links as well [16:44] kim0: nod [16:45] niemeyer: would you be able to follow-up to https://bugs.launchpad.net/ubuntu-branding/+bug/807100 ("Ensemble logo (ensemble.ubuntu.com)") with your breathing aperatus quote [16:45] <_mup_> Bug #807100: Ensemble logo (ensemble.ubuntu.com) < https://launchpad.net/bugs/807100 > [16:57] sladen: Hey there [16:57] sladen: Sure, what's up? [16:58] hazmat: Yeah, storing old manifest + new manifest + diff and remove might be the most expected outcome [16:58] hazmat: I actually like a bit the var approach too [16:58] hazmat: Makes it easy to move things around [16:58] hazmat: I'm a bit concerned that people won't figure it out until too late [17:07] niemeyer: Ensemble logo tracking bug [17:08] niemeyer: I have a quote that kim0 forwarded me, but I'd rather if you attributed and added it yourself :-) [17:13] sladen: Done [17:15] Actually, there's another thread too [17:18] hazmat: Looks like a recent change has broken txzookeeper: https://launchpadlibrarian.net/74683481/buildlog.txt.gz [17:22] niemeyer: did you mean to copy and re-paste 80% of the content from the bug introduction back into the bug report :-) [17:24] niemeyer, yeah.. i'm not sure what the issue is the changelog format looks fine [17:25] niemeyer, is there a static check tool ala lintian for checking deb directories [17:30] kim0, how can i remove one of my affects !? [17:30] alienpulse: what do you mean by affects [17:30] kim0, i want to remove admin links Drupal module [17:31] alienpulse: don't install it ? [17:31] kim0, in my bug i just assigned by mistake :/ [17:31] alienpulse: give me the bug url [17:31] kim0, https://bugs.launchpad.net/principia/+bug/805955 [17:31] <_mup_> Bug #805955: Formula needed: Drupal < https://launchpad.net/bugs/805955 > [17:32] sladen: Sorry, I didn't notice you had already added one of the links [17:33] sladen: It's not clear to me how can I help there? [17:33] sladen: I've already commented on these graphics in the mailing list thread which I linked there [17:33] alienpulse: I just set it to invalid on that project .. probably good enough [17:34] sladen, kim0: What sort of action is the bug oriented towards? [17:34] kim0, emm okay thanks .. [17:34] hazmat: There is [17:35] Let me try to find the name [17:35] kim0, alienpulse: I tried to remove this morning with no luck [17:36] yeah, I'm no LP expert either :) [17:36] niemeyer: -> see your private message [17:38] niemeyer: tracking the logo. I heard on the grape vine that somebody/something wanted help. It's now documenteed in one place, with everything that has been said [17:42] hazmat: lintian - Debian package checker [17:43] hazmat: I suspect the date format might be the issue, but not sure [17:43] hazmat: date -R is the standard [19:10] * niemeyer playing with glance [19:10] fwereade: That may be our S3 service for next week ^ [19:36] SpamapS, you were working on the lxc branch for ensemble, right? [19:56] SpamapS: We should talk about the LXC work, actually [19:56] SpamapS: The first step is probably to put a specification in place detailing what we're going after [19:56] and the impact in the several areas [19:58] niemeyer: +1 for faster formula development/debugging [20:18] jcastro: can I the deck you used for your ensemble lightning talk? [21:16] hazmat: ping [22:16] is bootstrapping stock oneiric ec2 AMIs expected to work? [22:23] adam_g: I was wondering the same thing when pointing to a euca cloud [22:24] adam_g: I don't think so... think zk's gotta be there at least [22:24] adam_g: smoser helped SpamapS bundle up something minimal for lxc [22:24] adam_g: if he's around [22:24] zk looks to be installed via cloud-init [22:24] so does the rest of the bootstrapping [22:25] adam_g: I haven't tested this myself.. we've been using Natty images just because it makes it easier to have it on both sides [22:25] adam_g: That said, we should all switch to Oneiric now that we're packing it in 11.10 [22:25] adam_g: and I can't see why it'd not owrk [22:25] niemeyer: yeah.. i was using the default natty AMIs as well until the archive mirror in us-east-1 decided to fall over [22:25] wokr [22:26] W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us-east-1.ec2.archive.ubuntu.com_ubuntu_dists_natty-updates_universe_binary-i386_Packages Hash Sum mismatch [22:26] Ugh [22:37] howdy [22:37] Ryan_Lane: o/ [22:37] niemeyer: o/ [22:37] Ryan is from the mediawiki ops team [22:38] kim0: so, ensemble seems like a really great way of pushing changes into an environment that isn't fully formed, and doesn't have something like chef/puppet [22:38] but it doesn't address long term management of systems [22:38] MediaWiki has a staging cluster, and I was pinging Ryan to test whether we can get some interest to get them to use Ensemble .. Ryan has some questions which I thought we could better answer here [22:38] the route we are going is to open our puppet repository to everyone [22:39] niemeyer: the run_cmd script in cloud-init for bootstrap doesn't succeed on oneiric. and i cant see how it would work on natty, either. are the default AMIs launched by ensemble stock? [22:39] and treat our ops like we treat mediawiki [22:39] SpamapS: hazmat m_3 your thoughts are all welcome [22:39] with code review on the puppet manifests, files, and templates [22:39] which will then let us directly deploy these changes to our production hardware cluster [22:40] which isn't cloud based ;) [22:40] Ryan_Lane: let me try to answer the points you've raised [22:40] Ryan_Lane: so Ensemble is not really about cloud only [22:40] lemme bring up the docs so that I can refresh my knowledge of it [22:40] drivers are being written today to support deploying to LXC containers, as well as hardware machinse and ofcourse openstack private clouds among others [22:40] ec2 was just the fastest way to get started [22:41] Ryan_Lane: regarding the first concern, Ensemble operates at a higher level that puppet or chef [22:41] in the sense that it operates at a "service" level [22:41] for configuration file management .. you _could_ still use puppet if you really wanted to [22:41] or you could use something else [22:42] Ensemble is well suited to long term management of instances [22:42] it simply focuses more on the concept of deployable "services" over machines [22:42] umm .. regarding sharing your deployment recipes with the world [22:43] that is exactly what we're after [22:43] yeah. I'm not concerned about that part [22:43] We're creating the principia project [22:43] which should cover hopefully all FOSS soon :) [22:44] if you have some more questions or exact use cases .. I'd love to hear them as well [22:44] Ryan_Lane: the thing that really closed ensemble for me was the relationships [22:44] so run me through a basic idea of installing a new mediawiki instance inside of an already configured mediawiki cluster [22:44] ofc Ensemble is rapidly evolving .. if there's a use case we don't currently support .. things can definitely be tuned [22:45] Ryan_Lane: ensemble provides events when service relationships are changed [22:45] Ryan_Lane: take a look at the mediawiki formula hook for db-relation-joined (maybe db-relation-changed) [22:45] puppet/chef does the same [22:45] Ryan_Lane: the way the events go out it allows for _really_ easy horiz scaling [22:46] Ryan_Lane: is the rest of the cluster under ensemble management ? [22:46] let's assume I have a memcached cluster, an apache cluster, a database cluster, a squid cluster, a varnish cluster (for bits), a swift cluster (for media), how will ensemble create just a wiki in that? [22:46] without deploying new nodes [22:47] or avoiding too much complexity... [22:47] an apache cluster, and a database cluster [22:47] are you saying those resources are not under Ensemble's management, or are they [22:47] I get the idea of adding new nodes to the cluster, that's easy enough :) [22:47] under ensemble [22:48] Very well [22:48] created via the screencast example [22:48] m_3: care to explain how that works :) [22:48] (this is a specific use case that I need, and don't have a solution for yet) [22:49] Ryan_Lane: Would deploying a service inside a new LXC container be acceptable for this use case ? [22:49] no [22:49] Ryan_Lane: yup, creating a pastebin of the hooks we have implemented for mediawiki [22:49] it can't add new instances [22:49] Ryan_Lane: so here's the metatdata.yaml file for the formula http://pastebin.com/h8HYzfQ5 [22:50] you can see the attachment with mysql, memcache, munin, and the "website" relation [22:50] * Ryan_Lane nods [22:51] the "Website" relation can be directly accessed or consumed in a relation with a reverseproxy [22:51] or load balancer [22:51] what's the benefit over puppet? [22:51] so there are hooks created for each relation [22:51] (or chef) [22:51] longer question to answer... lots on the topic though [22:51] lemme get you a list of the hooks here [22:52] http://pastebin.com/aL36P6A5 [22:52] the basic workflow is as follows [22:52] Most people find it an eye openeronce they take some time to understand how Ensemble formulas work under the hood [22:53] * kim0 makes way for m_3 [22:53] http://pastebin.com/i2CPibe1 [22:53] kim0: please participate [22:54] the magic happens in the relation [22:54] :) [22:54] the fact that this is the db relation is just an example [22:54] you'd do the same for memcache, reverseproxy, etc [22:54] so your "stack" would be more complicated than just the script I pasted [22:54] but not _much_ more complicated [22:55] the way the service relation events are fired [22:55] and organized [22:55] I think a main benefit, is that Ensemble is a living system. You are no longer thinking on the level of machines and config files. You're thinking in terms of intelligent "services" that know how to respond to the surrounding environment [22:55] allows you to scale horiz by just 'ensemble add-unit mediawiki' [22:55] rinse and repeat [22:55] and configure themselves, consuming other services, and offering their service to other nodes [22:56] the existing relations between mediawiki and the handful of other services are automatically fired for each new mediawiki unit [22:56] that simplicity of scaling, is a direct result of the fact that services embed the intelligence and know how to react to events [22:56] Ryan_Lane: to answer your question. AFAIK: as it stands right now, when you deploy a new service via ensemble, you're deploying a new instance to host that service. it takes an elastic, cloudy POV that instances are expendable containers of services that will come and go throughout the lifecycle of the service as a whole [22:57] if I change a service, do the current instances update to reflect that? [22:57] we're working on colocated services within an instance [22:57] Ryan_Lane: that's formula version [22:57] there's upgrade-formula [22:57] Ryan_Lane: yes, you can upgrade formulas on the fly [22:57] and the ability to do rolling upgrades [22:57] issues to be worked out here though! [22:57] heh [22:57] so, when upgrading instances, is there some group-based update process? [22:58] rolling upgrades mean different things to different apps, so that's still in dev/testing [22:58] or do you need to do it per node? [22:58] lemme show you status output [22:58] you can address individual service units (instances) [22:59] but I'm not sure in a upgrade-formula scenario what the options are [22:59] (just started working on it a couple of weeks ago) [22:59] our staging environment should reflect our production environment as much as possible. [23:00] including how we do ops [23:00] Ryan_Lane: understood [23:00] again Ensemble is rapidly evolving, so it can adapt to needs [23:00] Ryan_Lane: always particularly fun with a cms! [23:00] on our production environment, we may have one box doing a couple things [23:00] our software is deployed separately from our os related thingd [23:00] Ryan_Lane: and it's also a good ground for experimenting with future ops technology stacks right [23:01] yeah. if you guys would like to work in the environment, we can do that [23:01] Ryan_Lane: I'd love to talk maybe higher bandwidth or look at docs to learn more about your infra [23:01] for instance, I can give you guys a project where you can try to model our production environment in ensemble [23:01] yup [23:01] I think that would be very good [23:01] I think that would be great for both of us [23:01] * kim0 nods [23:02] I like some of the concepts, but it would be very difficult for us to use it now [23:02] gotta run... giving my first ensemble demo at a local LUG [23:02] nice to meet you Ryan! [23:02] m_3: you too [23:02] m_3: thanks for the help [23:02] Ryan_Lane: Awesome .. we'll both learn a lot by working on this excercise [23:02] it would be great to see you guys make a similar environment to ours, and show us how we could use it [23:03] and we can work with you guys to show where things are going to run into problems [23:03] that will surely be needed [23:03] great stuff [23:03] Ryan_Lane: so how do you suggest we get started [23:04] well, I don't have the cluster fully up yet [23:04] Ryan_Lane: it's openstack right ? [23:04] also, there's a couple things that I'll likely need to add to openstack for this to properly integrate [23:04] I think someone is working on it right now [23:05] the mediawiki extension I wrote adds DNS entries in LDAP when instances are created [23:05] openstack doesn't have support for adding DNS entries right now [23:05] for ensemble to work properly, it needs that ;) [23:06] well I'm sure we can beat any technical issues together :) [23:06] yeah [23:06] hmm [23:06] perhaps we could even do the work on ec2 for now [23:06] I may actually be able to give you guys access earlier than others, since you don't need the puppet stuff working [23:06] since that's the most mature provider [23:06] exit [23:06] :) [23:06] Ryan_Lane: yeah we don't [23:06] sorry, wrong focus... doh [23:07] hehe [23:07] could start, on ec2, yeah. would be good to move you guys over as soon as possible though [23:07] openstack exposes the ec2 api as well, so it should just work [23:07] yeah. I'm using ec2 api in my extension too [23:07] you guys will just need the DNS stuff. [23:08] might take some hammering .. but that's what we're good at :) [23:08] Ryan_Lane: so you'll give us access to the cluster, how will we know how your current infrastructure needs to be modelled ? [23:08] like more info on what needs to be done [23:08] that's the hard part :) [23:08] :) [23:09] that may be something you need the puppet repo for [23:09] we have a lot of documentation on wikitech.wikimedia.org [23:09] but it's not a step-by-step guide [23:09] we also have configuration files at noc.wikimedia.org [23:10] for mediawiki/apache [23:10] Ryan_Lane: In the mediawiki community, would there be ops volunteers interested in helping us get this working ? [23:10] hmm. maybe. [23:10] Cool .. we'll need to broadcast some messages then [23:11] we are light on ops volunteers. that's one of my goals of the labs project :) [23:11] hehe yeah I know [23:11] very well [23:11] I can talk to you guys about stuff as you work on it [23:11] I can give you an overview of how it works [23:11] you guys located in US? in SF? [23:12] we're everywhere [23:12] :) [23:12] heh [23:12] yeah. us too [23:12] some should be close to that .. just no idea who [23:12] we are going to be doing a hack-a-thon in New Orleans at some point soon [23:12] it'll be labs focused [23:12] so that would be a great time to work together if you guys are interested and can come [23:13] Ryan_Lane: I think it would be beneficial to have you on the Ensemble mailing list: http://lists.ubuntu.com/mailman/listinfo/Ensemble [23:13] otherwise, I can work with you guys online [23:13] sure the hack-athon thing can work too [23:13] I think I'll be sending a summary of this talk to the list, and it would be great to have you over commenting on how to move forward ..etc [23:14] Ryan_Lane: sounds like a plan ? [23:14] yeah. sounds good [23:14] Ryan_Lane: Great! thanks a lot Ryan .. I really appreciate your time [23:15] you're welcome. I look forward to working on this with you guys :) [23:15] Awesome, I am very excited as well :) [23:15] We all think Ensemble is bringing a big change, and it rocks to be part of it [23:15] woohoo \o/ [23:16] Okie .. it's getting too late for me now, so I'll catch you guys later [23:16] kim0: later [23:16] Ryan_Lane: see ya [23:20] <_mup_> Bug #807281 was filed: Cannot bootstrap stock ubuntu AMIs < https://launchpad.net/bugs/807281 > [23:59] adam_g, not till the sans-ami branch lands, and then it ensemble will work with any cloud-init enabled image ( although we might be dependent on a 10.10 version of cloud-init)