/srv/irclogs.ubuntu.com/2012/03/03/#juju.txt

_mup_juju/hook-alias-expansion-redux r471 committed by kapil.thangavelu@canonical.com00:01
_mup_report signal that caused hook to terminate00:01
negronjljcastro:  How do you guys monitor the queue of charms that need to be reviewed ?00:04
negronjljcastro:  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
negronjljcastro:  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:05
SpamapSnegronjl: I just look at all the bugs tagged 'new-charm' periodically00:08
SpamapSnegronjl: I tend to only really look hard at the New/Confirmed/Triaged ones00:08
SpamapStho from time to time I will click through to the Incomplete/In Progress ones and see if somebody forgot to change the status00:08
negronjlSpamapS: 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:09
SpamapSnegronjl: I don't, I think its fine if 2 people review the same charm.00:11
SpamapSnegronjl: but to that end, its probably a good idea. :)00:12
negronjlSpamapS: 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
SpamapSnegronjl: thus far I haven't seen much duplication, but yes, that sounds like a good plan00:13
SpamapSnegronjl: ahh, your distcc was "Fix Committed" .. I should add that to the bug statuses that I dig further into00:15
negronjlSpamapS: What's the norm for when you get a charm done .... I thought fix committed would be appropriate ...00:16
SpamapSnegronjl: I actually think you're right.00:19
SpamapSnegronjl: I just was focusing on Confirmed/Triaged/New00:19
SpamapSnegronjl: distcc reviewed00:50
negronjlSpamapS: cool .... I can promulgate it then01:18
negronjlSpamapS: spoke too soon ... I'll read the review and check things out01:19
SpamapSnegronjl: sorry, I had a redbull right before I reviewed it ;)01:48
negronjlSpamapS: no worries ... I'll work on it01:48
SpamapSnegronjl: like I said, the only thing you actually really need to fix is the hostname -f's01:48
SpamapSnegronjl: the other stuff is just me nit picking you to death01:48
negronjlSpamapS: nah .. I'll fix it all ... do it right or don't do it ;)01:48
hazmatm_3, new charm runner uploaded w/ fix for snapshot06:05
basil_kurian_Hi08: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-changed08: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_name08:12
basil_kurian_No JUJU_AGENT_SOCKET/-s option found08:12
SpamapSbasil_kurian_: thats under discussion right now actually. :)08:41
SpamapSbasil_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:41
basil_kurian_Is there any other way by which i can mannually run such scripts to debug it ?08:42
basil_kurian_How can I get logs of such scripts , when we issue an add-relation command ?08:43
basil_kurian_SpamapS: Is there way to see  logs of such scripts , when we issue an add-relation command ?08:45
SpamapSbasil_kurian_: if you want to just test developing on them, you can use 'debug-hooks'08:49
SpamapSbasil_kurian_: debug-hooks will ssh to the node, and pop up a window in screen whenever a hook is supposed to be executed08:50
SpamapSbasil_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
SpamapSright08:50
basil_kurian_how can i run the scripts ? goto that directory and then ./<sript> ??08:51
SpamapSI have used it to write an entire charm before.. :)08:51
basil_kurian_oh08:51
SpamapSyou'll be in the charm root already08:51
basil_kurian_./<scriptname> will work ?08:51
SpamapSyou should stay there, some charms expect CWD == $CHARM_DIR08:51
SpamapShooks/scriptname08:51
basil_kurian_oh ,  let  me try08:51
basil_kurian_It is not working :(08:55
basil_kurian_please see this http://pastebin.ubuntu.com/866367/08:55
SpamapSbasil_kurian_: that looks like two separate things08:57
SpamapSbasil_kurian_: when you ran 'debug-hooks', did it start a byobu session?08:57
basil_kurian_yes , it did08:58
basil_kurian_see the change in hostname08:58
basil_kurian_Sorry I got disconnected09:01
SpamapSbasil_kurian_: odd09:02
basil_kurian_I tried several times ;(09:02
SpamapSbasil_kurian_: I'd expect JUJU_AGENT_SOCKET to be set09:03
SpamapSbasil_kurian_: can you pastebin 'env | grep JUJU' ?09:03
basil_kurian_on virtual instance , right ?09:03
SpamapSyes09:03
basil_kurian_root@root-local-drupal6-0:~# env | grep JUJU09:04
basil_kurian_root@root-local-drupal6-0:~#09:04
basil_kurian_no output09:04
SpamapSbasil_kurian_: weird!09:05
basil_kurian_any file to source ?09:05
SpamapSbasil_kurian_: you're inside the byobu window, and no JUJU_ ..09:05
SpamapSbasil_kurian_: no it should be set09:05
SpamapSbasil_kurian_: what version of juju ?09:05
basil_kurian_also , pleaseee the putput of pwd09:05
SpamapSbasil_kurian_: dpkg -l juju would show you09:06
basil_kurian_root@root-local-drupal6-0:~# dpkg -l | grep juju09:06
basil_kurian_ii  juju                            0.5+bzr467-1juju2~oneiric1              next generation service orchestration system09:06
basil_kurian_ran that on virtual instance09:07
SpamapSbasil_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 containers09:09
SpamapSbasil_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_ok09:10
basil_kurian_bye , thanks for the help09:10
mightbereptaro/10:00
mightbereptarI hope I can learn to create a charm and enter the contest10:01
_mup_Bug #945505 was filed: Use ipAddress instead of dnsName now that txaws supports it <juju:New> < https://launchpad.net/bugs/945505 >10:55
SpamapSmightbereptar: WELCOME!15:39
SpamapSmightbereptar: we hope you can learn as well. :)15:39
hazmatSpamapS, there's a default tmux session there thats not associated to hooks where basil was19:24
hazmatthe hook sessions pop as a new windows in the session19:24
hazmatbut it sounds like he was in the default window which is not executing a hook19:24
_mup_Bug #945862 was filed: Support for AWS "spot" instances <juju:New> < https://launchpad.net/bugs/945862 >21:05
koolhead17jcastro: so 2nd and 3ed winner at charm contest both equally gets 100$ gift voucher?23:49

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