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 1023371, Bug 1024532 - fix logic for subscription/version detection, add and refine "fail-then-bail" workflow #126

Merged

Conversation

dobbymoodge
Copy link
Contributor

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

This improves subscription/version detection to address BZ 1023371,
addresses the missing repo error from BZ 1024532 and adds logic to
stop after a class of issue (missing repo, disabled repo, etc.) has
been detected.

Also:

  • set the exit code to 0 if no problems are detected, 1 otherwise
  • improve subscription type and version detection
  • moved yum-plugin-priorities check to be right before the dependent checks
  • repaired ose-2.0 repoids in repo_db - they seem to have changed at
    some point in the past week?

Work remains - the fail-then-bail workflow applies to the --fix
option as well, which might not be what we want

…subscription/version detection, add and refine "fail-then-bail" workflow

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

This improves subscription/version detection to address BZ 1023371,
addresses the missing repo error from BZ 1024532 and adds logic to
stop after a class of issue (missing repo, disabled repo, etc.) has
been detected.

Also:

* set the exit code to `0` if no problems are detected, `1` otherwise

* improve subscription type and version detection

* moved yum-plugin-priorities check to be right before the dependent checks

* repaired ose-2.0 repoids in `repo_db` - they seem to have changed at
  some point in the past week?

Work remains - the fail-then-bail workflow applies to the `--fix`
option as well, which might not be what we want
dobbymoodge added a commit that referenced this pull request Oct 30, 2013
<oo-admin-check-sources.py> Bug 1023371, Bug 1024532 - fix logic for subscription/version detection, add and refine "fail-then-bail" workflow
@dobbymoodge dobbymoodge merged commit 17c3716 into openshift:enterprise-2.0 Oct 30, 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