whereever solum.conf tells it to go I would imagine
adrian_otto
so we really want a logging statement above line 59
does python have a runtime debugger I can use to attache to a running process?
pdb apparently
paulmo
pdb seems to need a special import though
(from what I read briefly)
adrian_otto
yeah, I want the gdb equivalent for python
paulmo
One letter makes a world of difference.
:(
adrian_otto
strace does not tell me anything except that solum-worker and solum-deployer are listening to their queues, and that solum-conductor and solum-api are running syscall wait4()
probably in a polling loop I suppose
devkulkarni
adrian_otto: simplest might be to put prints where ever you need, kill that process in that screen session (Ctrl-C twice), and restart the process.
I'm not sure how others think about this, but I always try to add enough info and warning information that I can remotely debug a problem with just the logs if the loglevel is set properly. (self-preservation from when I was on call at 3 AM in the morning… ugh)
adrian_otto
ok, well, I'm going to give up on this for now, and get a lunch break before my afternoon conference call marathon
if anyone is interested, I can give you the login to this box and you can check it out