ebu / OSCIED

Open Source Cloud Infrastructure for Encoding and Distribution
Other
16 stars 2 forks source link

Celeryconfig.py : add "CELERY_ACCEPT_CONTENT = ['application/json']" due to new behaviour of celeryd #122

Closed davidfischer-ch closed 10 years ago

davidfischer-ch commented 10 years ago
root@ip-10-144-154-7:/var/lib/juju/agents/unit-oscied-transform-0/charm# celeryd --config celeryconfig --hostname transform_ec2-23-22-15-91.compute-1.amazonaws.com -Q transform_ec2-23-22-15-91.compute-1.amazonaws.com,transform_private
("\nThe 'celeryd' command is deprecated, please use 'celery worker' instead:\n\n$ celery worker --config celeryconfig --hostname transform_ec2-23-22-15-91.compute-1.amazonaws.com -Q transform_ec2-23-22-15-91.compute-1.amazonaws.com,transform_private\n\n",)
Running a worker with superuser privileges when the worker accepts messages serialized with pickle is a very bad idea!

If you really want to continue then you have to set the C_FORCE_ROOT environment variable (but please think about this before you do).