Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ClusterClaim for RDR optimizations and refactor getOsdCount() #2300

Merged

Conversation

umangachapagain
Copy link
Contributor

No description provided.

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 5, 2023
@umangachapagain umangachapagain requested a review from sp98 December 5, 2023 08:40
@@ -193,6 +203,26 @@ func (c *ClusterClaimCreator) getCephFsid() (string, error) {
return "", fmt.Errorf("failed to fetch ceph fsid from %q secret", RookCephMonSecretName)
}

func (c *ClusterClaimCreator) getIsDROptimized(serverVersion *version.Info) (string, error) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sp98 Can you check if this is accurate?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missed it. Checking now

Copy link
Member

@iamniting iamniting left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@umangachapagain The code changes looks good, Once Santosh confirm we can merge it, Can you pls fix commitlint issue before that?

Regional DR optimization status is crucial in configuring clusters
for Regional DR. It is set to true when all optimizations are applied.

Signed-off-by: Umanga Chapagain <[email protected]>
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 12, 2023
Copy link
Contributor

openshift-ci bot commented Dec 12, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: iamniting, umangachapagain

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 [iamniting,umangachapagain]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sp98
Copy link
Contributor

sp98 commented Dec 12, 2023

@iamniting @umangachapagain Changes look good to me.

@openshift-merge-bot openshift-merge-bot bot merged commit 9fa768c into red-hat-storage:main Dec 12, 2023
15 checks passed
@umangachapagain umangachapagain deleted the rdr-optimizations branch December 12, 2023 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants