Currently i have issue with my pbm agents on mongodb they tell me no available agent on replsets when i do any backup (physical - incremental). however my pbm status shows the pbm agent was OK on the all node also my mongodb replsets currently on healthy state.
Here the pbm status output (none of them confidential because it’s lab env)
3 VM running instance of mongodb community 4.4.25 with pbm agent 2.3.0 installed
1 VM as remote storage s3 minio
[root@al-mongobackup ~]# pbm status
Cluster:
========
rs0:
- rs0/10.63.23.55:27017 [P]: pbm-agent v2.3.0 OK
- rs0/al-mongorestore:27017 [S]: pbm-agent v2.3.0 OK
- rs0/al-mongorestore2:27017 [S]: pbm-agent v2.3.0 OK
PITR incremental backup:
========================
Status [OFF]
Currently running:
==================
(none)
Backups:
========
S3 us-east-1 s3://http://10.63.23.117:9000/mongodb-backup-55
(none)
Error output
[root@al-mongobackup ~]# pbm backup --type incremental --base
Error: backup pre-check: no available agent(s) on replsets: rs0
pbm logs output
[root@al-mongobackup ~]# pbm logs
2023-10-16T09:32:53Z I [rs0/10.63.23.55:27017] starting PITR routine
2023-10-16T09:32:53Z I [rs0/10.63.23.55:27017] node: rs0/10.63.23.55:27017
2023-10-16T09:32:53Z I [rs0/10.63.23.55:27017] listening for the commands
2023-10-16T09:34:26Z I [rs0/al-mongorestore:27017] got command resync <ts: 1697448866>
2023-10-16T09:34:26Z I [rs0/al-mongorestore:27017] got epoch {1697448866 9}
2023-10-16T09:34:26Z I [rs0/10.63.23.55:27017] got command resync <ts: 1697448866>
2023-10-16T09:34:26Z I [rs0/10.63.23.55:27017] got epoch {1697448864 1}
2023-10-16T09:34:26Z I [rs0/10.63.23.55:27017] [resync] started
2023-10-16T09:34:26Z I [rs0/10.63.23.55:27017] [resync] succeed
2023-10-16T09:34:27Z I [rs0/al-mongorestore2:27017] got command resync <ts: 1697448866>
2023-10-16T09:34:27Z I [rs0/al-mongorestore2:27017] got epoch {1697448866 9}
2023-10-16T09:39:36Z I [rs0/10.63.23.55:27017] pbm-agent:
Version: 2.3.0
Platform: linux/amd64
GitCommit: 3b1c2e263901cf041c6b83547f6f28ac2879911f
GitBranch: release-2.3.0
BuildTime: 2023-09-20_14:42_UTC
GoVersion: go1.19
2023-10-16T09:39:36Z I [rs0/10.63.23.55:27017] starting PITR routine
2023-10-16T09:39:36Z I [rs0/10.63.23.55:27017] node: rs0/10.63.23.55:27017
2023-10-16T09:39:36Z I [rs0/10.63.23.55:27017] listening for the commands
2023-10-16T12:08:36Z E [rs0/10.63.23.55:27017] [agentCheckup] check storage connection: storage check failed with: get S3 object header: RequestError: send request failed
caused by: Head "http://10.63.23.117:9000/mongodb-backup-55/.pbm.init": dial tcp 10.63.23.117:9000: connect: connection refused
2023-10-16T12:08:41Z E [rs0/10.63.23.55:27017] [agentCheckup] check storage connection: storage check failed with: get S3 object header: RequestError: send request failed
caused by: Head "http://10.63.23.117:9000/mongodb-backup-55/.pbm.init": dial tcp 10.63.23.117:9000: connect: connection refused
2023-10-16T12:08:46Z E [rs0/10.63.23.55:27017] [agentCheckup] check storage connection: storage check failed with: get S3 object header: RequestError: send request failed
caused by: Head "http://10.63.23.117:9000/mongodb-backup-55/.pbm.init": dial tcp 10.63.23.117:9000: connect: connection refused
2023-10-16T12:08:51Z E [rs0/10.63.23.55:27017] [agentCheckup] check storage connection: storage check failed with: get S3 object header: RequestError: send request failed
caused by: Head "http://10.63.23.117:9000/mongodb-backup-55/.pbm.init": dial tcp 10.63.23.117:9000: connect: connection refused
2023-10-16T12:08:56Z E [rs0/10.63.23.55:27017] [agentCheckup] check storage connection: storage check failed with: get S3 object header: RequestError: send request failed
caused by: Head "http://10.63.23.117:9000/mongodb-backup-55/.pbm.init": dial tcp 10.63.23.117:9000: connect: connection refused
[root@al-mongobackup ~]#
hopefully there was an solution.
thank you!