-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.10.0
-
None
-
Moderate
-
None
-
False
-
Description of problem:
The issue is applicable for all other operators as well.
Version-Release number of selected component (if applicable):
OCP 4.10.0-0.nightly-2022-06-08-150219 ODF 4.10.5-4
How reproducible:
Always
Steps to Reproduce:
1. Install OCP+ODF 4.10 2. Navigate to OCP console -> Data Foundation under Storage -> Storage Systems tab -> Click on Kebab menu and delete the storage system 3. Check the status which should report 'Terminating' 4. Now go to the Installed Operators -> ODF -> Storage System 5. Check the status, it still shows conditions with different values, however, it should show 'Terminating' and the status should remain consistent at both these locations.
Actual results:
When Storage System is deleted from Data Foundation dashboard, the status reported under the Operator details page doesn't show 'Terminating' [amagrawa@amagrawa ~]$ oc get storagesystem ocs-storagecluster-storagesystem -o yaml apiVersion: odf.openshift.io/v1alpha1 kind: StorageSystem metadata: creationTimestamp: "2022-07-12T19:15:33Z" deletionGracePeriodSeconds: 0 deletionTimestamp: "2022-07-13T07:26:03Z" finalizers: - storagesystem.odf.openshift.io generation: 2 name: ocs-storagecluster-storagesystem namespace: openshift-storage resourceVersion: "1086630" uid: ceb85552-365e-4f48-b3be-37100892575d spec: kind: storagecluster.ocs.openshift.io/v1 name: ocs-storagecluster namespace: openshift-storage status: conditions: - lastHeartbeatTime: "2022-07-13T07:26:44Z" lastTransitionTime: "2022-07-13T07:26:03Z" message: Deletion is in progress reason: Deleting status: "False" type: Available - lastHeartbeatTime: "2022-07-13T07:26:44Z" lastTransitionTime: "2022-07-13T07:26:03Z" message: Deletion is in progress reason: Deleting status: "True" type: Progressing - lastHeartbeatTime: "2022-07-13T07:26:44Z" lastTransitionTime: "2022-07-12T19:15:33Z" message: StorageSystem CR is valid reason: Valid status: "False" type: StorageSystemInvalid - lastHeartbeatTime: "2022-07-12T19:15:34Z" lastTransitionTime: "2022-07-12T19:15:33Z" reason: Ready status: "True" type: VendorCsvReady - lastHeartbeatTime: "2022-07-12T19:15:34Z" lastTransitionTime: "2022-07-12T19:15:34Z" reason: Found status: "True" type: VendorSystemPresent
Expected results:
The status under Operator details page should also report 'Terminating' when it's deleted.
Additional info: