Bug 1951021

Summary: Storagecluster phase moves to "ready" state for a moment before its actual installation
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Kesavan <kvellalo>
Component: ocs-operatorAssignee: Nobody <nobody>
Status: VERIFIED --- QA Contact: Aman Agrawal <amagrawa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.8CC: amagrawa, ebenahar, muagarwa, sostapov
Target Milestone: ---   
Target Release: OCS 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.8.0-432.ci Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1954123 (view as bug list) Environment:
Last Closed: 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: 1964574    
Bug Blocks:    

Description Kesavan 2021-04-19 12:28:53 UTC
Description of problem (please be detailed as possible and provide log
snippests):

The storagecluster phase moves to ready state the moment when creation of storagecluster begins. 

Version of all relevant components (if applicable):

ocs 4.8

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
This impacts the operator watching storage cluster phase by in openshift dedicated and IBM cluster as the state is reported as ready before actually moving to ready state. 

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


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


Can this issue reproducible?
yes

Can this issue reproduce from the UI?


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


Steps to Reproduce:
1.
2.
3.


Actual results:
The phase of storagecluster moves to ready the moment when creation of storagecluster begins

Expected results:
The phase of storagecluster should move to progressing the moment when creation of storagecluster begins

Additional info:

Comment 2 Kesavan 2021-04-19 12:47:27 UTC
PR on the fix : https://github.com/openshift/ocs-operator/pull/1148 (Merged to master)

Comment 8 Mudit Agarwal 2021-06-09 18:07:28 UTC
Kesavan,
What are the next steps?

Should this be fixed, if yes then in this BZ or we should open a different BZ?
If no, please move it back to ON_QA

Comment 10 Mudit Agarwal 2021-06-10 06:01:28 UTC
I am fine with fixing it, just asking if it still needs a fix or not.
And one of the reason for the confusion is, the 4.7 clone of this (BZ #1954123) is already marked VERIFIED though I assume that the fix is same for both 4.8 and 4.7?

Aman, we don't see the same issue in 4.7?

Comment 12 Kesavan 2021-06-13 21:23:08 UTC
Yes ohad, there will be a regression when upgraded to 4.8

Mudit,Yes this needs to be fixed. The issue we are facing now seems to be occuring due to some other reason and only in 4.8. provided more info in https://bugzilla.redhat.com/show_bug.cgi?id=1951021#c7

Comment 13 Mudit Agarwal 2021-06-14 07:46:02 UTC
Thanks guys, keeping this as an exception for 4.8
Let's fix it.

Comment 14 Jose A. Rivera 2021-06-14 13:41:38 UTC
Since a PR addressing this BZ was merged and backported, moving this to POST. Despite the fact this is already in the downstream builds, it is hard to verify due to https://bugzilla.redhat.com/show_bug.cgi?id=1964574, so marking this as dependent on it.

Comment 15 Mudit Agarwal 2021-06-16 02:04:38 UTC
No changes required here, but it can't be moved to ON_QA till BZ #1964574 is ON_QA