Issues
- MongoDB operator overwrites ten MongoDB configurationsK8SPSMDB-1335
- MongoDB becomes transiently unavailable whenever the cluster is upgradedK8SPSMDB-1334
- MongoDB is transiently unavailable although the mongos servers have become ready when the cluster is first booting upK8SPSMDB-1333
- Allow setting loadBalancerClassK8SPSMDB-1329
- The operator cannot use certificates with ownerReferences generated by cert-managerK8SPSMDB-1328
- Include the directShardOperations role for mongo user starting with mongo 8K8SPSMDB-1325
- Add upgrade in progress annotationK8SPSMDB-1321
- [Docs] Document the pvc-resize-in-progress annotationK8SPSMDB-1320Anastasia Alexandrova
- Don't run scheduled backup if DB is unhealthyK8SPSMDB-1319
- Make DB version upgrade non-blockingK8SPSMDB-1318George Kechagias
- Enable users to change cluster label for pmm-adminK8SPSMDB-1316natalia.marukovich
- Document how to perform primary failover with cross-cluster replicationK8SPSMDB-1315Anastasia Alexandrova
- Refactor statefulset naming.K8SPSMDB-1311natalia.marukovich
- Support Sidecar containers which will be GA from K8s 1.33K8SPSMDB-1310
- Cluster failure after physical restore failure due to bad storage permissionsK8SPSMDB-1309
- Physical restore sporadically fails with stuck heartbeatK8SPSMDB-1308
- Backup Container Crash During RestoreK8SPSMDB-1312
- Restore with PITR from a Different ClusterK8SPSMDB-1314
- Backup and PITR Chunk Deletion BehaviorK8SPSMDB-1313
- oplogSpanMin shouldn't be mandatory in custom PBM configurationK8SPSMDB-1307
- Operator panics if user configures PBM priorities without timeoutsK8SPSMDB-1306Julio Pasinatto
- Physical restore sporadically fails to startK8SPSMDB-1305
- Add recommended by k8s documentation labelsK8SPSMDB-1304
- Check for panic and 'full cluster crash detected' in e2e testsK8SPSMDB-1303Eleonora Zinchenko
- Physical restore gets error state when updateStrategy is SmartUpdateK8SPSMDB-1302Eleonora Zinchenko
- Allow setting init image for components separatelyK8SPSMDB-1301
- psmdb-backup should use .status.storageName in columnsK8SPSMDB-1300
- Cluster wide operator shouldn't reconcile cluster managed by namespaced operatorK8SPSMDB-1299
- Document enabling/disabling balancerK8SPSMDB-1298
- datadir stats are not accessible by node_exporter in MongoDB podsK8SPSMDB-1297
- Readiness probe marks member in STARTUP2 state readyK8SPSMDB-1296
- Physical restores is stuck in requested state if PiTR target is wrongK8SPSMDB-1295
- MCS API version mismatch on the operator.K8SPSMDB-1294Eleonora Zinchenko
- Auto tune PBM configuration: investigate the optimal values for numDownloadWorkers and numInsertionWorkersDefaultK8SPSMDB-1293natalia.marukovich
- Physical restore fails with requireTLSK8SPSMDB-1292George Kechagias
- Update Jenkinsfile to use 1.29 cluster versionK8SPSMDB-1291George Kechagias
- Bump PBM to 2.9.0K8SPSMDB-1290Julio Pasinatto
- Sharded cluster restoration failure in 1.19.1K8SPSMDB-1289
- Revert "Disable balancer before logical restore" once implemented in PBMK8SPSMDB-1286Resolved issue: K8SPSMDB-1286
- Add Label for CRDK8SPSMDB-1285Andrii Dema
- Print proper error message if deleting filesystem backup failsK8SPSMDB-1284natalia.marukovich
- Release 1.19.1K8SPSMDB-1283Resolved issue: K8SPSMDB-1283Eleonora Zinchenko
- Migrate mongo-driver to version v2.0.0K8SPSMDB-1282
- Cleanup unused fields from Member struct of pkg/psmdb/mongo/models.goK8SPSMDB-1281
- Investigate and Fix Metadata Error for sidecarPVCs in PerconaServerMongoDBK8SPSMDB-1280
- Add documentation how to enabling or disabling TLS on a running clusterK8SPSMDB-1279dmitriy.kostiuk
- Backup should wait until cluster is readyK8SPSMDB-1278Andrii Dema
- Add automatic hashes update for certified and marketplace bundle.K8SPSMDB-1277
- Optimize TLS and CA certificate file writes in getMongoUri functionK8SPSMDB-1276Julio Pasinatto
- Fix getLastErrorModes deserializationK8SPSMDB-1275Eleonora Zinchenko
50 of
MongoDB operator overwrites ten MongoDB configurations
General
Escalation
General
Escalation
Description
Environment
None
Details
Assignee
UnassignedUnassignedReporter
KOSKOSNeeds QA
YesPriority
Medium
Details
Details
Assignee
Unassigned
UnassignedReporter
KOS
KOSNeeds QA
Yes
Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created yesterday
Updated yesterday
Activity
Show:
Describe the bug
The MongoDB operator overwrites some parameters in the user provided MongoDB configuration, causing them to be ineffective.
Each unique configuration parameter has a unique root cause. We wanted to report the enumeration of the overwritten configuration parameters, each with their corresponding root cause.
Properties that do not take effects
net.bindIpAll
: This property cannot be disabled as it is always enabled by the operator when creating containers using--bind_ip_all
argumentnet.bindIP
: This property does not take effect as it is overwritten by--bind_ip_all
as well.net.port
: The port is always set to27017
as it is hard-coded by the operatornet.tls.allowInvalidCertificates
: The operator expose another property,spec.tls.allowInvalidCertificates
, to enable or disable this feature and it has a default value oftrue
. Even if user does not providedspec.tls.allowInvalidCertificates
and want to configure the cluster with the configuration file, the operator will add a flag to enable this feature based on the default value causing the overwritten behaviour.net.tls.mode
: Same as last property, the operator expose another propertyspec.tls.mode
. The operator always overwrites themode
using the default value when user does not setspec.tls.mode
and wants to use configuration file to configure the cluster.security.clusterAuthMode
: This property is overwritten and is alwaysx509
if user does not providespec.tls
in CR interface and only specifies the configurations in the configuration file.security.authorization
: After user setauthorization
todisabled
, it does not take effect.storage.dbPath
: This property is overwritten by the operator using a hard-coded pathstorage.engine
: This property is always overwritten by the default value ofspec.replset.storage.engine
(the default value iswiredTiger
).storage.engine.indexConfig.prefixCompression
: This property is overwritten by the flag created using the default value ofspec.relpset.storage.wiredTiger.indexConfig.prefixCompression
(the default value istrue
).To Reproduce
Deploy a MonogDB cluster, for example:
add the
configuration
contains properties listed above, for example:exec into container and check the runtime configuration by using
db.adminCommand({getCmdLineOpts: 1})
Expected behavior
We expect that the configurations specified in
spec.replset.configuration
take effect if we do not provide values for the corresponding properties in the CR interface (e.g.spec.replset.storage.engine
).Current behavior
Some properties set in the configuration file are overwritten and do not take effect due to the default values of their corresponding properties exposed in CR interface by the operator.
Desktop (please complete the following information):
OS: Ubuntu
Reproduced on latest release v1.18.0