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

SpamapShazmat: yeah I think going to the current series makes the most sense00:15
_mup_Bug #984484 was filed: subordinate charms should be able to open ports <juju:New> < https://launchpad.net/bugs/984484 >00:43
* SpamapS feels so lonely.. oh so ronery01:06
imbrandonoh wow, my aws bill last month was only $0.08 , nice01:06
imbrandoni think they might have messed up tho lol01:07
imbrandonSpamapS: http://aws-s3.assets-online.com/pixeldrop/fun/macpro-apple-online-store.png01:09
SpamapShaha01:09
imbrandonSpamapS: and what ya think about a apache mod_speedy only on 443 and nginx only on 80 , hrm :)01:09
SpamapSmine is hovering around $80 - $100 these days01:09
SpamapSI should probably destroy-env soon.. have had 4 m1.smalls running since Friday01:09
imbrandonyea normaly mines just under 10001:10
SpamapSimbrandon: I love that idea. I think I can make that work just with the subordinate01:10
SpamapSimbrandon: I was thinking that I'd change it to just proxy to the local port 80. :)01:10
imbrandonSpamapS: cool cool, wont work already thought about that01:11
imbrandonheh01:11
imbrandonspdy needss end to end, cant even have nginx reverse 443 to it01:11
imbrandonso no one second cache love for spdy01:11
imbrandonuntill nginx gains support01:11
imbrandonbeen reading up on it the last hour or so01:12
imbrandonbut thats my extent lol01:12
SpamapSimbrandon: I was wondering about that01:14
imbrandonbut yea, i am thinking a major reworking of the omg nginx stuff might be in my pipeline soon, as in i've already begun to forumlate it in my head and on my dev server, some of the hastily things we did , while is running awesom right now, i;ve been tuning and refining diff ideas to make it sooo much better01:14
imbrandonbut it will be between now and uds and likjely i'll grab a hallway session with you and marcoceppi and whomever else and go over it more in person01:15
imbrandonthen MAYBE implment it after01:15
SpamapSimbrandon: if we can make it generic enough, it should be a good 'nginx' charm :)01:15
imbrandonright thats my ultimate goal01:15
imbrandonis to have a "full stack" but all be little sub charms where it makes sense01:16
imbrandonthat way too parts can be droped out like the php and rails dropped in01:16
imbrandonand still share the good bits01:16
imbrandonbut i think its gonna take me the next two weeks of iterations and stuff to have it be as compartmenalized as i'd like and that means it will be a good time to "present" a semi if not fully working "stack" at uds betqween us that have intrest in such things01:18
imbrandonand published "public" after that ( like blogged about etc, i'm sure it will be in the charm store much sooner )01:18
SpamapSimbrandon: I don't actually see how mod_proxy can't be used01:19
* SpamapS is trying it right now01:19
imbrandonleast thats the .plan i've been working from the last week01:19
imbrandonSpamapS: let me find the link,on the spdy forum a official dev said it needed end to end to work right01:19
imbrandonone sec01:19
imbrandonhere is where i got that info, it may be old or wrong01:21
imbrandonhttps://groups.google.com/forum/?fromgroups#!topic/mod-spdy-discuss/XCQG4w0plaE01:21
imbrandonthe orig question is deleted now01:21
imbrandonit was there earlier01:21
imbrandonbut the important part the response is still there01:21
imbrandonthe orig question was about using nginx to proxy back to 443 spdy and then serve on 8001:22
imbrandonor something01:22
imbrandonor no, the orig is there, i just had it collapsed01:22
imbrandonSpamapS: ^^01:22
imbrandonam i reading that wrong ,or are they just wrong, or its old01:23
imbrandonfrom feb 401:23
SpamapSimbrandon: I don't think thats definitive01:23
imbrandonperfect, i would LOVE to be able to do it01:23
imbrandoninfact my "ultimate" setup i run on "my" sites even though i purport nginx is ...01:24
imbrandonapache based zend server on 8000 , zend php on 127.0.0.1:9000 fpm and then nginx reverse proxy 1 second cae to localhost 800001:24
imbrandonbut thats because i actually pay the money to have zend server and zend studio01:25
imbrandonalthough zend server community edition might be nice too in a genericized charm01:26
SpamapSwhy apache zend on 8000?01:26
imbrandonarbitraty how i set it up years ago and just keep doing it that way01:26
imbrandonno diff between 8080 or whatever01:26
SpamapSno I mean why apache?01:27
imbrandonjust cant or shouldent use 9000 , as fcgi and fpm use it default and dont use 10080-10088 cuz zend server uses it for the "gui"01:27
imbrandonoh zend server is built on apache01:27
SpamapSfpm seems to scale better than mod_php at this point.01:27
imbrandonits all one "package" setup01:27
imbrandonyea i use fpm01:28
imbrandonwith apache01:28
imbrandon:)01:28
imbrandonohhhhh i noticed too aparently tcp fpm WAY out preforms unix:/ socket fpm01:28
imbrandoni need to run some benchmarks to confirm but i've seen it multi places now01:28
SpamapSwhat?01:29
imbrandonyea seems bas ackwards01:29
SpamapSthat doesn't make much sense at all01:29
imbrandonso like i said i need to see with my own eyes, but the word is php unix sockets dont scales as nice as php fpm on 127.0.0.1:9000 tcp01:30
imbrandoni think omg might be a good test for that theory at some point01:30
imbrandonit has the traffic to get "real" numbers and shouldent hinder the site too bad if one is not as good as the other01:31
imbrandonbut thast another "when i have time to test correctly " type thing01:31
imbrandonbut yea i use apache because , well 1 if yu do it right apache CAN be nearly as nice as nginx, and i get all the .htaccess reqrite out of the box etc , and 2 probably the bigger reason is its what is supported and bundled with zend server and the GUI tightly intergrates with it even though you CAN use other servers and zend php its not the "package" deal01:33
imbrandonbut nginx makes a killer reverse proxy on the same box, and even servs some vhosts directly01:33
imbrandonwith the 1 sec cache. so personaly on my server i get the best of both worlds so to speak01:34
SpamapSok proxy does not work01:35
SpamapSdefinitively :-P01:35
SpamapS[Wed Apr 18 01:33:30 2012] [warn] proxy: No protocol handler was valid for the URL /favicon.ico. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.01:36
elmoSpamapS: enable mod_proxy_http too ?01:36
SpamapSoo perhaps I forgot that01:37
imbrandonheya elmo :)01:37
elmoimbrandon: ey01:38
SpamapSoh ok that *was it*01:38
SpamapSelmo: works!01:38
elmoeh, typing hard01:38
elmoimbrandon: hey even01:38
SpamapShttps://ec2-107-22-22-168.compute-1.amazonaws.com/01:38
elmoSpamapS: cool01:38
imbrandon:)01:38
SpamapSof course, statusnet is broken cause I forgot to configure it01:38
imbrandonnice01:39
imbrandoncan you pipe it to 80 ?>01:39
imbrandoni'd love to be able to do spdy over 8001:39
imbrandoni only have ssl cert for one domain, and i dont even use that domain  nor have the ssl cert installed atm01:40
imbrandonlol01:40
SpamapSimbrandon: well no apparently SPDY implies HTTPS01:40
imbrandonhttps://wwwbox.co is the only cert i have01:40
imbrandonSpamapS: yea i know, its cuz google is an ass about it, no tech reason it cant work on 80 AND there is more initial latency on https eventhough spdy makes up for it later01:41
imbrandonspdy on 80 would be even faster :)01:41
SpamapSimbrandon: I think google is thinking about your privacy :)01:43
SpamapSor even about oppressive governments01:43
SpamapSself signed works fine01:43
imbrandonyea but if i'm gonna do it i dont want the user to have popups or warnings01:44
imbrandonso i'd buy one for brandonholtsclaw.com01:44
imbrandonif i get a referal code i can pick a godaddy.com cert up for like 16$ a year on sale01:44
imbrandon:)01:44
SpamapSanyway, I'll have to wrap it up later tonight01:44
imbrandonok cool, ping me when your working on it, i'm very intrested and doing related stuffs01:45
imbrandoni'll be on late tonight01:45
SpamapSI think we can make it work, and awesome, by simply having the primary charm feedback where it stores static files and then the mod_spdy can serve stuff directly... eventually we can go with a 'worker' mpm apache and it should be able to at least try to keep up with nginx's crazy speed01:45
SpamapSimbrandon: lp:~clint-febar/charms/precise/mod-spdy/trunk01:46
imbrandonyea and i want a little help with my first sub too, when ya get back, i gpt the bones of it done and it might be ready for the store01:46
imbrandonbut not sure 100% and no way to test for a few hrs01:46
SpamapSimbrandon: just have to add a ProxyPass and ProxyPassReverse to the top of files/all-ssl and it works01:46
imbrandonkk01:46
imbrandoni'll try thaat here in a few moments01:46
SpamapSimbrandon: oh, and 'a2enmod proxy proxy_http'01:46
imbrandonyea i have those already01:46
SpamapSanyway, out01:47
imbrandonl8tr01:47
imbrandonyea apache with only BARE min modules installed can come very close to nginx, nginx still beats it in the very very heavy traffic places, but i'm talking 100+ req a sec or more01:48
imbrandonuntill that point it can keep up great if configured right01:49
imbrandonand even more with varnish etc, but i'm loving nginx and kinda dropped varnish and its vcl's from my toolbag in favor of learning nginx better to do the same job and more01:50
imbrandonnginx with a 2gb ramdisk ( in a beefy server with like 8+ gb ram ) and pointing it fcgi_cache or proxy_cache to the ramdisk, wow wee01:51
imbrandonspeed out the yang, it actually becomes a cpu bottleneck01:51
imbrandonbefore anything else01:52
jcastroSpamapS: imbrandon: upstream nginx on twitter says "May" for nginx/spdy.01:54
imbrandonjust now getting into my devops experince where until now faster was better ALWAYS but a few of the sites ( like grammy.com ) challanged that notion for me lately , where slighly slower config but able to handle a more sustained load is atually better, where as even other high traffic sites i've gneer'd like pets.com never hit that mark01:54
jcastroimbrandon: I would say a good way to get ready is add an upstream/ppa flag to the soon-to-exist-should-already-be-in-progress nginx subordinate01:55
imbrandonjcastro: yup thats the idea, working on doing that tonight with some help/overlap from SpamapS01:55
jcastroso when it's released you just flip the one bit01:55
jcastroMay is relatively eons from now anyway01:55
imbrandonyup yup, i like that idea01:55
imbrandonyea but it will get pushed sooner, once more ppl pickup on the new spdy release01:56
imbrandonmore will have intrest and work on it more even upstream as things pickup01:56
imbrandonso it will come out sooner than whats there now01:56
jcastroI think it's a cool use case01:57
imbrandonits probably gauged on current level of dev contributions timeline, some hotrod will come in and get it 80% of the way and a core dev will be semi forced to fix the otyher 20% early :)01:57
imbrandon( nginx that is )01:57
imbrandonthats how it seems in my head atm :) who konws i'm often wrong01:58
imbrandonlol01:58
jcastro"ok this new thing is out, I want to play with it and stuff, but I don't want to mess with all this stuff. Oh, I'll just redeploy on staging with this new charm and try it."01:59
jcastroimbrandon: if this would have been nginx support you know we would have stayed up all night, heh02:01
imbrandonbut yea i fully intend to do that, my intentions are to "own" the nginx and some other related charms for the long haul *as much as is done in ubnutu, we all contrib cross and like i'm sure SpamapS work and exprince with the stack and marcoceppi with his other php stuff as well as many others , but you konw my meaning , not "hoarding" owning it, but more like the guy that takes the time to research ever little but and test and code and etc , not j02:01
imbrandonhahaha well with it reverse proxy it can be02:01
imbrandonhehe thats what me anc clint was just talking about and i think i am gonna be up all night here working on it LOL02:02
imbrandonits psudo supoort but the result is the same02:02
imbrandon:)02:02
imbrandonAND we'll be the first, not only in ubuntu but the greater internets from what i can tell searching since you posted about it today02:03
jcastroyeah02:03
imbrandonbtw did you get my feed on there ?02:03
jcastroyeah02:04
imbrandonyup, i am, just checked, plenty of my aderol perscription left, i'm pulling an al nighter and gonna get some rough cuts pushed02:04
imbrandonlol02:04
jcastroimbrandon: hey so something SpamapS and I mentioned over the phone was perhaps doing the apache subordinate thing for charms that right now are using the built in node webserver, etc.02:05
jcastrolike the more developer-y charms02:05
jcastrosubway just uses the built in node thing afaict, etc.02:05
jcastroI think subway is interesting because it's a 2 way "application" that needs lower latency, and built in ssl for your chat would be a nice win anyway02:06
lifelessimbrandon: we have no issues with apache for LP, and we're past 100rps02:09
jcastroSpamapS: your statusnet instance is still running02:16
imbrandonlifeless: yea but youve taken the time to configure it right, i'm talking about joe blow02:19
imbrandonand i am not saying apache falls on its face there,02:19
imbrandononly that nginx starts to pull ahead alot more02:19
imbrandonat that point02:19
imbrandonjcastro: yea thats very very common02:20
imbrandonre: the subway thing with apache02:20
imbrandoninfact its the princapal generally behind like php fpm that really runs on port 9000 serving php and python wsgi now they are very very diffrent but the general princeapal is the same02:21
imbrandonso sticking a apache/nginx infront of subway and putting it to 80, then letting nodejs direct connections too is common02:22
imbrandonwell maybe not for subway but that general type of app02:22
imbrandonnodejs is good at longpoll and other stuff http servers arent really made for02:22
imbrandonbut they are still usefull combine, and thats where ppl like us come in, its easy to do all this crap stand alone, but make it all work togather and in the best way is the hard part, things like juju and chef distribute that more to more devops but thats recient, mostly learning what we know untill now has been a black magic and handed down from mentor to mentee like blacksmithing and over years sometimes working togather02:24
imbrandonthat knowhow is becoming a commodity now, so for ppl like me to stay relevant in 5 more years i need to be on the tech end that makes the things that make it irrevant , and then do it all again , it goes in 3 to 5 year cycles like this since i've been active online in the mid 90's, likely sicne the 50's and early sixtys with the adevent of unix with SysV+02:26
* imbrandon gets back to charming 02:27
SpamapSjcastro: yes I know, but now it shows the statusnet error on 443 ;)04:14
SpamapSimbrandon: FYI, Ryan Dahl created node.js specifically *not* to need any frontend proxy for low latency needing apps04:18
imbrandonSpamapS: yea i just ment it was common to do for those type things04:19
imbrandonnot really nodejs specific04:19
SpamapSlike, his whole point was that you can write an app that will be highly coherent between requests.. "sessions suck"04:19
SpamapSHeh... looks like statusnet is just plain broken04:22
imbrandonyea but in type i'm including google dev appserver and python and perl and non_mod_php04:22
imbrandonall the kinda non standard plain http on 80 apps04:22
imbrandon;)04:22
imbrandonnodejs just kinda got lumped in there04:22
SpamapSwe really need to wrap up "real" automated tests.. these hooks pass install/config-changed but they'r enot really error checking04:22
imbrandonwell some node apps04:22
SpamapSugh04:31
SpamapSwe need a 'switch-charm' command04:31
SpamapScan't improve any cs: charms in place.. :-P04:31
imbrandon?04:32
imbrandonhey ok so if i ssh into a juju instance , can i manually file off relation get and stuff ?04:33
imbrandonto se the actual output instead of charm upgrading and echoing it or somehing to see the output in a log04:34
SpamapSimbrandon: you can but you need to know the relation id04:34
imbrandoncan i get that from status , or ?04:34
SpamapS$JUJU_RELATION_ID in the charm04:35
SpamapSand relation-ids command04:35
imbrandonk04:35
SpamapSyou also need to set JUJU_SOCKET04:35
imbrandonyea thats the error i got was something about the socket04:35
imbrandonk04:35
imbrandonis it in /tmp or something04:35
SpamapSI foret04:36
SpamapSI forget even04:36
imbrandonkk04:36
SpamapSprobably /var somewhere04:37
imbrandonmmmm04:56
SpamapSOk, this definitely *feels* faster in chromium than in firefox  https://ec2-23-21-39-39.compute-1.amazonaws.com/main/login05:28
imbrandonfirefox does spdy too05:28
SpamapSimbrandon: but its not turned on05:28
imbrandonahh ok05:28
SpamapSstatusnet is seriously a very weird webapp05:30
SpamapSyou can't have a nickname of 'SpamapS', only 'spamaps'05:30
imbrandondoh05:30
imbrandonregistration not allowed05:30
SpamapSalso always builds absolute links05:32
SpamapSI hate apps that do that05:32
imbrandonha05:32
imbrandonyea me too05:32
imbrandonwordpres kinda does, it atleaste uses whats in the db05:32
imbrandonso it the db is changed all change05:32
imbrandonstill shitty tho05:32
SpamapSI don't think it does that for page references though05:33
SpamapSit will redirect you..05:33
SpamapSbut I can work around that05:33
SpamapSthis.. this is building the page with <a href="http://...."05:33
SpamapSwhich is *stupid*05:33
SpamapS"/foo" would be fine05:33
imbrandonResource interpreted as Font but transferred with MIME type application/octet-stream: "http://ec2-23-21-39-39.compute-1.amazonaws.com/theme/neo/fonts/lato-italic-webfont.woff".05:33
SpamapSand make it work proerly05:33
SpamapSimbrandon: yeah, its not an optimized app05:34
imbrandonyea and a href="//amazon.com/blah" would be even better if they NEED absolute lionks05:34
imbrandonputting http{,s}: on links is dumb just for this reason :)05:35
imbrandonfor like off site resources. the only time i do it is if the site dont have https too, then i try to find a nother link or just build whatever it is myself05:36
imbrandonlol05:36
SpamapSimbrandon: right but in this case, they're just pulling in HTTP_HOST and building the whole link05:37
SpamapSthats just lazy05:37
imbrandonbut i havent found one in a while that dont except ga.js and it does just with a diff name, due to a ie6 bug, but if you dont care about ie6 then its all good ( hint: i dont, not even on commercial gigs ) IE8+ only05:37
imbrandonSpamapS: my martha plugin grabs http host05:37
imbrandonand still works05:38
SpamapSbut there's no reason to put the host in there05:38
SpamapSor even a leading / usually05:38
imbrandonwell the leading slash i can see05:38
imbrandontemplates can be used05:38
imbrandonand that nessesitates it incase subdir etc05:39
SpamapS.. works fine :)05:39
imbrandonsure if you want to put logic in the template to tell what dir your in05:39
imbrandonor just use root relitive links and all are happy :)05:39
* SpamapS tries subway now05:40
imbrandon( css too , like when using less, you never know where the final product will be )05:40
SpamapSimbrandon: I usually use    image_path('foo.jpg')  which does in fact figure out where the request was made and build a relative link.05:41
imbrandonsides, ../ transversal in php is code smell for an audit imho :)05:41
SpamapSimbrandon: thats how symfony did it anyway :)05:41
SpamapSimbrandon: thats not in code, that is going to be emitted in the html.05:41
SpamapSand browsers are happy to use it05:41
imbrandonyea its similar in drupal and zend too but the end result thats rendered is a root relitve link05:41
SpamapSlazy05:42
imbrandonsmart imho05:42
imbrandonless headache05:42
SpamapScan't sub-host though :(05:42
imbrandonless going back to fix little shit05:42
imbrandonsure ya can05:42
SpamapSanyway, whats a good charm that exists now that has tons of on screen assets?05:42
imbrandonwhy not ?05:42
SpamapSThinkUp maybe?05:42
imbrandonhrm05:42
imbrandonomg-wp ? hahaha j/k05:42
imbrandonnever used thinkup05:43
SpamapSsucks down your twitter feeds and facebook and G+ and puts it on one site05:43
imbrandonoh nice05:43
imbrandonnagios , hrm that really dont have any assets05:44
imbrandonstackmobile is the only other one maybe, never seen its gui tho so i duno05:45
koolhead17hi all05:48
imbrandonello05:49
SpamapSimbrandon: http://ec2-23-22-28-42.compute-1.amazonaws.com/05:49
SpamapSsimple GUI05:49
imbrandonnice tho05:50
imbrandoncould use a bit of spruce but alot better than most05:50
imbrandoni hate "flat" buttons like that, they dont have to go all out css3 gradient crazy but that is one of my pet peives. hell leave it to the ui toolkit if your gonna make it flat :)05:51
imbrandonhell i bitch alot05:51
imbrandonohh and they use bootstrap on their own site, smart guys and gals05:53
imbrandon:)05:53
imbrandonand h5bp, wow, i'm inpressed for a floss web app05:53
imbrandon:)05:53
SpamapSh5bp ?05:55
imbrandonhtml5boilerplate05:59
SpamapSah05:59
imbrandonsorry was reading some of the other code05:59
SpamapS<-- ui ignorant by choice05:59
imbrandonits best practices from tons of experts , like paul irish etc05:59
imbrandonthere is a huge community arround it, and they put a TON TON TON of thought into every single byte in the boilerplate06:00
imbrandoneverything is there for a reason and in a certain order for a rewason etc etc06:00
imbrandonand what makes it so cool is its all 1 run by build scripts etc, no runtime or language deps, eg rails php python etc all can use it06:00
imbrandonand 2  they explain WHY everything is why it is06:01
imbrandonand CONSTANTLY update it06:01
imbrandonlike many times a day06:01
imbrandonthey hang out here on freenode in #html5, and here read a tad bit of this in their issue queue to see how much thought goes into each little part, and this is a tame one06:02
imbrandonhttps://github.com/h5bp/html5-boilerplate/issues/37806:02
imbrandoni have hella respect for those guys06:02
SpamapSits nice to work with stuff that is clearly maintained out of a sense of duty :)06:04
imbrandonyea06:04
imbrandonok so i can forgive the button for all the other goodness this app has :)06:06
imbrandonhehe06:06
imbrandonSpamapS: know if nginx can directly serve content from the configs ? like i used to use a snipit that would actualy serv the /robots.txt from an apache vhost config if one wasent on the filesystem06:10
imbrandonhrm06:10
imbrandonprobably have to look it up /me goes to do that06:10
SpamapShard to call a winner with this one https://ec2-23-22-28-42.compute-1.amazonaws.com/06:11
imbrandon?06:12
SpamapSbut... mod-spdy to the rescue, no mods t thinkup to get it SSL wrapped06:12
SpamapSimbrandon: SPDY doesn't help much with such a tiny well designed site. :)06:12
imbrandonhehe right06:12
imbrandonwell it would if it say had 1000000 little images like flickr06:12
imbrandonbut yea06:13
imbrandontiny images i tend to base64 encode and put them in a data uri anyhow , like the bullets for ul's etc only exception is font icons i use06:13
imbrandonthat way its cached with the css06:14
SpamapSOh, mediagoblin would be a good one06:14
imbrandonand only one http req total06:14
SpamapSI don't even know if my old mediagoblin charm will work06:14
imbrandonheh06:14
imbrandonwordpress has tons of images06:14
imbrandonif you toss a theme in it06:14
SpamapSyeah but I hatezorz our default wordpress charm ;)06:14
imbrandonlike generic wp + a gaudy theme06:15
imbrandonhehe06:15
imbrandonhey do drupal06:15
SpamapSand it will probably just redirect me to http://06:15
imbrandonit needs prom anyhow06:15
imbrandonand will be a good test06:15
SpamapSI'll be reviewing it on Friday06:15
SpamapSor maybe tomorrow06:15
imbrandonthats cool but it does have lots of little images06:15
SpamapSneed some solid apps for charm school on Thursday06:15
imbrandonyea you'll be like the 5th hehe , seems like everyone looks at it once and never returns hahahahahahahhaha06:16
koolhead17imbrandon, not me :D06:16
imbrandonbut yea, i've installed it a few times now on micros, its works, still lots of room for imporvment :)06:16
imbrandonkoolhead17: heh06:16
imbrandonkoolhead17: not sure i've met you :) Hi 0/06:17
koolhead17hi imbrandon :)06:17
SpamapSimbrandon: so maybe call it "thering"06:18
SpamapSwhile you review it, the phone rings06:18
imbrandon:)06:18
imbrandonits ok i'm in no hurry , just got it done at a bad time, everyone heading to os conf06:20
imbrandonand such06:20
* koolhead17 rushes 4 owrk06:20
koolhead17*work06:20
SpamapSalright, sleep time06:22
imbrandongnight06:23
imbrandonhrm ok i really need to finish this charm so i can get back to researching this spdy stuff :)06:23
bkerensaSpamapS: Do you know why I would be getting lots of merge notifications from Juju's LP :P07:38
_mup_Bug #984640 was filed: Unsatisfied constraints are not reported back to the user <juju:New> < https://launchpad.net/bugs/984640 >07:42
* koolhead17 assumes SpamapS is sleeping :P08:53
marcoceppisomehow my ~/.juju folder is 128GB10:57
marcoceppimarco@marco-g72:~/.juju$ du -sh10:57
marcoceppi123G.10:57
fwereade_marcoceppi, could it be cached charms?11:02
fwereade_marcoceppi, but, yeah, that would be a lot of charms...11:02
marcoceppifwereade_: it looks like local was still bootstrapped, and machine-agent was 120+ gb11:02
fwereade_marcoceppi, ha, phew11:02
marcoceppibut this laptop has been restarted several times, I didn't think local lxc containers survived restarts11:02
fwereade_marcoceppi, still seems like a lot11:02
fwereade_marcoceppi, the containers survive, but they don't restart11:03
marcoceppiwell, this would have been a bootstrap from March 29th11:03
marcoceppiSo, three weeks worth of machine-agent.log11:03
fwereade_marcoceppi, ouch, I wonder if we already have a bug for that11:07
marcoceppiI mean, what's the bug there? logrotate should be rotating machine-agent log?11:11
fwereade_marcoceppi, I think so, partly; but do you have a lot of zookeeper spam in there as well?11:19
fwereade_marcoceppi, we should probably be reducing that as well ;)11:19
marcoceppifwereade_: I torched the file, since I was at 100% disk space11:19
fwereade_marcoceppi, heh, can't blame you ;)11:20
marcoceppiFrom what I remember it was a lot of zk11:20
fwereade_marcoceppi, yeah, looking at mine, there's quite a lot11:21
fwereade_marcoceppi, and, hmm, quite a lot of it is the machine agent (which does restart) whining that it can't find zookeeper (which doesn't :/)11:22
OmegaSpamapS: https://cloud.torproject.org/ is only for EC2 though12:44
=== carif_ is now known as carif
=== al-maisan is now known as almaisan-away
imbrandonSpamapS: wouldent it be good to use this for the replacement of s3 to find the meta data, scroll down to the first use case ( not example ) it looks like what we;re wanting to accompish almost identicaly if we can abstract it http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html#AMI-launch-index-examples14:55
imbrandonhazmat: ^^ ( re: dropping need for s3 for the instance info metadata )14:55
hazmatimbrandon, launch indexes?15:01
hazmatthats for disambiguating metadata when launching multiple instances in a single api call15:02
hazmatfor the s3 usages its not contextually relevant15:02
imbrandonno it sets the data at launch15:12
imbrandonand can be called later via api to figure out what one is what15:13
imbrandonsee theuse case for the 4 mysql servers and one needed to be the "master"15:13
imbrandonhazmat: ^^ e.g our bootstrap15:13
imbrandonshe set "store-size=123PB backup-every=5min | replicate-every=1min | replicate-every=2min | replicate-every=10min | replicate-every=20min" and each server got one that chunk of meta data between each pipe as well as the details of the instance it ended up belonging to15:15
imbrandoni think it sets it via the "tags" , and hpc has those too, but not sure if its openstack or just a similar feature15:16
* SpamapS reads15:16
imbrandonGET http://169.254.169.254/latest/user-data  user_data.split('|')[ami_launch_index]15:16
imbrandonSpamapS: very bottom is the gist, the top is fluf about stuff we wont use i think15:17
SpamapSimbrandon: thats not actually helpful no. You need *clients* to be able to find it15:17
SpamapSnot the instance itself15:17
imbrandonyea the client run it15:17
imbrandonor you me the conductor ?15:18
SpamapSthe client can't get to 169.254.169.254 :)15:18
imbrandonahh ok i was thinking clients as in instances15:18
SpamapSevery time you type 'juju status' or 'juju deploy' .. there's a method that has to go *find* the ZK node15:18
imbrandonit can be run for any of them tho so it would just need to pick a random one to connect to15:18
SpamapSin ec2, the way that is done is by asking the S3 control bucket where it is.15:18
SpamapSimbrandon: I think we can do it with groups15:19
imbrandonkk i fond that looking for groups docs15:19
SpamapSnode 0 is always in juju-$envname-015:19
SpamapSand in fact, is always *alone* in that group15:19
imbrandonwow, ok yea15:19
imbrandonlets just do that then and have it store the data local15:19
SpamapSwhen node 0 becomes HA .. we can just make a group for ZK nodes15:20
imbrandonthats super easy it seems15:20
imbrandonyea15:20
imbrandonhrm yea thats almost too easy15:20
imbrandongot to be a catch :)15:20
imbrandonheh15:20
SpamapSimbrandon: I do think we should cache that locally, and the SSH key of the instance locally, so that we don't have to keep doing 49 round trips all the time15:20
SpamapSimbrandon: we'd only need to re-query if the SSH to the box failed.15:21
SpamapSor, once its a REST API, the https ping15:21
imbrandonright, yea15:21
imbrandoni dont wanna use zk local thoug that seems overkill, what about sqllite or couchdb ?15:21
imbrandonsince it is just a cache anyhow15:22
SpamapSzk is fundamental15:22
imbrandonright i mean on the conductors machine15:22
SpamapSno I wasn't going to run zk locally15:22
imbrandone.g. wher juju status15:22
SpamapSI'm saying, cache *the lookup of the node 0*15:22
SpamapSfor status we've talked about just having a 'statusd' running along side the provisioning agent that keeps an up to date yaml of status and we can just spit that back at the user when they request status15:23
imbrandonyea. thats where i mean a small cache of info in like sqlite or similar, no biggie if its droped or dumped, only keeping that info to not have to relook it up15:23
imbrandon49 times15:23
imbrandon:)15:23
SpamapSstatus is *slow*15:23
SpamapSbecause it basically walks the entire ZK tree from your machine15:24
imbrandonlike in ~/.juju/$env-datacache.db15:24
imbrandonand if its not there we just got to do the full round again15:24
imbrandonetc15:24
imbrandonthink of it like html5 local browser storage15:25
imbrandonthats how i see it used15:25
SpamapSimbrandon: but you want the up to date one, so its not enough to just cache it15:25
imbrandonif its there cool, if not ok lets do the expensive looksups15:25
imbrandonwell yea, i'm simplifing it here a bit, there would need rto be some checks ot make sure its not stale15:26
imbrandonetc15:26
imbrandonbut the general idea15:26
SpamapSwhich is best done with a small daemon watching the entire ZK tree and keeping a status yaml up to date.15:26
imbrandonheh well i'm thinking of juju clients everywhere e.g. iPads where thats not feasable15:27
imbrandonas well as my dev machine that may or may not be on all the time15:27
SpamapSimbrandon: that daemon runs on the provisioning node(s). So your client just asks the daemon for its yaml.15:28
imbrandonor be one of 5 i use to manage the instance, think about a small team all with juju constantly pinking the zk for updates15:28
imbrandonSpamapS: yea, and i'm only talking about the local storage of that yaml15:28
imbrandonthats alll15:28
SpamapSto what end?15:28
imbrandoni think we're just criss crossed here15:28
imbrandoni figured there would be more data than a flat file would be useful for15:29
SpamapSbasically what I'm saying is, we can have a materialized view of the status-important bits of ZK15:29
imbrandonand sqlite or couch can also be eaaily used by other clients like a js web interface or whatever may come up down the road, without writing yet another parser15:29
SpamapSif you want to cache that, so its available offline, cool.. but.. I think offline juju is a long long way from being a reality. :)15:30
imbrandonnot rally offline but not needing to make a req for every tidbit of info if its just status info from 5 miniutes ago15:30
imbrandonor something15:30
SpamapSimbrandon: so you're saying you want to write a client that doesn't need to know ZK. You and everybody else. A REST API to replace client<->ZK direct access is *very* high on the priority list.15:30
imbrandonand update it in the bg15:31
imbrandonyea15:31
imbrandonyea15:31
imbrandon:)15:31
imbrandonok i dont feel so dumb then :)15:31
SpamapSWe just have to help the go guys get done fast so we can crank up feature dev again :)15:31
imbrandonright15:31
imbrandoni'm wiling to help where ever, i got not much going on but juju until after uds :)15:32
imbrandonfound out today that i might be relocating to the bay perm too15:32
SpamapSimbrandon: wezt coast is the bezt coast15:33
imbrandonyea i've been out there a few times, and i lived in Reno NV for a few years15:34
imbrandonso i was on the coast alot then, went to sac alot for concerts15:35
imbrandon:)15:35
imbrandoni actually loke boths coasts . NYC is probably my fav, but only because my office was on 19th and 8th in Manhattan15:36
imbrandonbut yea either coast is cool, but i always end up back here in KC15:36
imbrandonugh15:36
imbrandon:)15:36
SpamapSSac doesn't count as the coast :)15:36
SpamapSIn fact, its on the other side of all the faults.. and when CA falls into the pacific, SAC will be the new SF15:36
imbrandonwhen your born in KC and lived here till 18, moved all over the us for IT work for 10 to 12 years then back to KC, sac counts to us :)15:37
imbrandonlol15:37
imbrandonhell reno and taho count to us :)15:37
imbrandonlol15:37
* SpamapS just realized he is *3 days* behind on inbox 0. *damnit*.15:41
=== Furao_ is now known as Furao
=== zyga is now known as zyga-food
=== jkyle_ is now known as jkyle
=== andreas__ is now known as ahasenack
jonoDaviey, jamespage just to let you know, I have about half of the mirror downloaded, I will be heading out in about four/five hours and I doubt it will be finished by then17:11
jonoas such, I may only have it ready for tomorrow morning (I will probably need tonight to download it)17:11
SpamapSjono: drive to Mountain View and ask google if you can d/l it from their datacenter :)17:12
jonoSpamapS, hah17:13
jonoI need beefier internet it seems17:13
jamespagejono: OK - I'll see where the local mirror download here has got to17:15
jamespageit was running overnight so may be good...17:15
jonojamespage, cool17:15
=== zyga-food is now known as zyga-afk
imbrandonjono: apt-mirror ? hehe17:41
rigvedhi everyone. i am testing juju on my local machine. when i try to deploy to a local lxc, i get the error: "No repository specified". what is the default repo name that i should put here?17:42
imbrandonjono: for real tho if you use apt mirror you can grab just the arches you need and no source packages if you dont need em, its like 30gb per arch for bin only + noarch packages17:42
jonoimbrandon, we are doing that17:43
jonoI am downloading 72GB17:43
imbrandonjono: but i'm a tad bias as i'm upstream tooo so take it with a grain of salt :)17:43
imbrandonnice cool cool :)17:43
imbrandonrigved: put in where ? you shouldent have to , other than specify if its ppa or distro17:44
imbrandonbut thats the extent of repo choice iir17:44
imbrandonc17:44
jono:-)17:45
rigvedimbrandon: i am using this: https://juju.ubuntu.com/docs/getting-started.html. in the local environ section, it says that i have to put local: before each service name.17:45
* imbrandon needs to move apt-mirror off sourceforge to github someday soonish, been talking about it for a year17:45
imbrandonright, local would be where the worrd sample is17:45
rigvedif i do not put anything, the lxc containers never start. so, i am now trying with local: but it gives me that error.17:45
imbrandonin those examples17:46
imbrandonwell local is the env name, so you would use it like "juju bootstrap -e local"17:46
imbrandonto begin17:46
imbrandonok, so lets back up a tad, where did you start, and can you pastbin your environments.yaml to paste,ubuntu.com ?17:47
rigvedimbrandon: ok. one moment17:47
imbrandonkk17:47
imbrandonand after that i'm assuming you installed the pre req, right ? e.g.17:48
imbrandonsudo add-apt-repository ppa:juju/pkgs17:48
imbrandonsudo apt-get update && sudo apt-get install juju17:48
rigvedimbrandon: http://paste.ubuntu.com/935774/17:48
rigvedimbrandon: i thought i did not need to do that as i am using precise.17:48
imbrandonnot sure if its 100% in sync yet, i would still use the ppa personally17:49
imbrandonand also here are the other deps for lxc17:49
imbrandondo this while i look at your conif17:49
imbrandonsudo apt-get install libvirt-bin lxc apt-cacher-ng libzookeeper-java zookeeper juju17:49
rigvedimbrandon: oh ok. i will add the ppa.17:49
rigvedimbrandon: yes. i installed all those.17:49
imbrandonkk17:49
rigvedbut not using the ppa.17:49
imbrandonalso change juju-origin: distro17:50
imbrandonto juju-origin: ppa when you do17:50
imbrandonand if you havent rebooted since you installed the lxc stuff, yea unfortunately its like windows on this one, gotta reboot for network to fully work right17:51
imbrandonso if not do that too and i'll still be here, we'll walk through getting ya up on the first one, then you'll be good, looks like your 90% there17:51
rigvedimbrandon: ok. will do. i did reboot as suggested in the docs17:52
imbrandonkk good17:52
imbrandonok when your rady for the next bit let me know17:52
imbrandongonna grab a soda ask 1 min17:52
imbrandonafk*17:52
imbrandonbtw i would change "sample:" to something more memorable too, like ummm localtest or something , but not required , and the rest of your config looks good for just one env and local17:54
rigvedimbrandon: ok. added the ppa. dist-upgrading now.17:54
imbrandonkk17:54
rigvedimbrandon: ok.17:54
marcoceppirigved: depending on your network, it can take a few minutes for the first instance to pop up on lxc17:54
imbrandonyea , as in mine on fairly decent cable took about an hour17:55
imbrandonfor the very first one17:55
imbrandonafter that its much faster17:55
imbrandonmarcoceppi: hi 0/17:55
marcoceppi\o17:56
rigvedmarcoceppi: yes i know. earlier, when i did juju status, it showed mysql and wordpress instances were pending. i left it like that for abt 2 hours. still it showed pending. also, i checked with nethogs. there was no network activity. also, htop did not report any activity.17:56
imbrandonrigved: it can take very long time the first time and cant reboot in the midle or you haver to destroy and start over17:57
imbrandonrigved: if you got that far your config and setup is good ( ppa wont hirt its nearly whats in precise )17:57
imbrandonyou just need to bootstrap one of anything, mysql etc etc, just something and let it 100% get done17:58
imbrandonthen move on , but leave it in the background and do other crap m you'll kill your self waiting on it17:58
imbrandonand after that first one, even with destroys etc all the rest are fairly fast17:58
rigvedimbrandon: hmmm. ok. so, i have finished updating to the ppa. now, should i start. bootstrap, mysql and then wait before moving on to wordpress?17:59
imbrandonwell have you17:59
imbrandonrebooted since you started the wp and mysql17:59
rigvedimbrandon: not yet.17:59
imbrandonif so they are dead and you would have to destroy them17:59
imbrandonok then no17:59
imbrandonjust check status every 30 to 45 min17:59
imbrandonand it will eventually get to ready18:00
rigvedimbrandon: ok. destroyed. starting a-new, with changed juju-origin to ppa.18:00
imbrandonno idea why its so slow, i konw its not 100% network, but yea the first one is ungodly slow18:00
imbrandonkk18:00
imbrandonyea just do one too, incase they are figting for resources18:00
imbrandonfor the first one18:01
imbrandonnot certain thats the case but it wontt hurt and the second one will take minutes once the other is done18:01
marcoceppirigved: there's a log you can tail to watch for activity (and breakage) during local deployments18:02
marcoceppiLet me see if I can find the path18:02
rigvedimbrandon: ok. so, i typed the deploy command for mysql.18:02
rigvedimbrandon: juju status shows pending.18:02
rigvedmarcoceppi: is it juju debug-log ?18:03
imbrandonrigved: and just an fyi about the local ones, say you deply and leave it in the background and forget, and reboot tomarrow, once booted, the env will look ok but not start and not be right, the only way to recover is destroy and redeploy after a reboot18:03
imbrandonbut htats only on local18:03
rigvedimbrandon: ah. ok.18:03
imbrandonrigved: juju debug-log is good to have open too, but i think he means a nother one18:03
imbrandonbut yea i'd leep a term or screen session with juju debug in it off to check on once in a bit18:04
marcoceppijuju-debug starts a byobu session already18:05
imbrandonahh i'm normally always in one already so never paid attn18:05
marcoceppirigved: it's machine-agent.log (I believe) buried in your /home/administrator/cloud folder. I don't have my precise laptop with me18:05
imbrandonmarcoceppi: whats your email addy you want me to use for newrelic, i'm add you as an admin on the osho acct so you can see all the historic data too, not just those 30 miunte graphs on my blog18:07
imbrandon@ubuntu one ?18:07
marcoceppiimbrandon: marco@ceppi.net18:08
imbrandonkk18:08
marcoceppiI keep forgetting I have the @ubuntu one, and I forget where it even routes18:09
imbrandonlook for a newrelic info in a few min, they send login key to let you set your own pass and stuff18:09
imbrandonlol18:09
rigvedmarcoceppi: ok. got it. i'm tailing it now. it says container started. last line is "Started service unit mysql/0"18:09
imbrandoni have like 11 emails i normaly use, all going to one gmail business avount18:09
marcoceppirigved: that's good news, what's juju status show?18:10
imbrandon( marcoceppi btw it routes to your promary email addy on LP too, so just change that to whatever you want it to route to )18:10
imbrandonprimary*18:10
rigvedmarcoceppi: still shows: "agent-state: pending"18:10
rigvedmarcoceppi, imbrandon: here's the full output of juju status: http://paste.ubuntu.com/935804/18:14
imbrandonyup that looks right18:15
imbrandoni;d say give it a few 3 or so hours tops, depending on your hardware and nic18:15
imbrandonits gotta download a ubuntu image, then boot it , and update and install software, THEN run the hooks and stuff for the charm  ( this first time )18:16
imbrandonlike i said i dont know exactly how long mine took, but i'm on fairly fast cable, and i'm on a quad core i7 2.4ghz with 8GB ram and a ssd+hdd in this mac mini, and it took the better part of an evening , like i started late afternoon and it was done about bed time18:18
imbrandonbut now its quick to drop a new one etc18:18
imbrandonrigved: if you wanting to kick the tires before it gets done, try a amazon t.1micro they give you a free linux and free windows one with enough hours to run constanly all month18:19
imbrandon750 each i think18:19
imbrandonor you can run 2 linuxs for just a few hours etc18:19
imbrandonfree18:19
imbrandonmicros are definately not ideal but will let you poke at it while the lxc finish18:20
imbrandonjust add a second stanza to the environments.yaml18:20
rigvedimbrandon: ok. i have an old dual core with a 2 Mbps line. let's see. it's getting late here. so, i'll just leave it for the night.18:20
imbrandonfrom sample: on down18:20
rigvedimbrandon: yes. i'll try amazon too later.18:20
imbrandonand then use"juju something -e name" to pick what one to do the command on18:21
imbrandonname being what ever you put in the "sample:" spot18:21
imbrandonkk18:21
rigvedimbrandon: ohh ok.18:21
imbrandonso you can have more than one env going at a time18:21
rigvedimbrandon: does juju work with some other cloud providers? like rackspace?18:21
imbrandonanyhow yea, this week is kinda nuts alot of ppl are out for openstack conf18:22
imbrandonbut alot are still arroud too so if ya run into more issues or that dont finish18:22
imbrandonthen someone like marcoceppi or me or tons of others are regularly here18:22
rigvedimbrandon: cool. i tried the #ubuntu-cloud channel earlier, but no one was there. more people here. but as i understand, this channel is for juju devs, not support.18:23
imbrandonyea the dual core might be hurting you more than the line, iirc the base image is less than 100mb18:23
imbrandoni think18:23
imbrandonits the same lot of us, here and there18:24
imbrandonjust a diff name, and #juju-dev is where more of the core devish stuff happends, alot of support still happens here if your willing to work at it a bit and dont just want someone to do it for ya, the devs love first hand bug reports when they have the time to actually work with ya on them, next 2 weeks that might be dicey but generally its not bad18:25
imbrandonspeaking of i got somehing i started here i need to finish up or i'm gonna be a liar18:26
imbrandonhilight if ya need something :)18:26
imbrandonoh and marcoceppi you should have mail18:27
imbrandonlemme know if you got any probs getting in, you have full admin, not that there is much to change etc but just in case18:27
imbrandonthat account can deploy to as many apps too so if we want to set up a sep one for staging or something someday we can18:28
imbrandonjcastro: where is the juju mailing list18:37
SpamapSlists.ubuntu.com18:41
rigvedimbrandon, marcoceppi: i got it working! the culprit was my firewall. so, i just disabled it and started fresh. this time, the mysql unit took only a few minutes to start up. now, continuing with wordpress...19:03
imbrandonnice19:04
imbrandonrigved: :)19:04
rigvedimbrandon, marcoceppi: thanks for your help! :)19:04
imbrandonjcastro: sent, sorry i had to signup for the list and everything , i thought i was on it but i guess not,i'm on so many damn email lists19:04
imbrandonrigved: no worries , yw :)19:05
imbrandonrigved: also if yor firewall setting seem fairly common19:06
imbrandonyou might make a not of that on the wiki to warn others19:06
imbrandon:)19:06
imbrandonnote*19:06
imbrandonSpamapS: hah just catching up on the list, you think sru is cumbersom ? that used to be one of my fav areas was doing sru and backorts19:09
imbrandonSpamapS: so i'll fufill the dirty work role for that at least till 12.04.1 since i dont mind doing it anyhow, will be a good primer to get me back into the old flow19:11
SpamapSimbrandon: I'm on the SRU team. It *should* be more cumbersome :)19:14
imbrandoni am as well, and swat and backporter, that was like 60% of my ubntu time was doing that19:14
SpamapSimbrandon: the policy is clear, a small patch that does one thing and is verifiable19:15
imbrandonSpamapS: i thought you ment un-needely so19:15
SpamapSimbrandon: I prefer to go the micro-release exception process19:15
SpamapSwhere you can just take whatever upstream says is bugfix-only19:15
imbrandonSpamapS: yup yup, probably one of the only, infact i'm positive the old policy i helped creat in ubuntu :)19:15
imbrandonolny*19:16
imbrandongawd19:16
imbrandonand i even got a new keyboard19:16
imbrandonkitterman still doing sru's too ?19:16
SpamapSwhen you say "doing" srus19:17
SpamapSdo you mean uploading them, or approving them?19:17
imbrandonat the time i think me him and dholbach were the only ones that took em seriously , i do like that -backports is on by default now though, its a good out for non sru worthy changes19:17
SpamapSBecause when I joined in april 2010, only pitti was doing the approving19:17
imbrandonSpamapS: reviewing and approving , then uploading19:17
SpamapSOk no the policy is different probably now19:18
imbrandonSpamapS: universe19:18
SpamapSubuntu-sru members have to approve from the queue, all, not just main19:18
imbrandonand yea pitti approved the main ones19:18
SpamapSand AFAIK, there are only 5 members of that team, only 3 active.19:18
SpamapSsince ScottK asks me to approve his SRU uploads, I can only assume that no, he is not on the ubuntu-sru team19:18
imbrandonyea me and kitterman handeled universe and pitti main , but there was mucho overlap and we all kinda worked as one person taking "days" to do them19:18
imbrandon.g it was scots day then mine etc19:19
imbrandonSpamapS: he was at one time, maybe not anymore19:19
SpamapSperhaps19:19
SpamapSI have not been a good SRU team member lately.. need to go through the queue at some point19:19
imbrandonSpamapS: but yea me and scott and pitti and dholbach came up with what was the old policy, i need to go look it over19:19
imbrandonmostly cuz scott wanted to do the clamav exceptions19:20
imbrandonand no one was doing any of them at the time19:20
imbrandonand there was no clear process19:20
imbrandonso we made one :)19:20
imbrandonand yea this was 6.0619:22
imbrandonso it likely has changed19:22
imbrandonjesus crimany , why am i on some of this crap, i've never touched alot of this19:24
imbrandonhttps://launchpad.net/~imbrandon/+participation19:24
* imbrandon mubles something aobut Launchpad19:25
imbrandonSpamapS: looks like the backo=port team and the security team for main and universe are the only relevant ones , i'm not sure we had an LP team back then but it was pitti and actualy the more i think about it one other person, mdz maybe doing main approvals and me and scott and dhol doing the universe ones19:26
imbrandonbut yea i'm not so much concerned about the ability to approve them, was more of a "hey i'll review and ack them or prepare and get them ack'd as needed if no one else wants to cuz i dont mind that kinda work" offer :)19:28
imbrandonbaby steps :)19:28
imbrandonkees, thats who19:29
imbrandonnow that i think about it19:29
imbrandonpitti and kees :)19:29
imbrandonadd_header Cache-Control "public, must-revalidate, proxy-revalidate";19:29
imbrandonugh19:29
SpamapSOk so I'm inspired to improve on debug-hooks19:37
SpamapSI think we should build in the way to push your fixes back from debug-hooks into the charm19:38
SpamapSAnd I think we should have like, a 'create charm' that starts by spawning a node and running debug-hooks with 'install'19:38
SpamapSso you write install until it is "correct", then save it.. then write config-changed until its correct, then save it.. etc. etc.19:38
marcoceppiWould Travis-CI make a good charm?19:50
imbrandoni'm not real sure, it has its own kinda charm + puppet and vargrant19:54
imbrandonso likely19:54
imbrandonbut alot of overlap19:54
imbrandonmarcoceppi: would make a nice project though, but not a quick one19:54
imbrandonmarcoceppi: iirc when i looked up their process ( its all spelled out on their wiki ) they makes the vm images in virtualbox and then use vargant and pupet to deploy them ( like we do with juju ) on demand19:55
imbrandonto a host19:55
imbrandonand then they take commands from a .travis.yaml in the main github dir19:56
imbrandonthat tell it what to install and test like our hooks19:56
imbrandonso yea, its a cobbled togather system that was made before juju or anything like it out of all the parts19:56
imbrandonbut they are github fans and all the base images are ubuntu19:56
imbrandonso we might even get them to use it officialy if we did it good enough19:57
imbrandonhad never thought about it though as its a big project thats got multi moving parts, i'd say akin to a mini openstack its that many parts and variables19:57
imbrandonthey are awesom about documenting the whole setup though and iirc have a freenode chan too19:58
imbrandonwould be cool to untie it from github19:58
rigvedimbrandon: ok. so everything is running fine. ok, i will add a note to the wiki about the firewall.20:19
rigvedthanks again! bye20:19
imbrandonnp, glad its working for ya20:20
imbrandonmarcoceppi: you round ? there is an ask ubuntun question that i know half the awnser to and i konw you know the rest cuz its in omg, got a sec to clarify with me on it so i can get myself some more ask ubuntu points hehe ( not even to 20 yet, lol )20:25
marcoceppilink?20:26
imbrandonhttp://askubuntu.com/questions/98588/juju-and-keys-for-multiple-administrators20:26
imbrandoni havent -re-awnsered it yet, its possible now since SpamapS orriginally awnsered20:26
imbrandonabout haveing multi ssh keys like we do for all of us20:27
imbrandonon omg20:27
marcoceppiJust look at authorized-keys: key in the environment stanza20:27
imbrandonyea i got that part where is the hook [art20:27
imbrandonin install ?20:27
imbrandonor is one not needed , just that20:28
imbrandonand it "transfers" when being used20:28
imbrandon( i konw it dont stay )20:28
marcoceppiIt does the key setup on bootstrap, it's part of the actual juju core20:28
marcoceppiand subsequent deploys20:28
imbrandonahh rockin, thats what i needed, ty20:28
marcoceppiyeah, it's not charm specific20:29
imbrandonahh ok i thought you had some extra magic in there20:29
imbrandonthat rocks, ok now i can get above 20 copper maybe :)20:29
=== Furao_ is now known as Furao
SpamapSnote that ssh key management needs way more thought20:39
SpamapSwe need to make it something that is updated on all machines when it is changed in the env20:39
marcoceppiSpamapS: juju -e <env> add-key "ssh-rsa ...", juju -e <env> add-key -f ~/.ssh/id_rsa.pub, juju -e <env> add-key <LP-ID> would be sweeeeeet20:40
SpamapSmarcoceppi: exactly20:41
imbrandonokies go vote me up and vote that SpamapS guy down :) HAHA! no really go vote me up tho20:41
imbrandon:)20:41
marcoceppiand I *guess* list-keys and remove-key would be pretty cool to have20:41
SpamapSmarcoceppi: we can get it with subordinates now.. been thinking about creating a charm for doing mass execution.20:41
marcoceppiimbrandon:  noooooooooo20:42
SpamapSI'm still not entirely happy with putting everything in zookeeper. :-P Like, its communication isn't even authenticated.. so.. its a huge problem.20:42
marcoceppiyou made it a community wiki, lol20:42
marcoceppiYou don't get rep from a community wiki answer20:42
imbrandonoops20:43
imbrandonno idea20:43
marcoceppiDelete and re-add it20:43
imbrandonk20:43
marcoceppiyou can't un-wiki something20:43
marcoceppioh wait, moderators can unwiki things now20:44
imbrandonlol20:45
imbrandonalready deleted20:45
imbrandonnew one posted20:46
marcoceppimm, saw20:46
imbrandonwoot, i can chat now20:46
imbrandonnot like i need another place to talk20:46
imbrandonbut i like the piints20:46
* imbrandon looks for other low hanging fruit20:48
marcoceppiimbrandon: http://askubuntu.com/unanswered/tagged/?tab=newest20:48
imbrandonSpamapS: you want added to the newrelic account to peek in on the ohso data now and then ? before i close out the tab, i sent invites to the other fellas20:57
SpamapSno20:57
imbrandonkk20:57
SpamapSthx20:58
jcastroSpamapS: I'd like to bring up multi-person juju things during UDS sessions20:59
jcastroI don't like copying and pasting environment stanzas around, heh21:00
SpamapSyeah21:00
SpamapSjcastro: environments.yaml is supposed to only be the bits you need to find your juju environment.21:00
SpamapSjcastro: the other stuff is all hacks.21:01
imbrandonimho that is poart of the env21:01
imbrandonbut i look at it like its a one time setup21:01
SpamapSthe SSH keys should be part of the bootstrap commandline, and then we need commands to manage the keys in the running env.21:01
marcoceppiSpamapS: +121:01
imbrandonlike the bootstrap pkgs21:01
imbrandon:)21:01
jcastroSpamapS: do I want something like "juju -ethisenvironment add marco"?21:02
imbrandonmarco@lp marco@sf.net marco@github21:02
imbrandonplz think of the kittahs21:03
SpamapSjcastro: well, I'd say 'marco_id_rsa.pub', but yeah21:03
marcoceppijcastro: I recommended this earlier: http://paste.ubuntu.com/936048/21:03
jcastrowell, anything that doesn't involve pasting in a huge string21:03
SpamapSimbrandon: please, oh please, make a second implementation of an SSH key listing service, and we will add it to ssh-import-id :)21:04
imbrandonok21:04
marcoceppigithub would be a good second IMO21:04
marcoceppifor ssh-import-id21:04
imbrandonshould be fairly easy with another similar project i got on google app engine, even in python21:04
SpamapSYeah, presumably they already have a ton of keys21:04
imbrandonyup21:04
imbrandonand an api :)21:04
imbrandoni'm on it later with my energy for the day, that does sound fun21:05
imbrandonyou know too21:05
SpamapSthe API we need isn't really na API... https://something/~someuser/+sshkeys21:05
imbrandonsomeone should check out the branch of code for ubntuwire on lp21:05
jcastroso spoiled by ssh-import-id, heh21:05
imbrandoni wrote ssh-import-id like 3 years before that one, its in the ubuntuwire.com bzr repo on lp, just no one knew about it i guess21:06
imbrandonheh21:06
imbrandonand see if any of it can be merged in21:06
imbrandon;)21:06
SpamapSjcastro: you in SFO now?21:06
jcastroSpamapS: 2 hours out.21:07
imbrandoninfact it grabbed whole groups, does the new one do that ?> if not i could merge that in, like i could ssh-add ubuntu-dev21:07
jcastroSpamapS: I had surprisingly little problems getting the extra HP microserver in my carryon past security.21:07
imbrandonand it would, grab all ~ubuntu-dev team21:07
jcastroSpamapS: it's pretty awesome, the entire thing fits in my carry on, I think it'll end up being the nova node for the charm school21:08
imbrandonhow much are they ?21:08
imbrandoni know you got promos i mean normaly21:08
imbrandonif its not less than a mac mini, i dunno bout that :)21:09
imbrandonthey make pretty rockin nodes21:09
imbrandonand you can cram 3 hdds in them now21:09
imbrandon( gotta remove the wifiand bluetooth card but no need for that in a server anyhow )21:10
_mup_Bug #985232 was filed: libpq include path is wrong <juju:New> < https://launchpad.net/bugs/985232 >21:22
SpamapSjcastro: hah cool21:26
bkerensaSpamapS: OpenPhoto charm is halfway to RC21:29
bkerensa:D21:29
SpamapSbkerensa: sweeeet21:30
* SpamapS needs to spend a little time promulgating before tomorrow21:31
hasphazmat, hows it goin21:53
imbrandonSpamapS: doh sooo close `curl -u "bholtsclaw" -i https://api.github.com/user/keys`21:58
imbrandonit works , retrns json with all MY ssh keys, no love for random id's21:59
imbrandon:(21:59
imbrandoncurl -u "bholtsclaw" -i https://api.github.com/user/keys/2203247 gets a single key22:01
imbrandonbut again only mine, unless i can find another way to get that ID and then hope they let me cuz the docs say nothing about it22:02
jonozul, you there?22:13
zuljono:  indeed22:14
imbrandonyou know, apple will be a trillion dollar company in the next 3 years, they have already proven `well enough` they can get on without jobs, for at least until his visions for the projects started by the people he surrounded himself with then brainwa^Wmolded with his dna ... but i can garentee no one see's it yet, well 90% dont, they wil guess ipads or iphones or blah blah, nope its simple, they made buying apps easy and now its an addiction, there23:20
imbrandoni need to amke a blog post about it ....23:20
imbrandon( i say this after looking at my 118$ bill for ios and mac app store apps this month and my less than $10 aws cloud svc's + ebook monthly  bill combine )23:24
SpamapShaha23:25
SpamapSimbrandon: amazon is much better at extracting profit from those purchases though23:25
SpamapSApple just has crazy high margins, even on their cheap easy app store purchases23:25
imbrandonSpamapS: i dunno, apple has to pay what 250mil in advertising and 100m in datacenter cost to make 3 bil profit off 22bil sales last quater in app store alone23:26
imbrandoni'm guessing that datacenter delivery and e content delivery amazon has some of the same margins if not more23:27
SpamapSimbrandon: the amazon way will sustain longer. It might not matter, as Apple is in a position where they can make every mistake known to man and still have cash, but amazon will keep sucking cash out of peoples' wallets because they're so low price.23:27
imbrandoni hear book publishers paying upwards of 30% to aws23:27
imbrandontrue23:27
imbrandonbut23:27
imbrandonsame thing with MS23:27
imbrandona decade ago23:27
SpamapSFrom what I understand, Amazon can make a profit off sales as small as $123:27
imbrandonms dident have something that could sustain but dident need to with the coffers built up23:28
SpamapSWhereas Apple needs you to buy 3 or 4 $0.99 things to start seeing profit23:28
SpamapSMS still has that cash23:28
SpamapSand they're still profitable23:28
SpamapSand will be for a long time23:28
imbrandonSpamapS: but they are into every trransation at that point in 3 years, not just apps23:28
imbrandonrestuants23:28
imbrandonnewspapers23:28
imbrandonmovies23:28
imbrandonapps23:28
imbrandonitunes23:28
imbrandongrocery store23:28
imbrandoncorner gas23:28
imbrandonit will be like the 80's credit cards "do you take diners club?" only do you take iPay ?23:29
imbrandondont think they wont, i bet its comming , look at iAd23:29
imbrandonand all the others23:29
imbrandonSpamapS: and MS built that long term stuff this last decade with lic activesync and things like it23:30
imbrandon10 or 15 years ago ms was not a long term sustainable model23:30
imbrandonit was a cash cow23:30
imbrandonbut not long term23:30
imbrandonnow it is23:30
imbrandonbut only cuz they had the cash cow to get them their, same with apple, aws isnt going anywhere, i just dont think they can compete like them and google think they can23:31
imbrandonthey will remain arround and making a ton of money, just not at the scale or the pull23:32
imbrandonleast thats what my fortune telling is saying to me heheheh, i am almost never 50% right23:32
imbrandon:)23:32
SpamapSI saw the other day Home Depot takes paypal23:33
SpamapSat the register23:33
imbrandonyea i did notice that too,23:33
imbrandonits couse square and the like are forcing them to innovate23:33
imbrandonif paypal had been innovating the last 5 years they would OWN the transation market, iphones would be buying apps with paypal23:34
SpamapSI'd love to be able to whip out my iphone and just have it figure out where I'm eating.. and ask me my name.. and I can just pay the bill.23:34
imbrandonthink about how long paypal has had the pull and ability to engneer real world physical payments23:34
imbrandonbut never did till now23:34
SpamapSPaypal got killed by ebay I think23:34
SpamapSthey couldn't innovate anymore23:34
imbrandonyup23:35
SpamapSjust became ebay's bitch23:35
imbrandonexactly23:35
imbrandonhahahah23:35
imbrandonyea the deal was killer for ebay, sucked to be paypal23:35
imbrandoni dunno i'm probably way off, i'm no ecconomist, but i know i'm not 100% wrong, mark my words mr inventer :)23:36
imbrandonbtw someone with some /topic powers should tiddy that up a bit :)23:36
imbrandonlol23:36
imbrandonSpamapS: you have no osx huh ? damn amn i'm bringin you a lion disk23:37
imbrandonneed more brew testers23:37
imbrandonactually while i was loking up brew synctax yesterday SpamapS there is a port for windows and linux too, i might pacakge it up for ubuntu, it would make a great suplamental pkg mgr for developers if its used as that and not a apt replacement23:39
hazmathasp, it goes ;-)23:39
hazmatSpamapS, you in sf now?23:39
SpamapShazmat: no I fly in tomorrow morning early23:39
* SpamapS should probably look at his Itinerary so he knows what city he's flying to.. OAK or SFO23:39
* imbrandon is flying to sfo23:40
SpamapSbtw, juju updated to 531 in precise23:40
SpamapSw0000t23:40
* SpamapS thinks we should probably announce subordinates23:41
hazmatSpamapS, nice!23:41
imbrandonohh /me will update the forumla its using 50423:41
hazmatSpamapS, and relation addressability is probably worth a shout out23:41
SpamapShazmat: *definitely*23:42
imbrandongawd i love nginx , SpamapS http://paste.ubuntu.com/936120/23:42
SpamapSwoot, A29..23:42
SpamapSlanding at 0720 ..23:42
SpamapSat SFO23:42
lifelesswill there be a coexist-like-subordinates option ?23:43
lifelessor subordinates that can scale independently?23:43
SpamapSlifeless: "placement" is the single word moniker for that. Not that I know of.23:44
SpamapSlifeless: shouldn't be too complicated though23:49
SpamapSargh, depwait for juju23:55
imbrandonnew dep ?23:55
SpamapShave to wait for python-txzookeeper 0.9.5 to be published23:55
SpamapSyeah new version of txzookeeper needed23:55
imbrandongreat thats what i was fighting with all last night23:55
imbrandonon osx23:55
imbrandon:(23:55
imbrandonk a need a greek god,female prefered as its a vm, i got hera, athena, zeus, ares, and one more i cant think of this moment and its powered down23:58
imbrandonhrm23:58
SpamapSimbrandon: its on pypi23:59
SpamapSimbrandon: Artemis23:59
imbrandonyea it dident want to find zookeepter.h tho23:59

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