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:
Created attachment 1479174 [details] Inodes-usage
Created attachment 1479175 [details] Inodes-usage-post-deletion
Created attachment 1479176 [details] Inodes-usage-post-creation
Created attachment 1479177 [details] Inodes-usage-post-creation
Created attachment 1479178 [details] Inodes-usage-post-deletion