Bug 2195982 - [External Mode]: cephcluster has incorrect conditions [NEEDINFO]
Summary: [External Mode]: cephcluster has incorrect conditions
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: rook
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Travis Nielsen
QA Contact: Neha Berry
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-07 07:52 UTC by Vijay Avuthu
Modified: 2023-08-09 17:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-23 22:01:54 UTC
Embargoed:
tnielsen: needinfo? (vavuthu)


Attachments (Terms of Use)

Description Vijay Avuthu 2023-05-07 07:52:26 UTC
Description of problem (please be detailed as possible and provide log
snippests):

cephcluster has incorrect conditions 


Version of all relevant components (if applicable):
odf-operator.v4.12.2-rhodf


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

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

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

Can this issue reproducible?
1/1

Can this issue reproduce from the UI?
Not tried

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


Steps to Reproduce:
1. install odf with external mode using ocs-ci
2. check the cephcluster conditions
3.


Actual results:

$ oc get cephcluster -o yaml
apiVersion: v1
items:
- apiVersion: ceph.rook.io/v1
  kind: CephCluster
  metadata:
    creationTimestamp: "2023-05-07T04:39:03Z"
    finalizers:
    - cephcluster.ceph.rook.io
    generation: 1
    labels:
      app: ocs-external-storagecluster
    name: ocs-external-storagecluster-cephcluster
    namespace: openshift-storage
    ownerReferences:
    - apiVersion: ocs.openshift.io/v1
      blockOwnerDeletion: true
      controller: true
      kind: StorageCluster
      name: ocs-external-storagecluster
      uid: bc51b92c-042d-4420-8776-052d6805cb29
    resourceVersion: "141792"
    uid: e66030d0-8b45-4b00-b347-dc17e255fad3
.
.
.
    conditions:
    - lastHeartbeatTime: "2023-05-07T04:39:03Z"
      lastTransitionTime: "2023-05-07T04:39:03Z"
      message: Attempting to connect to an external Ceph cluster
      reason: ClusterConnecting
      status: "True"
      type: Connecting
    - lastHeartbeatTime: "2023-05-07T07:48:15Z"
      lastTransitionTime: "2023-05-07T04:39:06Z"
      message: Cluster connected successfully
      reason: ClusterConnected
      status: "True"
      type: Connected
    message: Cluster connected successfully
    phase: Connected
    state: Connected
    version:
      version: 16.2.8-85
kind: List
metadata:
  resourceVersion: ""



Expected results:

ClusterConnecting condition should be false or removed from the Conditions to avoid confusion

Additional info:

 $ oc get cephcluster 
NAME                                      DATADIRHOSTPATH   MONCOUNT   AGE     PHASE       MESSAGE                          HEALTH      EXTERNAL
ocs-external-storagecluster-cephcluster                                3h11m   Connected   Cluster connected successfully   HEALTH_OK   true

jenkins job: https://url.corp.redhat.com/1a00d27

must gather: https://url.corp.redhat.com/8e752f1

Comment 2 Travis Nielsen 2023-05-08 14:03:08 UTC
Who is this confusing for? Did a customer report this issue? Just trying to gauge the priority on this.
I believe the conditions have not changed anytime recently, so this must not be a regression.

Comment 3 Travis Nielsen 2023-06-23 22:01:54 UTC
Closing due to inactivity and low priority


Note You need to log in before you can comment on or make changes to this bug.