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

Bug 2297447: Use ManagedClusterView for ODF info - DRPolicy creation #1470

Conversation

SanjalKatiyar
Copy link
Collaborator

https://bugzilla.redhat.com/show_bug.cgi?id=2297447

Before:

OCS used to create multiple ClusterClaims and MCO console used to read ODF info (StorageCluster, Ceph details) from ManageCluster CR's status.

After:

red-hat-storage/ocs-operator#2440
red-hat-storage/odf-multicluster-orchestrator#219
OCS now creates a single ConfigMap (with all the StorageClusters, Clients details) and a single ClusterClaim (with ConfigMap's namespaced-name details), MCO creates the corresponding ManagedClusterView referencing this ConfigMap and MCO console reads ODF info from the ManagedClusterView CR.

@SanjalKatiyar
Copy link
Collaborator Author

/hold
wait for operator PRs to get merged first...

@SanjalKatiyar
Copy link
Collaborator Author

remove clusterclaim checks from DRPolicy creation unit tests...

@SanjalKatiyar
Copy link
Collaborator Author

/hold cancel

@SanjalKatiyar
Copy link
Collaborator Author

/retitle Bug 2297447: Use ManagedClusterView for ODF info - DRPolicy creation

@openshift-ci openshift-ci bot changed the title Use ManagedClusterView for ODF info - DRPolicy creation Bug 2297447: Use ManagedClusterView for ODF info - DRPolicy creation Jul 24, 2024
Copy link
Contributor

openshift-ci bot commented Jul 24, 2024

@SanjalKatiyar: This pull request references Bugzilla bug 2297447, which is valid.

No validations were run on this bug

Requesting review from QA contact:
/cc @PrasadDesala

In response to this:

Bug 2297447: Use ManagedClusterView for ODF info - DRPolicy creation

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link
Contributor

openshift-ci bot commented Jul 24, 2024

@openshift-ci[bot]: GitHub didn't allow me to request PR reviews from the following users: PrasadDesala.

Note that only red-hat-storage members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

@SanjalKatiyar: This pull request references Bugzilla bug 2297447, which is valid.

No validations were run on this bug

Requesting review from QA contact:
/cc @PrasadDesala

In response to this:

Bug 2297447: Use ManagedClusterView for ODF info - DRPolicy creation

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Comment on lines +108 to +113
export const MCV_NAME_TEMPLATE = 'odf-multicluster-mcv-';

export const MCO_CREATED_BY_LABEL_KEY =
'multicluster.odf.openshift.io/created-by';
export const MCO_CREATED_BY_MC_CONTROLLER =
'odf-multicluster-managedcluster-controller';
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@vbnrh can u cross-verify these constants ?? also, plz make sure these are not changed/updated on the MCO side by mistake.

@vbnrh
Copy link
Member

vbnrh commented Jul 24, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jul 24, 2024
Copy link
Contributor

openshift-ci bot commented Jul 24, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SanjalKatiyar, vbnrh

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:

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

@openshift-merge-bot openshift-merge-bot bot merged commit 654ccd9 into red-hat-storage:master Jul 24, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants