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

[Backport][ipa-4-8] cainstance.is_crlgen_enabled: handle missing ipa-pki-proxy.conf #4893

Closed
wants to merge 1 commit into from

Conversation

abbra
Copy link
Contributor

@abbra abbra commented Jul 6, 2020

This PR was opened automatically because PR #4873 was pushed to master and backport to ipa-4-8 is required.

A failed ipa-ca-install left my installation in an inconsistent
state.  Then, 'ipa-server-install --uninstall' also failed when
is_crlgen_enabled() tried to read ipa-pki-proxy.conf, which was
missing.

Update is_crlgen_enabled() to handle missing ipa-pki-proxy.conf, by
raising InconsistentCRLGenConfigException instead of RuntimeError.
As a result, missing ipa-pki-proxy.conf is handled gracefully
because the calling code already catches
InconsistentCRLGenConfigException.
@abbra
Copy link
Contributor Author

abbra commented Jul 6, 2020

PR was ACKed automatically because this is backport of PR #4873. Wait for CI to finish before pushing. In case of questions or problems contact @frasertweedale who is author of the original PR.

@abbra abbra added the ack Pull Request approved, can be merged label Jul 6, 2020
@frasertweedale frasertweedale added the re-run Trigger a new run of PR-CI label Jul 7, 2020
@freeipa-pr-ci freeipa-pr-ci removed the re-run Trigger a new run of PR-CI label Jul 7, 2020
@frasertweedale frasertweedale added the pushed Pull Request has already been pushed label Jul 7, 2020
@frasertweedale
Copy link
Contributor

ipa-4-8:

  • d13a33d (HEAD) cainstance.is_crlgen_enabled: handle missing ipa-pki-proxy.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
3 participants