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

<oo-admin-check-sources.py> Bug 1026793, handle RepoError exceptions #145

Merged
merged 1 commit into from Nov 5, 2013

Conversation

dobbymoodge
Copy link
Contributor

https://bugzilla.redhat.com/show_bug.cgi?id=1026793

Wrapped the yum-plugin-priorities check in try/except and added new
exception for "showstopper" errors. Most of the RepoError exceptions
that can bubble out of the yum API are unrecoverable.

There are probably other scenarios that can raise RepoErrors that
aren't being handled, but the changes to
OpenShiftAdminCheckSources.main allow us to gracefully exit for any
future showstoppers we might run across

https://bugzilla.redhat.com/show_bug.cgi?id=1026793

Wrapped the `yum-plugin-priorities` check in try/except and added new
exception for "showstopper" errors. Most of the `RepoError` exceptions
that can bubble out of the yum API are unrecoverable.

There are probably other scenarios that can raise `RepoErrors` that
aren't being handled, but the changes to
`OpenShiftAdminCheckSources.main` allow us to gracefully exit for any
future showstoppers we might run across
dobbymoodge added a commit that referenced this pull request Nov 5, 2013
<oo-admin-check-sources.py> Bug 1026793, handle RepoError exceptions
@dobbymoodge dobbymoodge merged commit 40e783b into openshift:enterprise-2.0 Nov 5, 2013
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

Successfully merging this pull request may close these issues.

None yet

1 participant