red-hat-storage / ocs-operator

Operator for RHOCS
Apache License 2.0
85 stars 184 forks source link

storageclusterpeers: fix the peering #2889

Closed rewantsoni closed 1 week ago

rewantsoni commented 1 week ago

since we always set the state to failed, from the server it never returns a valid response, because in server we return a valid response only if the peer on side is in Pending or Peered State.

To address this, removed the failed state when we need to requeue

nb-ohad commented 1 week ago

/lgtm

openshift-ci[bot] commented 1 week ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nb-ohad, rewantsoni

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/red-hat-storage/ocs-operator/blob/main/OWNERS)~~ [nb-ohad] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment