/srv/irclogs.ubuntu.com/2012/03/18/#ubuntu-community-team.txt

mhall119jcastro: dude, that's going to be a great success story00:06
mhall119are you going to set them up to scale on-demand when they get high traffic and everthing?00:06
bkerensajcastro: lol no worries00:17
bkerensajcastro: saving OMG how?00:17
bkerensaI wonder why they didnt redirect their DNS to a splash page somewhere :P00:18
bkerensawith a 30100:18
bkerensaOMG is going to taking a SERP beating00:18
nigelbmhall119, jcastro - http://www.peppertop.com/greys/2010/02/ubuntufied-flying-object/02:06
mhall119nigelb: lol02:14
nigelbquick! change the tag line!02:15
popeywoah, link to my blog at the end of that03:03
* nigelb blinks03:19
nigelbha03:21
jcastromhall119, almost done03:32
jcastroman03:32
jcastrowhat a horrible mess03:32
nigelbjcastro: what happnened?04:01
jcastrohe migrated hosts04:18
jcastroand like, had no clue how to set it up04:18
jcastroso we just deployed it on aws using juju04:18
nigelbo_O04:19
nigelbanyway, epic juju win04:19
jcastroman04:19
jcastroour wordpress and mysql charms are for chumps04:19
jcastrowe need to optimize them04:19
bkerensajcastro: He didnt know how to do a Wordpress Install?05:03
bkerensaseriously05:03
bkerensa:(05:03
bkerensaepic so bad05:04
bkerensajcastro: ^ yes they are05:04
bkerensajcastro: Uhh you might want to have him Submit a rdns request :P05:04
bkerensahttp://ec2-23-21-149-239.compute-1.amazonaws.com/ <-- omg05:05
* popey wonders what he'd have to do to get jcastro to jujuify the ubuntu uk podcast website ☺09:24
jussican anyone explain to me the idea that bug 958384 is invalid because it needs discussion? I dont think the fact it needs discussion means it isnt a bug...? :/11:56
ubot2`Launchpad bug 958384 in libreoffice "Libre office default style settings are poor." [Undecided,Invalid] https://launchpad.net/bugs/95838411:56
czajkowskijussi: it's an opinion then12:37
jussiczajkowski: I dont think the fact of it is disputed by anyone, just that how to solve it needs discussion.12:41
czajkowskijussi: but the discussion is pointed to a ml12:45
czajkowskiwhich imo is a better place than bugs tbh12:45
AlanBellyeah, but it is nice for the bug to exist so it can be fixed by a commit at some point13:36
AlanBellnigelb: do you know about boot to gecko?13:57
nigelbyeah13:57
nigelbyou can clone gaia and run it on your browser.13:58
nigelbprobably only nightly though.13:58
AlanBellhow about on my galaxy s213:58
nigelboh, you can probably run the whole thing. I don't know how far it is though.13:59
AlanBellok13:59
nigelbI can check with someone on monday14:00
AlanBelllooking at the roadmap it might still be a bit early to jump in14:02
mhall119jcastro: are you going to guest-post on OMG about getting them back up?14:07
jcastromhall119, I just blogged it on mine15:40
jcastroand will syndicate on cloud.u.c15:40
jcastroand probably make an OMG! specific one15:40
nigelbjcastro: hey, how did you copy the data around?16:09
jcastrorsync16:09
nigelbof the mysql data files?16:09
nigelbI'm surprised it took that long then.16:09
nigelboh wait, it's between a different provider and aws. Nevermind.16:10
jcastroyeah16:18
cjohnstonwhat happened to OMG16:21
cjohnstondid I miss something?16:21
nigelbIt was down for 3 days. jcastro called on the power of juju to fix it. :D16:21
cjohnstonic16:21
jcastromhall119, hang with me here16:40
jcastromhall119, ok so he's working on the charm now16:40
jcastroand we'll redeploy to m1.smalls16:40
jcastrodo you know if you can move a bucket from one person to another?16:41
mhall119jcastro: I don't, sorry16:43
mhall119jcastro: what is the juju bootstrap node for?  Surely you don't need a dedicated instance just to use juju16:55
jcastroit runs the zookeeper16:55
jcastrobut we can move that to run on the same instance as the proxy16:55
jcastrowe just can't right now until next week16:55
jcastroas the feature hasn't landed16:55
jcastrobut once it lands you could run everything on one node if you wanted like how AlanBell would want16:56
AlanBellI would be interested to know if things are actually faster or slower on one node vs 4 nodes16:57
jcastroone big node vs. 4 smalls?16:58
jcastroyeah16:58
AlanBellthink I would bet on a single node being faster than having a database on a separate node to the application, and without an extra proxy jump16:58
AlanBellor all on one small vs all on 4 smalls16:59
jcastroI am reasonably confident that this will be cheaper than his colo set up16:59
jcastrothe problem for OMG being on only one (or say, one large or medium) is then we wouldn't be able to grow and shrink on demand16:59
jcastroThe biggest issue right now is apache serving up all those images17:00
mhall119AlanBell: I'd expect better performance with MySQL on a separate node17:00
jcastroand getting that to S3 asap17:00
AlanBellmhall119: depends how chatty the database and the application are I guess17:01
AlanBellthe main thing to do is avoid using the database at all and use wp-supercache or something17:02
AlanBellif you are hitting the db, you want it fast and close, so multiple network requests to get stuff doesn't sound like a good plan17:03
mhall119I think Wordpress defaults to MyISAM, which is pretty darn fast17:04
mhall119plus MySQL does query caching17:04
mhall119jcastro: Elastic Load Balancing costs $0.025/hr, and supposedly does auto-scaling too, which might work better for them than haproxy17:05
jcastroyeah ryan pointed that out to me17:06
mhall119you might have to make custom OMG images though, for that to work17:07
mhall119it would be awesome if Amazon supported juju charms for this stuff17:07
jcastroyeah plus, I'd like to give him some options to not be AWS specific17:07
jcastrowe have to be AWS specific on the storage for now17:08
jcastrobut it'd be nice to say ... in a year he finds a nicer price on rackspace or a local ISP for instances17:08
jcastroand just redeploys there.17:08
jcastroor bare metal if he wants to colo again17:08
mhall119true, being able to quickly redeploy somewhere else is a nice option to have17:08
mhall119though not all will support S3, so that's something to consider in your wordpress-omg charm17:09
AlanBellI would love to build servers using juju as a standard practice, but it just chews up too many instances17:09
jcastroone more week17:10
jcastroone more week17:10
jcastroi've been aching for it too17:10
jcastroan extra instance is a deal breaker.17:10
jcastroespecially since you also can't say "juju I want an m1.small for you, an x1.large for wordpress, and an m1.medium for mysql" yet.17:10
jcastrobut next week we get all of that.17:10
jcastrounfortunate timing17:11
nigelbI want to say, here's an m1 server. Install wordpres, mysql, and apache on it.17:11
nigelbNot spam 4 servers for that.17:11
AlanBellexactly17:12
jcastroright17:12
nigelb*spawn17:12
jcastroWe don't do that until next week17:12
nigelbone week!17:12
AlanBellthen one day when that isn't enough, split it out smoothly17:12
nigelbI'll take that as win.17:12
jcastroright.17:12
jcastrobelieve me no one is aware of this pain more than juju folks17:12
nigelbI will check this out when precise releases.17:12
nigelbI expect all of this would be fixed then.17:13
jcastroindeed17:13
mhall119one more week?17:13
AlanBellif we can do a juju based openerp install on one instance, that can be scaled up to lots of instances then that would be a big win17:13
nigelbfinally a tool that's not in ruby.17:13
jcastroAlanBell, actually just last week someone submitted openerp17:15
jcastromhall119, yeah, the feature is called "constraints", it's all reviewed and ready to land.17:15
AlanBellso they did, old version though17:17
jcastrono worries17:17
jcastrowe can easily make that pull trunk17:17
jcastroin fact that's what marco's working on for the wordpress charm17:17
jcastroit stupidly pulls the archive version17:17
jcastrowhich is basically shipping the old one that doesn't upgrade ootb17:17
jcastroboo...17:18
AlanBellopenerp 6.1 has slightly different install routine as the webserver now runs in-process17:18
jcastrowould you be comfortable reviewing the charm?17:19
AlanBellyeah, or I might hand that over to TheOpenSourcerer17:20
jcastronod17:22
nigelbI don't even know why we should have wordpress in the acrchive.17:23
jcastrothe juju charm store isn't active yet, so it's not obvious to people17:24
jcastrothat with charms17:24
jcastroyou don't have to care about the archive17:24
jcastrowe'll have fresh wordpress for the life of 12.0417:24
jcastromhall119, how typical17:26
jcastrothe comments on facebook are talking about unity.17:26
marcoceppinigelb: I said the same thing :)17:27
nigelbjcastro: obviusly. facebook crowd isn't known for maturity :)17:27
nigelbmarcoceppi: It is a bigger security hole :P17:28
AlanBellI totally don't get Facebooko17:31
s-foxo/17:42
jcastrook let's do math17:50
jcastro~16gb of traffic so far since last night17:50
jcastroso, 12 hours worth17:50
nigelbwtf, 16GB in 12 hours?17:51
nigelbno wonder you want his images moved to s3.17:51
jcastroit's only a cent cheaper17:51
jcastrostill17:51
jcastroat 11 cents, it's $100 a month17:51
jcastrothat's $316 a month17:52
nigelbhow much did he used to pay?17:53
jcastrolol17:53
jcastro200 pounds17:53
jcastrowhich right now translates to17:53
jcastro$316 a month17:53
marcoceppiha!17:53
nigelbhahaha17:53
jcastrothat's sunday traffic17:53
jcastrolet's assume he's busier17:53
jcastroand double the traffic17:53
jcastroit's $41617:54
jcastroah bummer17:54
jcastrothe price only goes down to .09 a gig when he tops 10TB.17:55
jcastrook am I reading this wrong17:55
jcastrothe data out of S3 is the exact same price as EC2, 12 cents17:56
jcastrothat can't be right17:56
AlanBellgosh18:22
nigelbI bet rackspace is cheaper.18:23
AlanBellthis is what most of our hardware is http://www.hetzner.de/en/hosting/produkte_rootserver/ex518:24
nigelbha, hetzner :)18:24
AlanBellwe slice those up using KVM into quite a few VMs, about 10 per host18:25
nigelbManually?18:26
AlanBellyeah, we wanted to use the eucalyptus stuff but that required an additional host as a manager18:26
nigelbnice18:27
AlanBellso it is just KVM, and I use the virt-manager thing to poke at them and spin up new ones etc18:27
AlanBellwould love to do it in a more buzzword compliant manner, but cloud stuff is massively more expensive18:29
nigelbheh, yeah.18:29
cjohnstonWhat makes AWS better than say rackspace?18:32
nigelbAWS has more features18:33
nigelbAlso been around longer18:33
nigelband more datacenters18:33
AlanBellit is from a company that real people have heard of too18:33
nigelblol18:34
cjohnstonWhen did AWS come out?18:34
nigelb2002.18:35
cjohnstonI know that there is no direct price comparison because the sizes are different, so I'd have to do math18:35
marcoceppiI've also never gotten along with anyone from Rackspace18:37
cjohnstonlol18:37
cjohnstonI have a few good friends who are with Rackspace.. They all started with Slicehost.. but are now at RS18:37
nigelbsoren is a nice guy AFAIK.18:37
cjohnstonto me, when looking at AWS to setup, it seems overwealming18:37
nigelbbut then he no longer works at rackspace.18:38
nigelbcjohnston: It's dead simple actually.18:38
marcoceppicjohnston: juju, duh :)18:38
cjohnstonlol18:38
cjohnstonjuju is brand new18:38
nigelbcjohnston: the button clicks are not too complicated.18:39
cjohnstonbut for me, I run everything on a 1gig cloud server at RS.. $0.06/hr... I don't need multiple isntances or anything like that.. I run multiple blogs on it, I get IP addresses as needed..18:39
nigelbRS is *too* simple for me to run anyhting on it professionally.18:39
cjohnstonI guess I like the fact that its nice and simple18:40
nigelbI'm talking about DBs that are 20 GB in size. etc.18:40
marcoceppiEach provider has it' use case18:40
nigelbFor personal use, I'd probably trust rackspace than amazon.18:40
nigelbIt is cheaper.18:41
cjohnstonI'm just trying to figure out, because I *have* to learn to use amazon, should I learn it and move my stuff over..18:41
cjohnstonRS seems to have more DCs.. they have 818:42
cjohnstona little less spread out.. but still comparable18:43
nigelbhuh?18:43
nigelbdoes RS let you select which data center to use?18:43
cjohnstonhrm.. I guess for cloud servers they are still in DFW18:44
jcastroamong traditional hosts Rackspace (at least in the US) is one of the more dominant ones18:45
jcastroif anyone can compete with AWS it's them18:45
jcastrobut they needed openstack for that18:45
nigelbYEah18:45
nigelbNot yet there.18:45
nigelbI waiting for them to have openstack.18:45
jcastrothey have a cloud thing18:45
jcastrobut it's not openstack18:45
nigelbnot as great as amazon yet.18:45
nigelbnot as many features.18:46
jcastroIt's pretty much a monopoly18:46
nigelbyeah, sadly.18:46
jcastrohowever HP's Public cloud is in beta18:46
jcastroas openstack matures everyone will just start selling instances18:46
jcastrothe same way they sold VPSes and shells18:46
nigelboooh. that should be interesting18:46
nigelbis the HP thing openstack?18:46
jcastroIt is18:46
jcastroon ubuntu18:47
nigelb\o/18:47
jcastroif openstack had an equivalent to s3 stuff that was solid18:47
jcastrolike a storage solution18:47
jcastrowe could then have juju just generically support storage18:47
jcastroand the charms wouldn't need to be s3 specific18:47
nigelbthere's still stuff that can do something like that18:48
jcastrothen you could just move to whatever hosting provider you want18:48
nigelbglusterfs?18:48
jcastrogluster and ceph18:48
jcastroI expect storage to be the big topic this year in openstack18:48
popeyjcastro: I am getting a tomcat message from omgubuntu.co.uk18:54
jcastroDNS is out of date for you then18:55
popeyah18:55
jcastrotry privacy mode in your browser18:55
jcastroand try again18:55
jcastroyou might be caching the old 301 redirect18:55
Davieyjcastro: you are kidding, right?19:01
Davieyjcastro: opnestack has swift for file storage.. It's what rackspace uses in production called "cloudfiles"19:02
Davieypredates openstack.19:02
jcastroDaviey, oh sweet so I can just point juju to it and get the exact same thing I can with s3?19:02
Davieyjcastro: that is the plan!19:02
jcastro right, the plan19:02
jcastrobut doesn't help me right now.19:03
Daviey(there is also a ceph object storage component, but not experimented with it myself)19:03
jcastroyeah, for now his charm will be S3-specific19:03
Davieyjcastro: Canonsistack doesn't yet provide S3.19:03
jcastrobut the idea of being able to redeploy on openstack is awesome, I will actually try it too19:03
* AlanBell ponders a performance faceoff with a multi-tier juju rig vs an all in one on a VM setup19:04
jcastroDaviey, oh so what you're telling me is that limitation is our deployment specific? And that everything is fine in upstream?19:04
jcastro"fine" as in, will be working19:04
Davieyjcastro: Well, swift is largely regarded as the most stable component19:05
jcastroman, I am delighted to be so wrong.19:05
jcastroDaviey, someone should put you in charge of stuff19:05
Davieythere is a shim which proxies to s3 in nova.. it's not /well/ tested, compared to the rest of it.19:05
Davieyjcastro: hah19:06
jcastroman I am kicking myself for the xlarges19:07
nigelbIsn't he already incharge of stuff? :D19:07
jcastromarcoceppi, it was getting late and I was getting inpatient19:07
jcastroshould have texted Clint way earlier19:07
nigelbalso, seeing Daviey on IRC on a weekend.19:07
nigelbI'm shocked beyond belief.19:07
jcastro$60 dollar mistake, that's like a nice steak.19:08
jcastropopey, clearing the cache do it?19:12
=== webjadmin_ is now known as jalcine
jcastroman there's tons of things we can optimize here19:22
jcastrothese pages are heavy19:22
jcastroand the images are like, being resized in html19:22
jcastrohttp://cdn.omgubuntu.co.uk/.../Screen-Shot-2012-03-12-at-17.03.47-50... is resized in HTML or CSS from 500x295 to 150x88. Serving a scaled image could save 183.2KiB (91% reduction).19:22
jcastroa whole bunch of these right on the homepage19:22
jcastroI bet we can easily slim down the amount of things he needs to serve on top of what we're doing19:23
bkerensajcastro: He needs to smush his images and use image polish to dynamically resize on the fly19:25
jcastroI think WP does this in the newish version19:25
jcastrothe new charm will just use upstream wordpress so he can update on his own schedule19:26
bkerensajcastro: there is a wordpress Yahoo SmushIt plugin... it will resmush all his images19:26
bkerensaas for Image Polish only Cloudflare offers this atm19:26
* jcastro notes that19:26
czajkowskicjohnston: should I be seeing http://summit.ubuntu.com/uds-q/track/community/19:29
AlanBelljcastro: I would be interested in a funkload report of a default (unoptimised) wordpress install on a single small instance compared to a 3 instance setup19:29
cjohnstonczajkowski: no19:30
Davieynigelb: Are you kidding?19:34
Davieynigelb: I'm on most weekeneds19:34
cjohnstonDaviey: since your around and all.. want to help me with an error that I came across with summit ;-)19:35
cjohnstonhehe19:35
Davieycjohnston: oh?19:36
cjohnstonDaviey: http://summit.chrisjohnston.org  <-- click login19:36
cjohnstona google search gave me 3 results, which didnt help. :-/19:37
Davieycjohnston: Are you  missing a *kwargs?19:38
cjohnstoni don't think I changed anything that would effect login...19:38
cjohnstonit works locally too19:39
Davieycjohnston: is production summit running 1.3 now?19:40
cjohnstonyes19:40
cjohnstonhttps://code.launchpad.net/~chrisjohnston/summit/action-item-links and https://code.launchpad.net/~chrisjohnston/summit/new-meeting-stuff plus a little css is what was merged in19:42
Davieycjohnston: Hah, https://bugs.launchpad.net/software-center-agent/+bug/873244 suggests a missing kwarg's aswell19:43
ubot2`Launchpad bug 873244 in software-center-agent "custom openid_render_failure has wrong signature" [Undecided,Fix released]19:43
cjohnstonhrm19:45
cjohnstonDaviey: I've looked back through the code, and unless I'm missing something, I don't see it. :-/20:07
Davieycjohnston: I suspect it's that you are lacking relevant data on your devel site20:22
DavieyPerhaps don't have an admin user, a UDS object created, or something like that.20:22
cjohnstonthe devel site was working prior to the merge as well20:22
DavieyOh, NFI then20:25
Davieysorry :)20:25
cjohnstonok20:25
cjohnstonty20:25
Davieycjohnston: Have you reverted the merge?20:25
cjohnstoni just did.. it has an issue with the undoing the migration20:26
Davieywho merged a migration that doesn't allow a reverse? :20:26
Daviey:)20:26
cjohnstonit has an inconsistant migration history20:28
nigelbDaviey: NFI is now my standard response to summit :D20:33
Daviey:)20:49
=== huats_ is now known as huats
=== jalcine is now known as jalcine_

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