Bug 2077918

Summary: There is no cluster capacity(requested quota) utilization alert for consumer
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Filip Balák <fbalak>
Component: odf-managed-serviceAssignee: Leela Venkaiah Gangavarapu <lgangava>
Status: CLOSED WONTFIX QA Contact: Neha Berry <nberry>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.10CC: aeyal, dbindra, ocs-bugs, odf-bz-bot, sabose
Target Milestone: ---Keywords: UserExperience
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: 2022-07-20 07:14:03 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 Filip Balák 2022-04-22 15:23:05 UTC
Description of problem:
It is possible to create a PVC larger than what is requested capacity during consumer add-on deployment. If this happens and capacity of the consumer cluster is utilized but the PVC still has enough unused space then the utilization is stopped and all space on the cluster is filled without notifying user that there is no more space. 

Version-Release number of selected component (if applicable):
ocs-operator.v4.10.0
OCP 4.10.8

How reproducible:
1/1

Steps to Reproduce:
1. Deploy provider cluster with 4 TiB capacity
2. Deploy consumer cluster with 1 TiB capacity
3. Create PVC on consumer with requested capacity 4 TiB
4. Utilize the PVC from consumer

Actual results:
Utilization stops at 1 TiB and no more data can be written to the cluster. There is no alert raised that the capacity is filled.

Expected results:
User should be notified during the utilization process that the cluster is getting filled.

Additional info:

Comment 1 Filip Balák 2022-07-19 11:56:06 UTC
There is no quota feature for consumer now. Should this be CLOSED with reasoning WONTFIX?

Comment 2 Leela Venkaiah Gangavarapu 2022-07-20 07:10:04 UTC
Filip,

Yes, this bug can be closed, in v2.0.2 of deployer we removed the option for consumer quota.