Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1639903

Summary: [Doc] [Manila] [Storage]Need to Document How to Create or Modify an Archive Policy in Gnocchi to Accurately Display Manila Share Metrics
Product: Red Hat OpenStack Reporter: Dustin Schoenbrun <dschoenb>
Component: documentationAssignee: RHOS Documentation Team <rhos-docs>
Status: CLOSED WONTFIX QA Contact: RHOS Documentation Team <rhos-docs>
Severity: low Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: ccopello, cminkema, lmarsh, mrunge, scohen, vimartin
Target Milestone: ---Keywords: Documentation, 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: 2019-10-09 15:29:23 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 Dustin Schoenbrun 2018-10-16 21:47:52 UTC
Description of problem:
Currently when Manila reports data into the telemetry services they are represented in Gnocchi by the archive policy called "low" which does an average of the current value compared to the previous values instead of showing the size of the share in question. We will need to either modify the default archive policy to include "last" as one of the aggregation methods or create a new archive policy and enable "last" as one of the aggregation methods.

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


How reproducible:
100%

Steps to Reproduce:
manila create --name metrics-test NFS 1
manila extend metrics-test 5
manila shrink metrics-test 2
manila shrink metrics-test 1
manila extend metrics-test 10
manila shrink metrics-test 5

openstack metric measures show 1e97387e-5bf4-4332-8198-dbee481f8a60
+---------------------------+-------------+-------+
| timestamp                 | granularity | value |
+---------------------------+-------------+-------+
| 2018-10-09T09:10:00-04:00 |       300.0 |   1.0 |
| 2018-10-09T09:25:00-04:00 |       300.0 |   3.0 |
| 2018-10-09T09:35:00-04:00 |       300.0 |   3.5 |
| 2018-10-10T16:55:00-04:00 |       300.0 |   1.5 |
| 2018-10-10T17:55:00-04:00 |       300.0 |  5.25 |
| 2018-10-12T17:10:00-04:00 |       300.0 |   7.5 |
+---------------------------+-------------+-------+


Actual results:
The metrics that Manila reports are not presented accurately due to not having the correct aggregation method applied to an archive policy (either the default or a new one).

Expected results:
Manila's share size metrics shall be reported correctly by Gnocchi by specifying a correct aggregation method.


Additional info:
The metrics that Manila is reporting are correct, but are merely being displayed incorrectly. Fixing this should be as simple as documenting how to create an appropriate archive policy in Gnocchi or how to modify the existing default archive policy to display the information correctly.

Comment 1 Laura Marsh 2019-03-13 16:44:43 UTC
Victoria, do you have any draft content for this?

Comment 7 Matthias Runge 2019-10-09 16:58:46 UTC
Gnocchi is not yet removed, but it's exclusively only supported in OSP16 for the Autoscaling use-case.