-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Celery worker, Celery beat fixes for AfS (dev/1.0.x) Docker #9797
Comments
ekansa
changed the title
Celery worker, Celery Beat fixes for AfS (dev/1.0.x) Docker
Celery worker, Celery beat fixes for AfS (dev/1.0.x) Docker
Jul 18, 2023
Moving this issue to core because it will likely affect other projects |
re #9800 |
njkim
added a commit
that referenced
this issue
Jul 27, 2023
…ctions Ensure pytz and tzdata are at version compatible with Celery, re #9797
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was trying to test the Bulk Data Manager in AfS, but I had trouble getting the celery worker working in my Docker set up. The superviord.log inside the afs7 container gave some nonspecific, unhelpful logs:
If one entered the afs container and tried to manually invoke the celery worker with:
python3 -m celery -A afs.celery worker --loglevel=INFO
celery gave a more helpful error message:
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key UTC'
Stack exchange suggested updating some timezone related Python packages to resolve.
So we may want to add to the pip installs in the Dockerfile for AfS
pip install pytz --upgrade && pip install tzdata --upgrade
This update seems to make Celery (and supervisord) happy. I tested supervisord/celery with both Rabbit_MQ and Redis as brokers, and both seem to work with this fix.
As @chiatt mentioned, we should test to make sure these updated libraries (esp. pytz) don't break any of the existing Arches dependencies.
The text was updated successfully, but these errors were encountered: