# Error upgrading to 1.19: failed to update cluster status

**URL:** <https://forums.percona.com/t/error-upgrading-to-1-19-failed-to-update-cluster-status/36422>\
**Category:** Percona Operator for MongoDB\
**Created:** [January 30, 2025, 4:33pm UTC](https://forums.percona.com/t/error-upgrading-to-1-19-failed-to-update-cluster-status/36422 "2025-01-30T16:33:28Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![hipos](https://avatars.discourse-cdn.com/v4/letter/h/f14d63/32.png) [@hipos](https://forums.percona.com/u/hipos)\
**Post date:** [January 31, 2025, 1:13pm UTC](https://forums.percona.com/t/error-upgrading-to-1-19-failed-to-update-cluster-status/36422/4 "2025-01-31T13:13:39Z")

</div>

Well I just upgraded the operator helm’s version as the documentation says, then the crVersion of the psmdb custom resource object. Jumped from 1.18.0 to 1.19.0 in both.

MongoDB itself image version is percona-server-mongodb:6.0.19-16

Status is shown as ‘ready’, but the error message from the operator keep spamming:

```auto
"error": "write status: PerconaServerMongoDB.psmdb.percona.com \"test-mongodb\" is invalid: [status.replsets.cfg.members: Invalid value: \"object\": replsets.cfg.members in body must be of type array: \"object\", status.replsets.shard01.members: Invalid value: \"object\": replsets.shard01.members in body must be of type array: \"object\"]"

```

When I start up the operator it shows in the logs this:

```auto
{"level":"info","ts":1738328924.249747,"logger":"KubeAPIWarningLogger","msg":"unknown field \"status.replsets.cfg.members.test-mongodb-cfg-0\""}
{"level":"info","ts":1738328924.2497528,"logger":"KubeAPIWarningLogger","msg":"unknown field \"status.replsets.cfg.members.test-mongodb-cfg-1\""}
{"level":"info","ts":1738328924.249755,"logger":"KubeAPIWarningLogger","msg":"unknown field \"status.replsets.cfg.members.test-mongodb-cfg-2\""}
{"level":"info","ts":1738328924.2497606,"logger":"KubeAPIWarningLogger","msg":"unknown field \"status.replsets.shard01.members.test-mongodb-shard01-0\""}
{"level":"info","ts":1738328924.2497625,"logger":"KubeAPIWarningLogger","msg":"unknown field \"status.replsets.shard01.members.test-mongodb-shard01-1\""}
{"level":"info","ts":1738328924.2497704,"logger":"KubeAPIWarningLogger","msg":"unknown field \"status.replsets.shard01.members.test-mongodb-shard01-2\""}

```

---

_[View the full topic](https://forums.percona.com/t/error-upgrading-to-1-19-failed-to-update-cluster-status/36422)._
