-
Notifications
You must be signed in to change notification settings - Fork 212
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 GroupControllerServer interface for VolumeGroupSnapshot API #399
Add GroupControllerServer interface for VolumeGroupSnapshot API #399
Conversation
Welcome @nixpanic! |
Hi @nixpanic. Thanks for your PR. I'm waiting for a kubernetes-csi member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
/ok-to-test |
/assign |
21abfde
to
a65d484
Compare
Addressed all typos in I do not see an issue with the use of the |
In case someone wants to test this PR, a container image is available at |
This missed adding a |
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.
Also, GetPluginCapabilities
in hostpath/identityserver.go
needs to return the group controller capability
a65d484
to
83ee41f
Compare
Thanks for the reviews @xing-yang and @RaunakShah! Your comments should have been addressed now. The PR has been rebased so that conflicts with |
A container-image with the current PR is at |
FYI, tests will fail until kubernetes-csi/csi-test#450 is merged and used by the CI. |
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.
Looks like the builds are failing here, feel free to re-request review when this is ready.
Hi. I'm testing this PR (thanks, @xing-yang, for pointing me at this). In the code, it looks like we're comparing PV handle IDs against snapshot handle IDs (see the Doing this, the first Happy to help. Thank you! |
I'd also consider this commit, setting the |
Thanks! Will include that in the next update for this PR. |
Thanks @leonardoce, your commits have been added in test-only PR #426 now. |
f784917
to
138c85f
Compare
@nixpanic: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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/test-infra repository. I understand the commands that are listed here. |
Ah! tests fail as This driver reports the new capability, bit the v5.0.0 version of the tests do not know about it. kubernetes-csi/csi-release-tools#240 has already been merged, but it needs to be sync'd into this repository. |
Submitted this PR to update release-tools: #474 |
/retest |
This avoids the CSI driver to fail with `group snapshot with the same name: ... but with different SourceVolumeIds already exist`.
138c85f
to
7d3bdf0
Compare
/retest Everything has passed, but there it still a comment from the k8s-ci-bot about earlier failed tests, maybe this updates it? |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nixpanic, xing-yang 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
VolumeGroupSnapshots have been added to the CSI Spec with version 1.8.0. This PR implements the new API.
Which issue(s) this PR fixes:
Fixes #417
Closes #426 a copy of this PR with kubernetes-csi/csi-test#467 to run CSI Sanity validation
Special notes for your reviewer:
The Kubernetes CSI external-snapshotter does not have the full functionality at this time. The implementation of the VolumeGroupSnapshot functions is largely untested at the moment.
Does this PR introduce a user-facing change?: