Skip to content

EVEREST-1818 | fix DBEngine status reconciliation #636

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

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Conversation

mayankshah1607
Copy link
Member

CHANGE DESCRIPTION

Problem:
EVEREST-1818

DBEngine reconciler complains CSV NotFound when reconciling the status.

Cause:

DBEngine reconciler tries to get the CSV based on the .status.OperatorVersion of the given DBEngine. However, this field is set only after the DB operator deployment is ready. Until then it keeps reporting these not found errors.

Solution:
Set the .status.OperatorVersion field even if the deployment is not ready.

CHECKLIST

Helm chart

  • Is the helm chart updated with the new changes? (if applicable)

Jira

  • Is the Jira ticket created and referenced properly?

Tests

  • Is an Integration test/test case added for the new feature/change?
  • Are unit tests added where appropriate?

Signed-off-by: Mayank Shah <mayank.shah@percona.com>
@mayankshah1607 mayankshah1607 added the test/e2e Run full E2E test suite label Jan 13, 2025
@mayankshah1607 mayankshah1607 changed the title fix DBEngine status reconciliation EVEREST-1818 | fix DBEngine status reconciliation Jan 13, 2025
@mayankshah1607 mayankshah1607 marked this pull request as ready for review January 14, 2025 05:49
@mayankshah1607 mayankshah1607 enabled auto-merge (squash) January 14, 2025 09:38
@mayankshah1607 mayankshah1607 merged commit 1c0a216 into main Jan 15, 2025
6 checks passed
@mayankshah1607 mayankshah1607 deleted the EVEREST-1818 branch January 15, 2025 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test/e2e Run full E2E test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants