+ PBM_MONGODB_URI='mongodb://backup:password123!A@localhost:27017/?replicaSet=rs0' + MONGO_SSL_DIR=/etc/mongodb-ssl + [[ -f /etc/mongodb-ssl/tls.crt ]] + [[ -f /etc/mongodb-ssl/tls.key ]] + cat /etc/mongodb-ssl/tls.key /etc/mongodb-ssl/tls.crt + PBM_MONGODB_URI='mongodb://backup:password123!A@localhost:27017/?replicaSet=rs0&tls=true&tlsCertificateKeyFile=%2Ftmp%2Ftls.pem&tlsCAFile=/etc/mongodb-ssl%2Fca.crt&tlsInsecure=true' + export PBM_MONGODB_URI + exec pbm-agent-entrypoint 2023/07/18 08:11:43 [entrypoint] starting `pbm-agent` 2023/07/18 08:11:46 Exit: connect to the node: connect: ping: connection() error occurred during connection handshake: auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed. 2023/07/18 08:11:46 [entrypoint] `pbm-agent` exited with code 1 2023/07/18 08:11:46 [entrypoint] restart in 5 sec 2023/07/18 08:11:51 [entrypoint] starting `pbm-agent` 2023-07-18T08:11:52.000+0000 I pbm-agent: Version: 2.0.5 Platform: linux/amd64 GitCommit: 015fb5256ac6a90438bceea01c4740282086bdf9 GitBranch: release-2.0.5 BuildTime: 2023-03-22_15:38_UTC GoVersion: go1.19 2023-07-18T08:11:52.000+0000 I starting PITR routine 2023-07-18T08:11:52.000+0000 I node: rs0/test-rs0-2.test-rs0.test.svc.cluster.local:27017 2023-07-18T08:11:52.000+0000 I listening for the commands 2023-07-18T08:11:57.000+0000 W [agentCheckup] get current storage status: query mongo: mongo: no documents in result 2023-07-18T08:11:57.000+0000 E [agentCheckup] check storage connection: unable to get storage: get config: get: mongo: no documents in result 2023-07-18T08:12:02.000+0000 E [agentCheckup] check storage connection: unable to get storage: get config: get: mongo: no documents in result ... 2023-07-18T08:13:52.000+0000 E [agentCheckup] check storage connection: unable to get storage: get config: get: mongo: no documents in result 2023-07-18T08:13:57.000+0000 E [agentCheckup] check storage connection: unable to get storage: get config: get: mongo: no documents in result 2023-07-18T08:14:11.000+0000 I got command backup [name: 2023-07-18T08:14:11Z, compression: gzip (level: default)] 2023-07-18T08:14:11.000+0000 I got epoch {1689668039 2} # BACKUP FRESH BASE 2023-07-18T08:14:12.000+0000 I [backup/2023-07-18T08:14:11Z] backup started 2023-07-18T08:14:15.000+0000 D [backup/2023-07-18T08:14:11Z] wait for tmp users {1689668055 9} 2023-07-18T08:14:15.756+0000 Setting num cpus to 16 2023-07-18T08:14:15.773+0000 enqueued collection 'admin.pbmBackups' 2023-07-18T08:14:15.773+0000 enqueued collection 'admin.pbmOpLog' ... 2023-07-18T08:14:15.781+0000 archive prelude admin.pbmOpLog 2023-07-18T08:14:15.781+0000 archive prelude admin.pbmConfig ... 2023-07-18T08:14:15.826+0000 writing admin.system.users to archive on stdout 2023-07-18T08:14:15.828+0000 Mux open namespace admin.system.users 2023-07-18T08:14:15.828+0000 counted 5 documents in admin.system.users 2023-07-18T08:14:15.830+0000 done dumping admin.system.users (5 documents) 2023-07-18T08:14:15.830+0000 Mux close namespace admin.system.users 2023-07-18T08:14:15.830+0000 writing admin.system.roles to archive on stdout ... 2023-07-18T08:14:16.455+0000 Mux close namespace config.external_validation_keys 2023-07-18T08:14:16.455+0000 done dumping config.external_validation_keys (0 documents) 2023-07-18T08:14:16.455+0000 dump phase III: the oplog 2023-07-18T08:14:16.455+0000 finishing dump 2023-07-18T08:14:16.455+0000 Mux finish 2023-07-18T08:14:16.455+0000 mux completed successfully 2023-07-18T08:14:16.000+0000 I [backup/2023-07-18T08:14:11Z] mongodump finished, waiting for the oplog 2023-07-18T08:14:19.000+0000 D [backup/2023-07-18T08:14:11Z] set oplog span to {1689668052 19} / {1689668056 2} 2023-07-18T08:14:19.000+0000 I [backup/2023-07-18T08:14:11Z] dropping tmp collections 2023-07-18T08:14:19.000+0000 D [backup/2023-07-18T08:14:11Z] epoch set to {1689668059 6} 2023-07-18T08:14:21.000+0000 I [backup/2023-07-18T08:14:11Z] backup finished 2023-07-18T08:14:21.000+0000 D [backup/2023-07-18T08:14:11Z] releasing lock # BACKUP RESTORED BASE 2023-07-18T08:33:10.000+0000 I got command backup [name: 2023-07-18T08:33:10Z, compression: gzip (level: default)] 2023-07-18T08:33:10.000+0000 I got epoch {1689669177 1} 2023-07-18T08:33:11.000+0000 D [backup/2023-07-18T08:33:10Z] skip: lock not acquired 2023-07-18T08:36:34.000+0000 I got command backup [name: 2023-07-18T08:36:33Z, compression: gzip (level: default)] 2023-07-18T08:36:34.000+0000 I got epoch {1689669382 1} 2023-07-18T08:36:35.000+0000 I [backup/2023-07-18T08:36:33Z] backup started 2023-07-18T08:36:38.000+0000 D [backup/2023-07-18T08:36:33Z] wait for tmp users {1689669398 10} 2023-07-18T08:36:38.472+0000 Setting num cpus to 16 2023-07-18T08:36:38.498+0000 enqueued collection 'admin.pbmBackups' 2023-07-18T08:36:38.498+0000 enqueued collection 'admin.pbmOpLog' 2023-07-18T08:36:38.498+0000 enqueued collection 'admin.pbmLock' ... 2023-07-18T08:36:38.514+0000 archive prelude abc.Project 2023-07-18T08:36:38.514+0000 archive prelude admin.pbmOpLog 2023-07-18T08:36:38.514+0000 archive prelude admin.pbmLockOp 2023-07-18T08:36:38.514+0000 archive prelude config.tMigrationR .... 2023-07-18T08:37:03.060+0000 done dumping abc.Ski (20299 documents) 2023-07-18T08:37:03.060+0000 writing abc.Ref to archive on stdout 2023-07-18T08:37:03.060+0000 counted 3874 documents in abc.R12 2023-07-18T08:37:03.060+0000 Mux close namespace abc.Ski 2023/07/18 08:37:03 [entrypoint] `pbm-agent` exited with code -1 2023/07/18 08:37:03 [entrypoint] restart in 5 sec 2023/07/18 08:37:08 [entrypoint] starting `pbm-agent` 2023-07-18T08:37:08.000+0000 I pbm-agent: Version: 2.0.5 Platform: linux/amd64 GitCommit: 015fb5256ac6a90438bceea01c4740282086bdf9 GitBranch: release-2.0.5 BuildTime: 2023-03-22_15:38_UTC GoVersion: go1.19 2023-07-18T08:37:08.000+0000 I starting PITR routine 2023-07-18T08:37:08.000+0000 I node: rs0/test-rs0-2.test-rs0.test.svc.cluster.local:27017 2023-07-18T08:37:08.000+0000 I listening for the commands