-
Notifications
You must be signed in to change notification settings - Fork 897
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
Rescue worker class sync_workers exceptions and move on #13976
Rescue worker class sync_workers exceptions and move on #13976
Conversation
Related to ManageIQ#13958 In the above issue, if ManageIQ::Providers::StorageManager::CinderManager::EventCatcher.sync_workers raises an exception, the server process exits fatally and all workers exit `Error heartbeating to MiqServer because DRb::DRbConnError: Connection reset by peer Worker exiting.` We now rescue any exceptions here, log it and move on to other worker classes.
850ee87
to
7412ec6
Compare
Checked commit jrafanie@7412ec6 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
@jrafanie Is there a BZ for this? Can you please create one if it doesn't exist? |
@simaishi thanks! Here: https://bugzilla.redhat.com/show_bug.cgi?id=1429020 |
Rescue worker class sync_workers exceptions and move on (cherry picked from commit aaf7406) https://bugzilla.redhat.com/show_bug.cgi?id=1429648
Euwe backport details:
|
Related to #13958
https://bugzilla.redhat.com/show_bug.cgi?id=1429020
In the above issue, if
ManageIQ::Providers::StorageManager::CinderManager::EventCatcher.sync_workers
raises an exception, the server process exits fatally and
all workers exit
Error heartbeating to MiqServer because DRb::DRbConnError: Connection reset by peer Worker exiting.
We now rescue any exceptions here, log it and move on to other worker
classes.