Skip to content

K8SPS-375: reduce error logs on cluster startup#837

Merged
hors merged 4 commits intomainfrom
K8SPS-375
Mar 4, 2025
Merged

K8SPS-375: reduce error logs on cluster startup#837
hors merged 4 commits intomainfrom
K8SPS-375

Conversation

@pooknull
Copy link
Copy Markdown
Contributor

@pooknull pooknull commented Feb 20, 2025

K8SPS-375 Powered by Pull Request Badge

https://perconadev.atlassian.net/browse/K8SPS-375

CHANGE DESCRIPTION

This PR makes operator handle the following errors on cluster startup:

  • Warning: Reconciler returned both a non-zero result and a non-nil error.
  • reconcile: database: failed to get current sts: StatefulSet.apps \"cluster1-mysql\" not found

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?
  • Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
  • Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

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

Config/Logging/Testability

  • Are all needed new/changed options added to default YAML files?
  • Are all needed new/changed options added to the Helm Chart?
  • Did we add proper logging messages for operator actions?
  • Did we ensure compatibility with the previous version or cluster upgrade process?
  • Does the change support oldest and newest supported PS version?
  • Does the change support oldest and newest supported Kubernetes version?

@pull-request-size pull-request-size bot added the size/S 10-29 lines label Feb 20, 2025
@pooknull pooknull marked this pull request as ready for review February 24, 2025 16:17
@JNKPercona
Copy link
Copy Markdown
Collaborator

Test name Status
version-service failure
async-ignore-annotations passed
auto-config passed
config passed
config-router passed
demand-backup passed
gr-demand-backup passed
gr-demand-backup-haproxy passed
gr-finalizer passed
gr-haproxy passed
gr-ignore-annotations passed
gr-init-deploy passed
gr-one-pod passed
gr-recreate passed
gr-scaling passed
gr-scheduled-backup passed
gr-security-context passed
gr-self-healing passed
gr-tls-cert-manager passed
gr-users passed
haproxy passed
init-deploy passed
limits passed
monitoring passed
one-pod passed
operator-self-healing passed
recreate passed
scaling passed
scheduled-backup passed
service-per-pod passed
sidecars passed
smart-update passed
tls-cert-manager passed
users passed
We run 34 out of 34

commit: 83674fa
image: perconalab/percona-server-mysql-operator:PR-837-83674fa6

@hors hors merged commit ed5a5ce into main Mar 4, 2025
12 checks passed
@hors hors deleted the K8SPS-375 branch March 4, 2025 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S 10-29 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants