[00:21] cory_fu: I'm trying to figure out the config templating stuff. I created a jinja2 database.yml template, and passed a bunch of arguments to render_template. Python is complaining that I'm passing in unexpected keyword arguments. The docs say that render_template will merge all of the "required_data contexts" together. I don't know what that means. How do I pass arguments into my template? [00:22] I'm reading these docs development: <<: *default database: autoponics_control_panel username: railsdev password: password [00:22] nope [00:22] these ones http://pythonhosted.org/charmhelpers/examples/services.html?highlight=jinja2 [00:27] lazyPower: looks like cory_fu isn't here. Can you help me out with the templating stuff? [00:35] dalek57: hang on reading the backscroll [00:36] I'm on my way out for the evening but i can surely give you some pointers [00:36] dalek57: show me some code, i'd like to see the template, the render template code, and the stacktrace you got if you can round all three of those up for me [00:38] lazyPower: yep, just a sec [00:43] lazyPower: http://pastebin.com/6kTipXDm [00:44] ah [00:44] you ned to pss those values in as a dictionary [00:44] do I need to pass them in with a keyword arg? [00:44] not unless you reference them with a keyword [00:45] but the dictionary doesn't need to be identified by a keyword arg? [00:48] dalek57: it looks like i'm wrong looking over the SF docs [00:49] I'd need to dive deeper into the code or fish up an example out of our cloudfoundry suite to find one for you [00:49] let me link you to that - but i gotta jet afterwords [00:55] dalek57: i'm not finding a good reference example :( I'm sorry. If you dont figure it out feel free to ping me in the AM [00:55] i'll either tag in cory to come help or find you a definitive example [00:55] Best of luck [00:55] lazyPower: no worries! I'll look through some other charms. I'll be around tomorrow. Have a good evening. [01:33] are there any people left here that can help me with charmhelpers? === swebb_ is now known as swebb === scuttlemonkey is now known as scuttle|afk === scuttle|afk is now known as scuttlemonkey === lazyPower is now known as lp|BagelRun === roadmr is now known as roadmr_afk === lp|BagelRun is now known as lazyPower === roadmr_afk is now known as roadmr [15:13] marcoceppi: so, yeah - overwhelming response in favor of the info you gave me yesterday regarding --upload-tools [15:13] there be dragons there [15:17] lazyPower :) I only know from experience [15:31] nicopace: hey, no need to open bugs for your mps - they're handled separately [15:47] jose: the idea is to start a conversation about the need for that test [15:48] nicopace: not sure it's needed - if it's in the review queue a charmer will take a look and see if it fits, if it doesn't a discussion will be started on the mp [15:48] anyways, subject to different opinions. [15:48] jose: so i don't waste time implementing a test that is not required, or to receive feedback from before implementing it. [15:48] oh, i'm creating issues for tests that are not implemented [15:49] not for the ones that i've already implemented [15:49] oh, ok [15:50] i have a question... how can i know who is the mantainer of a certain charm? (e.g. apache2) [15:50] metadata.yaml [15:51] thanks! [15:54] np [15:56] guys, the "Iterface docs >" hyperlink here doesn't work: http://manage.jujucharms.com/interfaces/http [15:56] any idea where to fill that bug? [16:01] nicopace: not quite sure, that webpage is going away soon to begin with. rick_h_ ^ ? [16:02] marcoceppi: nicopace hmm, that points to https://juju.ubuntu.com/Interfaces/http which doesn't exist [16:02] marcoceppi: and which one is going to replace it? it is so simple to search for interfaces and charms that implement them! [16:02] rick_h_: right [16:03] marcoceppi: so yea that site is going away. I think that should point to https://jujucharms.com/docs/authors-interfaces [16:03] nicopace: [16:03] ^ [16:07] ok, thanks rick_h_ ! [16:25] jamespage, https://code.launchpad.net/~gnuoy/charms/trusty/ceph-radosgw/next-support-ha/+merge/243263 if you get a chance [16:43] I ran remove-service, status now says life: dying, and agent-state: started and the agent seems to be hung, doing nothing. [16:44] is there a way to kick an agent into action? [16:45] jrwren: any relations to the unit? [16:45] Is the bundle equivalent of exposing a service "expose: true" or "exposed: true"? [16:46] lazyPower: yes, relations. I'll remove them, but I have done this 20+ times in teh past week+ and never had this issue. [16:46] jrwren: was just going to say - if any of them are in error state its trapping hook execution on the remove-service [16:47] lazyPower: nothing is in error state [16:47] jrwren: use a big hammer [16:47] lazyPower: assume this is production adn would cost me $$$ to use a hammer :) [16:48] jrwren: if teh agent state isn't changing - is there any output in debug-log in the last 500 or so lines for the unit? [16:49] lazyPower: nothing significant AFAICT. "got service change", "no new charm event", "go relations change", "got unit change", "unit is dying" [16:50] jrwren: are you sure a hook isn't currently running on the unit? [16:50] jrwren: ps -aef | grep hook [16:50] marcoceppi: nothing but the grep :) [16:51] jrwren: what about a grep for juju? [16:51] marcoceppi: the machine and unit agents. === scuttlemonkey is now known as scuttle|afk [17:01] Does juju cache charms even after destroying an environment? [17:10] seal: yes [17:11] marcoceppi: thank you, where can I remove this. I am trying to figure out why a jenkins git plugin does not install even though I changed the config [17:39] o/ [17:39] cory_fu: you can download the modified chadoop charm version here https://fr-1.storage.online.net/mwak/hadoop.tar.gz === scuttle|afk is now known as scuttlemonkey === roadmr is now known as roadmr_afk === roadmr_afk is now known as roadmr === roadmr is now known as roadmr_afk [20:26] charm-helper templating (via charm create -t python) appears to be broken in charm-tools 1.5.0, workaround presumably is to just grab the bzr branch? === roadmr_afk is now known as roadmr [20:28] blr: thats charm-tools [20:28] charm create -t that is. [20:29] lazyPower: right, but I gather that should scaffold a charm with charm-helpers, it does not do that [20:29] lazyPower: i think thry mean the charm-helper charm template [20:29] blr: I haven't had an issue, what are you seeing? [20:30] marcoceppi: https://bugs.launchpad.net/charm-tools/+bug/1395560 [20:30] Bug #1395560: "create -t python " does not install lib/charmhelpers [20:30] ah [20:30] no hooks.py symlinking, no charm-helpers.yaml [20:30] blr: thats a services framework template, and it pip installs. [20:30] blr: i think what you're looking for is charm create -t python-basic [20:31] lazyPower: ah ok, looks like the docs on http://pythonhosted.org/charmhelpers/getting-started.html potentially need updating? [20:31] can you give that a go and let me know? === kadams54 is now known as kadams54-away [20:31] blr: yes, so we're pushing a 1.6.0 soon which will do a few things: 1) it'll prompt on first run the default type of template you wish to use, 2) it'll rename python to python-services [20:32] sweet, that does what you would expect lazyPower and marcoceppi [20:32] thanks guys [20:32] np blr, sorry for the confusion [20:32] and thanks for the pointer @ the docs. We'll get that shored up shortly [20:32] cheers :) [20:34] https://bugs.launchpad.net/charm-helpers/+bug/1411412 [20:34] Bug #1411412: getting-started docs needs updating === urulama is now known as urulama__ === TheRealMue is now known as TheMue === X-Rob_ is now known as X-Rob === Tribaal_ is now known as Tribaal === mwhudson_ is now known as mwhudson === Viperz28 is now known as Guest82007 === nottrobin is now known as nottrobin_