-
Notifications
You must be signed in to change notification settings - Fork 4
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
Buggy behaviour on rabbitmq-server
restart
#20
Comments
Did you restart also the celery daemon or not ? Which version of celery are you using ? |
My bad, I forgot to tell you that restarting Celery is 3.1.18. |
Hi, any update on the subject? Were you able to reproduce it? We are currently using IRMA 1.2.0. |
Sorry @fmonjalet, didnt had time to test it. To be continued |
Hi, any updates? We are still experiencing the bug here:
Maybe some persistence configuration in rabbitmq/celery (I don't really know how celery works) may help recover from restarts : https://www.rabbitmq.com/persistence-conf.html. I think it won't fix the real problem here, though. Thanks, Florent |
Hi Florent, I tried this 2 scenarios:
Next scan was ok. We are using AMQP as backend and results are kept for 5 minutes (http://docs.celeryproject.org/en/latest/internals/reference/celery.backends.amqp.html#celery.backends.amqp.AMQPBackend.Exchange.delivery_mode). Need more info to help you. |
Hi, Thanks for the quick answer, and sorry for my very slow one. We are still using irma v1.2, it may explain the different behaviour. If you say it's ok with the current release, I will update ASAP and keep you in touch. Just for the record, I conducted some more tests, both with the web interface and the REST API. When I stop
As I said, I will upgrade and see how it goes after. Thanks again for testing on Florent |
If you upgrade to 1.3.2, you will be able to add "debug = 1" to the [log] section of brain.ini and see if it helps identifying this bug. |
Hi,
The IRMA architecture (particularly the brain) falls into an incoherent state when applying the following scenario:
rabbitmq-server
rabbitmq-server
10 seconds later (simple restart does not seem to provoke the bug)The result is that after that, the frontend ends up accepting scans, the
celery.scan
service seems to see the probes, but thecelery.result
service never starts any task (although its logs are saying that it is correctly connected to rabbitmq).Final result is that every service is up and happy, the frontend accepts scans, but they never finish. Would you have a fix for that?
Do not hesitate if you need more info. Thanks!
Florent
The text was updated successfully, but these errors were encountered: