Mongodb charm should support persistent storage

Bug #1206468 reported by Tom Haddon
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mongodb (Juju Charms Collection)
Fix Released
Undecided
Unassigned

Bug Description

Currently the mongodb charm doesn't support persistent storage. We should fix that. The PostgreSQL charm is an example of how this could be implemented.

Tom Haddon (mthaddon)
tags: added: canonical-webops
Revision history for this message
Richard Harding (rharding) wrote :

The charm does support persistent storage in a basic sense. You can specify the location to store data. The issue is that there's a bug in the mounting of volumes. The command doesn't obey the specified mount point location and it needs to be 'guessed' by the charm which is why the fix to auto mount wasn't accepted into the charm. We can use persistent storage, we just need to adjust the deploy steps to manually attach the volume to the instance and then to change the mongodb config to point the data store to a location on that volume.

Bug for reference:
https://bugs.launchpad.net/nova/+bug/1088430

Revision history for this message
Tom Haddon (mthaddon) wrote :

Specifying a location for data to be stored is not the same as supporting persistent storage. Please see the PostgreSQL charm for an example of what needs implementing.

Revision history for this message
Curtis Hovey (sinzui) wrote :

Isn't this bug, the intention, identical to bug 1170661? I have a branch that attempts to fix that bug. There is a fault that I have not had time to resolve though.

Revision history for this message
Tom Haddon (mthaddon) wrote :

I don't think so, Curtis - that bug seems to be about restoring from a dumpfile. I had thought there was already a bug about persistent storage but couldn't find it, so I filed this one. I did see that there was a branch of yours already about it, wanted to file this bug so we can track it on an ongoing basis. Thanks!

Revision history for this message
Curtis Hovey (sinzui) wrote :

This bug is a duplicate of Bug #1130764: db and data are not persistence, reported against charmworld several months ago. out proposed fix was rejected.

Stuart Bishop (stub)
Changed in mongodb (Juju Charms Collection):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.