red-hat-storage / ocs-operator

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

rpc: add rpc calls to create the maintenance mode reconciler in ocs-operator #2870

Closed rewantsoni closed 4 days ago

rewantsoni commented 2 weeks ago

During Failover action for DR, the ramen operator creates the MaintenanceMode CR on the Client clusters. The MaintenancMode action requires us to scale down the rbd mirror daemon created on the provider. Create rpc calls so that maintenance mode can be triggered on the providers by applying the annotation on storageConsumer. that will be reconciled by the Mirroring controller

openshift-ci[bot] commented 2 weeks ago

Skipping CI for Draft Pull Request. If you want CI signal for your change, please convert it to an actual PR. You can still manually trigger a test run with /test all

nb-ohad commented 4 days ago

/lgtm

nb-ohad commented 4 days ago

/lgtm

openshift-ci[bot] commented 4 days 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