Bug 2149688

Summary: Uninstallation of provider is not triggered when time expires
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Filip Balák <fbalak>
Component: odf-managed-serviceAssignee: Ohad <omitrani>
Status: CLOSED NOTABUG QA Contact: Neha Berry <nberry>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.10CC: aeyal, dbindra, lgangava, ocs-bugs, odf-bz-bot
Target Milestone: ---Flags: lgangava: needinfo? (fbalak)
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: 2023-01-23 06:45:49 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-11-30 15:44:50 UTC
Description of problem:
When ODF clusters with 2 consumers expire then consumers are deleted as expected but uninstall of provider is not triggered and the cluster is present until rosa delete service command is executed.

Version-Release number of selected component (if applicable):
OCP 4.10.41
ocs-osd-deployer.v2.0.9

How reproducible:
3/3

Steps to Reproduce:
1. Install ODF provider and 2 consumers.
2. Wait until expiration time passes.

Actual results:
Consumers are deleted but provider is in ready state. rosa delete service command needs to be executed to delete the cluster.

Expected results:
When consumers get deleted, provider should be deleted too.

Additional info: