New CCHQ Install - manage.py run_ptop freezing on PhoneLogPillow

Hi Everyone,

I’m running the Django setup on a new install of CommCareHQ. The process
freezes when running the elasticsearch indexing with the command run_ptop
–all. It gets to the PhoneLogPillow. I stopped the operation and ran that
pillow independently. Below is the output. The system doesn’t do anything
and I have to do a ctrl+c to escape the operation.

(python_env)cchq@nepalsmissing:~/www/nepalsmissing/code_root$
/home/cchq/www/nepalsmissing/python_env/bin/python manage.py run_ptop
–pillow-key phonelog
2014-07-23 05:26:29,795 INFO Raven is not configured (disabled). Please see
documentation for more information.
[pillowtop] Starting pillow processes
[pillowtop] all processes started, pids: [25299]
2014-07-23 05:26:29,896 INFO listener Starting pillow <class
’corehq.pillows.log.PhoneLogPillow’>

Questions:

  1. We’re creating indexes, so does this matter?
  2. I keep getting the message that Raven is not configured. Is there a
    standard Raven configuration that I need to activate somewhere?

Thank you!
Craig

Hi Craig

Calling the ‘run_ptop’ command will spaw processes for each of the pillows
and will never exit. It is designed this way since it is listening to
changes from the database and processing them as they happen. My normal
workflow is to just run the core pillows in a separate bash shell. I don’t
run it all the time either, only when I’m doing something that I need
updated indexes for.

Re your questions:

  1. We’re creating indexes, so does this matter?

I’m not sure what you mean by this.

  1. I keep getting the message that Raven is not configured. Is there a
    standard Raven configuration that I need to activate somewhere?

That is normal in a dev environment where we don’t want to send exceptions
to Sentry.

··· -- Simon Kelly Senior Engineer | Dimagi South Africa