Closed xico42 closed 2 years ago
I've also tried to execute the celery worker manually, but it stills exits early:
/home/mediacms.io/mediacms# /home/mediacms.io/bin/celery multi start long1 --pidfile=/var/run/mediacms/42.pid --loglevel=INFO --logfile=/home/mediacms.io/mediacms/logs/celery_long.log -Ofair --prefetch-multiplier=1 -Q long_tasks
celery multi v4.4.7 (cliffs)
> Starting nodes...
> long1@mediacms-web-6cd64f5b86-k66v4: OK
Hi @fcoedno , can you try out the Docker compose version rather than the single version? https://github.com/mediacms-io/mediacms/blob/main/docs/admins_docs.md#3-docker-installation Would be interesting if you can include your methodology. Also @swiftugandan could provide useful feedback here.
Thanks
Changed the title, as I don't think it's that much related with Celery rather than how this is tested against Kubernetes environment.
@fcoedno @mgogoulos looks like we have a kubernetes deployment here - https://youtu.be/MnvO2OMs5e4
@fcoedno @mgogoulos looks like we have a kubernetes deployment here - https://youtu.be/MnvO2OMs5e4
Thanks for the link @swiftugandan ! I saw the video, and have placed a comment if the configuration is available.
Describe the issue I am trying to deploy MediaCMS with Kubernetes. My first attempt is using a "single server" approach. So both WEB and celery workers are enabled in a single container.
I have managed to test the web application and uploaded media. However, the encoding never finishes.
Taking a look at supervisor services, the celery long and short workers always exit early:
I haven't found any useful logs at
logs/celery_long.log
andlogs/celery_short.log
but will place the contents here:logs/celery_long.log
:The redis instance is up, and there are keys in the connected DB (1):
Any idea on how to debug this?