-
Notifications
You must be signed in to change notification settings - Fork 580
RBD: update VolumeGroupContext #5376
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
RBD: update VolumeGroupContext #5376
Conversation
This pull request now has conflicts with the target branch. Could you please resolve conflicts and force push the corrected changes? 🙏 |
9e0687f
to
b40d829
Compare
@@ -16,7 +16,7 @@ require ( | |||
github.com/ceph/ceph-csi/api v0.0.0-00010101000000-000000000000 | |||
github.com/ceph/go-ceph v0.34.0 | |||
github.com/container-storage-interface/spec v1.11.0 | |||
github.com/csi-addons/kubernetes-csi-addons v0.12.0 | |||
github.com/csi-addons/kubernetes-csi-addons v0.10.1-0.20250619114017-8816325e2e14 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have used the github.com/csi-addons/kubernetes-csi-addons@main
to get the required changes from csi-addons for this PR.
Do we wait for next csi-addons release to merge this PR? @Madhu-1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets not stall this PR. once we have release before ceph-csi release we can update to next release
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What will happen if there are CR's present in the cluster or are using older version of csi-addons CR's? did we test it out?
didn't test this scenario, but yea this will result in panic as the older version CR will not have the Either we can tie ceph-csi version with this change with the required csi-addons version or handle gracefully by falling back to VolumeGroupReplicationClass for fetching the parameters? |
we should have fall back as we need to support the older version of CR's as well. |
b40d829
to
6b60bee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small nit, LGTM
internal/controller/volumegroup/volumegroupreplicationcontent.go
Outdated
Show resolved
Hide resolved
6b60bee
to
6d36321
Compare
internal/controller/volumegroup/volumegroupreplicationcontent.go
Outdated
Show resolved
Hide resolved
6d36321
to
8811751
Compare
@Mergifyio queue |
🛑 The pull request has been removed from the queue
|
/retest ci/centos/k8s-e2e-external-storage/1.31 |
/retest ci/centos/k8s-e2e-external-storage/1.33 |
/retest ci/centos/mini-e2e-helm/k8s-1.31 |
/retest ci/centos/mini-e2e-helm/k8s-1.32 |
/retest ci/centos/mini-e2e-helm/k8s-1.33 |
/retest ci/centos/mini-e2e/k8s-1.31 |
/retest ci/centos/mini-e2e/k8s-1.32 |
/retest ci/centos/mini-e2e/k8s-1.33 |
/retest ci/centos/upgrade-tests-cephfs |
/retest ci/centos/upgrade-tests-rbd |
@Mergifyio requeue |
✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically |
This commit updates the VolumeGroupContext field with the key-value pairs available in the CreateVolumeGroupRequest. Signed-off-by: Praveen M <m.praveen@ibm.com>
Update VolumeGroupReplicationContent controller to get VolumeGroupAttributes from VolumeGroupReplicationContent CR instead of VolumeGroupReplicationClass. Signed-off-by: Praveen M <m.praveen@ibm.com>
8811751
to
aeeeeea
Compare
/test ci/centos/k8s-e2e-external-storage/1.33 |
/test ci/centos/k8s-e2e-external-storage/1.32 |
/test ci/centos/upgrade-tests-cephfs |
/test ci/centos/mini-e2e-helm/k8s-1.33 |
/test ci/centos/k8s-e2e-external-storage/1.31 |
/test ci/centos/mini-e2e-helm/k8s-1.32 |
/test ci/centos/mini-e2e-helm/k8s-1.31 |
/test ci/centos/mini-e2e/k8s-1.33 |
/test ci/centos/mini-e2e/k8s-1.32 |
/test ci/centos/upgrade-tests-rbd |
/test ci/centos/mini-e2e/k8s-1.31 |
Describe what this PR does
This PR includes below changes -
updates the VolumeGroupContext field with the key-value
pairs available in the CreateVolumeGroupRequest.
Update VolumeGroupReplicationContent controller to get
VolumeGroupAttributes from VolumeGroupReplicationContent CR
instead of VolumeGroupReplicationClass.
Fixes: #5220
Checklist:
Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:
/retest ci/centos/<job-name>
: retest the<job-name>
after unrelatedfailure (please report the failure too!)