/srv/irclogs.ubuntu.com/2012/04/04/#juju.txt

SpamapShazmat: *sweet* wasn't sure if it was done yet :)00:06
SpamapSjcastro: http://news.ycombinator.com/news .. I see you at #600:37
marcoceppiYeah, way to make front page :)00:38
_mup_juju/relation-hook-context r522 committed by jim.baker@canonical.com00:39
_mup_Tests re visibility of changes in relations from an invoker00:39
marcoceppiSpamapS jcastro it also made the ycombinator twitter feed: https://twitter.com/#!/newsycombinator/status/18731480988739584000:41
_mup_txzookeeper/managed-watch-and-ephemeral r53 committed by kapil.foss@gmail.com00:43
_mup_connection err trapping for managed conn00:43
_mup_txzookeeper/managed-watch-and-ephemeral r54 committed by kapil.foss@gmail.com00:44
_mup_add .bzrignore00:44
_mup_txzookeeper/managed-watch-and-ephemeral r55 committed by kapil.foss@gmail.com00:54
_mup_remove unesc. expire handler from retry client00:54
_mup_juju/relation-hook-context r523 committed by jim.baker@canonical.com00:55
_mup_Fix typo and old comment00:55
_mup_juju/relation-id r501 committed by jim.baker@canonical.com01:16
_mup_Merged trunk (to make lbox handle old prereq; this branch is already merged)01:16
jcastroSpamapS: marcoceppi: thanks for the coverage while I was at taco night.01:37
jcastroyes, there is such a thing as taco night.01:37
jcastrohazmat: did you say constraints just landed?01:37
marcoceppinp jcastro01:55
hazmatjcastro, yeah.. last friday02:07
jcastrohazmat: woo, tequila time!02:08
hazmatjcastro, you can set constraints at bootstrap or when deploying a service02:08
_mup_juju/trunk r509 committed by kapil.thangavelu@canonical.com02:15
_mup_[trivial] change deploy output when using charm store [r=niemeyer]02:15
=== shazzner-away is now known as shazzner
=== poolie_ is now known as poolie
shazznermarcoceppi: Marco, I'm checking out that sourceforge php download script. When it's set to https it doesn't work, gives ssl error. Any ideas?03:40
shazznerspecifically this: http://paste.ubuntu.com/914043/03:41
_mup_juju/relation-hook-context r524 committed by jim.baker@canonical.com03:59
_mup_Display parent context relation ident, if available, when logging relation settings03:59
_mup_juju/managed-zk-client r510 committed by kapil.thangavelu@canonical.com04:04
_mup_agents use managed conn04:04
_mup_juju/relation-hook-context r525 committed by jim.baker@canonical.com04:04
_mup_Merged trunk04:04
* benonsoftware wonders if the topic should change04:45
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== shazzner is now known as shazzner-asleep
=== al-maisan is now known as almaisan-away
jmlI have a half-formed question10:13
jmlI can see how juju is useful for deploying services, and (for me at least), especially so for deploying dev instances of things I'm working on10:14
jmlwell, at least once I'm allowed to target precise.10:14
jmlbut is there some way to use it, or the charms or something to make setting up development environments easier?10:15
imbrandonsure10:15
_mup_Bug #973260 was filed: Unable to deploy charm that uses symbolic links from the charm store  <juju:New> < https://launchpad.net/bugs/973260 >10:15
imbrandonits not really streight forward atm but yea, just create the charm to install all the dev env tools10:15
imbrandonand maybe a current copy of the code10:15
imbrandonand deploy or even deploy local to a lcx10:16
imbrandonlxc10:16
jmlhmm10:25
jmlimbrandon: some differences that I can think of:10:26
imbrandonk10:26
jml- maybe want to have fewer units than on prod10:26
imbrandonsure we do that on omg10:26
jml- want to restart services way more frequently (as part of a dev cycle)10:26
imbrandonstage has far fewer and even runs on micros vs larges10:26
jml- want to have more verbose logging and some possibly insecure debug options10:26
imbrandonconfig option10:27
jml- would want to have dependencies for running tests installed10:27
jml(and I guess for compiled languages whatever you need to do a build)10:27
imbrandonsure all of thats doable now, the last bit i would religgate to a ci server10:27
imbrandonbut yea10:28
jmlwell, I can't write code without running tests.10:28
imbrandonsure i just wouldent have it on the same box, e.g let jenkins run the tests10:29
imbrandonimho10:29
imbrandoni mean you CAN, that is just prefrnce10:29
jmlimbrandon: that's generally not effective. Lots of projects deploy have long-running test suites, so while I'm TDDing I need to run a subset of the tests.10:30
jmlprojects *I* deploy, that should read.10:31
imbrandonthats a bug in the system imho , if you have long runnign test etc then sure i have lots of sites that do that but they run dedicated testing instances in addition to dev that use the ci server to mamnage the test runnign failures metrics etc10:31
imbrandone.g you end up with local dev, test env, dev env, qa, prod10:31
imbrandonci server manages the test env and long running cont test there10:32
jmlspell it out for me, you're in your dev env and you want to fix up bug. You write a test that reproduces the bug. How do you run that test?10:32
imbrandonyou keep dev and qa and prod as close to the same as possible just more/less instances10:32
imbrandonyou check in the code to vcs for the test10:33
imbrandonthe ci server picks ut up and runs the test on the test evn that mirrors dev10:33
imbrandonever used travis ci ?10:33
jmland then you watch that test fail and then write the fix and then commit that?10:34
jmlno, I haven't.10:34
imbrandonexactly, or you do the test and the code for the fix at the same time10:34
imbrandonand check into vcs10:34
jmlbut then you aren't doing TDD10:34
imbrandonsure you are10:34
imbrandonyou;d have to of run the test local10:34
jmlIf you haven't run the test to see if it failed, then how do you know if it's a good test10:34
jmlOK, now we're getting somewhere :)10:35
jmlFor some projects, it's really complicated to set things up locally to be able to run the tests.10:35
imbrandoni'm assuming here that you already have a process and adapting it to thus10:35
imbrandonthis*10:35
imbrandonsure in those cases you do like i said first10:35
imbrandonif you dont have a local instance10:36
imbrandonand watch it fail or pass etc10:36
imbrandondepending on test10:36
imbrandonit sound like more work, but its only more work to setup, really its the exact same as you do now10:36
imbrandonand once setup its setup for the whole team / multi prohject10:37
imbrandonso a one off, its like setting up soyuz the first time, a PITA but its a one off :)10:37
imbrandonif done right that is10:38
imbrandonand if not its a charm, iterate adn redeploy :)10:38
imbrandonwish irc had a white board, would be easier to explain a bit10:39
imbrandonlol10:39
jmlHmm. Maybe.10:40
imbrandonbut yea , local dev w/ test ( if possible ) --> check into vcs --> ci server watches vcs and runs test long and short and repeats etc --> passing code goes to dev --> then nightly to qa or whatever the schedule is --> pass qa ( automated qa or live ppl ) --> migrate to prod ( hopefully automaicly for XP )10:40
imbrandonthere is a bit more there, but thats the jest10:41
jmlI've already got CI set up, but any system which requires committing and pushing to run tests is unacceptable, and my goal here is to find a way to make it easier for people to set up environments to run tests locally10:41
imbrandonwell here is my deal, if it takes more than the developer to commit code ONE TIME to have it automaicly migrate to prod then something in the system is broken10:42
imbrandonbadly10:42
imbrandonthats from many years of iterating this process10:43
imbrandonever read joel on software ?10:43
jmlYes, of course.10:44
imbrandonyea then bascily how he decribes tdd xp setups10:44
jmlReference?10:44
imbrandonis how i would/do have it10:44
imbrandonsure, let me dig it up, been a while since i linked it :)10:45
imbrandonand btw you'd be suprised at the ppl in our field that have never read that :)10:46
imbrandonso i had to ask heh10:46
imbrandonjml: here is most of it, there is a more specific one i'm looking for though10:52
imbrandonhttp://www.joelonsoftware.com/articles/fog0000000023.html10:52
imbrandonbah i cant find it right now11:02
imbrandoni need a better bookmark system :)11:02
imbrandonshort awsner is yes though, no matter what your evn or workflow juju can probably make it easier11:06
imbrandonjml: just curious but why "but any system which requires committing and pushing to run tests is unacceptable" i mean thats the goal of a continious intergration server, to be continious this no lagtime thus it dont matter if its local or a spun up juju instace or a vm template in vsphere11:12
imbrandonor i'm missing somehting else that you dislike about it11:12
imbrandonbut yea, in your case i would setup a "prod" juju charm, then have the devs use it localy in lxc containers11:13
imbrandonas the test env11:13
jmlimbrandon: oh, that's easy to explain.11:13
jmlimbrandon: requiring commit and push to run tests increases the time and effort it takes to run tests, making it more difficult than a system where the tests can be run locally.11:14
imbrandoni think thats where we differ, i dont see the extra effort, its miliseconds diffrence11:15
jmlimbrandon: since I want to run tests very frequently, often after changing just a single line, that is unacceptable.11:15
imbrandonahh see i dont see it that way, but i often commit aftter just one line and then rollup commits for later11:16
jmlimbrandon: no, it's not. coming up with a commit message takes over a second.11:16
imbrandonbut thats whats good about a vcs like git that lets you do that whewre as hg or bzr wont11:16
imbrandonjml: only on a finaly rollup commit, savr commits and test commits are automated11:16
jmlimbrandon: well, I guess to each their own, but I'm not adding extra steps to my TDD cycle what amounts to no gain.11:16
imbrandonwith automated messages11:16
imbrandonjml: sure sure i was just reading back and thinking11:17
imbrandonnot trying to sell ya on another way11:17
imbrandon:)11:17
imbrandoni do think even with your flow though with minimal change juju could help via the local lxc containers11:17
imbrandonbut it would take some inital setup of the charm etc11:18
imbrandonin that way , they would be more like vm snashots of prod that could have extra things in meta.yaml for when running in dev11:19
imbrandonmode11:19
imbrandonmetadata.yaml11:19
imbrandonlike the verbose logging etc11:19
imbrandonthe one hiccup that i think will bite you right away is juju lxc dont persist past reboots11:20
imbrandonso you reboot, redeploy local but in reality thats a good thing becuse it makes sure the charm is "ture"11:20
imbrandontrue*11:20
imbrandonhave you used like vmware and made a vm then shapshoted it right after everythign was installed, then rolled back to that snapshot regularly ? it would be like that but more "live" as in the charm when "reverted" or deployed is the better word would be like a snapshot as in its clean env, but it would be the latest and greatest version of the code and env11:23
imbrandonjml: if that makes more sense i think11:23
imbrandonand exactly match prod as far as setup since its the same charm, possibly with other options ticked on or off for logging more etc11:24
imbrandonwhen deployed11:24
imbrandonanyhow i may be missing a big chunk of your goal too, i've still not had enough coffee yet this morn11:25
imbrandon:)11:25
imbrandonthat and i think another thing we differed on , is in my initial tdd xp setup i had acceptance tdd mixed in with developer tdd11:26
imbrandonthat assumption can make a big diff too11:26
imbrandonjml: btw if you need/want help with a skeleton charm to get you a proof of concept or something going i'd be glad to help. not the best charmer in the world but yea :)11:37
jmlimbrandon: thanks.11:41
jmlimbrandon: I think, realistically, I'm going to wait until our production DC is running precise.11:41
imbrandoni hear ya, probably wont be terribly long11:41
imbrandonmight be worth playing with other simple charms before then11:41
jmlit had better not be11:41
imbrandonjust to get feel, took me ages to grasp their usefulness11:42
imbrandonmor than like chef or something11:42
jmlI've already had a bit of a play around.11:42
imbrandon:)11:42
marcoceppishazzner-asleep: That's weird, it should work11:46
imbrandonmoins marcoceppi11:46
marcoceppiimbrandon: o/11:47
imbrandonthink i could bribe you into import-id for me on stage.omg at some point this morning ?11:48
marcoceppiYeah, in an hour or so when I'm back in the office, I don't think I have the same ssh key that's currently on omg here on this machine11:49
imbrandonno worries, just whenever11:50
imbrandonty11:50
imbrandonjml: also i'm still very new to the juju stuff too, so Spa*mapS and marco*ceppi etc might have even more detailed insight when they are active ( put the * so irc wouldnt ding them un-needed )11:53
imbrandonbeen round webdev many years, juju still wrapping my head round, although its clearing up mostly11:55
=== Guest31547 is now known as tobin
=== imbrandon is now known as bholtsclaw
_mup_juju/trunk r512 committed by kapil.thangavelu@canonical.com13:00
_mup_[trivial] tweak cli help options for consistency/formatting13:00
=== spladug` is now known as spladug
=== almaisan-away is now known as al-maisan
SpamapS_imbrandon: so, what crack were you smoking that you thought joel on software recommends that you not run test suites on dev machines during development? ;)14:12
* SpamapS_ is reading backscroll14:12
=== SpamapS_ is now known as SpamapS
jmlSpamapS: I have to say the same thought crossed my mind.14:12
imbrandonno14:13
imbrandonthats not what i said14:13
imbrandoni said run it via a ci server in a test env14:13
SpamapSimbrandon: its what you said. :)14:13
SpamapSimbrandon: jml was talking about setting up a server *to write the code on* not to test the code.14:14
jcastrohazmat, ok I pushed up some doc updates so at least they're not totally wrong, how often does the doc cron generator run?14:14
imbrandonhuh? that in no way says that14:14
SpamapSimbrandon: what you're describing is the stage where the developer believes he has triumphed over the bug/feature/etc.14:14
imbrandon<.< >.>14:14
SpamapSjml: what you're describing has two good answers in juju right now14:15
imbrandonsure after a test has been written and sent to the ci server to fail14:15
SpamapSimbrandon: jml wants to write a single test... and then run it and see it fail. Then write code to make it pass. *then* commit and run the whole suite.14:15
hazmatjcastro, i don't see that info in the rt... not sure14:15
jcastrohazmat, ok I guess I'll just find out when it happens, heh14:16
SpamapSimbrandon: you don't need a CI server to run *just that one test*14:16
imbrandonSpamapS sure and i said thats wrong , no you dont but you should have14:16
jcastroSpamapS, let's finish up the contest today14:16
imbrandon"just that one test" and things like it are what make inconsistencies happen14:17
SpamapSjcastro: yes, sorry, I was sort of useless yesterday.. should be ready to wrap it up in a couple of hours14:17
jcastrocool14:17
jcastrothe only one left to propagate for the contest is znc14:18
SpamapSimbrandon: also bzr's whole design is based around rollup commits. :)14:18
imbrandoni can write tests and have them pass all day long but it dont mean in a clean env that the ci box ensures it will pass14:18
jcastrolynxman, we just need a thumbs up from you on that one if you're reviewing it14:18
jcastroSpamapS, oh, and openerp of course14:18
SpamapSimbrandon: so the idea of commit commit commit commit then make a single merge commit is quite common in bzr land. You can even rebase if you'd like to erase all your crackful iterating commit messages. :)14:18
jcastroSpamapS, ok so let's plan on hanging out this afternoon?14:19
imbrandoni've never seen bzr used like that, i'd need to look over the docs its not the norm for people14:19
jmlimbrandon: to be crystal clear, I'm not saying I don't need or want CI.14:19
SpamapSjcastro: 10:00 my time, 13:00 yours?14:19
imbrandonjml: i know i;m trying to keep SpamapS_ from putting words in my mouth out of context14:19
jcastroSpamapS, actually let's go post-lunch your time, I have physical therapy today and the wife works late so I can be flexible there.14:20
imbrandonSpamapS i dont think you understood what i was getting at14:20
imbrandonwell obvuously now14:20
imbrandonnot*14:20
SpamapSjcastro: I have to jump on a train at 14:00 my time, so my afternoon will be spent on 3G. :-P14:21
imbrandonbut no i did not say joel wants you to do it local, infact i said i would have it set up like he describes the tdd xp process14:21
SpamapSimbrandon: no I didn't understand at all. :) I read it as "you must commit to run a test"14:21
imbrandonsure but if you look at the contect that dosent mean its the final commit to the prod branch14:22
SpamapSsure, I didn't think that either.14:22
lynxmanjcastro: I wasn't asked to review that one, send it my way if you fancy :)14:23
lynxmanjcastro: I only had sbuild14:23
imbrandonthen yes, you must commit to run a test unless you have a full abstracted local env14:23
jcastrooh14:23
imbrandonor your doing it wrong14:23
jcastrolynxman, https://bugs.launchpad.net/charms/+bug/95625914:23
_mup_Bug #956259: Charm needed: znc  <new-charm> <Juju Charms Collection:Fix Committed by patrick-hetu> < https://launchpad.net/bugs/956259 >14:23
jcastroit should be pretty easy14:23
SpamapSimbrandon: I support the idea of a CI server sitting around waiting for a commit to run tests on commit. However, if the full suite takes 5 minutes, it takes 5 minutes for me to find out that I mispelled "websrever"...14:23
jcastrojust tell me when and we'll promulgate it14:23
lynxmanjcastro: awwight14:24
imbrandonbah thats just a bad setup then, it shoudl run on triggers14:24
SpamapSimbrandon: whereas if I'm running just the tests I have just written, I can at least have a chance at getting the dumb things right before waiting 5 minutes for the full suite to fail.14:24
imbrandonif you cannont garentee that the env is IDENTICAL to the variables in prod then the test is useless local14:24
SpamapSimbrandon: we disagree fundamentally there then14:25
imbrandonyou have never had something work local and fail in production then14:25
SpamapSI have14:25
SpamapSmany times14:25
SpamapSnot saying you shouldn't have a real test env between dev and production14:26
imbrandonthen your a gluten for pushishment , fix the porobme14:26
jcastroSpamapS, imbrandon: hey so, go to pm so we can work, thanks!14:26
SpamapSI'm saying that a lightweight local test suite *should* in fact prevent you from wasting time.14:26
jcastroimbrandon, fix drupal, SpamapS, go promulgate. That will be all.14:26
SpamapSjcastro: eat me, we're answering jml's question about how to create test environments w/ juju14:26
imbrandonjcastro: ... this pertains to juju kthx14:26
jcastroheh14:27
jmlmmmmhh, gluten, *drool*14:27
imbrandonlol14:27
SpamapSactually, no don't eat me. I am very high in fat. ;)14:27
* jml goes to get coffee and some kind of pastry with gluten in it14:27
SpamapSjml: I have two options for you for setting up dev environments w/o compromising the production charm. buzz me when you're back.14:28
jmlSpamapS: will do.14:28
imbrandonSpamapS: and i'm saying that that *way way* less than 5 minutes waiting for the test to fail is not counter productive, infact i spend more time opening the browser than it would take for the ci to grab it test it and notify me14:28
imbrandonand garentees its a clean kill14:28
SpamapSimbrandon: launchpad's test suite takes *hours* to run, even with the recent efforts to parallelize it.14:29
imbrandonok then in that case your not talking 5 minutes14:29
imbrandonlets keep the same varibles here14:29
SpamapSwell I'm saying, 5 minutes is too long.. but many large systems would want to run the full many hours long test suite.14:29
imbrandonif your running a test suite that takes hours then 5 muntes dont mater and you should NOT be doing it local14:30
imbrandonexactly why you have a dedicated test evn14:30
imbrandonas well as local14:30
SpamapSimbrandon: when I do TDD.. I write a test, run to make sure it fails the way I expect it to, then write the code to make it pass. Its important that I not start writing the code until I see that fail.14:30
SpamapSimbrandon: No, I just want to run *one test* ocally.14:31
SpamapSlocally even14:31
SpamapSimbrandon: just for the iterative "prove to me that I have solved this one tiny problem" effect14:31
imbrandonsure, but if you run the test and it fails local thats just a CURSORY test, it must fail in the env it was ment for to mean anything14:31
lynxmanjcastro: charm looks incomplete, giving some more feedback14:32
* jcastro nods14:32
lynxmanjcastro: jamespage was already reviewing it btw14:32
SpamapSimbrandon: well, this gets into an unsettled theoretical area where we decide between unit tests, functional tests, and integration tests. :)14:33
imbrandonSpamapS that and i gave the middle ground, i sugested deploy the charm local , that takes care of both really, run you one off i cant wait 5 minutes because i wrote a bad test or typos then push it to the ci server14:33
SpamapSimbrandon: if its a unit test, then in theory, it is its own universe, isolated from all the integratino points of the environment. To be fair, for that one, you shouldn't need any special dependencies as jml was asking for. :)14:33
imbrandonsure14:34
imbrandonbut thast not .... ugh you know we're talking about 5 diffrent things here14:34
imbrandon:)14:34
SpamapSimbrandon: anyway, I like where you're going with this actually, and juju can make this *super* easy.14:34
imbrandonright14:35
imbrandonand ensure that it matches14:35
imbrandon:)14:35
jmlSpamapS: back14:36
SpamapSso, w/ what jml was describing, we have a *great* use case for subordinates. You can have a subordinate "CI" charm which you deploy along w/ the code/app servers, which then gets down to the business of running the tests on commit from your dev server (config option for branch to watch I suppose)14:36
imbrandonyea, i was thinking a config oiption since sub dont exist yet14:37
SpamapSjml: ^^ option 114:37
imbrandonand making it all complicated14:37
jmlSpamapS: I don't quite know what subordinates are, but sure, that sounds good.14:38
SpamapSjml: they are charms which don't serve a primary service purpose, and are always deployed along with primary charms. The key is they can relate to things via the filesystem.14:39
imbrandonjml: charms have to each be their own "instance" right now, sub;'s let you have 2 or 3 or 6 charms on the same machine, like a nginx charm and a rails charm14:39
SpamapSjml: the last branch or two for them is under heavy review right now14:39
SpamapSimbrandon: to be clear though, you can't have more than 1 non-subordinate charm on one machine.14:39
jmlI guess these are for things like plugins, monitoring systems and the like?14:40
SpamapSor, in juju-future-ese, on one "container"14:40
SpamapSjml: thats the primary use case yes14:40
SpamapSjml: also the idea that you could have a node.js charm and then the apps would be subordinates14:40
imbrandonSpamapS_: ugh, what happens when i need apache + rails + myapp ? that suks14:40
SpamapSimbrandon: rails and myapp would both be subs14:40
jmlSpamapS: oh, interesting.14:40
imbrandonright , but you just said they cant14:41
SpamapSsubs have their own relations and everything, its really quite elegant14:41
imbrandonor i misunderstood14:41
SpamapSimbrandon: no, apache would be the primary14:41
jmlSpamapS: what's the other option?14:41
imbrandonkk14:41
SpamapSjml: the other option is, as imbrandon suggests, a config option, something like "dev=1"14:41
SpamapSjml: that just brings in the things you need,14:42
jmland then something in the charm that responds to the config change?14:42
SpamapSerr, that was a .14:42
SpamapSjml: precisely14:42
imbrandonyup, a good explination of that is on jcastro lastest post on cloud.ubuntu.com14:42
imbrandonwhere phpmyadmin from upstream or the deb14:42
imbrandonetc14:42
SpamapSconfig-changed would do something like "if dev==1 then install testing tools vcs tools etc etc"14:43
marcoceppihttps://juju.ubuntu.com/docs/drafts/service-config.html14:43
jmlcool14:44
SpamapSjml: the idea with juju is you would have the dev deploy as similar to the prod deploy as possible, just with less resources available to it.14:45
imbrandonbut local to lxc or maybe to a micro14:45
SpamapSyeah, local so you can destroy your machine's performance, or t1.micro so you can wait a long long time. :)14:46
imbrandonhaha14:46
SpamapSwe do need to figure out if lxc-start-ephemeral can be used.. the shared VFS cache of overlayfs is a huge win.14:47
* SpamapS goes afk for a bit14:48
imbrandoni was using it yesterday on the HPcloud boxes14:48
imbrandoni provisioned a 16GB server and then made baby lx boxed14:48
imbrandonSpamapS: so when you get back, what did you mean about the multi sub thing, i'm not quite sure i followed unless you just mean one needs to be the "master"14:50
imbrandonif thats the case then i'll cheat and make a ubuntu jeos server charm and everything is a sub of that14:51
jamespagelynxman, you are correct -  I had provided feedback but I don't think it had been implemented14:52
* jamespage reads14:53
jamespageoh - it has - there was just a query over 'install'14:53
imbrandonjcastro: btw drupal is done and it rocks, now just looking to add some of the cool options to it like marcoceppi demo'd at POSCON14:54
imbrandon:)14:54
marcoceppiimbrandon: it's got a few blockers in it, I'm in the middle of a review right now14:54
imbrandonnice, let me know, i've very keen to add them to the drupal charm14:54
imbrandonfor like drush archive / upstream, drupal 6 or 7 archive, upstream or pressflow etc etc etc14:55
imbrandonwill make it very nice14:55
marcoceppiI think phpMyAdmin is the only charm that uses an upstream switch, and it's a bit convoluted in that charm.14:56
marcoceppiIt'd be nice to get this hammered out, then just open a bug against the promulgated charm to add version switching support14:56
imbrandonyea there are so many flavors of official drupal that it could benefit, have a sane default then the options14:56
marcoceppiand merge in updates14:56
imbrandonyup14:57
imbrandonwell not sure mine is prom yet, havent checked today14:57
imbrandonnot even sure if its been reviewd14:57
* imbrandon looks14:57
lynxmanjamespage: yeah, he's missing some other stuff though :)14:57
marcoceppiimbrandon: it hasn't I'm reviewing it now14:58
jamespagelynxman, I'll leave it in your capable hands then!14:58
imbrandonoh nice ok14:58
=== al-maisan is now known as almaisan-away
* imbrandon goes to grab a mt dew then14:58
imbrandonmmm caffeine :)15:22
imbrandonmarcoceppi: were we ( read: you ) gonna try and make the aws switch this evening still ? if so i'll make sure i'm around15:23
marcoceppiI'm not sure, lets shake over to the other room15:26
* hazmat reads haxor news comments15:39
SpamapSimbrandon: I *love* that idea ... the only thing I don't like about it is that I didn't come up with it.16:27
imbrandonheh16:30
SpamapSimbrandon: (re a primary "jeos" charm that everything else is a subordinate of)16:31
SpamapSlike, seriously, its the most brilliantly obvious solution to density that we all missed16:31
* SpamapS reserves the first gold star on his fresh sheet of gold/silver/green/red star stickers for imbrandon16:32
imbrandon:)16:32
* imbrandon is happy 16:32
robbiewlol16:41
=== shazzner-asleep is now known as shazzner
jimbakerSpamapS, this reminds me when i was at pycon about 5 or 6 years ago... and there was a teacher conference overlapping with us. one of the talks: using star stickers to motivate students16:53
SpamapSjimbaker: it always worked for me :)16:54
jimbaker:)16:54
shazznermarcoceppi: ping17:02
marcoceppishazzner: pong17:02
shazznermarcoceppi: hello :)17:03
shazznerhey Marco, can you try running that parse_upstream php file?17:03
marcoceppishazzner: Yeah, it worked for me17:03
shazznerhuh17:03
shazznerif I remove the https to just http it works swimingly17:04
shazznerI have no idea, is there an import cert or something I have to call :/17:04
marcoceppiShouldn't be17:04
shazznerhmm17:04
shazznerwhat's odd, it seems to be only sourceforge, google https works fine17:05
shazznerI'm probably going to leave it in for now, and just see if it's some weird configuration on my computer17:06
_mup_juju/relation-ids-command r510 committed by jim.baker@canonical.com17:07
_mup_Merged trunk17:07
marcoceppishazzner: http://paste.ubuntu.com/914797/17:07
marcoceppiYou'll want to make sure you update the project id at least :)17:08
shazznermarcoceppi: I did :)17:10
marcoceppishazzner: for testing, if you're only doing local, you could just drop https for http17:11
marcoceppiThough, it'll need to be https for the charm school17:11
shazznerlike this doesn't work for me: http://paste.ubuntu.com/914802/17:11
shazznerpretend there is a <? in front17:12
marcoceppiso weird. what does the php info for your setup look like?17:13
shazznergood question, one sec17:13
shazznerI know openssl is running17:13
shazznerman I forget how big these things are: http://paste.ubuntu.com/914809/17:15
imbrandonfile_get_contents is off for remote calls by default17:16
imbrandonmarcoceppi:17:16
imbrandonneed to use curl17:16
marcoceppishazzner: try installing php-curl17:17
shazznerk17:17
imbrandonone sec17:17
marcoceppiThough, that shouldn't affect it, since straight file_get_contents works17:17
imbrandonhttp://paste.ubuntu.com/914812/17:17
imbrandoni dunno some reason i cant see him talk, i'm only getting half the convo17:18
imbrandonlol17:18
imbrandonbut there is a function i use in my classes to "replace" file_get_contents17:18
marcoceppiright, that's fine, but it's working on my machine for https, not on his for https, both machines work fine for http17:19
imbrandonhrm17:19
shazzneryeah17:19
shazznerphp-curl, no help :/17:19
shazzneraccording to the phpinfo I'm on openssl 1.0.117:21
imbrandononly thing i can think of is not having the ca's or somthing and it rejecting it, but the log should say that17:21
imbrandonmaybe see if the curl works anyhow17:21
marcoceppishazzner: weird, in the phpinfo for you check if you have this: Registered PHP Streams => https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip17:21
shazznerthis is all it returns: http://paste.ubuntu.com/914821/17:22
imbrandonand it bugs me i cant see him talking, wtf, jcastro noticed that with the subway client anywhere else ?17:22
shazznerI can see you talking imbrandon17:23
marcoceppishazzner: check your phpinfo, it looks a bit was left out. There's a part at the top of the info that dumps out PHP Sterams and Registered Stream Socket Transports17:23
shazznermarcoceppi: http://paste.ubuntu.com/914825/17:24
imbrandonbrb gonna get on irssi17:24
shazznermarcoceppi: you're right I forgot to copy it :p17:24
shazznerhttp://paste.ubuntu.com/914828/17:26
shazznerimbrandon: can you hear me now? :)17:26
imbrandonyea17:26
shazzneryay :)17:26
imbrandonfinally17:26
imbrandonno idea why now before17:26
imbrandoni was on that new subway client though17:27
imbrandonnot*17:27
shazznerhuh17:27
marcoceppishazzner: So, the final thing I see is this: http://stackoverflow.com/questions/5498497/error-with-fsockopen-and-ssl-failed-to-enable-crypto17:27
marcoceppisimilar error, but it's due to firewall17:27
shazznerhuh17:28
marcoceppiand this: http://gcov.php.net/viewer.php?version=PHP_5_3&func=tests&file=ext%2Fopenssl%2Ftests%2Fbug54992.phpt17:29
=== bac`` is now known as bac
niemeyermarcoceppi: heya17:42
niemeyermarcoceppi: Do you happen to know if the wordpress+mysql pair is working in the charm store?17:42
marcoceppiniemeyer: It is last we deployed, about 3 weeks ago17:42
niemeyermarcoceppi: Awesome, thank hou17:43
niemeyeryou17:43
marcoceppiWordpress + HAProxy don't work though17:43
marcoceppiin fact, I'm willing to wager a few of the applications won't work with HAProxy17:43
SpamapSmarcoceppi: it works, but not the way we want it to17:45
SpamapSmarcoceppi: everything I've promulgated works w/ haproxy17:46
SpamapSmarcoceppi: and wordpress did, at one time, work, but I think something got changed that broke the way it handled the Host: header17:46
marcoceppiSpamapS: it didn't work when we deployed it, the WordPress charm is setup to listen to hostnames, and only the hostname of the unit. Since originating requests from haproxy are under a different hostname the wordpress box needs to be tweaked17:46
marcoceppiSpamapS: right, should be fine when we start backporting the nginx configuration17:47
SpamapSmarcoceppi: there's a default too though, the default should have worked17:47
imbrandonyea i'm sooo makin a patch for that17:47
krondorI'm just excited to see the charms deployable without needing all of openstack or costs for ec217:47
krondorwops wrong window17:47
imbrandonhaproxy should pass the hostname though17:53
imbrandonlike we have nginx doing17:53
imbrandonerr we do now17:53
SpamapSimbrandon: there's some logic in the haproxy charm to try and determine whether or not to turn on passing the hostname.17:54
imbrandonbut i'm still gonna work on a patch for wordpress , thats ludacris the way it does it, every other cms and framework in the world is smarter17:54
SpamapSimbrandon: that still would not have mattered in the omg case because the backend services were expecting the external hostname.17:54
imbrandonahh17:54
marcoceppiimbrandon: It's not a wordpress thing, it's WordPress multi-site from the archives17:54
imbrandonmarcoceppi: well wp does it too17:55
imbrandonwith the login17:55
marcoceppithat's a different issue though, it's more a security thing17:55
marcoceppiYou can only post private data to the site_domain in the configuration17:55
imbrandonnah, its misguaded secuirity17:55
marcoceppimisguided, sure, but it's why it exists17:55
imbrandonlike how drupal handeles it17:55
imbrandonyea17:55
imbrandonbut yea the normal one doe the host thing too, thast why i had yoy add17:56
imbrandonthat filter to the settings17:56
imbrandonit removes that host header filter17:57
=== almaisan-away is now known as al-maisan
SpamapSI think we need to add an 'endpoint-host' component to the http interface so that chains of servers can configure appropriately for the intended endpoint.18:03
=== al-maisan is now known as almaisan-away
SpamapSlike if you have nginx load balancer -> mod_security -> appservers .. need to know that the expected Host: is "mysite.com"18:04
* SpamapS rings the bell twice18:04
SpamapSOpenERP promulgated!18:04
imbrandonis there a way to make it an array ? i'm thinking about when i setup sites18:04
imbrandonwithout juju i have 2 endpoints18:04
imbrandonas i seperate the admin side18:04
imbrandonmost of the time18:04
SpamapSimbrandon: sure, comma separated would work fine.. just have to think about that.18:05
imbrandonhrm18:05
imbrandonkk18:05
imbrandoncuz its common for me to setup a drupal site but have domain.com/**/add domain.com/**/edit and domain.com/admin 403 via .htaccess and then another admin.domain.com vhost on the same box that restricts it to an ip subnet18:07
_mup_txzookeeper/managed-watch-and-ephemeral r56 committed by kapil.foss@gmail.com18:07
_mup_address review comments18:07
imbrandonfrak18:09
imbrandonmarcoceppi: i was looking over your comments and rember how i said i changed install quite a bit and you was like "huh?" for omg ? looking at your review and the file, i think i switched the install hooks for drupal and omg18:10
SpamapShazmat: hey, is there a way we can get access to have 'charm promulgate' make _mup_ talk for us?18:10
imbrandoni bet if you look in the omg install hook it has git-core18:10
imbrandonon the apt-get line18:11
SpamapShazmat: would be nice to have the bot do it :)18:11
=== shazzner is now known as shazzner-away
marcoceppiimbrandon: it doesn't18:11
imbrandoni was working on both charms at the same time so ....18:11
imbrandonok18:11
imbrandongood18:11
marcoceppithe omg install hook is still all omg specific18:11
marcoceppiand it works, because we re-deployed it recently18:12
imbrandonok good, then i just fubared one18:12
imbrandoncuz i kjnow i changed all thois18:12
imbrandonbut no biggie18:12
imbrandonthere are other things you mentioned i needed to change anyghow18:12
imbrandonok , just wanted to make sure i dident screw the pooch really bad18:12
imbrandonyea it would have worked18:13
imbrandonbut just had extra stuff18:13
imbrandonlike git-core installed etc18:13
marcoceppiimbrandon: I review all the diffs for merges very carefully, that would have caught my eye18:13
imbrandonrockin :)18:14
imbrandonyea see i have the admin.* stuff in the drupal one, frak18:14
imbrandoni def screwed something up here , /me checks git history18:15
imbrandonbtw did you ever add my key ?18:17
imbrandonugh yea and i had all the backup stuff replaced with backup-and-migrate ....18:19
* imbrandon rolls back git18:19
imbrandon* Advisory ID: DRUPAL-SA-CONTRIB-2012-05618:27
imbrandonerm wrong win18:28
imbrandonSpamapS: oh yea i posted some more unholly acts of bash on my blog this morning, dunno if you read planet or not18:29
hazmatSpamapS, yeah.. its trivial afaik the bzrcommit hook uses a fairly simple protocol.. but its a client side hook18:29
SpamapShazmat: thats fine, I want to bake it into charm-tools so that when somebody successfully runs 'charm promulgate' the bot informs #juju :)18:30
hazmatwhich needs the creds distributed with it.. its basically just a message relay/send to mup18:30
SpamapSah, so the bot doesn't support openid? ;)18:30
imbrandonSpamapS: heh i wasent the only one who said it "like osx brew on crack" comment on jcastro's latest blogpost :)19:12
imbrandonmarcoceppi: ok so i pushed the fixes for your review, do i put the bug back to needs-review or ? *me is excited to get in the store*19:17
marcoceppiimbrandon: put the bug as fix committed19:18
imbrandonk19:18
m_3_jcastro: HN!  congrats!19:24
jcastrothanks!19:25
m_3_just catching up and saw that... awsesome19:25
imbrandonyou made HackerNews ?19:26
jcastro:)19:26
imbrandonnice19:26
jcastro... and clint just promulgated openerp.19:27
jcastroanother fine patrick hetu charm. o/19:27
jcastrom_3_: SpamapS: marcoceppi you guys need to pick a winner19:28
imbrandonSpamapS: realizticly how long before subs hit  ? before uds ?19:28
marcoceppijcastro: so many good ones19:28
jcastrohazmat: does the doc generator sphinx thing only do RST? Or will it generate Markdown as well?19:29
hazmatjcastro, rst only19:29
jcastrogenerate from markdown I meant19:29
jcastrodang.19:29
hazmatjcastro, i'm mean its extensible.. and it can be done.. but its not the default, and likely requires an RT to do. http://stackoverflow.com/questions/2471804/using-sphinx-with-markdown-instead-of-rst19:30
hazmatin this case it looks like it needs some dev19:30
jcastroin other words. "deal with it Jorge"  :)19:30
* jcastro goes to fix the docs he broke19:30
marcoceppiimbrandon: instead of rejecting it again, can you please add git-core to the install hook19:33
marcoceppiimbrandon: instead of reading what I wrote, ignore me19:33
imbrandonheh19:34
imbrandoni was gonna say i did19:34
marcoceppiwhen I did a pull it conflicted, didn't read the output carefully enough19:34
imbrandonif there is anything else minor like that though lemme know :)19:34
imbrandonnp19:34
imbrandonand ty for re-looking at it so fast :)19:36
imbrandonsabdfl always has such well thought out blogposts, but i guess when you have as many eyes on you as he does you kinda have to19:37
jcastroit ended up being something like 6k pageviews.19:38
imbrandon'nice19:38
jcastroso still small potatoes, but at least people know what it is now19:38
jcastroimbrandon: so what other hardcore stuff do you have other than drupal?19:42
imbrandonjcastro: hrm nginx drupal advanced js and css server side optimzations19:47
imbrandonbuild and deploy schemes19:48
imbrandonhrm19:48
imbrandoni really like build and deploy schemes19:48
jcastrohmm so for all the nginx stuff we're likely waiting on subordinates right?19:48
imbrandonyup19:48
jcastrook19:48
imbrandoni was actauly thinking about just a website build server though19:48
imbrandonnot just jenkins19:48
imbrandonetc19:48
imbrandonone that runs thfough like the h5pb ant scripts and19:49
imbrandonoptipng19:49
imbrandonand less19:49
imbrandonscss, closure compilers19:49
imbrandonetc19:49
marcoceppiimbrandon: your upgrade-charm hook is broken19:49
imbrandondoh. me looks19:49
marcoceppiit fails in two places, if an upgrade charm is run prior to a db-relation being joined it fails, and even after a db-relation is joined if fails because it's looking for files/drupal instead of just drupal19:50
marcoceppiIt needs to make sure /var/www/drupal exists before it rsyncs, and also correct the source path19:50
imbrandonhrm kk, qwick fix19:50
imbrandonyea19:50
imbrandonhrm19:50
imbrandonthen git will fail19:50
imbrandonwtf19:51
marcoceppiJust do if [ -d "/var/www/drupal" ]; then19:51
marcoceppiin the upgrade charm hook19:51
imbrandonk19:51
imbrandonyea then next round19:51
imbrandonit will come back if ...19:51
imbrandonok ok19:51
imbrandonpushed19:53
imbrandonerr git pushed19:53
imbrandonone sec19:53
imbrandonk pushed19:53
imbrandonwell fuck , dient change the path19:54
imbrandoni mean frak19:54
imbrandonwait a minute, files drupal is right isnt it19:54
imbrandonnot just drupal19:54
imbrandonoh no its not19:55
imbrandoni have it on the outside19:55
marcoceppitake your time19:56
imbrandoni know, was just anoying19:56
imbrandonok i moved drupal into files/ that was the intent anyhow and its refrenced other places as in files/drupal19:57
imbrandonand pushed19:57
imbrandonoh nice , did not know a storm was comming, heard thunder and look outside and it s pitch black out20:02
imbrandonWINTER IS COMMING20:02
jcastrohazmat: it looks like the code generator thing IS set up for the docs is smart. I've been fixing the docs and then it just regens them, so I get the feeling it's more than just a daily cron job.20:08
SpamapSimbrandon: subs are nearly here I think20:09
imbrandonSpamapS: sweet20:09
SpamapSjcastro: maybe its */15 instead of daily20:10
jcastroyeah so anyway, docs being generated quickly, so none of us have excuses. :)20:10
imbrandonjcastro: to better awnser what you was fishing for earlier , any part of the xAMP stack20:10
* imbrandon wants to see cgi perl wwwboards come back into fashion20:12
imbrandonjcastro: i was thinking about a mysql ga 7.2 ndb cluster next , with those speedy joins20:14
imbrandondunno tho20:14
imbrandonhrm MAAS isnt new, i was doing that 8 years ago when i worked in a datacenter, infact we had dedicated ports on each switch in the racks that would be on the pxe boot + reimage server + add configs badd ass network, i thought it was going to be more than that from Marks blog post20:19
hazmatjcastro, cool might be hrly20:19
* imbrandon feels jipd20:19
hazmatimbrandon, it basically wants to be that with an api.. but its also the foundation for bare metal deploys of juju20:20
imbrandonseriously did i miss something major there20:20
robbiewimbrandon: agree, the concept isn't new20:21
imbrandonahh k20:21
robbiewbut it's more than just pxe boot20:21
imbrandonwell yea base kickstart config20:21
imbrandonor ubuntu preseed20:21
imbrandonthe api's will be intresting20:22
imbrandoni dint see that part20:22
imbrandonbut at fisrt glance i was like ummm20:22
hazmatits also pretty early for maas (really early actually), it will be interesting to see what it can evolve to20:22
imbrandondefinatly , esp since it will now have alot of attn20:23
imbrandonthat kinda thing has always been datacenter wizrdry20:23
jcastroimbrandon: so you know the charms we've been writing. Doing a deploy would just have MAAS firing up bare metal boxes instead of EC2.20:23
jcastroor in addition to, or both.20:23
robbiewright20:24
imbrandonyea , but thats a natural evolution , i mean i'm even kinda doing that now on my esx box heere at home minus a few shell scripts, the reall coolness will be to orcrstrate that via a charm20:25
imbrandonwith the api20:25
jcastroyeah but you know how to do that20:25
jcastroand bought ESX20:25
imbrandonesx is free :)20:25
jcastrowe're talking about ootb part of the OS.20:25
imbrandonyea true20:25
imbrandonesx would make a fat charm on bare metal too20:26
imbrandonsince its free cuz it has not gui20:26
imbrandon:_20:26
imbrandon:)20:26
imbrandonvsphere is what you pay for though jcastro , the gui part with all the goodies, the under pinning esx is free if you know what your doing20:27
imbrandonlike xenserver from citrix20:27
imbrandonxen is free but not the othert citrix goodies20:27
imbrandonand yea i forget sometimes that even tech ppl are as tech as us20:28
imbrandonfor the most part20:28
jcastroimbrandon: let me put it this way as an example.20:28
jcastroif I was at my old job and someone would have said "quick, we want to set up 250 blogs, one for each faculty member." I would have been doomed.20:29
jcastrowith all this it's a juju for loop20:29
imbrandonarent*20:29
imbrandonheh true, or one s/wordpress/drupal :)20:29
jcastroheck, this is so easy I am wondering if I should get into the wordpress hosting business. :)20:29
imbrandonbut thats nother story :)20:30
imbrandonhehe20:30
imbrandonahhaah20:30
imbrandonyou dont want to , wp upstream is a bitch20:30
imbrandonstart a saas host for drupal like getpantheon.com20:30
imbrandon:)20:30
jcastrohmmm so, with this load balancing nginx thing + subordinates20:31
jcastrothat's going to be pretty awesome20:31
* SpamapS has been happy with drupalgardens which drizzle.org switche dto recently20:31
imbrandonmy goal after uds is to convince getpanthon to use juju instead of their home grown drop scripts, they already are on rackspace, with like 350 instances or so20:32
imbrandonthats 350 charms20:32
imbrandon:)20:32
SpamapSjcastro: yes, its going to be sexy.. every web app server will be a able to be a load balancer unto itself. :)20:32
marcoceppiSpamapS: should there be a drizzle charm?20:32
SpamapSmarcoceppi: yes I've always wanted to write one20:32
imbrandonSpamapS: yea smae exact think except david from pressflow runs pantheon and dries / acquia runs drupal gardens20:32
marcoceppiSpamapS: after seeing your g+ post about the next release, I though it would a be a sweet charm to have20:33
imbrandonexact same setup though, infact they share a codebase20:33
SpamapSmarcoceppi: totally, so many ports to expose/consume20:33
imbrandonpantheon / drupal gardens20:33
SpamapSmarcoceppi: the HTTP+JSON thing is especially interesting I think20:33
imbrandonthe main diffrence between them is gardens is on AWS and Pantheon is on Rackspace20:33
imbrandonthats about it20:33
SpamapSmarcoceppi: also the 0mq transaction poub/sub should be interesting.20:34
imbrandonjcastro: yea like omg does now ;)20:34
imbrandonjcastro: and the drupal charm :)20:35
imbrandonmmmm node charm20:35
imbrandonhttp + json ? /me perks up, whada i miss , reads backscrolll20:36
marcoceppiSpamapS: it be interesting to see the charm dynamically open/close ports as relations to specific things are made20:37
marcoceppiFrom my initial investigation there's a lot to be done to make the charm right by the Drizzle devs20:37
imbrandonohhhhhh pantheon isnt invite only now, gogo, get an account jcastro SpamapS marcoceppi , that is the most perfect workflow for small teams using drupal20:38
* imbrandon ran outa invites the other day to send20:38
SpamapSimbrandon: Drizzle has a plugin now that listens for HTTP requests and responds w/ JSON of rows read.20:38
imbrandonnice20:39
imbrandonwow20:39
imbrandonreally nice20:39
* imbrandon wants20:39
imbrandonman this suck tho20:39
imbrandonmysql proper added memcache api , the other dudes added socket handler20:40
imbrandonand now this20:40
imbrandonwtf20:40
imbrandonif they would all 3 combine and omg20:40
SpamapSimbrandon: I believe the memcache thing is in drizzle too20:40
imbrandonsweet20:40
imbrandonthats the two i would use, not so much socket handler20:40
SpamapSimbrandon: drizzle's model of having an actual, working, efficient plugin architecture is really the main reason to use it.20:41
SpamapSimbrandon: I maintain handlersocket in Debian. Its not the most awesome thing. ;)20:41
SpamapShas to be built inside the mysql source tree20:41
imbrandoni wonder if they have the upstream enhacements from 7.2 for the joins20:41
SpamapSimbrandon: thats NBD only20:41
imbrandondoh20:41
SpamapSimbrandon: 5.5 has some join optimizer stuff.. but I don't know if Drizzle has those.20:42
imbrandonthats drupals bigest downfall, have tyou seen some of the crazy joins it does20:42
SpamapSDrizzle was forked from "MySQL 6.0", so it might have had it already. (6.0 became 5.5, minus some things like Falcon)20:42
imbrandonahh20:42
imbrandoni breefly looked at it , kinda like mariadb then brished it off20:43
imbrandonpercona was all i really looked at lately20:43
imbrandoni should probably look em all over again20:43
SpamapSimbrandon: Percona is MySQL + stuff. MariaDB is MySQL + way more stuff. Drizzle is a true fork.20:44
imbrandonoh and you have to deal with handeler socket / mysql et al packing, my hats off to you, its like the apache guyes20:44
imbrandonheh20:44
SpamapSDrizzle was the result of the frustrations of quite a few people with long standing crapiness in MySQL.20:44
imbrandonyea with the orig maintainer etc20:44
SpamapSIt was "we're not going to make money with this for many years to come, so lets rip out all the old broken code"20:45
SpamapSNo, Montye Widenius was not involved with Drizzle20:45
imbrandonpercona is mostly xtradb engine, maria is stolen xtradb + configs20:45
SpamapShe started MariaDB20:45
imbrandon:)20:45
imbrandonahh i had him backwards then20:45
imbrandonthought he was with drizzel not maria20:46
imbrandondident that curt dude from canonical go work for maria20:46
imbrandonthe canook20:46
imbrandonheh20:46
imbrandoncurt vonfink or something like that, he worked as helpdesk i think, cant ever rember but he was funny as hell20:47
imbrandonwow, i'm so installing this now20:48
imbrandoni was actually looking at nodejs servers that did just that20:48
imbrandongrabbed rows and spit json out20:48
imbrandonsaves a nodejs server running20:48
SpamapSimbrandon: yeah he did20:49
SpamapSok, afk for a bit20:49
imbrandonk20:49
imbrandoni want to recreate the pantheon service in a charm ( probably with lots of subs )20:52
imbrandonseriously like a clone of it, i bet it can be done as they use the same thing in house written scripts on rackspace instnces20:52
imbrandononly free and in the store20:53
ajmitchimbrandon: so now that you've sort of talked me into juju, I should look at how I can use it for work :)21:05
* ajmitch can at least set up things with fabric at the moment21:06
imbrandonyea21:06
imbrandondude fab is nince21:06
imbrandonjuju makes fab projects talk to each other though21:07
imbrandonajmitch: i thouth you did php at work, and u use fab ?21:07
ajmitchimbrandon: doesn't mean I like PHP :)21:08
imbrandonjcastro: btw look who i dragged into the jujubee jamboree wont be long and we'll have all the oldskoolers :)21:08
imbrandonajmitch: hahaha true21:08
ajmitchimbrandon: I've been lurking in here for some time21:08
imbrandoni knw i knw i seen ya the first day i came, but i got a bit ego :)21:09
imbrandonbig*21:09
imbrandonseriously though ajmitch i just noticed pantheon opened up drops to everyone21:09
imbrandonshould grab one if nothing else to check out the workflow21:10
ajmitchthe charm store is interesting, in a way it's an admission that packaging a lot of the bits that people want to use is a bit of a failure :)21:10
imbrandonkinda, but some will still want the stability of pkgs, its like having cake left when ya eat it21:11
marcoceppiajmitch: not so much that the packaging is a failure, more that it takes more than just a package to configure a full service21:11
imbrandonheh you get the stability of a base system and the package you care about are a rolling release21:11
ajmitchmarcoceppi: when it comes to fast-moving things like node.js it's hard to keep up on the distro side21:12
imbrandoni think of it like selective rolling releases kinda21:12
ajmitchimbrandon: right, which is a useful model to have21:12
marcoceppiajmitch: oh absolutely, in that case the nodejs charm makes use of the ppa or the upstream repo21:12
imbrandonas long as it is selective too and not everyting is installed that way21:13
ajmitchthough in saying that, I see that someone uploaded node.js 0.6 to precise a couple of days ago, I'd thought it was far too late for a change of that size :)21:13
imbrandoni mean its mnore to it, but you know, the package side thats how i think of it21:13
imbrandonajmitch: do you really use fab at work though and not like phing ?21:15
ajmitchI really use fab at work, honest21:15
imbrandonnice, i could have never talked my last employer into that21:16
imbrandoninfact my whole job was to rid the palce of alll python starting with django apps21:16
imbrandonheh21:16
adam_ghow does juju determine which amazon AMI to use if no default-image-id has been specified in environments.yaml?21:16
imbrandonit likely defaults to aws default then of a m1small21:17
imbrandoni would guess21:17
imbrandonwith a amazon distro21:17
adam_gimbrandon: juju does some magic to find an appropriate ubuntu cloud image to launch  given the ec2 region21:18
imbrandonahh21:19
=== shazzner-away is now known as shazzner
SpamapSadam_g: https://cloud-images.ubuntu.com/query22:25
* SpamapS is so far behind on email, don't know if hazmat +1'd the latest iteration on the cert checking code22:30
shazznermarcoceppi: hey Marco, I tried the same file_get_contents on my laptop and it worked fine22:34
marcoceppishazzner: must be something on your local then22:34
shazznerit's running 11.10, I'm on precise beta22:34
marcoceppioh, fascinating. Let me try that on my precise laptop22:34
shazzneryeah could be a bug22:34
shazznerI disabled the ufw, which didn't help :p22:35
marcoceppishazzner: looks like it, file_get_contents to any https address from my laptop fail22:36
shazznerah ha!22:36
shazznerfinally, I'm not the cause of a bug :p :p22:36
=== samkottle is now known as samkottler
marcoceppishazzner: actually, it works for some https addresses and not others22:38
shazzneryeah I noticed that, works with google and some others22:40
shazznerweird22:40
marcoceppiit must be a cert issue22:40
shazznerhuh22:40
marcoceppiI would put that as a big "todo" for when the charms move to precise. A better method of rss parsing will need to be put in place22:40
marcoceppimaybe using pything instead of php22:41
shazznerusing urllib?22:42
marcoceppisure, or whatever22:42
* marcoceppi not much of a python guy22:42
* shazzner me either!22:42
shazzneralso php and bash :p22:43
marcoceppiyes! take that SpamapS22:43
jcastrom_3 on juju: http://www.youtube.com/watch?v=0iFVvOPcm8g&html5=True22:44
jcastrowe gotta get that dude a razor22:44
marcoceppihaha, yeah. It's gotten unruly over the last 6 months22:44
ajmitchmarcoceppi: python is the one true way, embrace it while you can22:44
marcoceppiajmitch: slowly I've been seeing the light with python22:45
shazzneryep, python works like a charm22:48
shazznerw00t22:48
shazznerI'm going to _try_ to rewrite that parse_upstream in python22:50
marcoceppifeel free! if you get it to work let me know and I'll port it in to the phpmyadmin charm22:51
shazznerwow that php2python site is a godsend22:56
SpamapSI'm down with php.. :)22:57
SpamapSyeah you know me22:57
SpamapSwho's down with PHP?22:57
shazzneropenssl broke for php22:58
m_3_jcastro: razors are for sissies22:58
shazznernot sure why or how, but python seems to work22:58
SpamapSI triaged a pretty nasty bug where servers using some implementation would fool php into thinking they were SSL3 but they weren't so fail would spew forth in full glory22:59
jcastrohttp://www.youtube.com/watch?v=3QGDQ2RTLMU22:59
m_3_jcastro: the devopsdays ones are recorded too, but you have to sorta search through quite a bit to get to the panel22:59
jcastrohah, before and after22:59
shazznerspeaking of which, I should probably file a bug for that issue22:59
shazznereven though it's probably a fault with sourceforge22:59
* shazzner hates sourceforge23:00
SpamapShttps://bugs.php.net/bug.php?id=5210623:00
m_3_jcastro: what can I say... I'm a looker23:00
SpamapSshazzner: perhaps that one?23:01
shazznerSpammapS: yep that's the one23:01
shazznerhuh23:01

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