The file driver for Gnocchi now works as expected in containerized installations. Previously the host directory was not mounted in the container.
Description of problem:
gnocchi_api and gnocchi_metricd don't bind host's /var/lib/gnocchi directory
Version-Release number of selected component (if applicable):
Steps to Reproduce:
/var/lib/gnocchi is not bind to host. Thus we can't use "file" storage driver because if docker container restarts then the data will be lost.
Sorry for the noise. Can I get any information on this bug ?
Can I get any opinion from engineering team ?
The customer is especially asking, are we going to bind the directory in future release or we are not going to bind it at all so that the customer can plan the workaround ASAP.
The customer mentioned that they will be using OSP13 so for this issue backport to OSP12 is not in a hurry. They are expecting OSP13 could have this fix.
I create another BZ for tracking the OSP13 work: https://bugzilla.redhat.com/show_bug.cgi?id=1584591.
We will check if the fix can be part of OSP13 GA or if that too late. Otherwise it will be in OSP13z1
Thank you very much for your great help.
/var/lib/gnocchi is added to gnocchi_api, gnocchi_statsd and gnocchi_metricd
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.