Bug 1962278
| Summary: | Include events in Rook for cephcluster | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Container Storage | Reporter: | Neha Berry <nberry> |
| Component: | rook | Assignee: | Nitin Goyal <nigoyal> |
| Status: | CLOSED ERRATA | QA Contact: | Mugdha Soni <musoni> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.8 | CC: | madam, muagarwa, nigoyal, ocs-bugs, tnielsen |
| Target Milestone: | --- | ||
| Target Release: | OCS 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.8.0-402.ci | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-08-03 18:16:11 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
Neha Berry
2021-05-19 16:32:15 UTC
This will be picked up in the next resync with downstream to release-4.8 Included in the latest resync to release-4.8 Hi As mentioned in comment#11 , i powered off two storage nodes and observed that there were no events seen through CLI . Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal ReconcileSucceeded 48m (x2 over 22h) ClusterController cluster has been configured successfully The second scenario was suggested by @nigoyal which included to scale down the ocs-operator and then edit the cephcluster and change the mon count to 10 . Kept the cluster in same state for 5 hours and observed that events were generated and the count of events was correct . Steps performed to validate the fix are mentioned below :- 1. Deployed OCS 4.8 cluster . The pods, nodes and ceph health was fine . 2. Scaled down the ocs -operator . [root@localhost ocs4_8_aws]# oc scale deployment ocs-operator --replicas=0 -n openshift-storage deployment.apps/ocs-operator scaled 3. Edited the cephcluster to change the mon count to 10 . [root@localhost ocs4_8_aws]# oc edit -n openshift-storage cephcluster ocs-storagecluster-cephcluster cephcluster.ceph.rook.io/ocs-storagecluster-cephcluster edited 4. Observed the events for next 5 hour using command "oc describe cephcluster -n openshift-storage". Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning ReconcileFailed 3m32s ClusterController failed to reconcile cluster "ocs-storagecluster-cephcluster": failed to configure local ceph cluster: failed to perform validation before cluster creation: mon count 10 cannot be even, must be odd to support a healthy quorum ==================================================================================================================================================================================== Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning ReconcileFailed 12m (x2 over 84m) ClusterController failed to reconcile cluster "ocs-storagecluster-cephcluster": failed to configure local ceph cluster: failed to perform validation before cluster creation: mon count 10 cannot be even, must be odd to support a healthy quorum ==================================================================================================================================================================================== Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning ReconcileFailed 29m (x3 over 168m) ClusterController failed to reconcile cluster "ocs-storagecluster-cephcluster": failed to configure local ceph cluster: failed to perform validation before cluster creation: mon count 10 cannot be even, must be odd to support a healthy quorum ===================================================================================================================================================================================== Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning ReconcileFailed 12m (x6 over 5h51m) ClusterController failed to reconcile cluster "ocs-storagecluster-cephcluster": failed to configure local ceph cluster: failed to perform validation before cluster creation: mon count 10 cannot be even, must be odd to support a healthy quorum ===================================================================================================================================================================================== 5.Changed the mon count to 3 and then again to 10 and observed that events were generated and event count was increased. Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning ReconcileFailed 9m25s ClusterController failed to reconcile cluster "ocs-storagecluster-cephcluster": failed to configure local ceph cluster: failed to create cluster: failed to start ceph monitors: failed to assign pods to mons: CANCELLING CURRENT ORCHESTRATION Warning ReconcileFailed 45s (x7 over 6h7m) ClusterController failed to reconcile cluster "ocs-storagecluster-cephcluster": failed to configure local ceph cluster: failed to perform validation before cluster creation: mon count 10 cannot be even, must be odd to support a healthy quorum ===================================================================================================================================================================================== The events were generated and the event count did not increase before hour . Hence moving the bug to verified state . Thanks Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat OpenShift Container Storage 4.8.0 container images bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:3003 |