зеркало из https://github.com/mozilla/treeherder.git
Bug 1353807 - Remove celerybeat-schedule during provision
Since it saves having to document the troubleshooting step.
This commit is contained in:
Родитель
884fffefea
Коммит
a3eb8b5313
|
@ -34,14 +34,3 @@ Errors during Vagrant setup
|
|||
git config --global core.autocrlf input
|
||||
|
||||
You will then need to delete and reclone the repo (or else do a force checkout).
|
||||
|
||||
Why is my celery ingestion not running?
|
||||
---------------------------------------
|
||||
|
||||
If after a ``celery -A treeherder worker -B --concurrency 5`` you experience a static celery console with no output, similar to:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
09:32:40,010: WARNING/MainProcess] celery@local ready.
|
||||
|
||||
You should ctrl+c to shut down celery, remove the ``celerybeat-schedule`` file in the project root, and restart your worker.
|
||||
|
|
|
@ -52,11 +52,6 @@ function thresetall {
|
|||
echo "Deleting logs"
|
||||
thlogsdelete
|
||||
|
||||
echo "Deleting celerybeat-schedule"
|
||||
if [ -f ~/treeherder/celerybeat-schedule ]; then
|
||||
rm ~/treeherder/celerybeat-schedule
|
||||
fi
|
||||
|
||||
threstartmemcached
|
||||
threstartrabbitmq
|
||||
|
||||
|
|
|
@ -114,4 +114,8 @@ echo '-----> Running Django migrations and loading reference data'
|
|||
./manage.py migrate --noinput
|
||||
./manage.py load_initial_data
|
||||
|
||||
echo '-----> Performing cleanup'
|
||||
# Celery sometimes gets stuck and requires that celerybeat-schedule be deleted.
|
||||
rm -f celerybeat-schedule || true
|
||||
|
||||
echo '-----> Setup complete!'
|
||||
|
|
Загрузка…
Ссылка в новой задаче