juju backup fails due to probable mongodb corruption
Bug #1835075 reported by
Steven Parker
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
Back up of juju DB fails
This juju controller is hosted on a bootstack cloud.
After upgrade from 2.5.x to 2.6.3 on an HA version of juju.
ERROR while creating backup archive: while dumping juju state database: error dumping databases: error executing "/usr/lib/
This prevents juju from making a backup of the database and potentially means that our HA mongodb may be at risk.
Please let me know what other information you may require and I'll be happy to provide it.
To post a comment you must log in.
I'm pretty sure this is because the backup command went to a controller that was not the mongo master. This needs to be addressed at the API level for backup. Effectively Juju needs to tell the client to reconnect to a particular API server so it is talking to the mongo master.
Trying to do a mongo dump on the secondaries or recovering nodes is a problem.