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

negronjlm_3:  I'll look into the mongodb/juju/precise thing a bit later ... Can't get juju to work with precise yet.00:06
imbrandonhazmat: where does the code for charmworld live on lp ? i peeked at https://code.launchpad.net/charmworld00:29
imbrandonhazmat: never mind, i'm an idiot00:30
imbrandonerr maybe not, i thought i found it00:31
imbrandoni guess not though00:32
hazmatimbrandon, its not published01:03
hazmatSpamapS, sounds reasonable, is there a way to identify the active series on lp?01:03
imbrandonahh that would explain it, just not published or closed ? i dont mind either i was just gonna try and lend a hand with the sorting and maybe upgrade it to bootstrap 2.0 with responsive-ness and make sure it was all in like with the new branding updates like i did on the commmunity sites01:05
imbrandon:)01:05
imbrandons/like/line*01:05
imbrandonhazmat: so if i can give a hand with it just ping01:08
m_3negronjl: I've got 531 localling bringing up 531 ppa on local provider for precise... seems to be running ok so far01:53
negronjlm_3:  Can you pastebin a copy of your environments.yaml file ?02:06
negronjlm_3: and if you used any odd commands or switches for juju, I'll take those too :)02:07
negronjlm_3:  I'll look at it a bit later tonight02:07
SpamapShazmat: yes the distro object will show you02:12
m_3negronjl: http://paste.ubuntu.com/933424/ is what I was using from that precise instance to launch other local precise instances02:24
=== _mup__ is now known as _mup_
=== almaisan-away is now known as al-maisan
huwshimiHi, I'm trying to deploy the openstack-dashboard charm locally (http://charms.kapilt.com/charms/precise/openstack-dashboard). I have set up my environment for local use, but when I do 'juju deplou openstack-dashboard' it says "Error processing 'cs:precise/openstack-dashboard': entry not found". Do I need to do something special to get it to find that charm?10:24
imbrandontry cs:oneiric/openstack-dashboard instead10:33
huwshimiimbrandon: Same problem :(10:34
imbrandonis there and openstack-dashboard listed ni the charmstor ? /me looks10:35
huwshimiThis is the full output: http://paste.ubuntu.com/933781/10:35
imbrandonbot sure, you'll have to bug hazmat m_3 or SpamapS when one of them gets in this morning10:37
imbrandonnot*10:37
huwshimiimbrandon: No problems. Thanks :)10:37
imbrandontry mysql cuz i know that know works, to make sure your env is right10:37
imbrandonafk a few10:37
huwshimiyeah, mysql worked10:38
imbrandonok yea its breakage from the switch to precise then likely yesterday and one of those 3 will fix it up here in a few hours i'm sure, they are normally active here pretty soon10:39
huwshimiNo problems, I can wait10:40
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== matsubara-afk is now known as matsubara
hazmatimbrandon, its likely because its not 'officially' released yet.. ie been reviewed. it can still be installed from cs:~charmers/precise/openstack-dashboard12:43
imbrandonhazmat: ahh13:46
=== al-maisan is now known as almaisan-away
negronjlm_3: ping16:30
m_3yo16:39
m_3negronjl: yo16:39
negronjlm_3:  mongodb works :)16:39
m_3cool... thanks for checking it out!  just wanted to make sure we explicitly went through the handout/demo examples after promoting everything to precise16:40
negronjlm_3: no worries ... glad it works16:41
jcastronegronjl: you did test cloudfoundry on precise right?16:42
* jcastro runs 16:42
negronjljcastro: not yet ...16:42
m_3it looks like parts of it are still failing for some reason... probably packages16:42
negronjlm_3: parts of cloudfoundry ?16:43
m_3http://ec2-23-20-58-1.compute-1.amazonaws.com:8080/ (only a tmp url)16:43
m_3unfortunately, it wasn't capturing logs on these initial precise runs16:43
negronjlm_3:  I'll work on some troubleshooting as I get time ...16:44
m_3I was going through yseterday knocking them one-by-one to green16:44
m_3negronjl: cool... thanks16:44
=== matsubara is now known as matsubara-lunch
SpamapSFYI, pending approval of FFE, I'll be uploading bzr531 to precise later today or early tomorrow. Please give it a good vigorous testing everybody.17:21
=== matsubara-lunch is now known as matsubara
jcastroSpamapS: hey, busy?17:38
jcastrokrish is at openstack and he wants to do a live G+ over the air about juju17:39
jcastrowant to hop in with me?17:39
jcastroand/or m_317:39
robbiewjcastro: right now?17:41
jcastroyeah he just pinged me on twitter17:41
robbiewjcastro: does he know you and clint will be there Thu?17:41
jcastroyeah17:41
robbiewinteresting17:42
jcastrowanna hop in?17:42
jcastroI want to talk about the charm school and stuff17:42
robbiewnope17:42
robbiewlol17:42
* robbiew has to start blueprint wrangling for 11.10...and do some I-am-leaving-my-wife-with-you-young-boys-this-week chores :P17:43
robbiew/s/-you-/-two-17:43
SpamapSjcastro: sorry Iw as grabbing an early lunch18:04
jcastrono worries he hasn't responded back18:04
jcastrohe says he'll ping me with a suitable time when he gets there18:04
jcastroSpamapS: I was thinking we could just talk about the problems we're trying to fix, etc. Basically, the stuff we talk about every week anyway18:04
SpamapSsure18:05
SpamapSI should like.. shower so I don't look like a bum18:05
jonojamespage, hey, FYI - I had to get all this data of my 1TB drive which is taking a while, and then I can kick off the mirror18:16
jonothe drive was formatted for a Mac (it was used to record our album), so I will get the data off, format it, and then download the mirror so we have a backup18:17
m_3jcastro: hey... I was in a meeting18:23
m_3jcastro: any update on time?18:23
jcastrono worries, he hasn't given me a time yet18:23
m_3jcastro: cool18:23
jcastrotry to stay open today. (hah!)18:23
m_3:)18:23
m_3dude, that was a rude awakening this morning!18:24
jcastroyeah sorry18:24
* m_3 open eyes... crawl outta be... check irc... charmschool in 20mins!18:24
m_3I'm gonna go get some breakfast... bbiab18:26
jcastroSpamapS: and then we should probably talk about charmschool ODS again18:27
SpamapSjcastro: indeed, I have rsyslog written though it has a bug that I'm fighting with18:30
jamespagejono, great - I think the guys are pulling one locally as well for redundancy18:30
jonocool18:30
jcastroSpamapS: I know you're in the zone but gitolite promulgation would be swell as well. Looks like shazzner's fixed all your issues18:31
SpamapSjcastro: promulgation needed for demo? :)18:32
jcastrothat would be a cool demo18:34
yageycould someone suggest a charm that installs from a cvs source that I can use as a template please?18:38
marcoceppiyagey: like an actual CVS source, or just installs from some form of version control?18:39
yageycvs18:39
yageyto install the virgo kernel: http://www.eclipse.org/virgo/download/18:40
marcoceppiI don't think we have any that install from cvs source, but it would be similar to if you were doing an install, with regards to the commands used to branch the repo18:40
marcoceppiyagey: why not just grab the zip download instead of cvs?18:40
yageyok18:40
yageyany examples of a zip based install?18:41
marcoceppiyagey: sure, quite a few do18:42
marcoceppilet me find one18:42
marcoceppiyagey: owncloud, statusnet, roundcube, and a few others grab some form of archive from a remote server for installation18:44
yageythx18:44
marcoceppiThey all make use of a charm-helper called "ch_get_file" which takes two parameters: a url, and a hash of the payload ( in order to do payload validation )18:45
m_3yagey: node-app installs from git... shouldn't be too different to change that to cvs18:45
yageyk18:45
m_3yagey: but there are more examples out there of ch_get_file18:46
SpamapSyagey: cvs, *wow*18:48
yagey?18:48
SpamapSshocking to hear that anybody has cvs anywhere anymore18:49
SpamapSsvn is well over 10 years old18:49
SpamapSbzr is better than svn18:49
SpamapSgit is more popular than bzr18:49
SpamapSso many options18:49
SpamapScvs is.. just so bad18:49
SpamapSoh18:50
SpamapSyagey: they seem to be on git :)18:50
SpamapSyagey: https://github.com/eclipse/virgo.apps ...18:51
yageyseems they are spread over git/svn/cvs18:51
SpamapSyagey: I'd recommend targetting your charm at a released version to start with. You can add a config option to switch to git later.18:52
yageyyes, doing that.  thx18:52
yageych_get_file is helpful18:52
yageysigh, my connection to ec2 has started just hanging, any troubleshooting advice please?19:02
SpamapSyagey: are you sure its the ec2 connection?19:02
SpamapSyagey: sometimes doing 'juju -v ...' will reveal more19:02
yageyah, thanks.  claims it's still initializing.  but the host logs show it's finished19:04
yageythe juju-admin is failing, unrecognized constraints19:05
SpamapSyagey: that is a version mismatch between whats on your machine and what your 'juju-origin' is set to.19:05
yagey"juju-admin: error: unrecognized arguments: --constraints-data="19:05
SpamapSyagey: most likely you have 'juju-origin: distro'19:06
SpamapSyagey: or juju incorrectly guessed that you were using the distro version.19:06
SpamapSyagey: dpkg -l juju19:06
SpamapSyagey: I suggest putting an explicit 'juju-origin: ppa' in your environments.yaml19:07
yageyon my localhost: 0.5+bzr519-1ju  on the EC2 boostrap 0.5+bzr398-0ubuntu119:08
SpamapSyagey: yikes!19:09
SpamapSyagey: that 398 version is the distro version from oneiric19:09
SpamapSyagey: I suggest making sure you have the latest from the ppa, and then adding a 'juju-origin: ppa' to the environment19:10
yageyok19:10
SpamapSyagey: also you should consider deploying on precise. :)19:10
yageywhat is precise?19:10
SpamapSyagey: Ubuntu 12.0419:10
SpamapSoneiric == 11.1019:10
yageyah19:10
marcoceppiAnyone ever seen this before? http://paste.ubuntu.com/934414/19:11
SpamapSmarcoceppi: no .. weird19:11
SpamapSmarcoceppi: newer juju has a more robust zookeeper though, so its possible it would have exploded much more spectacularly before19:12
marcoceppiRunning the command again appears to hang19:12
m_3marcoceppi: nope... I'm actually excited to see it... usually a connection loss has to be inferred :)19:12
* marcoceppi checks ec2 status page19:12
* marcoceppi runs with -v19:13
marcoceppihttp://paste.ubuntu.com/934420/19:14
marcoceppiit just keeps going19:14
SpamapSmarcoceppi: zk not started yet19:14
SpamapSor failed somehow19:14
marcoceppiSpamapS: this environment has been bootstrapped for about 5 hours19:14
SpamapSmarcoceppi: slight chance also that your local ssh is bombed out somehow19:15
marcoceppi*it is the current omgubuntu environment*19:15
marcoceppiThough, this might explain why wp can't connect to mysql which is running on that bootstrap19:15
SpamapSmarcoceppi: ssh directly in?19:15
marcoceppiaye, I can19:16
SpamapSzk running?19:16
marcoceppiI guess this is bad: /dev/xvda1            7.9G  7.5G     0 100% /19:16
marcoceppiSpamapS: it's not19:17
SpamapSooohhh fuuuuuudddddddgggge19:17
jcastrohah19:17
jcastrohttp://www.sadtrombone.com/19:17
marcoceppiThere shouldn't be 7.5G of MySQL databases on there19:18
marcoceppiyeah, /var/lib/mysql is only 567M19:18
SpamapShttp://www.youtube.com/watch?v=Yii2mcNq2Zw19:18
SpamapSmarcoceppi: I bet its the juju agent logs or something silly like that19:19
SpamapSor ZK19:19
yageyso with ppa and precise, now it refuses to connect:   579: Socket [127.0.0.1:42204] zk retcode=-4, errno=111(Connection refused): server refused to accept the client19:19
jcastrom_3: I have an idea.19:19
jcastrom_3: feel like experimenting with something?19:19
marcoceppi5.9G./log19:19
* marcoceppi moves log to /mnt19:19
jcastrodaddy needs centralized logging!19:20
marcoceppiit's actually /var/log/mysql19:20
marcoceppihas a crap ton of 101M files mysql-bin.XXXXXX19:20
marcoceppiall have like, json in them19:21
SpamapSbinary logging19:21
SpamapSmarcoceppi: flush logs;19:21
SpamapSmarcoceppi: if you're not going to use replication, you can turn that off19:21
SpamapSwith log-bin19:21
SpamapSmarcoceppi: and you can pretty much delete all of them19:22
m_3jcastro: hey... sure19:23
jcastrohttp://googledevelopers.blogspot.com/2012/04/add-spdy-support-to-your-apache-server.html19:23
jcastroWe totally should just toss that in a charm right now and tell people about it19:23
marcoceppiSpamapS: Okay, that's fixed. For ZK, just `restart zookeeper`?19:23
jcastro"I read something cool and I want to try it right now."19:24
SpamapSmarcoceppi: yeah that should be fine19:24
SpamapSmarcoceppi: service zookeeper restart btw .. don't call restart directly19:24
marcoceppigood to know19:24
jcastrom_3: they have packages, etc. And the byobu-classroom charm you just used uses mod_ssl already afaict.19:24
SpamapSmarcoceppi: and actually .. for oneiric..  stop/start is better19:24
SpamapSmarcoceppi: in 12.04 I fixed 'service' to do stop/start .. in 11.10 and earlier it uses the broken headed upstart 'restart' command19:24
SpamapSwhich has a few bugs and does weird stuff19:24
marcoceppisweet juju status works again19:25
marcoceppiwhew!19:25
marcoceppithat was fun19:25
SpamapSmarcoceppi: time to create a troubleshooting.rst19:25
jcastrom_3: so I was thinking, find a charm that people would want to play with, toss spdy on it, demo!19:25
marcoceppiyup19:25
SpamapSwhat are the available options for spdy?19:26
m_3jcastro: are you trying to show this at ods?19:26
SpamapSmod_spdy? nginx?19:26
jcastrono, this just got published today this mod_spdy snapshot from google19:26
marcoceppiSpamapS: will MySQL just keep on chugging with binary logging, or can I set like a ceiling?19:26
SpamapSmarcoceppi: its designed to be an audit log.. so you should turn it off19:26
SpamapSmarcoceppi: it will increase write performance by about 5x ;)19:27
jcastromy idea is basically tell the "I saw something neat on the internet and want to mess with it, modify a charm, done."19:27
jcastroit just so happens this came out right now19:27
marcoceppiSpamapS: too bad the database rarely gets touched :)19:27
SpamapSmarcoceppi: enough to fill the disk ;)19:29
marcoceppiSpamapS: it's weird because we don't have this problem on the previous environment19:30
marcoceppiThough, we just fixed an issue with apc that was causing php to go apeshit19:30
m_3jcastro: dude... I've really gotta get automated tests working on ec2.  lemme see what I can put together in between deployments this afternoon19:33
SpamapSmarcoceppi: did you set tuning on the mysql service?19:33
SpamapSmarcoceppi: I believe "fast" turns off log-bin19:33
jcastrom_3: I'm not saying do it, I'm just thinking out loud!19:33
marcoceppiSpamapS: perfect I'm going to use that instead19:33
m_3jcastro: testing got bumped over the weekend to upgrade charms to precise19:33
SpamapSmarcoceppi: yeah for them, the super fast tuning is the way to go.19:33
jcastrom_3: actually let me back up, do you think it'd be a cool demo?19:34
m_3jcastro: yeah, of course it's a good story19:34
marcoceppiSpamapS: <3 the MySQL config options19:34
m_3faster on the heels of the tool announcement the better too19:34
marcoceppiIt was rather cool, the database for omgubuntu was down for about 20 mins, and the site just kept serving from cache19:34
jcastromarcoceppi: never let em see you sweat19:34
marcoceppiI don't think anyone knew, I only knew because I just happened to try to log in to the admin panel19:35
m_3marcoceppi: that's awesome19:35
SpamapSmarcoceppi: hrm, no.. fast doesn't turn it off19:35
SpamapSmarcoceppi: but actually, it shouldn't be on by default anyway19:35
m_3jcastro: the openstack thing is a whole panel?19:36
marcoceppiSpamapS: I just turned it off manually. I can add a patch to the charm in a few mins. Should it be a config option like log-bin true|false then by default put the bins on /mnt ?19:36
SpamapSahhh.. $JUJU_RELATION_ID is quite handy19:36
jcastrom_3: it's going to be more like shooting the breeze with Krish.19:36
m_3jcastro: email sounded like an actual panel19:37
jcastrowhat email?19:37
SpamapSmarcoceppi: I think it should be a config option, string, default to "", and if you have 'safest' tuning, then it sets it to /var/log/mysql/mysql-binlog or whatever it is now as the default...19:37
m_3can't see who else was copied... was a g+ mail19:38
SpamapSmarcoceppi: and if you have 'fast' or 'unsafe' then it should be left off19:38
m_3jcastro: PM19:38
marcoceppiSpamapS: then the config option would be to what? over-ride the default path?19:38
jimbakerSpamapS, glad to hear that about $JUJU_RELATION_ID19:39
yagey_still can't run juju status with ppa and precise, and suggestions please?  ^C2012-04-17 12:39:17,262:9336(0x7f4e3126c700):ZOO_ERROR@handle_socket_error_msg@1603: Socket [127.0.0.1:57177] zk retcode=-4, errno=112(Host is down): failed while receiving a server response19:40
yagey_interesting, the host halted itself and refusing connections19:43
SpamapSyagey_: I'd guess that ZK did not start properly19:43
SpamapSjimbaker: yeah, its useful because its consistent through the entire relation lifecycle and can be used to run relation-get outside of hooks. :)19:44
SpamapSjimbaker: so for instance in the rsyslog-forwarder charm I just wrote, I use it to control the name of the per-remote-host config file I add.. broken can just 'rm -f /etc/rsyslog.d/80-$JUJU_RELATION_ID.conf'19:44
SpamapSjimbaker: before, broken hooks were always hard to write because they had no context available.19:44
SpamapSjcastro: speaking of charms that need reviewing.. I have submitted 3 in the last 2 days, and I have 2 more19:48
jcastro\o/19:48
jimbakerSpamapS, sounds like it worked as intended. very nice indeed!19:57
bkerensajcastro: you did not require signature on the UPS shipments did you?20:09
SpamapS2012-04-17 13:08:06,922 INFO Charm deployed as service: 'mod-spdy'20:09
* SpamapS waits patiently while his instances start up20:09
jcastrodon't forget to push!20:10
jcastroI want to see how you did it20:10
jcastroso I can learn20:10
jcastrosince I see the first one, and then yours.20:10
jcastrohah, can you believe I work at an engineering company? I should be killed.20:10
SpamapSlp:~clint-fewbar/charms/precise/mod-spdy/trunk20:10
bkerensa=o20:11
jcastro\o/20:11
jcastroSpamapS: ah I like how you did the arch thing there20:13
SpamapSjcastro: they should have an apt source.. or a PPA :)20:13
jcastroSpamapS: I think what we do is on the very first instance we see where their package puts the sources.list for their thing20:14
jcastroand just put that in the charm20:14
nteonokay, so I'm new to juju.  I'd like to use it to deploy our cluster of machines20:16
bkerensanteon: What would you like to know?20:16
nteonincluding a couple of postgres machines20:16
nteonbkerensa: can I tell juju about things like which disks/set of disks make up a software raid array, and have them attached and then mounted on an ec2 box?20:17
nteonI'm not super clear on where juju falls into the stack I guess20:17
bkerensaI dont think juju does that yet but I could be wrong20:18
jcastronteon: I have some videos you might want to check out20:18
bkerensa^20:19
jcastrohttp://www.brighttalk.com/webcast/6793/4193320:19
nteonjcastro: awesome, I will check it out in a min20:19
bkerensajcastro is the juju guy20:19
bkerensa:D20:19
jcastronteon: we're likely above the disk/array level20:20
_mup_juju/apt-proxy-support r532 committed by kapil.thangavelu@canonical.com20:21
_mup_update cloudinit renderer for apt proxy url20:21
SpamapShrm, open-port from a subordinate might not work :-/20:22
SpamapS2012-04-17 13:19:58,221 unit:mod-spdy/1: unit.hook.api DEBUG: opened 443/tcp20:22
SpamapSYeah, doesn't work20:22
SpamapSopens the port for the subordinate, but the subordinate has no watch for that so it never gets opened for the unit20:23
SpamapSbcsaller1: ^^ thoughts?20:23
bcsaller1SpamapS: it should be better documented, the principal service controls the networking for the subordinate as its really running the container, but some adjustment there is most likely needed.20:24
hazmatmarcoceppi, re the connection loss, we guard against that for the agents but not for the cli which is  short lived connection20:24
nteonjcastro: jcastro: watching now20:24
SpamapSbcsaller1: indeed, subordinates will need to open ports20:24
SpamapSI appreciate teh conservative take on it.. but subordinates are adding to the primary, so they should definitely be allowed to open ports20:25
bcsaller1SpamapS: but exposing a port for the subordinate from the principal works20:25
bcsaller1thats just counter intuitive20:25
hazmatyeah.. the port stuff is setup to watch against the service unit assigned to the machine, in a subordinate case that distinction is never made20:25
SpamapSthe use case is quite simple to imagine. I want to add a management daemon that gets queried from outside the network.20:25
hazmatbcsaller1, its also defeats the purpose of subordinates..20:26
hazmatie. adding out of band functionality to a principal20:26
SpamapSthats.. the entire point of subordinates20:26
SpamapSI get why it doesn't do it today20:27
SpamapSbut its going to be desired20:27
SpamapSalready is actually :)20:27
bcsaller1easily done20:27
hazmatSpamapS, i'd like to turn down the logging for the ssl stuff, its a bit inane in its verbosity 4 messages for the same thing20:27
bcsaller1SpamapS: mind adding a bug on it?20:27
=== zyga is now known as zyga-afk
hazmatSpamapS, this is  patch to clean it up http://paste.ubuntu.com/934535/20:28
SpamapShazmat: its being clear about each vulnerability. -l ERROR gets rid of it.20:28
SpamapSbcsaller1: I will definitely20:28
bcsaller1SpamapS: great, thanks20:29
SpamapShazmat: I'd like it to log 20 messages :)20:29
SpamapSbut I only had enough text for 320:29
SpamapSugh20:36
SpamapSlodgeit is just broken20:36
SpamapSok.. lets try statusnet20:36
SpamapSjcastro: lodgeit seems broken in precise, should be investigated20:36
jcastrok20:38
jcastroditto byobu-classroom20:38
nteonheh.  I don't really see the point of LTS releases if you're going to deploy a bunch of unpackaged software on top of it.  in that case what is left that is 'stable'? libc and the kernel?20:38
nteon(that wasn't in response to anything in particular)20:39
SpamapShazmat: btw, thanks for the 'open-port' script in juju-jitsu. Totally works perfectly!20:39
jcastronteon: this is additive, the charms have an option of doing that if you want to20:39
jcastronteon: so like, if you want to use the upstream version of wordpress instead of what's packaged you can do that, etc.20:40
SpamapSjcastro: https://ec2-107-22-22-168.compute-1.amazonaws.com/20:40
SpamapS*SPDY*20:40
nteonjcastro: well this video talks about how charms can help keep your software up to date when you're running on an LTS release... in that case why not just use whatever the latest ubuntu release is?20:41
jcastroI see it's served via spdy, but it's a 40420:41
jcastronteon: you could do that if you want, but people do want a stable OS that is very stable and long lived but then have their application on top of it be new20:42
SpamapSjcastro: cs:~clint-fewbar/precise/mod-spdy *should* work :)20:43
SpamapSjcastro: well, once the store picks it up20:44
SpamapSI have to run now20:44
jcastro<320:44
jcastrois the add-relation normal?20:44
SpamapSjcastro: included a README on how to make it work20:44
jcastroah20:44
jcastrothanks!20:44
SpamapSjcastro: also open a bug against lodgeit.. its totally busted20:44
jcastrok20:44
nteonjcastro: yea, I guess I just disagree with that line of thinking :P  but thats neither here nor there20:45
nteonis there a way of having a new juju environment pick up a copy of the DB from somewhere?20:45
jcastronteon: it's ok, it's up to you how to run your cloud. :)20:45
jcastrowhich db?20:45
nteonany?  right now mysql, in a month or two, postgres20:46
jcastrooh, well right now both of those charms just apt-get install mysql or postgres20:46
SpamapSnteon: sure, thats how omgubuntu does it, they dump to s3 and new deployments import that dump20:46
SpamapSok gone20:46
jcastrooh I see what you mean20:46
nteonSpamapS: thanks, let me look at the omgubuntu stuff20:47
jcastrohttp://jujucharms.com/~marcoceppi/oneiric/omgubuntu-wp20:47
m_3jcastro: nice, when did we get jujucharms.com?20:48
jcastroa few weeks ago, kapilt'ed20:48
m_3that rocks20:48
nteonyes, I'm looking at db_relation_changed right now20:49
imbrandonheya robbiew , I got juju working on OSX , i need to do a bit more cleanup on the pkg and such but it should be ready for semi public testing in the next 24 hours i'd say, i just had to do some very very wrong things to get zkpython to play nice that i need to work out20:49
imbrandonbut overall its "working" :)20:49
m_3imbrandon: cool20:49
imbrandonm_3: it will be avail via "brew install juju" too :) charm-tools and such are next :)20:50
robbiewimbrandon: nice!20:50
hazmatthe old charms.kapilt.com redirects transparently to the new domain20:51
nteonokay, so I have 2 things I'm interested in: having postgres on a raid, and having a new postgres instance be initialized from an existing db dump.  it looks like the answer is that I would do both with hooks?20:52
imbrandonthe existing db dump will for sure20:52
imbrandonthe raid , it _might_ be better to start with a specific ami ? not sure20:53
nteonimbrandon: okay, so I would roll my own ami in that case I guess20:54
imbrandonnteon: cloud servers are "cheap" in that sense though, i think the more natuaral way to ensure raid levels of service would be full server replication though now a days20:54
imbrandone.g run 2 or 3 postgres instead of one monster20:54
nteonimbrandon: its not space, its speed.  individual ebs disks are too slow20:55
imbrandonthat way it can be scaled with juju to :)20:55
imbrandonnteon: sure i understand that, read replicas are fast20:55
imbrandonnteon: and i'm not 100% sold on the idea, just was the first thing that came to mind20:56
nteonimbrandon: writes are too slow (and unpredictable) on individual ebs volumes20:56
imbrandonnteon: true at high service levels but at that point i'm looking at memcache persistant to the db or RDS like services20:57
imbrandonnteon: but yea a raided ami would likely work20:57
nteonimbrandon: well, RDS does striping over several ebs volumes in the background for you, you just don't have access to a shell on that machine20:57
imbrandonexactly, thus i was talking about doing that too :)20:58
imbrandonnot trying to sell ya on it though, just was making sure you had thought about the other options ;)20:58
hazmatSpamapS, the top link on the browser ('charms') goes straight to the current series now, hopefully that suffices20:59
imbrandonand juju deploy posgress , to scale out more is much sexier than playing with raid imho :)20:59
imbrandonbut yea, infact __one__ way to use an existing dump is the way marcoceppi has setup for when we deploy omgubuntu.co.uk , you can find the charm here to see it as an example, there is alot of omg specific stuff in there just ignore it, and its mysql but i'm sure you can translate the diffs http://jujucharms.com/~marcoceppi/oneiric/omgubuntu-wp21:01
imbrandonnteon: ^^21:01
imbrandonnteon: it grabs the latest backup from s3 and uncompresses it and loads it up if the db is currently blank ( new deploy etc )21:02
imbrandonbut just adding webheads it checks and skips it21:02
imbrandonjcastro: btw when i went to the doc's today i stopped at microcenter and got me a "real" keyboard :) lol21:04
hazmatnteon, we don't have a good way to expose that at the moment re ebs raid volumes, ideally volume management should be in the core21:06
hazmatgiven the available tech, it can either be done inline to the charm at the cost of pushing ec2 creds there21:07
hazmator via an ebs charm that would allow the creation mapping of the volumes21:08
hazmatits really a provider specific functionality so ideally the framework would be to abstract that from a charm perspective21:09
marcoceppiahhhh, I can't turn off binary dumping for some reason21:10
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
imbrandonmarcoceppi / m_3 : added you both to the "juju-hackers" group on github so you should both have direct commit access to the juju brew formula ( and later charm-tools ) etc , if you have other juju related brews feel free to put the forumlas in with the others22:26
imbrandonand i'll make sure they are easy to install etc just like with juju22:27
imbrandonif anyone else has a github acct and wants to help with the OSX juju hacking just ping me and i'll add ya22:27
imbrandon( marcoceppi and m_3 are full admins too and can add ppl as needed as well )22:28
jonojamespage, you there?22:34
m_3imbrandon: cool... thanks, I'll try it out when I get home and have access to an osx box22:47
imbrandonm_3: kk, the instructions at http://juju-hackers.github.com/homebrew-juju/ are a little ahead of themself22:48
imbrandone.g the pull req isnt done yet,but you can just use brew install ./Libraries/Formula/juju.rb22:49
imbrandonfor tonight22:49
jamespagejono: am now - wassup?23:30

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