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

Improve InstallPlan error handling #3404

Merged

Conversation

m1kola
Copy link
Member

@m1kola m1kola commented Sep 26, 2024

Description of the change:

With this change we no set condition on subscriptions about errors during InstallPlan creation.

Previously we were only logging these errors.

Motivation for the change:

We recently seen failures on InstallPlan status update because the size of status exceeded request limit (InstallPlan was over 2.1M). A failure like this is currently not visible to the end user and it only possible to see from the OLM debug logs.

Architectural changes:

Testing remarks:

Reviewer Checklist

  • Implementation matches the proposed design, or proposal is updated to match implementation
  • Sufficient unit test coverage
  • Sufficient end-to-end test coverage
  • Bug fixes are accompanied by regression test(s)
  • e2e tests and flake fixes are accompanied evidence of flake testing, e.g. executing the test 100(0) times
  • tech debt/todo is accompanied by issue link(s) in comments in the surrounding code
  • Tests are comprehensible, e.g. Ginkgo DSL is being used appropriately
  • Docs updated or added to /doc
  • Commit messages sensible and descriptive
  • Tests marked as [FLAKE] are truly flaky and have an issue
  • Code is properly formatted

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 26, 2024
Copy link

openshift-ci bot commented Sep 26, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

With this change we no set condition on subscriptions
about errors during InstallPlan creation.

Previously we were only logging these errors.

Signed-off-by: Mikalai Radchuk <[email protected]>
@m1kola m1kola force-pushed the update_subs_on_ensure_IP_error branch from 4ac78bc to 38911d2 Compare September 26, 2024 13:18
@m1kola m1kola marked this pull request as ready for review September 26, 2024 20:55
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 26, 2024
Copy link
Collaborator

@perdasilva perdasilva left a comment

Choose a reason for hiding this comment

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

Thank you!!! ^^

@m1kola m1kola added this pull request to the merge queue Sep 29, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 29, 2024
@m1kola
Copy link
Member Author

m1kola commented Sep 29, 2024

Looks like a flake in a merge queue

@m1kola m1kola added this pull request to the merge queue Sep 29, 2024
Merged via the queue into operator-framework:master with commit 75d70e6 Sep 29, 2024
12 checks passed
@m1kola m1kola deleted the update_subs_on_ensure_IP_error branch September 29, 2024 13:24
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.

2 participants