Bug 1342450

Summary: there is no alert for cluster utilization
Product: [Red Hat Storage] Red Hat Storage Console Reporter: Martin Kudlej <mkudlej>
Component: coreAssignee: Nishanth Thomas <nthomas>
core sub component: events QA Contact: Martin Kudlej <mkudlej>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: anbabu, mkudlej
Version: 2   
Target Milestone: ---   
Target Release: 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhscon-ceph-0.0.23-1.el7scon.x86_64, rhscon-core-0.0.24-1.el7scon.x86_64, rhscon-ui-0.0.39-1.el7scon.noarch Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-19 05:34:13 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:
Bug Depends On:    
Bug Blocks: 1344192    

Description Martin Kudlej 2016-06-03 09:51:32 UTC
Description of problem:
Cluster is configured by default that if free space is under 20% there is warning alert about cluster utilization. I don't see any alert for this and cluster free space is under 19%.

Version-Release number of selected component (if applicable):
server:
ceph-ansible-1.0.5-15.el7scon.noarch
ceph-installer-1.0.11-1.el7scon.noarch
rhscon-ceph-0.0.19-1.el7scon.x86_64
rhscon-core-0.0.20-1.el7scon.x86_64
rhscon-ui-0.0.34-1.el7scon.noarch

monitor with calamari:
calamari-server-1.4.0-0.9.rc12.el7cp.x86_64
ceph-base-10.2.1-6.el7cp.x86_64
ceph-common-10.2.1-6.el7cp.x86_64
ceph-mon-10.2.1-6.el7cp.x86_64
ceph-selinux-10.2.1-6.el7cp.x86_64
libcephfs1-10.2.1-6.el7cp.x86_64
python-cephfs-10.2.1-6.el7cp.x86_64
rhscon-agent-0.0.8-1.el7scon.noarch


How reproducible:
100%

Steps to Reproduce:
1. create cluster and 2 pools
2. try to put data to utilize at least 81% of cluster space
3. check alerts utilization graphs

Comment 1 Martin Kudlej 2016-06-03 09:58:47 UTC
Created attachment 1164428 [details]
logs from server

Comment 2 Martin Kudlej 2016-06-03 10:00:47 UTC
Created attachment 1164429 [details]
logs from monitor with calamari

Comment 4 anmol babu 2016-06-03 15:24:21 UTC
It takes some time for ceph df command to reflect the rise in cluster utilization and add to it our 10 mins sync interval.So, it takes 10 mins post this for the rhscon to know that the cluster utilization has crossed this threshold.

Comment 5 Martin Kudlej 2016-06-06 07:31:09 UTC
I've waited more than 30 minutes for any alert.

Comment 6 Martin Kudlej 2016-08-08 13:06:08 UTC
Tested with 
ceph-ansible-1.0.5-32.el7scon.noarch
ceph-installer-1.0.14-1.el7scon.noarch
rhscon-ceph-0.0.40-1.el7scon.x86_64
rhscon-core-0.0.41-1.el7scon.x86_64
rhscon-core-selinux-0.0.41-1.el7scon.noarch
rhscon-ui-0.0.52-1.el7scon.noarch
and it works.