Bug 1525977

Summary: File storage drive backed by NFS is missing some metrics on multi-controller environment
Product: Red Hat OpenStack Reporter: David Vallee Delisle <dvd>
Component: openstack-gnocchiAssignee: Julien Danjou <jdanjou>
Status: CLOSED DUPLICATE QA Contact: Sasha Smolyak <ssmolyak>
Severity: high Docs Contact:
Priority: medium    
Version: 10.0 (Newton)CC: apevec, dvd, jdanjou, jschluet, lhh, mabaakou, marjones, pkilambi
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-04 14:39:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Vallee Delisle 2017-12-14 14:17:39 UTC
Description of problem:
We think it might be because each controller is overwriting the other controller's change.

We have a support exception for this setup with the customer.

Version-Release number of selected component (if applicable):
openstack-gnocchi-api-3.0.2-1

How reproducible:
All the time

Steps to Reproduce:
1. [storage]/driver = file on all 3 controllers
2. /var/lib/gnocchi points to same NFS share for all 3 controllers
3. wait

Actual results:
Missing metrics:

openstack metric measures show --resource-id 9f99c0c7-3d57-5152-9103-b77efa369f72 network.incoming.bytes
+---------------------------+-------------+-------------------+
| timestamp                 | granularity |             value |
+---------------------------+-------------+-------------------+
| 2017-12-11T12:10:00+00:00 |       600.0 |  2.2411082012e+11 |
| 2017-12-11T13:30:00+00:00 |       600.0 | 2.24230537049e+11 |
| 2017-12-11T13:50:00+00:00 |       600.0 |  2.2426044028e+11 |
| 2017-12-11T14:00:00+00:00 |       600.0 |  2.2427551653e+11 |
| 2017-12-11T14:30:00+00:00 |       600.0 |  2.2432091579e+11 |
| 2017-12-11T15:40:00+00:00 |       600.0 | 2.24426324382e+11 |
+---------------------------+-------------+-------------------+

Expected results:
Have metrics on every 10 minutes

Additional info:
When we turn off ceilometer on 2/3 controllers, we get 100% of the metrics

Comment 10 Mehdi ABAAKOUK 2017-12-20 21:05:45 UTC
Looks like a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1520694

Comment 14 Mehdi ABAAKOUK 2018-01-04 14:39:26 UTC
Closing as duplicate as 1520694, more details here: https://bugzilla.redhat.com/show_bug.cgi?id=1520694#c15

*** This bug has been marked as a duplicate of bug 1520694 ***