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
Bug 1982737: Make malformed CSV fail nicely (#2673) #307
Conversation
- Modified bundle unpacking to fail installPlan with a nice message if after unbundling csv manifests APIVersion or Kind are blank. - Adds FatalError type to return to checked when syncing install plans to see if the error causing issues is fatal or should cause the IP to be transitioned to failed state. - Makes installPlan fail with a nicer more user friendly message than the current difficult to understand message regarding serviceAccounts. - Adds tests using internal magic-catalog library to confirm that unpacking fails when APIVersion is blank. Signed-off-by: Noah Sapse <nsapse@redhat.com> Co-authored-by: Noah Sapse <nsapse@redhat.com> Upstream-repository: operator-lifecycle-manager Upstream-commit: 3002cf79ce867e32d30d2190df642eaa7f449294
@perdasilva: This pull request references Bugzilla bug 1982737, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/bugzilla refresh |
1 similar comment
/bugzilla refresh |
@perdasilva: This pull request references Bugzilla bug 1982737, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/bugzilla refresh |
@perdasilva: This pull request references Bugzilla bug 1982737, which is valid. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/retest-required |
/retest |
1 similar comment
/retest |
/bugzilla refresh |
@jianzhangbjz: This pull request references Bugzilla bug 1982737, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (kuiwang@redhat.com), skipping review request. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cc @kuiwang02 |
/bugzilla refresh |
@kuiwang02: This pull request references Bugzilla bug 1982737, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/retest |
@perdasilva: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: perdasilva, timflannagan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@perdasilva: All pull requests linked via external trackers have merged: Bugzilla bug 1982737 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
…ndle). (openshift#307) Signed-off-by: dtfranz <dfranz@redhat.com> Upstream-repository: api Upstream-commit: 047dce1d23b997e02349c97c38733c8ab047aabe
…ndle). (openshift#307) Signed-off-by: dtfranz <dfranz@redhat.com> Upstream-repository: api Upstream-commit: 047dce1d23b997e02349c97c38733c8ab047aabe
…ndle). (openshift#307) Signed-off-by: dtfranz <dfranz@redhat.com> Upstream-repository: api Upstream-commit: 047dce1d23b997e02349c97c38733c8ab047aabe
…ndle). (openshift#307) Signed-off-by: dtfranz <dfranz@redhat.com> Upstream-repository: api Upstream-commit: 047dce1d23b997e02349c97c38733c8ab047aabe
Modified bundle unpacking to fail installPlan with a nice message if
after unbundling csv manifests APIVersion or Kind are blank.
Adds FatalError type to return to checked when syncing install plans
to see if the error causing issues is fatal or should cause the
IP to be transitioned to failed state.
Makes installPlan fail with a nicer more user friendly message than
the current difficult to understand message regarding serviceAccounts.
Adds tests using internal magic-catalog library to confirm that unpacking
fails when APIVersion is blank.
Signed-off-by: Noah Sapse nsapse@redhat.com
Co-authored-by: Noah Sapse nsapse@redhat.com
Upstream-repository: operator-lifecycle-manager
Upstream-commit: 3002cf79ce867e32d30d2190df642eaa7f449294