title: django/celery - celery status: Error: No nodes replied within time constraint
body: <p>I'm trying to deploy a simple example of celery in my production server, I've followed the tutorial in the celery website about running celery as daemon <a href="http://docs.celeryproject.org/en/latest/tutorials/daemonizing.html#daemonizing" rel="nofollow noreferrer">http://docs.celeryproject.org/en/latest/tutorials/daemonizing.html#daemonizing</a>, and I got the config file in <strong>/etc/default/celeryd</strong></p>
  <pre>
    1 # Name of nodes to start
    2 # here we have a single node
    3 CELERYD_NODES="w1"
    4 # or we could have three nodes:
    5 #CELERYD_NODES="w1 w2 w3"
    6 
    7 # Where to chdir at start.
    8 CELERYD_CHDIR="/home/audiwime/cidec_sw"
    9 
   10 # Python interpreter from environment.
   11 ENV_PYTHON="/usr/bin/python26"
   12 
   13 # How to call "manage.py celeryd_multi"
   14 CELERYD_MULTI="$ENV_PYTHON $CELERYD_CHDIR/manage.py celeryd_multi"
   15 
   16 # # How to call "manage.py celeryctl"
   17 CELERYCTL="$ENV_PYTHON $CELERYD_CHDIR/manage.py celeryctl"
   18 
   19 # Extra arguments to celeryd
   20 CELERYD_OPTS="--time-limit=300 --concurrency=8"
   21 
   22 # Name of the celery config module.
   23 CELERY_CONFIG_MODULE="celeryconfig"
   24 
   25 # %n will be replaced with the nodename.
   26 CELERYD_LOG_FILE="/var/log/celery/%n.log"
   27 CELERYD_PID_FILE="/var/run/celery/%n.pid"
   28 
   29 # Workers should run as an unprivileged user.
   30 CELERYD_USER="audiwime"
   31 CELERYD_GROUP="audiwime"
   32 
   33 export DJANGO_SETTINGS_MODULE="cidec_sw.settings"
  </pre>
  <p>but if I run</p>
  <pre>celery status</pre>
  <p>in the terminal, i got this response:</p>
  <pre>Error: No nodes replied within time constraint</pre>
  <p>I can restart celery via the celeryd script provided in <a href="https://github.com/celery/celery/tree/3.0/extra/generic-init.d/" rel="nofollow noreferrer">https://github.com/celery/celery/tree/3.0/extra/generic-init.d/</a></p>
  <pre>
  /etc/init.d/celeryd restart
  celeryd-multi v3.0.12 (Chiastic Slide)
  > w1.one.cloudwime.com: DOWN
  > Restarting node w1.one.cloudwime.com: OK
  </pre>
  <p>I can run <code>python26 manage.py celeryd -l info</code> and my tasks in django run fine, but if I let the daemon do its work I don't get any results, don't even errors in <strong>/var/log/celery/w1.log</strong></p>
  <p>I know that my task has been registered because I did this</p>
  <pre><code>from celery import current_app
  def call_celery_delay(request):
      print current_app.tasks
      run.delay(request.GET['age'])
      return HttpResponse(content=&quot;celery task set&quot;,content_type=&quot;text/html&quot;)
  </code></pre>
  <p>and I get a dictionary in which my task appear</p>
  <pre><code>{'celery.chain': &lt;@task: celery.chain&gt;, 'celery.chunks': &lt;@task: celery.chunks&gt;, 'celery.chord': &lt;@task: celery.chord&gt;, 'tasks.add2': &lt;@task: tasks.add2&gt;, 'celery.chord_unlock': &lt;@task: celery.chord_unlock&gt;, **'tareas.tasks.run': &lt;@task: tareas.tasks.run&gt;**, 'tareas.tasks.add': &lt;@task: tareas.tasks.add&gt;, 'tareas.tasks.test_two_minute': &lt;@task: tareas.tasks.test_two_minute&gt;, 'celery.backend_cleanup': &lt;@task: celery.backend_cleanup&gt;, 'celery.map': &lt;@task: celery.map&gt;, 'celery.group': &lt;@task: celery.group&gt;, 'tareas.tasks.test_one_minute': &lt;@task: tareas.tasks.test_one_minute&gt;, 'celery.starmap': &lt;@task: celery.starmap&gt;}
  </code></pre>
  <p>but besides that I get nothing else, no result from my task, no error in the logs, nothing.
  What can be wrong?</p>