Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants