Bug 1622833 - Prometheus metrics not displaying correct graph for parameter = inodes_free
Summary: Prometheus metrics not displaying correct graph for parameter = inodes_free
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: kubernetes
Version: cns-3.10
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Humble Chirammal
QA Contact: vinutha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-28 07:16 UTC by vinutha
Modified: 2019-01-10 11:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-10 11:08:31 UTC
Embargoed:


Attachments (Terms of Use)
Inodes-usage (78.11 KB, image/png)
2018-08-28 08:36 UTC, vinutha
no flags Details
Inodes-usage-post-deletion (136.19 KB, image/png)
2018-08-28 08:37 UTC, vinutha
no flags Details
Inodes-usage-post-creation (74.82 KB, image/png)
2018-08-28 08:38 UTC, vinutha
no flags Details
Inodes-usage-post-creation (78.11 KB, image/png)
2018-08-28 08:39 UTC, vinutha
no flags Details
Inodes-usage-post-deletion (136.19 KB, image/png)
2018-08-28 08:40 UTC, vinutha
no flags Details

Description vinutha 2018-08-28 07:16:55 UTC
Description of problem:
On a CNS 3.10 setup configured prometheus by running the ansible playbook. Created 1 file and 1 block pvs which are attached to app-pods (mongodb pods) Created multiple files and directories at the mount location of both pods. On verifying metrics from the prometheus console observed that parameters 'Inodes' and 'Inodes_used' are displayed correctly while 'Inodes_free' is almost constant 

Version-Release number of selected component (if applicable):
# rpm -qa| grep openshift
atomic-openshift-3.10.14-1.git.0.ba8ae6d.el7.x86_64
openshift-ansible-playbooks-3.10.21-1.git.0.6446011.el7.noarch
atomic-openshift-docker-excluder-3.10.14-1.git.0.ba8ae6d.el7.noarch
openshift-ansible-roles-3.10.21-1.git.0.6446011.el7.noarch
openshift-ansible-3.10.21-1.git.0.6446011.el7.noarch
atomic-openshift-clients-3.10.14-1.git.0.ba8ae6d.el7.x86_64
atomic-openshift-hyperkube-3.10.14-1.git.0.ba8ae6d.el7.x86_64
atomic-openshift-node-3.10.14-1.git.0.ba8ae6d.el7.x86_64
atomic-openshift-excluder-3.10.14-1.git.0.ba8ae6d.el7.noarch
openshift-ansible-docs-3.10.21-1.git.0.6446011.el7.noarch

# oc rsh glusterfs-storage-dkn2p 
sh-4.2# rpm -qa| grep gluster
glusterfs-client-xlators-3.12.2-16.el7rhgs.x86_64
glusterfs-cli-3.12.2-16.el7rhgs.x86_64
python2-gluster-3.12.2-16.el7rhgs.x86_64
glusterfs-geo-replication-3.12.2-16.el7rhgs.x86_64
glusterfs-libs-3.12.2-16.el7rhgs.x86_64
glusterfs-3.12.2-16.el7rhgs.x86_64
glusterfs-api-3.12.2-16.el7rhgs.x86_64
glusterfs-fuse-3.12.2-16.el7rhgs.x86_64
glusterfs-server-3.12.2-16.el7rhgs.x86_64
gluster-block-0.2.1-24.el7rhgs.x86_64

# oc rsh heketi-storage-1-hkv5s 
sh-4.2# rpm -qa| grep heketi
python-heketi-7.0.0-6.el7rhgs.x86_64
heketi-7.0.0-6.el7rhgs.x86_64
heketi-client-7.0.0-6.el7rhgs.x86_64


How reproducible:
2:2

Steps to Reproduce:
1. Create a CNS setup with OCP 3.10 live using ansible 
2. Configure prometheus metrics by ansible playbook
3. Create 1 file and 1 block app-pod (mongodb in this case) 
4. Created multiple files and directories at the mount location. 
5. Verified the metrics from prometheus console and observed 'Inodes_free' parameter is almost constant while 'Inodes_used' displayed the usage correctly. 

Actual results:
Inodes_free parameter does not display any variation. 

Expected results:
Inodes_free parameter should should the variation correctly like Inodes_used. 

Additional info:

Comment 5 vinutha 2018-08-28 08:36:44 UTC
Created attachment 1479174 [details]
Inodes-usage

Comment 6 vinutha 2018-08-28 08:37:49 UTC
Created attachment 1479175 [details]
Inodes-usage-post-deletion

Comment 7 vinutha 2018-08-28 08:38:50 UTC
Created attachment 1479176 [details]
Inodes-usage-post-creation

Comment 8 vinutha 2018-08-28 08:39:45 UTC
Created attachment 1479177 [details]
Inodes-usage-post-creation

Comment 9 vinutha 2018-08-28 08:40:24 UTC
Created attachment 1479178 [details]
Inodes-usage-post-deletion


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