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

MongoDB Failed Status #1552

Closed
pseymournutanix opened this issue May 23, 2024 · 4 comments
Closed

MongoDB Failed Status #1552

pseymournutanix opened this issue May 23, 2024 · 4 comments
Labels

Comments

@pseymournutanix
Copy link

Got an issue where we ran out of space and it caused pods to crash.

Added some space to the mdb resource and the pods recovered but now I am getting a Failed status for this instance.

Status:
  Current Mongo DB Members:       3
  Current Stateful Set Replicas:  3
  Message:                        Error deploying MongoDB ReplicaSet: error creating/updating StatefulSet: error creating/updating StatefulSet: StatefulSet.apps "mongodb-dre" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy' and 'minReadySeconds' are forbidden

There is nothing to show me exactly what the requested updates are.

Is there anyway to reconcile this without downtime, or recreating the statefulset it's a heavily used MDB instance.

Operator: 0.7.6
MongoDB: 6.0.2

Many thanks.

@jadesoturi
Copy link

we are facing a similar issue on 2 of our mongo-db instances created with the operator. The CRD reports status failed, but the stateful set and the mongodb instances are actually running. However, pushing any changes fail with the same error message. Deleting and recreating the statefulset is a no-go due to this being in production.

Copy link
Contributor

This issue is being marked stale because it has been open for 60 days with no activity. Please comment if this issue is still affecting you. If there is no change, this issue will be closed in 30 days.

@github-actions github-actions bot added the stale label Aug 31, 2024
@nammn
Copy link
Collaborator

nammn commented Sep 4, 2024

@jadesoturi @pseymournutanix please have a look at this comment: #1613 (comment).

@nammn nammn closed this as completed Sep 4, 2024
@KarooolisZi
Copy link

@nammn May you please have a look at this comment?
#1613 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants