[13:36] <mhall119> kirkland: around?
[13:36] <kirkland> mhall119: in mtg
[13:37] <mhall119> kirkland: ping me when you're available, we might need help with this orangebox
[14:08] <jamespage> gnuoy, can you review https://code.launchpad.net/~james-page/charms/trusty/nova-cloud-controller/cluster-sync-fix/+merge/234475 please
[14:09] <jamespage> I merged you db sync branch and then realized it was a little bust
[14:09] <jamespage> if you deploy a single unit, related it, then add a new one you end up with no services running anywhere!
[14:32] <kirkland> mhall119: hi
[14:35] <mhall119> hey kirkland, jose was trying to juju bootstrap the box but it seemed to be timing on trying to ssh somewhere
[14:35] <mhall119> he's giving his talk right now though, so I don't know how far he got
[14:36] <kirkland> mhall119: was it working earlier, and just stopped working now?
[14:36] <mhall119> kirkland: no, this was the first time we booted it so far
[14:36] <kirkland> mhall119: really?  I though we shipped that box out on Friday last week, to arrive on Saturday morning?
[14:38] <kirkland> mhall119: the first time you booted it was an hour before his talk?
[14:39] <mhall119> kirkland: It shipped Friday but arrived Tuesday
[14:40] <mhall119> kirkland: and I have no idea what I'm doing with it, my job was to get it to Jose
[15:08] <whit> lazyPower-sprint, heyo
[15:09] <whit> do you have link to the rails framework charm you demoed?
[15:12] <bcsaller> whit: charm get cs:precise/rails
[15:15] <whit> bcsaller, https://manage.jujucharms.com/charms/precise/rails
[15:16] <whit> bcsaller, working on adding some links to your blog post
[16:53] <ayr-ton> hatch, hey you. I'm testing the ghost charm with 4 units behind a haproxy. But theres some strange problems.
[16:54] <hatch> alrighty shoot
[16:59] <ayr-ton> hatch, well. The units doesn't fell to be synced. Sometimes when I refresh, I go to a full new blog, with default name "Ghost" and default welcome post. Sometimes the posts are correct but the title is the default one. And, sometimes the full blog come up.
[17:00] <ayr-ton> hatch, The blog link is http://blog.ayr-ton.net.
[17:00] <hatch> ayr-ton: is the ghost service related to mysql>
[17:00] <ayr-ton> hatch, yep.
[17:01] <hatch> ayr-ton: hmm that;s interesting.....the issue is that some of the units aren't pulling from mysql
[17:01] <hatch> has it been a while since you scaled up?
[17:01] <ayr-ton> hatch, I think not. This appears to be happening since the deploy.
[17:02] <hatch> ayr-ton: did you import these posts before or after you related to mysql?
[17:02] <ayr-ton> after
[17:03] <hatch> hmm....
[17:03] <hatch> could you log into mysql to see if the posts are there?
[17:04] <hatch> ayr-ton: I'm just wondering if the posts ended up in the local sqlite instead of mysql
[17:04] <ayr-ton> One sec.
[17:07] <ayr-ton> aaaaaah
[17:08] <hatch> mysql empty?
[17:09] <ayr-ton> hatch, When I add all the units, I made the relation with the mysql before it finish to deploy. The relation was made only with the units that doesn't failed. I manually fixed the units and after this, the relations with db was not made. I removed the relation and then re-added.
[17:10] <ayr-ton> And all units seems to be fetching data from mysql now.
[17:12] <ayr-ton> Yep. It is fixed.
[17:16] <ayr-ton> hatch, Here is my canvas: https://plus.google.com/+AyrtonAra%C3%BAjo/posts/NrwNy2H3MgZ 4 units for ghost and 2 for mysql.
[17:18] <hatch> and it's fixed now?
[17:18] <hatch> awesome :)
[17:18] <hatch> thanks for keeping on this
[17:19] <ayr-ton> Yes.
[17:19] <hatch> ayr-ton: does your blog get a lot of traffic?
[17:19] <hatch> ayr-ton: also the version of the charm on github is more up to date than the charm in the juju charm browser...if you wanted to pull it down and do a local deploy
[17:19] <ayr-ton> It is fixed.
[17:19] <hatch> awesome :)
[17:19] <hatch> ayr-ton: so is this on one single machine running openstack?
[17:20] <ayr-ton> Nop. Is a manual environment. With 4 vps in wablle.
[17:20] <hatch> ohh awesome
[17:21] <ayr-ton> I got it for a good price. For tests. Probably I will change that scheme for create blogs for some friends.
[17:21] <ayr-ton> But a manual env is a little buggy.
[17:22] <ayr-ton> hatch, A question. If a change the theme, I will need to upload the files to all units? Or it will be automatically synced?
[17:23] <ayr-ton> Or, a better idea would be change the charm and then update it?
[17:24] <hatch> ayr-ton: atm I haven't figured out the best way to do this...I was thinking that I would provide a config field where you could specify a remote repo where it would go and pull the template from
[17:24] <hatch> but that means you would always need to upload it somewhere.....which isn't necessarily ideal
[17:24] <hatch> I'm open to ideas
[17:25] <hatch> btw  I shared your post :)
[17:26] <ayr-ton> hatch, It can be a good start, because normally the themes already are uploaded at github, like this one: https://github.com/daleanthony/Uno
[17:27] <hatch> ayr-ton: feel free to file any feature requests or if you would have liked better readme documentation https://github.com/hatched/ghost-charm/issues
[17:28] <ayr-ton> I would love to \o/
[17:29] <ayr-ton> hatch, Can I fork it to try to help in this?
[17:33] <hatch> ayr-ton: you bet - i'd like to keep the charm in JS as much as possible just because Ghost is written in JS
[17:33] <ayr-ton> Ok. Got it.
[17:34] <hatch> ayr-ton: if you're going to work on a feature as well it would be nice to open up an Issue to discuss it just so you don't waste time on something that won't work out or something
[17:38] <ayr-ton> hatch, I will add comments in an existing issue I just saw.
[17:38] <hatch> great!
[17:38] <hatch> ayr-ton:  also if you found some bugs with the manual provider plz file those issues with juju
[17:39] <ayr-ton> Ok (:
[19:52] <marcoceppi> hatch: did you ever use that charm.js charmhelper?
[19:52] <hatch> marcoceppi: I did not
[19:53]  * marcoceppi pulls latest code
[19:53] <hatch> marcoceppi: writing charms in js is kind of a pita tbh....a lot of the things that need to happen are synchronous but node doesn't have a blocking shell-out
[19:54] <marcoceppi> right, so joyent wrote some charmhelpers to help with that
[19:54] <hatch> https://github.com/hatched/ghost-charm/blob/master/hooks/balancer-relation-changed for example
[19:54] <hatch> oh yeah? did they use promises?
[19:55] <hatch> where can I find this charm.js?
[19:55] <marcoceppi> hatch: I'm looking for examples, it wasn't promises but callbacks iirc
[19:56] <marcoceppi> hatch: I'd love to get them organized and added as another language for charmhelpers, but they're not really being worked on anymore
[19:56]  * marcoceppi winks heavily at hatch
[19:56] <hatch> haha
[19:58] <hatch> marcoceppi: with the ghost charm I didn't really see anywhere where a helper would really simplify things
[19:58] <hatch> it's pretty simple already
[19:58] <marcoceppi> hatch: true, but it does things like wrap config-get and relation-get/set much like the host.py does for python charmhelpers
[19:58] <hatch> I think we need another service which makes sense to write a charm in js to get a real good idea about where it should go
[19:58] <marcoceppi> making it more javascripthonic
[19:58] <hatch> yeah those things would be nice
[19:59] <hatch> marcoceppi: maybe if there was more than my charm written in js :)
[20:04] <marcoceppi> hatch: http://bazaar.launchpad.net/~dstroppa/charms/precise/node-app/refactor-hooks/files/head:/lib/ this is what I found, I thought they were a little more...involved
[20:05] <hatch> yeah that's pretty much what I thought it would end up being
[20:06] <hatch> is there any documentation about this charm? blog posts, vids etc? Looks really detailed
[22:01] <eckes> hey, a quick question when using amazon juju reads AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY envs, however Amazon's EC2 tools use AWS_ACCESS_KEY / AWS_SECRET_KEY. IS there a reason why it is not the standard env vars?
[22:18] <eckes> well, i reported it as a bug, thanks  https://bugs.launchpad.net/juju-core/+bug/1368981
[22:18] <mup> Bug #1368981: juju uses environment variables different from AWS EC2 tools <aws> <juju-core:New> <https://launchpad.net/bugs/1368981>