Bug 2015522

Summary: [GSS] Recover OCS cluster after deletion of installed OCS CSV
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Priya Pandey <prpandey>
Component: ocs-operatorAssignee: Jose A. Rivera <jrivera>
Status: CLOSED NOTABUG QA Contact: Elad <ebenahar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.7CC: hnallurv, madam, muagarwa, ocs-bugs, odf-bz-bot, sheggodu, sostapov
Target Milestone: ---   
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-01-11 11:38: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 Priya Pandey 2021-10-19 12:36:52 UTC
Description of problem (please be detailed as possible and provide log
snippests):


- Cu was trying to upgrade OCD from v4.7 to v4.8.

- The upgrade was stuck thus cu has deleted the CSV of v4.7.

- After that, they installed the OCS v4.8 on the same cluster.

- The installed CSV is in a Pending state. It complaints about some resources that're in NotSatisfied and NotPresent state. 


Version of all relevant components (if applicable):

v4.7

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?

- The cluster is not healthy and CSV is stuck in a Pending state


Is there any workaround available to the best of your knowledge?

N/A

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?

3

Can this issue reproducible?

- I tried to reproduce the issue by deleting the installed CSV and then installing the upgraded one but the upgrade went successful in the test cluster.

-  The OCS cluster was upgraded to v4.8.

Can this issue reproduce from the UI?

N/A

If this is a regression, please provide more details to justify this:

N/A

Steps to Reproduce:
N/A


Actual results:

- The new version of CSV is stuck in a Pending state.

Expected results:

- The CSV should be successfully installed.

Additional info:

In the next comments:

Comment 3 Bipin Kunal 2021-10-20 10:35:19 UTC
*** Bug 2015521 has been marked as a duplicate of this bug. ***

Comment 5 Jose A. Rivera 2021-11-09 15:55:54 UTC
Hello, apologies for the delay.

Without a must-gather from before the original CSV was deleted I can't say much about this. Offhand I would say uninstall any existing OCS from the Operator Hub UI, then try installing OCS 4.7 and see if that succeeds. Once there, try the upgrade to 4.8 again and send a must-gather if it fails again.