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

Adjust drenv to support consistency groups #1564

Merged
merged 1 commit into from
Sep 22, 2024

Conversation

ELENAGER
Copy link
Member

Add volume group replication class to drenv

@nirs nirs added the test Testing related issue label Sep 18, 2024
Copy link
Member

@nirs nirs left a comment

Choose a reason for hiding this comment

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

Looks good, need to fix the newlines on the new resources (edited on Windows?)

Copy link
Member

Choose a reason for hiding this comment

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

We don't need to maintain this file - we plan to delete minikube bash based scripts soon.

You can keep it if you want but nobody is maintaining these files.

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed

@@ -268,4 +276,7 @@ wait_until_pool_mirroring_is_healthy(cluster2)
deploy_vrc_sample(cluster1)
deploy_vrc_sample(cluster2)

deploy_vgrc_sample(cluster1)
deploy_vgrc_sample(cluster2)
Copy link
Member

Choose a reason for hiding this comment

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

This looks fine, but it would be little bit nicer to group all the resources in a kustomization directory and apply all of them with one command, if you want to try.

@ELENAGER ELENAGER force-pushed the drenv_with_cg branch 6 times, most recently from 27e747c to 9eb2ffc Compare September 19, 2024 12:52
@ELENAGER ELENAGER changed the title Adjust drenv to be ready for consistency groups Adjust drenv to support consistency groups Sep 19, 2024
Copy link
Member

@nirs nirs left a comment

Choose a reason for hiding this comment

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

We can add kustomizations later, lets first add the new files.

hack/minikube-rook-mirror-setup.sh Outdated Show resolved Hide resolved
test/addons/rbd-mirror/vgr-sample.yaml Show resolved Hide resolved
@@ -6,6 +6,8 @@ apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: rook-ceph-block
labels:
ramendr.openshift.io/storageid: rook-ceph-storage-id
Copy link
Member

Choose a reason for hiding this comment

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

Ideally the storage ID should be different in the 2 clusters, as this is not a MetroDR setup. So in this case, we should "maybe" add the value with the cluster name to start with.

If we specify the same storage ID, as we develop peer classes at the hub DRPolicy would assume that this is a metro setup in the future.

Copy link
Member

Choose a reason for hiding this comment

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

This will need attention, if not now then pretty soon as we add code for update DRPolicy.status.peerLists as per #1403

Does not block this PR as such, but something to correct down the line.

test/addons/rbd-mirror/vgrc-sample.yaml Show resolved Hide resolved
Signed-off-by: Elena Gershkovich <elenage@il.ibm.com>
@ShyamsundarR ShyamsundarR merged commit 80fb919 into RamenDR:main Sep 22, 2024
20 checks passed
@ELENAGER ELENAGER deleted the drenv_with_cg branch September 22, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Testing related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants