Bug 1559920 - gnocchi_api and gnocchi_metricd don't bind host's /var/lib/gnocchi directory
Summary: gnocchi_api and gnocchi_metricd don't bind host's /var/lib/gnocchi directory
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
Target Milestone: z3
: 12.0 (Pike)
Assignee: Mehdi ABAAKOUK
QA Contact: Sasha Smolyak
Depends On:
Blocks: 1584591
TreeView+ depends on / blocked
Reported: 2018-03-23 14:34 UTC by Chen
Modified: 2018-12-24 14:43 UTC (History)
9 users (show)

Fixed In Version: openstack-tripleo-heat-templates-7.0.9-18.el7ost
Doc Type: Bug Fix
Doc Text:
The file driver for Gnocchi now works as expected in containerized installations. Previously the host directory was not mounted in the container.
Clone Of:
: 1584591 (view as bug list)
Last Closed: 2018-08-20 12:59:48 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Launchpad 1773376 None None None 2018-05-25 13:55:29 UTC
OpenStack gerrit 570580 None None None 2018-05-25 13:57:20 UTC
OpenStack gerrit 571414 None None None 2018-05-31 09:25:58 UTC
Red Hat Product Errata RHSA-2018:2331 None None None 2018-08-20 13:00:57 UTC

Description Chen 2018-03-23 14:34:37 UTC
Description of problem:

gnocchi_api and gnocchi_metricd don't bind host's /var/lib/gnocchi directory

"Binds": [

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:

Actual results:

/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.

Expected results:

Additional info:

Comment 1 Chen 2018-03-27 00:42:31 UTC
Hi team,

Sorry for the noise. Can I get any information on this bug ?

Best Regards,

Comment 3 Chen 2018-04-27 01:12:43 UTC
Hi Dan,

Can I get any opinion from engineering team ?

Best Regards,

Comment 5 Chen 2018-05-22 06:05:47 UTC
Hi 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.

Best Regards,

Comment 7 Chen 2018-05-30 02:47:58 UTC
Hi Prad,

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.

Best Regards,

Comment 8 Mehdi ABAAKOUK 2018-05-31 13:28:06 UTC
Hi Chen,

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


Comment 9 Chen 2018-05-31 13:32:56 UTC
HI Mehdi,

Thank you very much for your great help.

Best Regards,

Comment 14 Sasha Smolyak 2018-08-01 12:58:53 UTC
/var/lib/gnocchi is added to gnocchi_api, gnocchi_statsd and gnocchi_metricd

Comment 16 errata-xmlrpc 2018-08-20 12:59:48 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.