-
Notifications
You must be signed in to change notification settings - Fork 523
Description
What did you do to encounter the bug?
Install Operator
Deploy cluster
Add new user
What did you expect?
New user added
What happened instead?
The operator does not reconcile mongodbcommunity resource
Screenshots
{"level":"info","ts":1757080535.1730866,"caller":"controllers/replica_set_controller.go:471","msg":"Create/Update operation succeeded","ReplicaSet":"mongodb/mongodb","operation":"updated"}
{"level":"info","ts":1757080535.173361,"caller":"controllers/replica_set_controller.go:363","msg":"Creating/Updating AutomationConfig","ReplicaSet":"mongodb/mongodb"}
{"level":"info","ts":1757080535.1965494,"caller":"agent/agent_readiness.go:62","msg":"All 1 Agents have reached Goal state","ReplicaSet":"mongodb/mongodb"}
{"level":"info","ts":1757080535.1965768,"caller":"controllers/replica_set_controller.go:338","msg":"Creating/Updating StatefulSet","ReplicaSet":"mongodb/mongodb"}
{"level":"info","ts":1757080535.207346,"caller":"controllers/replica_set_controller.go:343","msg":"Creating/Updating StatefulSet for Arbiters","ReplicaSet":"mongodb/mongodb"}
{"level":"error","ts":1757080535.2283263,"caller":"controllers/replica_set_controller.go:244","msg":"Error updating the status of the MongoDB resource: Operation cannot be fulfilled on mongodbcommunity.mongodbcommunity.mongodb.com "mongodb": the object has been modified; please apply your changes to the latest version and try again","ReplicaSet":"mongodb/mongodb","stacktrace":"github.com/mongodb/mongodb-kubernetes/mongodb-community-operator/controllers.ReplicaSetReconciler.Reconcile\n\t/go/src/github.com/mongodb/mongodb-kubernetes/mongodb-community-operator/controllers/replica_set_controller.go:244\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:114\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:311\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:261\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:222"}
{"level":"error","ts":1757080535.2283812,"caller":"controller/controller.go:324","msg":"Reconciler error","controller":"mongodbcommunity","controllerGroup":"mongodbcommunity.mongodb.com","controllerKind":"MongoDBCommunity","MongoDBCommunity":{"name":"mongodb","namespace":"mongodb"},"namespace":"mongodb","name":"mongodb","reconcileID":"8c190fec-9758-474a-9851-2eabbeb5c688","error":"Operation cannot be fulfilled on mongodbcommunity.mongodbcommunity.mongodb.com "mongodb": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:324\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:261\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:222"}
Operator Information
- Operator Version: 1.2.0
- MongoDB Image used: 6.0.5
Kubernetes Cluster Information
- Distribution: OVH
- Version: 1.30
- Image Registry location (quay, or an internal registry): quay.io
Additional context
Add any other context about the problem here.
If possible, please include:
- The operator logs
- Below we assume that your replicaset database pods are named
mongo-<>
. For instance:
❯ k get pods
NAME READY STATUS RESTARTS AGE
mongodb-0 2/2 Running 0 57d
mongodb-kubernetes-operator-6d7479b9bf-6m5j5 1/1 Running 0 4m48s
❯ k get mdbc
NAME PHASE VERSION
mongodb Running 6.0.5
- yaml definitions of your MongoDB Deployment(s):
apiVersion: v1
items:
- apiVersion: mongodbcommunity.mongodb.com/v1
kind: MongoDBCommunity
metadata:
annotations:
freelens.app/resource-version: v1
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"mongodbcommunity.mongodb.com/v1","kind":"MongoDBCommunity","metadata":{"annotations":{},"name":"mongodb","namespace":"mongodb"},"spec":{"additionalMongodConfig":{"storage.wiredTiger.engineConfig.journalCompressor":"zlib"},"members":1,"security":{"authentication":{"modes":["SCRAM"]}},"statefulSet":{"spec":{"volumeClaimTemplates":[{"metadata":{"name":"data-volume"},"spec":{"resources":{"requests":{"storage":"10Gi"}}}}]}},"type":"ReplicaSet","users":[{"db":"admin","name":"manager","passwordSecretRef":{"name":"manager"},"roles":[{"db":"admin","name":"root"}],"scramCredentialsSecretName":"manager"},{"db":"admin","name":"lm","passwordSecretRef":{"name":"lm-password"},"roles":[{"db":"licenseManager","name":"readWrite"}],"scramCredentialsSecretName":"lm"},{"db":"admin","name":"my","passwordSecretRef":{"name":"my-password"},"roles":[{"db":"my-account","name":"readWrite"}],"scramCredentialsSecretName":"my"}],"version":"6.0.5"}}
mongodb.com/v1.lastAppliedMongoDBVersion: 6.0.5
mongodb.com/v1.lastSuccessfulConfiguration: '{"members":1,"type":"ReplicaSet","version":"6.0.5","arbiters":0,"security":{"authentication":{"modes":["SCRAM"],"ignoreUnknownUsers":true},"tls":{"enabled":false,"optional":false,"certificateKeySecretRef":{}}},"users":[{"name":"manager","db":"admin","passwordSecretRef":{"name":"manager","key":""},"roles":[{"db":"admin","name":"root"}],"scramCredentialsSecretName":"manager","additionalConnectionStringConfig":null},{"name":"lm","db":"admin","passwordSecretRef":{"name":"lm-password","key":""},"roles":[{"db":"licenseManager","name":"readWrite"}],"scramCredentialsSecretName":"lm","additionalConnectionStringConfig":null},{"name":"my","db":"admin","passwordSecretRef":{"name":"my-password","key":""},"roles":[{"db":"my-account","name":"readWrite"}],"scramCredentialsSecretName":"my","additionalConnectionStringConfig":null}],"statefulSet":{"spec":{},"metadata":{}},"agent":{"logLevel":"","logFile":"","maxLogFileDurationHours":0},"additionalMongodConfig":{},"additionalConnectionStringConfig":{}}'
creationTimestamp: "2025-07-10T12:37:59Z"
generation: 14
name: mongodb
namespace: mongodb
resourceVersion: "44561758461"
uid: d4f1a8ef-7aa7-438b-801e-ff8bb6696e95
spec:
additionalMongodConfig:
storage.wiredTiger.engineConfig.journalCompressor: zlib
members: 1
security:
authentication:
ignoreUnknownUsers: true
modes:
- SCRAM
statefulSet:
spec:
volumeClaimTemplates:
- metadata:
name: data-volume
spec:
resources:
requests:
storage: 10Gi
type: ReplicaSet
users:
- db: admin
name: manager
passwordSecretRef:
name: manager
roles:
- db: admin
name: root
scramCredentialsSecretName: manager
- db: admin
name: lm
passwordSecretRef:
name: lm-password
roles:
- db: licenseManager
name: readWrite
scramCredentialsSecretName: lm
- db: admin
name: my
passwordSecretRef:
name: my-password
roles:
- db: my-account
name: readWrite
scramCredentialsSecretName: my
version: 6.0.5
status:
currentMongoDBMembers: 1
currentStatefulSetReplicas: 1
mongoUri: mongodb://mongodb-0.mongodb-svc.mongodb.svc.cluster.local:27017/?replicaSet=mongodb
phase: Running
version: 6.0.5
kind: List
metadata:
resourceVersion: ""
- yaml definitions of your kubernetes objects like the statefulset(s), pods (we need to see the state of the containers):
apiVersion: v1
items:
- apiVersion: apps/v1
kind: StatefulSet
metadata:
creationTimestamp: "2025-07-10T12:53:48Z"
generation: 1
name: mongodb
namespace: mongodb
ownerReferences:
- apiVersion: mongodbcommunity.mongodb.com/v1
blockOwnerDeletion: true
controller: true
kind: MongoDBCommunity
name: mongodb
uid: d4f1a8ef-7aa7-438b-801e-ff8bb6696e95
resourceVersion: "42878957556"
uid: fefbe9d7-6ea8-468c-a4a9-321987b93917
spec:
persistentVolumeClaimRetentionPolicy:
whenDeleted: Retain
whenScaled: Retain
podManagementPolicy: OrderedReady
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: mongodb-svc
serviceName: mongodb-svc
template:
metadata:
creationTimestamp: null
labels:
app: mongodb-svc
spec:
containers:
- args:
- ""
command:
- /bin/sh
- -c
- "\nif [ -e \"/hooks/version-upgrade\" ]; then\n\t#run post-start hook
to handle version changes (if exists)\n /hooks/version-upgrade\nfi\n\n#
wait for config and keyfile to be created by the agent\necho \"Waiting
for config and keyfile files to be created by the agent...\"\nwhile !
[ -f /data/automation-mongod.conf -a -f /var/lib/mongodb-mms-automation/authentication/keyfile
]; do\n\tsleep 3;\n\techo \"Waiting...\"\ndone\n\n# sleep is important
after agent issues shutdown command\n# k8s restarts the mongod container
too quickly for the agent to realize mongod is down\necho \"Sleeping for
15s...\"\nsleep 15\n\n# start mongod with this configuration\necho \"Starting
mongod...\"\nexec mongod -f /data/automation-mongod.conf;\n"
env:
- name: AGENT_STATUS_FILEPATH
value: /healthstatus/agent-health-status.json
image: quay.io/mongodb/mongodb-community-server:6.0.5-ubi8
imagePullPolicy: IfNotPresent
name: mongod
resources:
limits:
cpu: "1"
memory: 500M
requests:
cpu: 500m
memory: 400M
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /data
name: data-volume
- mountPath: /healthstatus
name: healthstatus
- mountPath: /hooks
name: hooks
- mountPath: /var/log/mongodb-mms-automation
name: logs-volume
- mountPath: /var/lib/mongodb-mms-automation/authentication
name: mongodb-keyfile
- mountPath: /tmp
name: tmp
- command:
- /bin/bash
- -c
- |-
current_uid=$(id -u)
declare -r current_uid
if ! grep -q "${current_uid}" /etc/passwd ; then
sed -e "s/^mongodb:/builder:/" /etc/passwd > /tmp/passwd
echo "mongodb:x:$(id -u):$(id -g):,,,:/:/bin/bash" >> /tmp/passwd
export NSS_WRAPPER_PASSWD=/tmp/passwd
export LD_PRELOAD=libnss_wrapper.so
export NSS_WRAPPER_GROUP=/etc/group
fi
agent/mongodb-agent -healthCheckFilePath=/var/log/mongodb-mms-automation/healthstatus/agent-health-status.json -serveStatusPort=5000 -cluster=/var/lib/automation/config/cluster-config.json -skipMongoStart -noDaemonize -useLocalMongoDbTools -logFile /var/log/mongodb-mms-automation/automation-agent.log -logLevel INFO -maxLogFileDurationHrs 24
env:
- name: AGENT_STATUS_FILEPATH
value: /var/log/mongodb-mms-automation/healthstatus/agent-health-status.json
- name: AUTOMATION_CONFIG_MAP
value: mongodb-config
- name: HEADLESS_AGENT
value: "true"
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
image: quay.io/mongodb/mongodb-agent-ubi:108.0.2.8729-1
imagePullPolicy: Always
name: mongodb-agent
readinessProbe:
exec:
command:
- /opt/scripts/readinessprobe
failureThreshold: 40
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: "1"
memory: 500M
requests:
cpu: 500m
memory: 400M
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/scripts
name: agent-scripts
- mountPath: /var/lib/automation/config
name: automation-config
readOnly: true
- mountPath: /data
name: data-volume
- mountPath: /var/log/mongodb-mms-automation/healthstatus
name: healthstatus
- mountPath: /var/log/mongodb-mms-automation
name: logs-volume
- mountPath: /var/lib/mongodb-mms-automation/authentication
name: mongodb-keyfile
- mountPath: /tmp
name: tmp
dnsPolicy: ClusterFirst
initContainers:
- command:
- cp
- version-upgrade-hook
- /hooks/version-upgrade
image: quay.io/mongodb/mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.9
imagePullPolicy: Always
name: mongod-posthook
resources:
limits:
cpu: "1"
memory: 500M
requests:
cpu: 500m
memory: 400M
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /hooks
name: hooks
- command:
- cp
- /probes/readinessprobe
- /opt/scripts/readinessprobe
image: quay.io/mongodb/mongodb-kubernetes-readinessprobe:1.0.22
imagePullPolicy: Always
name: mongodb-agent-readinessprobe
resources:
limits:
cpu: "1"
memory: 500M
requests:
cpu: 500m
memory: 400M
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/scripts
name: agent-scripts
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
fsGroup: 2000
runAsNonRoot: true
runAsUser: 2000
serviceAccount: mongodb-kubernetes-appdb
serviceAccountName: mongodb-kubernetes-appdb
terminationGracePeriodSeconds: 30
volumes:
- emptyDir: {}
name: agent-scripts
- name: automation-config
secret:
defaultMode: 416
secretName: mongodb-config
- emptyDir: {}
name: healthstatus
- emptyDir: {}
name: hooks
- emptyDir: {}
name: mongodb-keyfile
- emptyDir: {}
name: tmp
updateStrategy:
type: RollingUpdate
volumeClaimTemplates:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
name: data-volume
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
volumeMode: Filesystem
status:
phase: Pending
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
name: logs-volume
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2G
volumeMode: Filesystem
status:
phase: Pending
status:
availableReplicas: 1
collisionCount: 0
currentReplicas: 1
currentRevision: mongodb-8d75cd44
observedGeneration: 1
readyReplicas: 1
replicas: 1
updateRevision: mongodb-8d75cd44
updatedReplicas: 1
- apiVersion: apps/v1
kind: StatefulSet
metadata:
creationTimestamp: "2025-07-10T12:53:48Z"
generation: 1
name: mongodb-arb
namespace: mongodb
ownerReferences:
- apiVersion: mongodbcommunity.mongodb.com/v1
blockOwnerDeletion: true
controller: true
kind: MongoDBCommunity
name: mongodb
uid: d4f1a8ef-7aa7-438b-801e-ff8bb6696e95
resourceVersion: "42878909247"
uid: 496e491f-e023-4b8a-9704-79166a81bcde
spec:
persistentVolumeClaimRetentionPolicy:
whenDeleted: Retain
whenScaled: Retain
podManagementPolicy: OrderedReady
replicas: 0
revisionHistoryLimit: 10
selector:
matchLabels:
app: mongodb-svc
serviceName: mongodb-svc
template:
metadata:
creationTimestamp: null
labels:
app: mongodb-svc
spec:
containers:
- args:
- ""
command:
- /bin/sh
- -c
- "\nif [ -e \"/hooks/version-upgrade\" ]; then\n\t#run post-start hook
to handle version changes (if exists)\n /hooks/version-upgrade\nfi\n\n#
wait for config and keyfile to be created by the agent\necho \"Waiting
for config and keyfile files to be created by the agent...\"\nwhile !
[ -f /data/automation-mongod.conf -a -f /var/lib/mongodb-mms-automation/authentication/keyfile
]; do\n\tsleep 3;\n\techo \"Waiting...\"\ndone\n\n# sleep is important
after agent issues shutdown command\n# k8s restarts the mongod container
too quickly for the agent to realize mongod is down\necho \"Sleeping for
15s...\"\nsleep 15\n\n# start mongod with this configuration\necho \"Starting
mongod...\"\nexec mongod -f /data/automation-mongod.conf;\n"
env:
- name: AGENT_STATUS_FILEPATH
value: /healthstatus/agent-health-status.json
image: quay.io/mongodb/mongodb-community-server:6.0.5-ubi8
imagePullPolicy: IfNotPresent
name: mongod
resources:
limits:
cpu: "1"
memory: 500M
requests:
cpu: 500m
memory: 400M
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /data
name: data-volume
- mountPath: /healthstatus
name: healthstatus
- mountPath: /hooks
name: hooks
- mountPath: /var/log/mongodb-mms-automation
name: logs-volume
- mountPath: /var/lib/mongodb-mms-automation/authentication
name: mongodb-keyfile
- mountPath: /tmp
name: tmp
- command:
- /bin/bash
- -c
- |-
current_uid=$(id -u)
declare -r current_uid
if ! grep -q "${current_uid}" /etc/passwd ; then
sed -e "s/^mongodb:/builder:/" /etc/passwd > /tmp/passwd
echo "mongodb:x:$(id -u):$(id -g):,,,:/:/bin/bash" >> /tmp/passwd
export NSS_WRAPPER_PASSWD=/tmp/passwd
export LD_PRELOAD=libnss_wrapper.so
export NSS_WRAPPER_GROUP=/etc/group
fi
agent/mongodb-agent -healthCheckFilePath=/var/log/mongodb-mms-automation/healthstatus/agent-health-status.json -serveStatusPort=5000 -cluster=/var/lib/automation/config/cluster-config.json -skipMongoStart -noDaemonize -useLocalMongoDbTools -logFile /var/log/mongodb-mms-automation/automation-agent.log -logLevel INFO -maxLogFileDurationHrs 24
env:
- name: AGENT_STATUS_FILEPATH
value: /var/log/mongodb-mms-automation/healthstatus/agent-health-status.json
- name: AUTOMATION_CONFIG_MAP
value: mongodb-config
- name: HEADLESS_AGENT
value: "true"
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
image: quay.io/mongodb/mongodb-agent-ubi:108.0.2.8729-1
imagePullPolicy: Always
name: mongodb-agent
readinessProbe:
exec:
command:
- /opt/scripts/readinessprobe
failureThreshold: 40
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: "1"
memory: 500M
requests:
cpu: 500m
memory: 400M
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/scripts
name: agent-scripts
- mountPath: /var/lib/automation/config
name: automation-config
readOnly: true
- mountPath: /data
name: data-volume
- mountPath: /var/log/mongodb-mms-automation/healthstatus
name: healthstatus
- mountPath: /var/log/mongodb-mms-automation
name: logs-volume
- mountPath: /var/lib/mongodb-mms-automation/authentication
name: mongodb-keyfile
- mountPath: /tmp
name: tmp
dnsPolicy: ClusterFirst
initContainers:
- command:
- cp
- version-upgrade-hook
- /hooks/version-upgrade
image: quay.io/mongodb/mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.9
imagePullPolicy: Always
name: mongod-posthook
resources:
limits:
cpu: "1"
memory: 500M
requests:
cpu: 500m
memory: 400M
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /hooks
name: hooks
- command:
- cp
- /probes/readinessprobe
- /opt/scripts/readinessprobe
image: quay.io/mongodb/mongodb-kubernetes-readinessprobe:1.0.22
imagePullPolicy: Always
name: mongodb-agent-readinessprobe
resources:
limits:
cpu: "1"
memory: 500M
requests:
cpu: 500m
memory: 400M
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/scripts
name: agent-scripts
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
fsGroup: 2000
runAsNonRoot: true
runAsUser: 2000
serviceAccount: mongodb-kubernetes-appdb
serviceAccountName: mongodb-kubernetes-appdb
terminationGracePeriodSeconds: 30
volumes:
- emptyDir: {}
name: agent-scripts
- name: automation-config
secret:
defaultMode: 416
secretName: mongodb-config
- emptyDir: {}
name: healthstatus
- emptyDir: {}
name: hooks
- emptyDir: {}
name: mongodb-keyfile
- emptyDir: {}
name: tmp
updateStrategy:
type: RollingUpdate
volumeClaimTemplates:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
name: data-volume
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
volumeMode: Filesystem
status:
phase: Pending
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
name: logs-volume
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2G
volumeMode: Filesystem
status:
phase: Pending
status:
availableReplicas: 0
collisionCount: 0
currentRevision: mongodb-arb-8d75cd44
observedGeneration: 1
replicas: 0
updateRevision: mongodb-arb-8d75cd44
kind: List
metadata:
resourceVersion: ""
apiVersion: v1
items:
- apiVersion: v1
kind: Pod
metadata:
annotations:
agent.mongodb.com/version: "8"
cni.projectcalico.org/containerID: 85a5a1c006cf17b50e7c9f1fbfaeeea6925efd6102ca50225e0ca6e4d743c5a3
cni.projectcalico.org/podIP: 10.2.4.36/32
cni.projectcalico.org/podIPs: 10.2.4.36/32
creationTimestamp: "2025-07-10T12:53:48Z"
generateName: mongodb-
labels:
app: mongodb-svc
apps.kubernetes.io/pod-index: "0"
controller-revision-hash: mongodb-8d75cd44
statefulset.kubernetes.io/pod-name: mongodb-0
name: mongodb-0
namespace: mongodb
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: StatefulSet
name: mongodb
uid: fefbe9d7-6ea8-468c-a4a9-321987b93917
resourceVersion: "42909891308"
uid: 95b7d34c-76ce-44a4-96ab-20fad5a85175
spec:
containers:
- args:
- ""
command:
- /bin/sh
- -c
- "\nif [ -e \"/hooks/version-upgrade\" ]; then\n\t#run post-start hook to handle
version changes (if exists)\n /hooks/version-upgrade\nfi\n\n# wait for
config and keyfile to be created by the agent\necho \"Waiting for config and
keyfile files to be created by the agent...\"\nwhile ! [ -f /data/automation-mongod.conf
-a -f /var/lib/mongodb-mms-automation/authentication/keyfile ]; do\n\tsleep
3;\n\techo \"Waiting...\"\ndone\n\n# sleep is important after agent issues
shutdown command\n# k8s restarts the mongod container too quickly for the
agent to realize mongod is down\necho \"Sleeping for 15s...\"\nsleep 15\n\n#
start mongod with this configuration\necho \"Starting mongod...\"\nexec mongod
-f /data/automation-mongod.conf;\n"
env:
- name: AGENT_STATUS_FILEPATH
value: /healthstatus/agent-health-status.json
image: quay.io/mongodb/mongodb-community-server:6.0.5-ubi8
imagePullPolicy: Always
name: mongod
resources:
limits:
cpu: "1"
memory: 500M
requests:
cpu: 500m
memory: 400M
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /data
name: data-volume
- mountPath: /healthstatus
name: healthstatus
- mountPath: /hooks
name: hooks
- mountPath: /var/log/mongodb-mms-automation
name: logs-volume
- mountPath: /var/lib/mongodb-mms-automation/authentication
name: mongodb-keyfile
- mountPath: /tmp
name: tmp
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-cpd6h
readOnly: true
- command:
- /bin/bash
- -c
- |-
current_uid=$(id -u)
declare -r current_uid
if ! grep -q "${current_uid}" /etc/passwd ; then
sed -e "s/^mongodb:/builder:/" /etc/passwd > /tmp/passwd
echo "mongodb:x:$(id -u):$(id -g):,,,:/:/bin/bash" >> /tmp/passwd
export NSS_WRAPPER_PASSWD=/tmp/passwd
export LD_PRELOAD=libnss_wrapper.so
export NSS_WRAPPER_GROUP=/etc/group
fi
agent/mongodb-agent -healthCheckFilePath=/var/log/mongodb-mms-automation/healthstatus/agent-health-status.json -serveStatusPort=5000 -cluster=/var/lib/automation/config/cluster-config.json -skipMongoStart -noDaemonize -useLocalMongoDbTools -logFile /var/log/mongodb-mms-automation/automation-agent.log -logLevel INFO -maxLogFileDurationHrs 24
env:
- name: AGENT_STATUS_FILEPATH
value: /var/log/mongodb-mms-automation/healthstatus/agent-health-status.json
- name: AUTOMATION_CONFIG_MAP
value: mongodb-config
- name: HEADLESS_AGENT
value: "true"
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
image: quay.io/mongodb/mongodb-agent-ubi:108.0.2.8729-1
imagePullPolicy: Always
name: mongodb-agent
readinessProbe:
exec:
command:
- /opt/scripts/readinessprobe
failureThreshold: 40
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: "1"
memory: 500M
requests:
cpu: 500m
memory: 400M
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/scripts
name: agent-scripts
- mountPath: /var/lib/automation/config
name: automation-config
readOnly: true
- mountPath: /data
name: data-volume
- mountPath: /var/log/mongodb-mms-automation/healthstatus
name: healthstatus
- mountPath: /var/log/mongodb-mms-automation
name: logs-volume
- mountPath: /var/lib/mongodb-mms-automation/authentication
name: mongodb-keyfile
- mountPath: /tmp
name: tmp
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-cpd6h
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
hostname: mongodb-0
initContainers:
- command:
- cp
- version-upgrade-hook
- /hooks/version-upgrade
image: quay.io/mongodb/mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.9
imagePullPolicy: Always
name: mongod-posthook
resources:
limits:
cpu: "1"
memory: 500M
requests:
cpu: 500m
memory: 400M
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /hooks
name: hooks
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-cpd6h
readOnly: true
- command:
- cp
- /probes/readinessprobe
- /opt/scripts/readinessprobe
image: quay.io/mongodb/mongodb-kubernetes-readinessprobe:1.0.22
imagePullPolicy: Always
name: mongodb-agent-readinessprobe
resources:
limits:
cpu: "1"
memory: 500M
requests:
cpu: 500m
memory: 400M
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/scripts
name: agent-scripts
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-cpd6h
readOnly: true
nodeName: workers-node-e26fd4
preemptionPolicy: PreemptLowerPriority
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
fsGroup: 2000
runAsNonRoot: true
runAsUser: 2000
serviceAccount: mongodb-kubernetes-appdb
serviceAccountName: mongodb-kubernetes-appdb
subdomain: mongodb-svc
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
volumes:
- name: data-volume
persistentVolumeClaim:
claimName: data-volume-mongodb-0
- name: logs-volume
persistentVolumeClaim:
claimName: logs-volume-mongodb-0
- emptyDir: {}
name: agent-scripts
- name: automation-config
secret:
defaultMode: 416
secretName: mongodb-config
- emptyDir: {}
name: healthstatus
- emptyDir: {}
name: hooks
- emptyDir: {}
name: mongodb-keyfile
- emptyDir: {}
name: tmp
- name: kube-api-access-cpd6h
projected:
defaultMode: 420
sources:
- serviceAccountToken:
expirationSeconds: 3607
path: token
- configMap:
items:
- key: ca.crt
path: ca.crt
name: kube-root-ca.crt
- downwardAPI:
items:
- fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
path: namespace
status:
conditions:
- lastProbeTime: null
lastTransitionTime: "2025-07-10T12:54:22Z"
status: "True"
type: PodReadyToStartContainers
- lastProbeTime: null
lastTransitionTime: "2025-07-10T12:54:26Z"
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: "2025-07-10T12:56:06Z"
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2025-07-10T12:56:06Z"
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: "2025-07-10T12:53:49Z"
status: "True"
type: PodScheduled
containerStatuses:
- containerID: containerd://691c526cba7a8522c658d3c7dfeb6cd9e2f0dae7073bf0ffcbb976f0682e6e18
image: quay.io/mongodb/mongodb-community-server:6.0.5-ubi8
imageID: quay.io/mongodb/mongodb-community-server@sha256:2425ad9e105f2724b5d7cce77ea97feee5df33f44f3b8898477cb01d6e42c5c2
lastState: {}
name: mongod
ready: true
restartCount: 0
started: true
state:
running:
startedAt: "2025-07-10T12:55:13Z"
- containerID: containerd://16ca7c264c318b00374f5dc8b766bdec209d6bc8b4660129b65f79a252ebcb98
image: quay.io/mongodb/mongodb-agent-ubi:108.0.2.8729-1
imageID: quay.io/mongodb/mongodb-agent-ubi@sha256:e588a3cba89e0ec38c76c2ebc9a667e9bdbbba1ff89119b316a5eb76d8ca9b59
lastState: {}
name: mongodb-agent
ready: true
restartCount: 0
started: true
state:
running:
startedAt: "2025-07-10T12:55:28Z"
hostIP: 10.0.131.230
hostIPs:
- ip: 10.0.131.230
initContainerStatuses:
- containerID: containerd://3387053613bde1747a9357ef11a16fe8f8252a20a1e7f5922ef712cdda798cd1
image: quay.io/mongodb/mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.9
imageID: quay.io/mongodb/mongodb-kubernetes-operator-version-upgrade-post-start-hook@sha256:60ccd005c7e708c804c166762e96f12f6c413bdaed2ffb1dd0e91b63073b02f8
lastState: {}
name: mongod-posthook
ready: true
restartCount: 0
started: false
state:
terminated:
containerID: containerd://3387053613bde1747a9357ef11a16fe8f8252a20a1e7f5922ef712cdda798cd1
exitCode: 0
finishedAt: "2025-07-10T12:54:21Z"
reason: Completed
startedAt: "2025-07-10T12:54:21Z"
- containerID: containerd://c4bf1d36cf8d3fbcb13e8f23e8c9d3701388957444d2d68336d284312c9a5fc8
image: quay.io/mongodb/mongodb-kubernetes-readinessprobe:1.0.22
imageID: quay.io/mongodb/mongodb-kubernetes-readinessprobe@sha256:75542283935f3e96fbc6916e6bb6af6c4d9ae1093a709ba51c42a662470d38d8
lastState: {}
name: mongodb-agent-readinessprobe
ready: true
restartCount: 0
started: false
state:
terminated:
containerID: containerd://c4bf1d36cf8d3fbcb13e8f23e8c9d3701388957444d2d68336d284312c9a5fc8
exitCode: 0
finishedAt: "2025-07-10T12:54:25Z"
reason: Completed
startedAt: "2025-07-10T12:54:25Z"
phase: Running
podIP: 10.2.4.36
podIPs:
- ip: 10.2.4.36
qosClass: Burstable
startTime: "2025-07-10T12:53:49Z"
- apiVersion: v1
kind: Pod
metadata:
annotations:
cni.projectcalico.org/containerID: 4ad7ca1b354c471b383e56962ea5c5da79dae22035f0d4495fa115d2824e4ecc
cni.projectcalico.org/podIP: 10.2.3.74/32
cni.projectcalico.org/podIPs: 10.2.3.74/32
creationTimestamp: "2025-09-05T13:55:33Z"
generateName: mongodb-kubernetes-operator-6d7479b9bf-
labels:
app.kubernetes.io/component: controller
app.kubernetes.io/instance: mongodb-kubernetes-operator
app.kubernetes.io/name: mongodb-kubernetes-operator
pod-template-hash: 6d7479b9bf
name: mongodb-kubernetes-operator-6d7479b9bf-6m5j5
namespace: mongodb
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: ReplicaSet
name: mongodb-kubernetes-operator-6d7479b9bf
uid: 60ba460e-4c12-4b2c-ac6a-7d7a846f358f
resourceVersion: "44561775070"
uid: 09f44d1d-4851-400d-8ea0-65a0d02647d9
spec:
containers:
- args:
- -watch-resource=mongodb
- -watch-resource=opsmanagers
- -watch-resource=mongodbusers
- -watch-resource=mongodbcommunity
- -watch-resource=mongodbsearch
- -watch-resource=clustermongodbroles
command:
- /usr/local/bin/mongodb-kubernetes-operator
env:
- name: OPERATOR_ENV
value: prod
- name: MDB_DEFAULT_ARCHITECTURE
value: non-static
- name: NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: MDB_OPERATOR_TELEMETRY_COLLECTION_FREQUENCY
value: 1h
- name: MDB_OPERATOR_TELEMETRY_SEND_FREQUENCY
value: 168h
- name: CLUSTER_CLIENT_TIMEOUT
value: "10"
- name: IMAGE_PULL_POLICY
value: Always
- name: MONGODB_ENTERPRISE_DATABASE_IMAGE
value: quay.io/mongodb/mongodb-kubernetes-database
- name: INIT_DATABASE_IMAGE_REPOSITORY
value: quay.io/mongodb/mongodb-kubernetes-init-database
- name: INIT_DATABASE_VERSION
value: 1.2.0
- name: DATABASE_VERSION
value: 1.2.0
- name: OPS_MANAGER_IMAGE_REPOSITORY
value: quay.io/mongodb/mongodb-enterprise-ops-manager-ubi
- name: INIT_OPS_MANAGER_IMAGE_REPOSITORY
value: quay.io/mongodb/mongodb-kubernetes-init-ops-manager
- name: INIT_OPS_MANAGER_VERSION
value: 1.2.0
- name: INIT_APPDB_IMAGE_REPOSITORY
value: quay.io/mongodb/mongodb-kubernetes-init-appdb
- name: INIT_APPDB_VERSION
value: 1.2.0
- name: OPS_MANAGER_IMAGE_PULL_POLICY
value: Always
- name: AGENT_IMAGE
value: quay.io/mongodb/mongodb-agent-ubi:108.0.2.8729-1
- name: MDB_AGENT_IMAGE_REPOSITORY
value: quay.io/mongodb/mongodb-agent-ubi
- name: MONGODB_IMAGE
value: mongodb-enterprise-server
- name: MONGODB_REPO_URL
value: quay.io/mongodb
- name: MDB_IMAGE_TYPE
value: ubi8
- name: PERFORM_FAILOVER
value: "true"
- name: MDB_MAX_CONCURRENT_RECONCILES
value: "1"
- name: POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
- name: OPERATOR_NAME
value: mongodb-kubernetes-operator
- name: MDB_COMMUNITY_AGENT_IMAGE
value: quay.io/mongodb/mongodb-agent-ubi:108.0.2.8729-1
- name: VERSION_UPGRADE_HOOK_IMAGE
value: quay.io/mongodb/mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.9
- name: READINESS_PROBE_IMAGE
value: quay.io/mongodb/mongodb-kubernetes-readinessprobe:1.0.22
- name: MDB_COMMUNITY_IMAGE
value: mongodb-community-server
- name: MDB_COMMUNITY_REPO_URL
value: quay.io/mongodb
- name: MDB_COMMUNITY_IMAGE_TYPE
value: ubi8
- name: MDB_SEARCH_COMMUNITY_REPO_URL
value: quay.io/mongodb
- name: MDB_SEARCH_COMMUNITY_NAME
value: mongodb-search-community
- name: MDB_SEARCH_COMMUNITY_VERSION
value: 1.47.0
image: quay.io/mongodb/mongodb-kubernetes:1.2.0
imagePullPolicy: Always
name: mongodb-kubernetes-operator
resources:
limits:
cpu: 1100m
memory: 1Gi
requests:
cpu: 500m
memory: 200Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-n7gp2
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
nodeName: develop-node-1c88e3
preemptionPolicy: PreemptLowerPriority
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
runAsNonRoot: true
runAsUser: 2000
serviceAccount: mongodb-kubernetes-operator
serviceAccountName: mongodb-kubernetes-operator
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
volumes:
- name: kube-api-access-n7gp2
projected:
defaultMode: 420
sources:
- serviceAccountToken:
expirationSeconds: 3607
path: token
- configMap:
items:
- key: ca.crt
path: ca.crt
name: kube-root-ca.crt
- downwardAPI:
items:
- fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
path: namespace
status:
conditions:
- lastProbeTime: null
lastTransitionTime: "2025-09-05T13:55:35Z"
status: "True"
type: PodReadyToStartContainers
- lastProbeTime: null
lastTransitionTime: "2025-09-05T13:55:33Z"
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: "2025-09-05T13:55:35Z"
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2025-09-05T13:55:35Z"
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: "2025-09-05T13:55:33Z"
status: "True"
type: PodScheduled
containerStatuses:
- containerID: containerd://e834588aeebb2e9efc7dd206209bee59695e005e80752d96678c68cc593b6191
image: quay.io/mongodb/mongodb-kubernetes:1.2.0
imageID: quay.io/mongodb/mongodb-kubernetes@sha256:b16b61bc8f2cc424fea31d4e554c21a490abbc7577830a9f81d7316a74f9e289
lastState: {}
name: mongodb-kubernetes-operator
ready: true
restartCount: 0
started: true
state:
running:
startedAt: "2025-09-05T13:55:34Z"
hostIP: 10.0.129.79
hostIPs:
- ip: 10.0.129.79
phase: Running
podIP: 10.2.3.74
podIPs:
- ip: 10.2.3.74
qosClass: Burstable
startTime: "2025-09-05T13:55:33Z"
kind: List
metadata:
resourceVersion: ""
- The Pod logs:
{"t":{"$date":"2025-09-05T14:05:24.983+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1460355","msg":"client metadata","attr":{"remote":"10.2.4.36:35158","client":"conn1460355","doc":{"application":{"name":"MongoDB Automation Agent v108.0.2.8729 (git: ec1573c1fd5d7da3acab288d628b9e9eaaec6b2b)"},"driver":{"name":"mongo-go-driver","version":"v1.12.0-cloud"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.22.9"}}}
{"t":{"$date":"2025-09-05T14:05:25.000+00:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn1460355","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":true,"principalName":"__system","authenticationDatabase":"local","remote":"10.2.4.36:35158","extraInfo":{}}}
{"t":{"$date":"2025-09-05T14:05:25.004+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1460354","msg":"Connection ended","attr":{"remote":"10.2.4.36:35146","uuid":"643d9565-b33d-4495-b04e-ed8ab80e4a72","connectionId":1460354,"connectionCount":32}}
{"t":{"$date":"2025-09-05T14:05:25.004+00:00"},"s":"I", "c":"-", "id":20883, "ctx":"conn1460353","msg":"Interrupted operation as its client disconnected","attr":{"opId":161195331}}
{"t":{"$date":"2025-09-05T14:05:25.005+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1460355","msg":"Connection ended","attr":{"remote":"10.2.4.36:35158","uuid":"442721f3-ef0d-4ce7-925d-607dda4b23db","connectionId":1460355,"connectionCount":31}}
{"t":{"$date":"2025-09-05T14:05:25.005+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1460353","msg":"Connection ended","attr":{"remote":"10.2.4.36:35136","uuid":"c99efb66-28bd-40d6-99d3-a3a229ab4f4a","connectionId":1460353,"connectionCount":30}}
{"t":{"$date":"2025-09-05T14:05:35.113+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.2.4.36:56452","uuid":"b7605c23-5f2a-487a-ba06-de17a4a29f1c","connectionId":1460356,"connectionCount":31}}
{"t":{"$date":"2025-09-05T14:05:35.113+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.2.4.36:56450","uuid":"f3e4d4bf-594e-436c-a23f-a02ea804afd2","connectionId":1460357,"connectionCount":32}}
{"t":{"$date":"2025-09-05T14:05:35.113+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1460356","msg":"client metadata","attr":{"remote":"10.2.4.36:56452","client":"conn1460356","doc":{"application":{"name":"MongoDB Automation Agent v108.0.2.8729 (git: ec1573c1fd5d7da3acab288d628b9e9eaaec6b2b)"},"driver":{"name":"mongo-go-driver","version":"v1.12.0-cloud"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.22.9"}}}
{"t":{"$date":"2025-09-05T14:05:35.114+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1460357","msg":"client metadata","attr":{"remote":"10.2.4.36:56450","client":"conn1460357","doc":{"application":{"name":"MongoDB Automation Agent v108.0.2.8729 (git: ec1573c1fd5d7da3acab288d628b9e9eaaec6b2b)"},"driver":{"name":"mongo-go-driver","version":"v1.12.0-cloud"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.22.9"}}}
{"t":{"$date":"2025-09-05T14:05:35.114+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.2.4.36:56458","uuid":"3ee7a6da-5563-4208-93e3-254b303067df","connectionId":1460358,"connectionCount":33}}
{"t":{"$date":"2025-09-05T14:05:35.115+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1460358","msg":"client metadata","attr":{"remote":"10.2.4.36:56458","client":"conn1460358","doc":{"application":{"name":"MongoDB Automation Agent v108.0.2.8729 (git: ec1573c1fd5d7da3acab288d628b9e9eaaec6b2b)"},"driver":{"name":"mongo-go-driver","version":"v1.12.0-cloud"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.22.9"}}}
{"t":{"$date":"2025-09-05T14:05:35.131+00:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn1460358","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":true,"principalName":"__system","authenticationDatabase":"local","remote":"10.2.4.36:56458","extraInfo":{}}}
{"t":{"$date":"2025-09-05T14:05:35.135+00:00"},"s":"I", "c":"-", "id":20883, "ctx":"conn1460356","msg":"Interrupted operation as its client disconnected","attr":{"opId":161195661}}
{"t":{"$date":"2025-09-05T14:05:35.135+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1460357","msg":"Connection ended","attr":{"remote":"10.2.4.36:56450","uuid":"f3e4d4bf-594e-436c-a23f-a02ea804afd2","connectionId":1460357,"connectionCount":32}}
{"t":{"$date":"2025-09-05T14:05:35.136+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1460356","msg":"Connection ended","attr":{"remote":"10.2.4.36:56452","uuid":"b7605c23-5f2a-487a-ba06-de17a4a29f1c","connectionId":1460356,"connectionCount":31}}
{"t":{"$date":"2025-09-05T14:05:35.136+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1460358","msg":"Connection ended","attr":{"remote":"10.2.4.36:56458","uuid":"3ee7a6da-5563-4208-93e3-254b303067df","connectionId":1460358,"connectionCount":30}}
{"t":{"$date":"2025-09-05T14:05:45.238+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.2.4.36:47360","uuid":"9d15e100-d404-4519-aac5-0d10bae51bf6","connectionId":1460359,"connectionCount":31}}
{"t":{"$date":"2025-09-05T14:05:45.239+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.2.4.36:47362","uuid":"650f8d59-19cd-42fb-afda-33c57829b0cf","connectionId":1460360,"connectionCount":32}}
{"t":{"$date":"2025-09-05T14:05:45.239+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1460360","msg":"client metadata","attr":{"remote":"10.2.4.36:47362","client":"conn1460360","doc":{"application":{"name":"MongoDB Automation Agent v108.0.2.8729 (git: ec1573c1fd5d7da3acab288d628b9e9eaaec6b2b)"},"driver":{"name":"mongo-go-driver","version":"v1.12.0-cloud"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.22.9"}}}
{"t":{"$date":"2025-09-05T14:05:45.239+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1460359","msg":"client metadata","attr":{"remote":"10.2.4.36:47360","client":"conn1460359","doc":{"application":{"name":"MongoDB Automation Agent v108.0.2.8729 (git: ec1573c1fd5d7da3acab288d628b9e9eaaec6b2b)"},"driver":{"name":"mongo-go-driver","version":"v1.12.0-cloud"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.22.9"}}}
{"t":{"$date":"2025-09-05T14:05:45.240+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.2.4.36:47368","uuid":"93f884ec-425a-4d1e-b018-532fa95d4286","connectionId":1460361,"connectionCount":33}}
{"t":{"$date":"2025-09-05T14:05:45.240+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1460361","msg":"client metadata","attr":{"remote":"10.2.4.36:47368","client":"conn1460361","doc":{"application":{"name":"MongoDB Automation Agent v108.0.2.8729 (git: ec1573c1fd5d7da3acab288d628b9e9eaaec6b2b)"},"driver":{"name":"mongo-go-driver","version":"v1.12.0-cloud"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.22.9"}}}
{"t":{"$date":"2025-09-05T14:05:45.263+00:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn1460361","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":true,"principalName":"__system","authenticationDatabase":"local","remote":"10.2.4.36:47368","extraInfo":{}}}
{"t":{"$date":"2025-09-05T14:05:45.265+00:00"},"s":"I", "c":"-", "id":20883, "ctx":"conn1460360","msg":"Interrupted operation as its client disconnected","attr":{"opId":161196001}}
{"t":{"$date":"2025-09-05T14:05:45.265+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1460361","msg":"Connection ended","attr":{"remote":"10.2.4.36:47368","uuid":"93f884ec-425a-4d1e-b018-532fa95d4286","connectionId":1460361,"connectionCount":32}}
{"t":{"$date":"2025-09-05T14:05:45.265+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1460359","msg":"Connection ended","attr":{"remote":"10.2.4.36:47360","uuid":"9d15e100-d404-4519-aac5-0d10bae51bf6","connectionId":1460359,"connectionCount":31}}
{"t":{"$date":"2025-09-05T14:05:45.266+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1460360","msg":"Connection ended","attr":{"remote":"10.2.4.36:47362","uuid":"650f8d59-19cd-42fb-afda-33c57829b0cf","connectionId":1460360,"connectionCount":30}}
{"t":{"$date":"2025-09-05T14:05:55.375+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.2.4.36:35566","uuid":"4fdedb29-eea6-44b8-b5fa-e243a9f64c42","connectionId":1460362,"connectionCount":31}}
{"t":{"$date":"2025-09-05T14:05:55.376+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.2.4.36:35582","uuid":"2dac4111-7708-4d1f-a59b-7c8d64592b5a","connectionId":1460363,"connectionCount":32}}
{"t":{"$date":"2025-09-05T14:05:55.376+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1460362","msg":"client metadata","attr":{"remote":"10.2.4.36:35566","client":"conn1460362","doc":{"application":{"name":"MongoDB Automation Agent v108.0.2.8729 (git: ec1573c1fd5d7da3acab288d628b9e9eaaec6b2b)"},"driver":{"name":"mongo-go-driver","version":"v1.12.0-cloud"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.22.9"}}}
{"t":{"$date":"2025-09-05T14:05:55.376+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1460363","msg":"client metadata","attr":{"remote":"10.2.4.36:35582","client":"conn1460363","doc":{"application":{"name":"MongoDB Automation Agent v108.0.2.8729 (git: ec1573c1fd5d7da3acab288d628b9e9eaaec6b2b)"},"driver":{"name":"mongo-go-driver","version":"v1.12.0-cloud"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.22.9"}}}
{"t":{"$date":"2025-09-05T14:05:55.377+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.2.4.36:35594","uuid":"317b3880-4faa-4e3d-82a1-78c8fc6d1cb6","connectionId":1460364,"connectionCount":33}}
{"t":{"$date":"2025-09-05T14:05:55.378+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1460364","msg":"client metadata","attr":{"remote":"10.2.4.36:35594","client":"conn1460364","doc":{"application":{"name":"MongoDB Automation Agent v108.0.2.8729 (git: ec1573c1fd5d7da3acab288d628b9e9eaaec6b2b)"},"driver":{"name":"mongo-go-driver","version":"v1.12.0-cloud"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.22.9"}}}
{"t":{"$date":"2025-09-05T14:05:55.392+00:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn1460364","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":true,"principalName":"__system","authenticationDatabase":"local","remote":"10.2.4.36:35594","extraInfo":{}}}
{"t":{"$date":"2025-09-05T14:05:55.396+00:00"},"s":"I", "c":"-", "id":20883, "ctx":"conn1460362","msg":"Interrupted operation as its client disconnected","attr":{"opId":161196335}}
{"t":{"$date":"2025-09-05T14:05:55.397+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1460363","msg":"Connection ended","attr":{"remote":"10.2.4.36:35582","uuid":"2dac4111-7708-4d1f-a59b-7c8d64592b5a","connectionId":1460363,"connectionCount":32}}
{"t":{"$date":"2025-09-05T14:05:55.397+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1460364","msg":"Connection ended","attr":{"remote":"10.2.4.36:35594","uuid":"317b3880-4faa-4e3d-82a1-78c8fc6d1cb6","connectionId":1460364,"connectionCount":31}}
{"t":{"$date":"2025-09-05T14:05:55.398+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1460362","msg":"Connection ended","attr":{"remote":"10.2.4.36:35566","uuid":"4fdedb29-eea6-44b8-b5fa-e243a9f64c42","connectionId":1460362,"connectionCount":30}}
{"t":{"$date":"2025-09-05T14:06:05.491+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.2.4.36:48404","uuid":"0b668dd1-5433-47c3-8b6d-40f69017afa6","connectionId":1460365,"connectionCount":31}}
{"t":{"$date":"2025-09-05T14:06:05.492+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.2.4.36:48414","uuid":"3722a78c-1104-4c19-854b-ce82d6da00eb","connectionId":1460366,"connectionCount":32}}
{"t":{"$date":"2025-09-05T14:06:05.492+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1460365","msg":"client metadata","attr":{"remote":"10.2.4.36:48404","client":"conn1460365","doc":{"application":{"name":"MongoDB Automation Agent v108.0.2.8729 (git: ec1573c1fd5d7da3acab288d628b9e9eaaec6b2b)"},"driver":{"name":"mongo-go-driver","version":"v1.12.0-cloud"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.22.9"}}}
{"t":{"$date":"2025-09-05T14:06:05.493+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.2.4.36:48424","uuid":"386dd274-5339-4bf8-837d-a48c61d79d31","connectionId":1460367,"connectionCount":33}}
{"t":{"$date":"2025-09-05T14:06:05.494+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1460366","msg":"client metadata","attr":{"remote":"10.2.4.36:48414","client":"conn1460366","doc":{"application":{"name":"MongoDB Automation Agent v108.0.2.8729 (git: ec1573c1fd5d7da3acab288d628b9e9eaaec6b2b)"},"driver":{"name":"mongo-go-driver","version":"v1.12.0-cloud"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.22.9"}}}
{"t":{"$date":"2025-09-05T14:06:05.495+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1460367","msg":"client metadata","attr":{"remote":"10.2.4.36:48424","client":"conn1460367","doc":{"application":{"name":"MongoDB Automation Agent v108.0.2.8729 (git: ec1573c1fd5d7da3acab288d628b9e9eaaec6b2b)"},"driver":{"name":"mongo-go-driver","version":"v1.12.0-cloud"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.22.9"}}}
{"t":{"$date":"2025-09-05T14:06:05.517+00:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn1460367","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":true,"principalName":"__system","authenticationDatabase":"local","remote":"10.2.4.36:48424","extraInfo":{}}}
{"t":{"$date":"2025-09-05T14:06:05.518+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1460366","msg":"Connection ended","attr":{"remote":"10.2.4.36:48414","uuid":"3722a78c-1104-4c19-854b-ce82d6da00eb","connectionId":1460366,"connectionCount":32}}
{"t":{"$date":"2025-09-05T14:06:05.518+00:00"},"s":"I", "c":"-", "id":20883, "ctx":"conn1460365","msg":"Interrupted operation as its client disconnected","attr":{"opId":161196667}}
{"t":{"$date":"2025-09-05T14:06:05.519+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1460367","msg":"Connection ended","attr":{"remote":"10.2.4.36:48424","uuid":"386dd274-5339-4bf8-837d-a48c61d79d31","connectionId":1460367,"connectionCount":31}}
{"t":{"$date":"2025-09-05T14:06:05.520+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1460365","msg":"Connection ended","attr":{"remote":"10.2.4.36:48404","uuid":"0b668dd1-5433-47c3-8b6d-40f69017afa6","connectionId":1460365,"connectionCount":30}}