in some scenarios with mongo not running stop_hook will fail and preclude progress
Bug #1370541 reported by
Samuele Pedroni
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MongoDB Charm |
Won't Fix
|
Low
|
Unassigned |
Bug Description
when attaching a volume for example
affects: | mongodb (Juju Charms Collection) → mongodb-charm |
Changed in charm-mongodb: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.
I provisioned units, knowing that they would not be useful until I could get the volumes up and in the volume-map setting. Unfortunately once I did get these new units sorted out for persistent volumes, mongodb was down and all hooks complained about the absence of /var/lib/ mongodb/ mongod. lock
In the end I had to work around this by manually starting up badly-configured mongodb services on all units and doing a resolved --retry. Ultimately it shouldn't care if mongodb was down already, at this point.