[00:01] <_mup_> juju/hook-alias-expansion-redux r471 committed by kapil.thangavelu@canonical.com
[00:01] <_mup_> report signal that caused hook to terminate
[00:04] <negronjl> jcastro:  How do you guys monitor the queue of charms that need to be reviewed ?
[00:05] <negronjl> jcastro:  If you add me to whatever notification method is in place, I can be more responsive.  Right now, I just look at the Charm needed bugs and go from there but, there is also what almost happened today .. I almost started reviewing a charm that SpamapS was working on ...
[00:05] <negronjl> jcastro:  I guess a bit more structure on the process would help ( at least me ) working through this in a more efficient manner without stepping on any "toes" :)
[00:08] <SpamapS> negronjl: I just look at all the bugs tagged 'new-charm' periodically
[00:08] <SpamapS> negronjl: I tend to only really look hard at the New/Confirmed/Triaged ones
[00:08] <SpamapS> tho from time to time I will click through to the Incomplete/In Progress ones and see if somebody forgot to change the status
[00:09] <negronjl> SpamapS: Do you assign the bug to yourself when you are reviewing ?  How do I know that you are not already working on it ?  Do you comment on the bug ?
[00:11] <SpamapS> negronjl: I don't, I think its fine if 2 people review the same charm.
[00:12] <SpamapS> negronjl: but to that end, its probably a good idea. :)
[00:13] <negronjl> SpamapS: ok .. I think we could either comment on the bug or assign it to ourselves while reviewing ( probably both ) so we know that there may be someone already looking at it and we could ask/coordinate better.
[00:13] <SpamapS> negronjl: thus far I haven't seen much duplication, but yes, that sounds like a good plan
[00:15] <SpamapS> negronjl: ahh, your distcc was "Fix Committed" .. I should add that to the bug statuses that I dig further into
[00:16] <negronjl> SpamapS: What's the norm for when you get a charm done .... I thought fix committed would be appropriate ...
[00:19] <SpamapS> negronjl: I actually think you're right.
[00:19] <SpamapS> negronjl: I just was focusing on Confirmed/Triaged/New
[00:50] <SpamapS> negronjl: distcc reviewed
[01:18] <negronjl> SpamapS: cool .... I can promulgate it then
[01:19] <negronjl> SpamapS: spoke too soon ... I'll read the review and check things out
[01:48] <SpamapS> negronjl: sorry, I had a redbull right before I reviewed it ;)
[01:48] <negronjl> SpamapS: no worries ... I'll work on it
[01:48] <SpamapS> negronjl: like I said, the only thing you actually really need to fix is the hostname -f's
[01:48] <SpamapS> negronjl: the other stuff is just me nit picking you to death
[01:48] <negronjl> SpamapS: nah .. I'll fix it all ... do it right or don't do it ;)
[06:05] <hazmat> m_3, new charm runner uploaded w/ fix for snapshot
[08:12] <basil_kurian_> Hi
[08:12] <basil_kurian_> How can I run the juju hooks within the instances ?
[08:12] <basil_kurian_> root@root-local-drupal6-0:/var/lib/juju/units/drupal6-0/charm/hooks# ./db-relation-changed
[08:12] <basil_kurian_> usage: unit-get [-h] [-o OUTPUT] [-s SOCKET] [--client-id CLIENT_ID]
[08:12] <basil_kurian_>                 [--format FORMAT] [--log-file FILE]
[08:12] <basil_kurian_>                 [--log-level CRITICAL|DEBUG|INFO|ERROR|WARNING]
[08:12] <basil_kurian_>                 setting_name
[08:12] <basil_kurian_> No JUJU_AGENT_SOCKET/-s option found
[08:41] <SpamapS> basil_kurian_: thats under discussion right now actually. :)
[08:41] <SpamapS> basil_kurian_: because of the way hooks work, you need to run them in the context of joining/changing relations right now.. but that will change.
[08:42] <basil_kurian_> Is there any other way by which i can mannually run such scripts to debug it ?
[08:43] <basil_kurian_> How can I get logs of such scripts , when we issue an add-relation command ?
[08:45] <basil_kurian_> SpamapS: Is there way to see  logs of such scripts , when we issue an add-relation command ?
[08:49] <SpamapS> basil_kurian_: if you want to just test developing on them, you can use 'debug-hooks'
[08:50] <SpamapS> basil_kurian_: debug-hooks will ssh to the node, and pop up a window in screen whenever a hook is supposed to be executed
[08:50] <SpamapS> basil_kurian_: so you can then run the hook over and over in the right context, and edit it all you want. :)
[08:50] <basil_kurian_> a byobu window , right ?
[08:50] <SpamapS> right
[08:51] <basil_kurian_> how can i run the scripts ? goto that directory and then ./<sript> ??
[08:51] <SpamapS> I have used it to write an entire charm before.. :)
[08:51] <basil_kurian_> oh
[08:51] <SpamapS> you'll be in the charm root already
[08:51] <basil_kurian_> ./<scriptname> will work ?
[08:51] <SpamapS> you should stay there, some charms expect CWD == $CHARM_DIR
[08:51] <SpamapS> hooks/scriptname
[08:51] <basil_kurian_> oh ,  let  me try
[08:55] <basil_kurian_> It is not working :(
[08:55] <basil_kurian_> please see this http://pastebin.ubuntu.com/866367/
[08:57] <SpamapS> basil_kurian_: that looks like two separate things
[08:57] <SpamapS> basil_kurian_: when you ran 'debug-hooks', did it start a byobu session?
[08:58] <basil_kurian_> yes , it did
[08:58] <basil_kurian_> see the change in hostname
[09:01] <basil_kurian_> Sorry I got disconnected
[09:02] <SpamapS> basil_kurian_: odd
[09:02] <basil_kurian_> I tried several times ;(
[09:03] <SpamapS> basil_kurian_: I'd expect JUJU_AGENT_SOCKET to be set
[09:03] <SpamapS> basil_kurian_: can you pastebin 'env | grep JUJU' ?
[09:03] <basil_kurian_> on virtual instance , right ?
[09:03] <SpamapS> yes
[09:04] <basil_kurian_> root@root-local-drupal6-0:~# env | grep JUJU
[09:04] <basil_kurian_> root@root-local-drupal6-0:~#
[09:04] <basil_kurian_> no output
[09:05] <SpamapS> basil_kurian_: weird!
[09:05] <basil_kurian_> any file to source ?
[09:05] <SpamapS> basil_kurian_: you're inside the byobu window, and no JUJU_ ..
[09:05] <SpamapS> basil_kurian_: no it should be set
[09:05] <SpamapS> basil_kurian_: what version of juju ?
[09:05] <basil_kurian_> also , pleaseee the putput of pwd
[09:06] <SpamapS> basil_kurian_: dpkg -l juju would show you
[09:06] <basil_kurian_> root@root-local-drupal6-0:~# dpkg -l | grep juju
[09:06] <basil_kurian_> ii  juju                            0.5+bzr467-1juju2~oneiric1              next generation service orchestration system
[09:07] <basil_kurian_> ran that on virtual instance
[09:09] <SpamapS> basil_kurian_: ok, so this sounds like a bug. I have not tried debug-hooks on the local provider, so its possible its broken somehow.
[09:09] <basil_kurian_> I 'm running it on LXC containers
[09:10] <SpamapS> basil_kurian_: well past my bed time.. so I'll leave you with that. :-/ for a log, btw, you can run 'juju debug-log' to get all the logs except for the 'install' hook.
[09:10] <basil_kurian_> ok
[09:10] <basil_kurian_> bye , thanks for the help
[10:00] <mightbereptar> o/
[10:01] <mightbereptar> I hope I can learn to create a charm and enter the contest
[10:55] <_mup_> Bug #945505 was filed: Use ipAddress instead of dnsName now that txaws supports it <juju:New> < https://launchpad.net/bugs/945505 >
[15:39] <SpamapS> mightbereptar: WELCOME!
[15:39] <SpamapS> mightbereptar: we hope you can learn as well. :)
[19:24] <hazmat> SpamapS, there's a default tmux session there thats not associated to hooks where basil was
[19:24] <hazmat> the hook sessions pop as a new windows in the session
[19:24] <hazmat> but it sounds like he was in the default window which is not executing a hook
[21:05] <_mup_> Bug #945862 was filed: Support for AWS "spot" instances <juju:New> < https://launchpad.net/bugs/945862 >
[23:49] <koolhead17> jcastro: so 2nd and 3ed winner at charm contest both equally gets 100$ gift voucher?