/srv/irclogs.ubuntu.com/2014/09/12/#juju.txt

=== urulama-afk is now known as urulama
=== BradCrittenden is now known as bac
=== CyberJacob|Away is now known as CyberJacob
=== b is now known as Guest39961
=== CyberJacob is now known as CyberJacob|Away
mhall119kirkland: around?13:36
kirklandmhall119: in mtg13:36
mhall119kirkland: ping me when you're available, we might need help with this orangebox13:37
=== scuttle|afk is now known as scuttlemonkey
=== cmagina_ is now known as cmagina
jamespagegnuoy, can you review https://code.launchpad.net/~james-page/charms/trusty/nova-cloud-controller/cluster-sync-fix/+merge/234475 please14:08
jamespageI merged you db sync branch and then realized it was a little bust14:09
jamespageif you deploy a single unit, related it, then add a new one you end up with no services running anywhere!14:09
kirklandmhall119: hi14:32
mhall119hey kirkland, jose was trying to juju bootstrap the box but it seemed to be timing on trying to ssh somewhere14:35
mhall119he's giving his talk right now though, so I don't know how far he got14:35
kirklandmhall119: was it working earlier, and just stopped working now?14:36
mhall119kirkland: no, this was the first time we booted it so far14:36
kirklandmhall119: really?  I though we shipped that box out on Friday last week, to arrive on Saturday morning?14:36
kirklandmhall119: the first time you booted it was an hour before his talk?14:38
mhall119kirkland: It shipped Friday but arrived Tuesday14:39
mhall119kirkland: and I have no idea what I'm doing with it, my job was to get it to Jose14:40
whitlazyPower-sprint, heyo15:08
whitdo you have link to the rails framework charm you demoed?15:09
bcsallerwhit: charm get cs:precise/rails15:12
whitbcsaller, https://manage.jujucharms.com/charms/precise/rails15:15
whitbcsaller, working on adding some links to your blog post15:16
=== allomov__ is now known as allomov
=== jog_ is now known as jog
ayr-tonhatch, hey you. I'm testing the ghost charm with 4 units behind a haproxy. But theres some strange problems.16:53
hatchalrighty shoot16:54
ayr-tonhatch, 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.16:59
ayr-tonhatch, The blog link is http://blog.ayr-ton.net.17:00
hatchayr-ton: is the ghost service related to mysql>17:00
ayr-tonhatch, yep.17:00
hatchayr-ton: hmm that;s interesting.....the issue is that some of the units aren't pulling from mysql17:01
hatchhas it been a while since you scaled up?17:01
ayr-tonhatch, I think not. This appears to be happening since the deploy.17:01
hatchayr-ton: did you import these posts before or after you related to mysql?17:02
ayr-tonafter17:02
hatchhmm....17:03
hatchcould you log into mysql to see if the posts are there?17:03
hatchayr-ton: I'm just wondering if the posts ended up in the local sqlite instead of mysql17:04
ayr-tonOne sec.17:04
ayr-tonaaaaaah17:07
hatchmysql empty?17:08
ayr-tonhatch, 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:09
ayr-tonAnd all units seems to be fetching data from mysql now.17:10
ayr-tonYep. It is fixed.17:12
ayr-tonhatch, Here is my canvas: https://plus.google.com/+AyrtonAra%C3%BAjo/posts/NrwNy2H3MgZ 4 units for ghost and 2 for mysql.17:16
hatchand it's fixed now?17:18
hatchawesome :)17:18
hatchthanks for keeping on this17:18
ayr-tonYes.17:19
hatchayr-ton: does your blog get a lot of traffic?17:19
hatchayr-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 deploy17:19
ayr-tonIt is fixed.17:19
hatchawesome :)17:19
hatchayr-ton: so is this on one single machine running openstack?17:19
ayr-tonNop. Is a manual environment. With 4 vps in wablle.17:20
hatchohh awesome17:20
ayr-tonI got it for a good price. For tests. Probably I will change that scheme for create blogs for some friends.17:21
ayr-tonBut a manual env is a little buggy.17:21
ayr-tonhatch, A question. If a change the theme, I will need to upload the files to all units? Or it will be automatically synced?17:22
ayr-tonOr, a better idea would be change the charm and then update it?17:23
hatchayr-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 from17:24
hatchbut that means you would always need to upload it somewhere.....which isn't necessarily ideal17:24
hatchI'm open to ideas17:24
hatchbtw  I shared your post :)17:25
ayr-tonhatch, It can be a good start, because normally the themes already are uploaded at github, like this one: https://github.com/daleanthony/Uno17:26
hatchayr-ton: feel free to file any feature requests or if you would have liked better readme documentation https://github.com/hatched/ghost-charm/issues17:27
ayr-tonI would love to \o/17:28
ayr-tonhatch, Can I fork it to try to help in this?17:29
hatchayr-ton: you bet - i'd like to keep the charm in JS as much as possible just because Ghost is written in JS17:33
ayr-tonOk. Got it.17:33
hatchayr-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 something17:34
ayr-tonhatch, I will add comments in an existing issue I just saw.17:38
hatchgreat!17:38
hatchayr-ton:  also if you found some bugs with the manual provider plz file those issues with juju17:38
ayr-tonOk (:17:39
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
marcoceppihatch: did you ever use that charm.js charmhelper?19:52
hatchmarcoceppi: I did not19:52
* marcoceppi pulls latest code19:53
hatchmarcoceppi: 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-out19:53
marcoceppiright, so joyent wrote some charmhelpers to help with that19:54
hatchhttps://github.com/hatched/ghost-charm/blob/master/hooks/balancer-relation-changed for example19:54
hatchoh yeah? did they use promises?19:54
hatchwhere can I find this charm.js?19:55
marcoceppihatch: I'm looking for examples, it wasn't promises but callbacks iirc19:55
marcoceppihatch: I'd love to get them organized and added as another language for charmhelpers, but they're not really being worked on anymore19:56
* marcoceppi winks heavily at hatch19:56
hatchhaha19:56
hatchmarcoceppi: with the ghost charm I didn't really see anywhere where a helper would really simplify things19:58
hatchit's pretty simple already19:58
marcoceppihatch: true, but it does things like wrap config-get and relation-get/set much like the host.py does for python charmhelpers19:58
hatchI think we need another service which makes sense to write a charm in js to get a real good idea about where it should go19:58
marcoceppimaking it more javascripthonic19:58
hatchyeah those things would be nice19:58
hatchmarcoceppi: maybe if there was more than my charm written in js :)19:59
marcoceppihatch: 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...involved20:04
hatchyeah that's pretty much what I thought it would end up being20:05
hatchis there any documentation about this charm? blog posts, vids etc? Looks really detailed20:06
eckeshey, 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:01
=== CyberJacob|Away is now known as CyberJacob
eckeswell, i reported it as a bug, thanks  https://bugs.launchpad.net/juju-core/+bug/136898122:18
mupBug #1368981: juju uses environment variables different from AWS EC2 tools <aws> <juju-core:New> <https://launchpad.net/bugs/1368981>22:18
=== HankM00dy is now known as thehe
=== mup is now known as 16WAAEA3S
=== beisner- is now known as beisner
=== ayr_ton is now known as ayr-ton
=== ming is now known as Guest38185
=== CyberJacob is now known as CyberJacob|Away
=== makyo_ is now known as Makyo
=== rodlogic is now known as Guest11715

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