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

K8SPSMDB-985: All PBM backup nodes in the status #1500

Merged
merged 10 commits into from
Apr 9, 2024

Conversation

inelpandzic
Copy link
Contributor

@inelpandzic inelpandzic commented Apr 5, 2024

K8SPSMDB-985 Powered by Pull Request Badge

CHANGE DESCRIPTION

Problem:
Backup status showed only a node from zeroth replica set, but we need to have nodes from all the replica sets on which the backup was made.

Solution:
Add status.pbmPods map that will hold replica set with a corresponding instance on which the backup was performed.
Looks like this:

status:
  pbmPods:
    rs0: my-cluster-name-rs0-2
    rs1: my-cluster-name-rs1-1

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?
  • Are OpenShift compare files changed for E2E tests (compare/*-oc.yml)?

Config/Logging/Testability

  • Are all needed new/changed options added to default YAML files?
  • 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 MongoDB version?
  • Does the change support oldest and newest supported Kubernetes version?

@pull-request-size pull-request-size bot added the size/M 30-99 lines label Apr 5, 2024
@inelpandzic inelpandzic marked this pull request as ready for review April 6, 2024 04:00
hors
hors previously approved these changes Apr 8, 2024
@hors hors requested a review from pooknull April 8, 2024 17:14
@hors hors self-requested a review April 9, 2024 07:14
@JNKPercona
Copy link
Collaborator

Test name Status
arbiter passed
balancer passed
custom-replset-name passed
cross-site-sharded passed
data-at-rest-encryption passed
data-sharded passed
demand-backup passed
demand-backup-eks-credentials passed
demand-backup-physical passed
demand-backup-physical-sharded passed
demand-backup-sharded passed
expose-sharded passed
ignore-labels-annotations passed
init-deploy passed
finalizer passed
ldap passed
ldap-tls passed
limits passed
liveness passed
mongod-major-upgrade passed
mongod-major-upgrade-sharded passed
monitoring-2-0 passed
multi-cluster-service failure
non-voting passed
one-pod passed
operator-self-healing-chaos passed
pitr passed
pitr-sharded passed
pitr-physical passed
recover-no-primary passed
rs-shard-migration passed
scaling passed
scheduled-backup passed
security-context passed
self-healing-chaos passed
service-per-pod passed
serviceless-external-nodes passed
smart-update passed
split-horizon passed
storage passed
tls-issue-cert-manager passed
upgrade passed
upgrade-consistency passed
upgrade-consistency-sharded-tls passed
upgrade-sharded passed
users passed
version-service passed
We run 47 out of 47

commit: b86f8fc
image: perconalab/percona-server-mongodb-operator:PR-1500-b86f8fcf

@hors hors merged commit af550c2 into main Apr 9, 2024
13 of 14 checks passed
@hors hors deleted the K8SPSMDB-985-correct-pbm-nodes branch April 9, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M 30-99 lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants