/srv/irclogs.ubuntu.com/2014/06/08/#juju.txt

=== OutOfControl is now known as benonsoftware
_thumper_mhall119: around?00:33
=== _thumper_ is now known as thumper
* thumper is reading a charm written with the python charm helpers00:40
thumperpretty nice...00:41
jcw4thumper: which charm?00:55
thumperlooking at python-django right now00:55
thumperto try and work out WTF is going on00:55
jcw4heh00:55
thumperbut the charm helpers themselves are pretty nice00:55
jcw4cool00:55
vorpalbunnywell that's frustrating01:19
=== vorpalbunny is now known as thumper
thumperno local charm support for the deployer01:20
thumperhazmat: is that right still?01:20
thumperhazmat: can't specify a local charm in a bundle description?01:20
thumpergrr...03:14
thumperwell this confused me for a while: unit_name = service_name()03:15
lazyPowerthumper: didja file a bug?04:55
thumperlazyPower: no05:26
thumperlazyPower: but I feel I may be forking and tweaking the python-django charm05:26
lazyPowerthumper: Thats the beauty of our system :) Use as little or as much of the charm as you need, remix to fit your purpose and contribue or hoard as you see fit.05:26
thumperlazyPower: well...05:27
thumperI feel there is a big deficiency in our system too05:27
lazyPowerdo tell05:27
thumpermainly in consistency, and usability of the charms05:27
lazyPowerhow so?05:27
thumperif you try and do anything non-vanilla05:27
thumperyou get stuck05:27
thumperunless you read all the code05:27
thumperwhich I have had to do05:27
thumpernot entirely sure if that is what we want05:27
lazyPowerI'm not sure what you mean - and thats probably why the new python-django charm isn't ack'd into the store.05:28
thumperthe charms just don05:28
thumperdon't have enough documentation to understand enough05:28
lazyPowerif you're talking about non-default settings.05:28
thumperright05:28
lazyPowerYeah, i'm combatting that with teh DNS charm - trying to raise teh bar05:28
lazyPowerwant to take a peek?05:28
thumperlazyPower: I've talked with alexisb about my problems05:28
thumperand we are going to bring it up with your group05:28
thumperbut I want to get things going and write stuff up first05:29
thumperthat way it is a positive contribution05:29
thumperrather than just bitching :-)05:29
lazyPowerthumper: having a good list to guide with yoru pain points, to revise the review process would be welcome.05:29
lazyPowers/yoru/your/05:29
thumperI feel that others have probably done what I'm doing before, but it just isn't clear05:29
thumpernor are there examples or samples to move forwards05:30
lazyPowerthumper: https://github.com/chuckbutler/dns-charm05:30
lazyPowertake a look through the readme and doc05:30
thumperfor example: a subordinate charm for python-django to provide the application05:30
thumperI'm having to figure it out as I go05:30
thumperand it is a big pile of trial and error05:30
lazyPowerthumper: I'm a fan of that architecture - is it not very well documented? or ...05:30
thumperI know others would just not bother05:30
thumperbut I know the benefits I want from the system05:31
thumperjust not well documented05:31
lazyPowera good example of that is the new Tomcat charm from mbruzek05:31
lazyPowerapps occupy space as subs, with tomcat providing just the app server05:31
thumperlazyPower: for local charms, how do I upgrade them?05:31
thumperwhere is the versioning?05:31
lazyPowerjuju upgrade-charm --repository=$foopath charmname05:31
lazyPowerit auto-increments the REVISION05:31
thumperah...05:31
thumperok05:32
thumperalso, the source of python-django recommends using nginx as a reverse proxy in front of gunicorn05:32
thumperbut examples?05:32
thumpernope05:32
* thumper goes back to making dinner05:32
lazyPowerthumper: until yesterday we didn't have an NGINX charm05:33
lazyPowerso there's no example to provide05:33
lazyPowerthere was a general consensus among a few charmers that NGINX should be rolled into whatever framework charm you're deploying instead of deploying NGINX + <framework>05:33
lazyPowermarcoceppi wrote an alpha quality NGINX charm to bundle into a demo that I'm farily certain he is planning on releasing in the coming weeks that will fit that bill pretty well05:34
thumperhmm...05:36
thumperok, so perhaps I'll just deploy gunicorn at port 80 for now05:36
thumpergiven that the site load will be very small to start with05:37
thumperand look to fix later?05:37
thumperalthough that feels wrong too05:37
thumperas the static area really shouldn't go through python05:37
thumperlazyPower: is nginx a subordinate?05:37
lazyPowerNegative05:37
thumperhmm...05:37
lazyPowerIts a stand-alone05:37
thumperso...05:38
thumperhow should I do it then?05:38
* thumper wonders05:38
lazyPowerI would imagine you would co-locate services. I'm not really familiar with how its put together05:38
thumperalso, what's the status of the new python-django charm?05:38
thumperI have forked it locally05:38
thumperto read and play05:38
lazyPowerI haven't looked at it since my last review.05:38
thumperwell, your review said approve05:39
thumperI didn't look at the details though05:39
thumperwhat's the process?05:39
lazyPowerLatest change: 2014-05-12 Charles Butler Patrick Hetu 2014-05-02 fix a wrong configuration variable name - is the commit message on python-django in the store. i'm looking for this MP you're referencing05:40
lazyPowerthumper: what you're referencing is upstream. its whats provided by cs:precise/python-django05:43
lazyPowercs:trusty/python-django05:43
lazyPowerrather05:43
lazyPowerhttp://bazaar.launchpad.net/~charmers/charms/trusty/python-django/trunk/files05:43
lazyPowerthumper: however, this looks like it was an oversight on my part. I went back through my review notes and I have an action item to follow up on - this repository doesn't share a common ancestor with the precise python-django charm - and I didn't make it back to wrapping that up. I don't know how to promulgate this over whats existing.05:48
lazyPowercomplete failure on my part05:48
thumperlazyPower: so is this new one going to be trusty or precise or both?05:49
lazyPowerIt's in trusty - I need to defer the precise/both decision until I've spoken with other charmers05:50
thumperlazyPower: it looks like I'm going to have six or seven charms for my setup05:50
thumperack05:50
lazyPowerthat's not something i'm comfortable cowboying myself, as it has implications with existing deployments.05:50
thumperso trusty/python-django is the new hotness?05:50
lazyPowerthats the story for today05:50
thumperlazyPower: you can get a common ancestry easily enough05:50
lazyPowerit may change on monday after i've convened with ~charmers05:50
thumperI think this will work:05:50
thumperstart with the new branch05:50
thumpermerge in the original05:51
thumperbzr revert .05:51
thumperwhich reverts the changes but not the merge05:51
thumperthen commit05:51
thumperthen you can merge that into the old charm05:51
thumpershazam05:51
lazyPowerthumper: Thats good info to have, but again it depends on if its going to break how existing deployments using cs:precise/python-django - and that's something I need to re-validate.05:51
* thumper nods05:51
thumperthe behaviour needs to match, right?05:51
thumperI can see that this needs careful testing05:52
lazyPowerexactly05:52
lazyPowerif it winds up breaking the existing story (which if i remember correctly it doesnt, but -- this is > 2 weeks old so...) then we broke deployments everywhere to anybody that upgrades05:53
lazyPowerand I don't want to poo on our existing users05:53
* thumper nods05:53
* thumper heads back to the kitchen05:53
lazyPowerI'd rather tell you tod eploy trusty, and know its good, vs assuming.05:53
thumperlazyPower: hmm... due to me being cheap, I was wanting to put everything on one box06:25
thumpernot sure if postgresql is trusty yet or not06:25
thumpereasy way to check?06:25
lazyPowerPut it in your local trusty charm repo and deploy it.06:25
thumperneed block-storage-broker06:25
thumperah06:25
thumperwill try that06:26
thumperbut then I can't use deployer script...06:26
thumperoh well06:26
thumperbundle can't reference local can it?06:26
* thumper sees places for things to improve a lot06:26
lazyPowerYou can push that LP and deploy from there06:29
lazyPowerAlso I believe if you pass full path to the local charm you can deploy local charms.I may be wrong though06:32
lazyPowerI know that works in deployer manifest format. Ppetraki built an offline archiver with that principal06:35
jamespagedesignated, those branches introduce two new configuration options - ceph-public-network and ceph-cluster-network07:59
jamespageyou specify the network cidr and the charm figures out which configured network addresses to use07:59
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
=== plars is now known as plars-away
mhall119thumper: off and on, what's up?14:19
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
Eegoistwhy relation-get return None, even if unit is on relation-list?18:15
=== Eegoist is now known as Egoist
=== CyberJacob is now known as CyberJacob|Away

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