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

java_certs : Not enough info on error #5550

Merged
merged 3 commits into from
Nov 28, 2022

Conversation

Naewis
Copy link
Contributor

@Naewis Naewis commented Nov 15, 2022

SUMMARY

Just bumped into an issue when the message was "Internal module failure, cannot extract public certificate from pkcs12, error: " and found it not really helpfull.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

java_certs

ADDITIONAL INFORMATION

Seems that the issue #2560 doesn't cover all cases, so to make debugging easier, I propose to add error output on json return instead of only expose standard output.

Just bumped into an issue when the message was "Internal module failure, cannot extract public certificate from pkcs12, error: "
Seems that the issue ansible-collections#2560 doesn't cover all cases. To make debugging easier, I propose to add error output on json return instead of only expose standard output.
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added bug This issue/PR relates to a bug module module new_contributor Help guide this first time contributor plugins plugin (any type) small_patch Hopefully easy to review system needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Nov 15, 2022
Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution! Can you please add a changelog fragment? Thanks.

@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-5 labels Nov 15, 2022
@ansibullbot ansibullbot removed the needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR label Nov 15, 2022
@ansibullbot ansibullbot added needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR and removed small_patch Hopefully easy to review labels Nov 15, 2022
@ansibullbot ansibullbot removed the needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR label Nov 15, 2022
@russoz
Copy link
Collaborator

russoz commented Nov 16, 2022

Other than the wordsmithing by Felix, LGTM

@ansibullbot ansibullbot added the stale_ci CI is older than 7 days, rerun before merging label Nov 24, 2022
@ansibullbot ansibullbot removed the stale_ci CI is older than 7 days, rerun before merging label Nov 28, 2022
@github-actions
Copy link

github-actions bot commented Nov 28, 2022

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and your docs changes will be incorporated when they are next published.

@felixfontein felixfontein merged commit 1ca7752 into ansible-collections:main Nov 28, 2022
@patchback
Copy link

patchback bot commented Nov 28, 2022

Backport to stable-6: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-6/1ca775248f6e8df679ec57e710582f2b7131cc66/pr-5550

Backported as #5623

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label Nov 28, 2022
patchback bot pushed a commit that referenced this pull request Nov 28, 2022
* java_certs : Not enough info on error

Just bumped into an issue when the message was "Internal module failure, cannot extract public certificate from pkcs12, error: "
Seems that the issue #2560 doesn't cover all cases. To make debugging easier, I propose to add error output on json return instead of only expose standard output.

* java_certs - add missing fragment message

* Word-smithing.

Co-authored-by: Felix Fontein <[email protected]>
(cherry picked from commit 1ca7752)
@felixfontein
Copy link
Collaborator

@Naewis thanks for improving this!
@russoz thanks for reviewing!

felixfontein pushed a commit that referenced this pull request Nov 29, 2022
* java_certs : Not enough info on error

Just bumped into an issue when the message was "Internal module failure, cannot extract public certificate from pkcs12, error: "
Seems that the issue #2560 doesn't cover all cases. To make debugging easier, I propose to add error output on json return instead of only expose standard output.

* java_certs - add missing fragment message

* Word-smithing.

Co-authored-by: Felix Fontein <[email protected]>
(cherry picked from commit 1ca7752)

Co-authored-by: Naewis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug module module new_contributor Help guide this first time contributor plugins plugin (any type) system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants