Troubleshooting
Problem
On one ICP cluster, the mongodb backup fails.
The same procedure used on other ICP cluster works just fine.
Backup is performed by invoking mongodump command:
The same procedure used on other ICP cluster works just fine.
Backup is performed by invoking mongodump command:
kubectl -n kube-system exec icp-mongodb-0 -- sh -c 'mkdir -p /work-dir/Backup/mongodump; mongodump --oplog --out /work-dir/Backup/mongodump --host rs0/mongodb:27017 --username $ADMIN_USER --password $ADMIN_PASSWORD --authenticationDatabase admin --ssl --sslCAFile /data/configdb/tls.crt --sslPEMKeyFile /work-dir/mongo.pem'
Symptom
It fails with:
2020-04-22T09:35:17.338+0000 done dumping metering_DB.usage (2722178 documents)
2020-04-22T09:35:17.402+0000 writing captured oplog to
2020-04-22T09:35:30.874+0000 Failed: error dumping oplog: error reading from db: EOF
Document Location
Worldwide
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSBS6K","label":"IBM Cloud Private"},"ARM Category":[{"code":"a8m50000000L2IsAAK","label":"IBM Cloud Private-\u003EBackup and Restore"}],"ARM Case Number":"TS003621035","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
08 May 2020
UID
ibm16207935