/srv/irclogs.ubuntu.com/2013/06/05/#juju.txt

=== alexlist` is now known as alexlist
zirpuis there a way to recover from a bootstrap node going away?  any HA for that? docs?00:01
SpamapSzirpu: in the upcoming 2.0 HA will be built in via mongodb magic.01:24
SpamapSzirpu: for 0.x You can make the Zookeeper HA but you have to do it manually.01:24
SpamapSzirpu: and if the IP goes away you have to have a way to get to every box and update the IP.01:24
zirpuSpamapS: thanks.02:11
zirpui'm using 1.11.x currently and was just trying to work out how to make it more resiliant to losing the bootstrap node.02:12
zirpuseems to me a zookeeper cluster of >3 nodes would be more resilient than mongodb.  i'll search the docs and 2.0 code.02:15
=== defunctzombie_zz is now known as defunctzombie
=== SpamapS_ is now known as SpamapS
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== thumper is now known as thumper-afk
=== mthaddon` is now known as mthaddon
=== TheRealMue is now known as TheMue
=== rbasak_ is now known as rbasak
=== rogpeppe2 is now known as rogpeppe
=== shadeslayer_ is now known as shadeslayer
=== dimitern_ is now known as dimitern
=== wedgwood_away is now known as wedgwood
=== jcsackett_ is now known as jcsackett
=== mbarnett` is now known as mbarnett
=== BradCrittenden is now known as bac
=== jono is now known as Guest19882
=== vednis is now known as Guest60046
=== dspiteri is now known as Guest86044
=== thumper is now known as Guest13680
=== defunctzombie_zz is now known as defunctzombie
=== Guest19882 is now known as jono
=== jono is now known as Guest85454
=== fss is now known as f55
CampbellHas anyone seen this error when trying to run juju bootstrap on a MAAS environment? error: file 'provider-state' not found15:16
=== LarsN_ is now known as LarsN
=== defunctzombie is now known as defunctzombie_zz
Campbellhttp://askubuntu.com/questions/288681/juju-with-maas-error-file-provider-state-not-found15:22
Campbellnot the only person with this problem15:23
=== Geek_Juice is now known as Bryanstein
jcastrocharm meeting in 10 minutes folks!15:50
jcastroCampbell: I tacked a bounty on it15:50
jcastroFor anyone who wants to join in on the Google Hangout for today's charm meeting:15:57
jcastrohttps://plus.google.com/hangouts/_/9db7982e06dd26d8c4690d33f54e230382f094dd?authuser=0&hl=en15:57
=== stevanr_ is now known as stevanr
jcastroor you can just follow along on http://ubuntuonair.com15:58
arosales_jcastro, thanks15:58
=== jibel_ is now known as jibel
arosales_Pad and more info @ https://juju.ubuntu.com/community/weekly-charm-meeting/15:59
arosales_pad @ http://pad.ubuntu.com/7mf2jvKXNa16:00
rick_h__ouch, nickroughing things up16:10
=== benji is now known as Guest54884
=== Guest54884 is now known as benji
arosales_evilnickveitch, be nice to have a juju version selection like this in the docs16:30
arosales_http://developer.android.com/reference/packages.html16:30
arosales_so you get the recent up front, but you can select which version and see the same page be updated.16:30
=== arosales_ is now known as arosales
evilnickveitcharosales, yes, that would be nice!16:31
arosalesperhaps marcoceppi has some hints on how to accomplish this16:31
marcoceppiarosales: evilnickveitch could seed it during the "build" process16:32
=== jamespag` is now known as jamespage
hazmatHi Campbell16:58
CampbellHello16:59
marcoceppievilnickveitch: where's the latest docs branch?16:59
* marcoceppi wants to get redirects ready16:59
evilnickveitchmarcoceppi, it should be on ~evilnick/juju/go-juju-docs17:06
marcoceppievilnickveitch: thanks17:06
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
=== marrusl is now known as marrusl_really
=== sarnold_ is now known as sarnold
=== andreas__ is now known as ahasenack
=== swebb_ is now known as swebb
jcastrom_3: heya20:38
jcastrothe liferay guys just pinged me out of the blue20:38
jcastrothey made a charm and want to know how to submit it, I mailed them the instructions20:38
jhfjcastro: hey this is me (James) from Liferay :)20:39
jhfgonna submit it asap20:40
jhfit was ridiculously easy to create, I should have done this months ago.20:40
jcastrono worries, we can review it no problem.20:40
jcastroI'll work up on a blog post too that we can run on planet and on the website20:41
jhfI also installed juju-gui and 'shopped up a marketing pic20:41
jhfhttp://twitpic.com/cvgtj120:41
jhf:)20:41
=== f55_ is now known as fss
jcastroyeah!20:42
jcastrohey did you try sticking an haproxy on the front and adding liferay units?20:42
jhfnope.. but I can try.. this is using lxc, will that blow up my machine (a mac running 13.04 via virtual box) :)20:43
jcastroyou don't want to go over a few.20:43
jcastrobut maybe m_3 can fire up more when he reviews it.20:43
jcastrowe'd like to have a juju vagrant backend at some point so you can do a container-like experience on OSX20:43
jhfyeah that would be cool..20:44
=== Guest13680 is now known as thumper
=== thumper is now known as Guest2101
=== Guest2101 is now known as _thumper_
=== Guest85983 is now known as thumper
jhfbtw jcastro I just pushed the liferay charm22:38
jhfhttp://bazaar.launchpad.net/~james-falkner/charms/precise/liferay/trunk/files22:39
jhfhope I didn't f it all up22:39
sarnoldjhf: some thoughts from the peanut gallery :) .. 'start' doesn't start it, but the db-relation-changed hook starts it; and since it uses a shell script, it looks like it won't restart automatically on host reboots?22:41
sarnoldjhf: .. and install doesn't do any verification of what it downloads; are there gpg signatures that you can check? (if not, can there be? :)22:42
jhfsarnold: ya I was wondering about that - I am a very new juju charm developer, and was just following the example (which also uses an empty start hook (!))22:43
sarnoldjhf: oh :) hehe22:43
jhfand no, it won't restart automatically on host reboot.  my plan there is to link this to tomcat eventually with a relation, so that tomcat can manage it.22:43
jhfwhich is kinda weird, because now juju and tomcat manage the lifecyle of the charm.22:43
jhfalso nope; no downloads. I could check the signature.. would it be proper to bake the expected signature into the charm? that seems wrong because it would likely change often, as new releases come out.22:44
jhferr..  that should have been "also nope; no signature checking on download" :)22:45
sarnoldjhf: baking in an sha1 sum of the tarball probably wouldn't be ideal, but if there's a small group of people who do releases, you could bake in their gpg keyids..22:46
jhfon the lifecycle thing: it's weird because tomcat could "stop" or undeploy a web app, and juju wouldn't "know" that this happened, so it would think that the web app (potentially representing a juju service) was still running.22:46
sarnold(incidentally, this is an area where I think the juju team could provide some Very Useful little utilities to do simple things like check gpg sigs on tarballs.. I'd even like to help make it happen, but with what time, you know? :)22:47
sarnoldjhf: that is a bit awkward.22:47
sarnoldjhf: but I think the juju user would probably want juju to manage tomcat.22:47
jhfthe other issue I was wondering.. reconfiguring a db relation is not exactly a lightweight thing most of the time. in Liferay's case, if you reconfigure it, and it triggers the db-relation-changed hook, I would have to stop and restart liferay for it to 'take effect' which is a pretty major lifecycle operation for a web app.  this is another reason why I didn't know what to do with the 'start' hook.  you can 'start' Liferay without configuring a db (it will22:50
jhfdefault to an embedded hsql db).  But my concern is that if I put "real" start code into the start hook, that juju would install liferay, start it, then an admin would add the db relation, and juju would invoke the charm's db-relation-changed hook while Liferay was still initializing, and all hell would break loose.22:50
jhfI mean, if Liferay takes 60s to come up, what if 3 db-relation-changed events occur during that time? do I have to pepper my hooks with "if you're busy, then queue and/or ignore this event" ?22:52
sarnoldjhf: aha :) that's what makes this cool -- you know that, and you design to make it work well. :) I'd have screwed that up, and people would have grumbled at me. :)22:52
=== wedgwood is now known as wedgwood_away

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