Yesterday i reported the following bug:
We found that the Percona Mongo server version on DCOS could not restore backups because @ is not escaped properly.
Now i would like to work around this to fix this, but in the documentation i read this:
IMPORTANT: These users cannot be modified or removed. Tasks that modify the users below will receive an error.
Now i would like to work around this by logging in mongo, updating the backupUser system password and after this updating the service.json for the DCOS task. Did anyone have experience with this?
The impatient adventurer in me decided to give it a try.
Solved our issue by removing the @ character by going to the mongo cluster with the cli.
sudo docker run -it mongo:latest mongo mongodb://mongo-rs-0-mongod.autoip.dcos.thisdcos.directory:27017,mongo-rs-1-mongod.autoip.dcos.thisdcos.directory:27017,mongo-rs-2-mongod.autoip.dcos.thisdcos.directory:27017/admin?replicaSet=rs -u userAdmin -p ‘my_password’
After this i went to the DCOS interface, updated the backupUser password. This triggered a rolling update, to be sure i checked the exhibitor configuration for the mongo framework.
Ran the restore:
dcos percona-server-mongodb restore run s3 s3://bucketname/mongo/mongodb/date_goes_here/rs/dump
Thank you so much for updating!
I had been asking the team if they could advise. Now I’ve been able to tell them they can check in on your solution instead.