Skip to content
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

girder_plugin settings for worker.api_url, worker.broker, worker.backend are not being picked up correctly #336

Open
kotfic opened this issue Mar 25, 2019 · 3 comments

Comments

@kotfic
Copy link
Contributor

kotfic commented Mar 25, 2019

No description provided.

@manthey
Copy link
Member

manthey commented Jan 13, 2020

I think there may be two issues here.

First, if you use a girder_worker task with .delay, it is using the Celery app loaded from the girder_worker config files NOT the settings in the girder_worker.girder_plugin values. The app is instantiated by girder_worker.app not girder_worker.girder_plugin.celery.

Second, when the settings are changed in Girder, the event handler in girder_worker/girder_plugin/event_handlers.py will reset a local _celeryapp value, but I don't think this will reset it in the girder_worker.girder_plugin.celery module.

@manthey
Copy link
Member

manthey commented Jan 13, 2020

@kotfic Either I've misconfigured things, or girder_worker on girder with a non-local rabbitmq instance requires the worker.*.cfg to be configured on both the worker and girder machines.

@kotfic
Copy link
Contributor Author

kotfic commented Jan 14, 2020

@manthey Sorry i'm having a little trouble refreshing on the origin of this issue. Is it possible to link to the code where you're seeing the unexpected behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants