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

Rescue worker class sync_workers exceptions and move on #13976

Merged
merged 1 commit into from
Feb 17, 2017

Conversation

jrafanie
Copy link
Member

@jrafanie jrafanie commented Feb 17, 2017

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.

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.
@miq-bot
Copy link
Member

miq-bot commented Feb 17, 2017

Checked commit jrafanie@7412ec6 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 0 offenses detected
Everything looks good. 🏆

Copy link
Member

@gtanzillo gtanzillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@gtanzillo gtanzillo added this to the Sprint 55 Ending Feb 27, 2017 milestone Feb 17, 2017
@gtanzillo gtanzillo merged commit aaf7406 into ManageIQ:master Feb 17, 2017
@jrafanie jrafanie deleted the rescue_worker_sync_workers branch February 17, 2017 21:45
@simaishi
Copy link
Contributor

simaishi commented Mar 3, 2017

@jrafanie Is there a BZ for this? Can you please create one if it doesn't exist?

@jrafanie
Copy link
Member Author

jrafanie commented Mar 3, 2017

simaishi pushed a commit that referenced this pull request Mar 7, 2017
Rescue worker class sync_workers exceptions and move on
(cherry picked from commit aaf7406)

https://bugzilla.redhat.com/show_bug.cgi?id=1429648
@simaishi
Copy link
Contributor

simaishi commented Mar 7, 2017

Euwe backport details:

$ git log -1
commit 15181e4b246aa2620ff82adfe9f35346652d8435
Author: Gregg Tanzillo <gtanzill@redhat.com>
Date:   Fri Feb 17 16:37:37 2017 -0500

    Merge pull request #13976 from jrafanie/rescue_worker_sync_workers
    
    Rescue worker class sync_workers exceptions and move on
    (cherry picked from commit aaf74065d514f9f3362265f303468d297ac84fdb)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1429648

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

Successfully merging this pull request may close these issues.

4 participants