-
Notifications
You must be signed in to change notification settings - Fork 371
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
Update VolumeSnapshot and VolumeSnapshotContent using JSON patch #876
Update VolumeSnapshot and VolumeSnapshotContent using JSON patch #876
Conversation
|
Welcome @shubham-pampattiwar! |
Hi @shubham-pampattiwar. 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 |
@shubham-pampattiwar thank you for picking this up! Can you also add fixes for Alternatively, we can break #748 into two fixes - one for Update() and one for UpdateStatus(). Both calls can cause the |
@ggriffiths yeah I wanted target |
Sounds good, can you remove |
Updated the PR description. |
Hi @shubham-pampattiwar, looks like the unit tests need to be fixed for this PR. Here is the original PR where patching support was added: In there will be some examples of how to adjust the unit tests. |
Is this a breaking change? If yes how do we track this in the side car release process? |
This is not a breaking change. This should reduce the number of conflicts we get while updating the API objects. @ggriffiths already made similar changes earlier. |
@shubham-pampattiwar bump :) |
cc1a7b2
to
4b4db19
Compare
@ggriffiths updated the PR. |
4b4db19
to
ea306cb
Compare
@shubham-pampattiwar Can you please take a look at the CI failure? |
/assign @xing-yang for approver review |
Can you add "in the snapshot-controller" in the release notes? Thanks! |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: shubham-pampattiwar, 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 |
In my case, the volumesnapshot deletes instantly after creation with the above error. @shubham-pampattiwar |
@xing-yang should this be added to a future release? I don't see it in the latest patches, unless I missed it. |
This important fix is only in the main branch, not in the release-6.x branches. Hence, the fix is not included in an official release. |
@xing-yang @sunnylovestiramisu Any change to get this important improvement in a 6.3.x release (see previous comment)? |
@phoenix-bjoern This change will be in the next minor release which will come after the K8s 1.29 release. |
@xing-yang @ggriffiths PR for release-6.3 branch created: #974 |
This adds attempts to the flaky tests, which are caused by two known issues. First one isn't yet available in the CI cluster, second is known and needs to be fixed in the Velero code: - kubernetes-csi/external-snapshotter#876 - vmware-tanzu/velero#5856 Signed-off-by: Michal Pryc <[email protected]>
This adds attempts to the flaky tests, which are caused by two known issues. First one isn't yet available in the CI cluster, second is known and needs to be fixed in the Velero code: - kubernetes-csi/external-snapshotter#876 - vmware-tanzu/velero#5856 Signed-off-by: Michal Pryc <[email protected]>
This adds attempts to the flaky tests, which are caused by two known issues. First one isn't yet available in the CI cluster, second is known and needs to be fixed in the Velero code: - kubernetes-csi/external-snapshotter#876 - vmware-tanzu/velero#5856 Signed-off-by: Michal Pryc <[email protected]>
This adds attempts to the flaky tests, which are caused by two known issues. First one isn't yet available in the CI cluster, second is known and needs to be fixed in the Velero code: - kubernetes-csi/external-snapshotter#876 - vmware-tanzu/velero#5856 Signed-off-by: Michal Pryc <[email protected]>
This adds attempts to the flaky tests, which are caused by two known issues. First one isn't yet available in the CI cluster, second is known and needs to be fixed in the Velero code: - kubernetes-csi/external-snapshotter#876 - vmware-tanzu/velero#5856 Signed-off-by: Michal Pryc <[email protected]>
This adds attempts to the flaky tests, which are caused by two known issues. First one isn't yet available in the CI cluster, second is known and needs to be fixed in the Velero code: - kubernetes-csi/external-snapshotter#876 - vmware-tanzu/velero#5856 Signed-off-by: Michal Pryc <[email protected]>
This adds attempts to the flaky tests, which are caused by two known issues. First one isn't yet available in the CI cluster, second is known and needs to be fixed in the Velero code: - kubernetes-csi/external-snapshotter#876 - vmware-tanzu/velero#5856 Signed-off-by: Michal Pryc <[email protected]>
…n detection This adds attempts to the flaky tests, which are caused by two known issues. First one isn't yet available in the CI cluster, second is known and needs to be fixed in the Velero code: - kubernetes-csi/external-snapshotter#876 - vmware-tanzu/velero#5856 The known flake pattern detection allows us to specify which flakes are the ones on which we will retry. Signed-off-by: Michal Pryc <[email protected]>
…n detection This adds attempts to the flaky tests, which are caused by two known issues. First one isn't yet available in the CI cluster, second is known and needs to be fixed in the Velero code: - kubernetes-csi/external-snapshotter#876 - vmware-tanzu/velero#5856 The known flake pattern detection allows us to specify which flakes are the ones on which we will retry. Signed-off-by: Michal Pryc <[email protected]>
@xing-yang I am facing the below issue. internal snapshot not created.
|
What type of PR is this?
/kind bug
What this PR does / why we need it:
This PR replaces the Update calls for VolumeSnapshot and VolumeSnapshotContent with JSON patch calls. Addresses the "object has been modified" issue we see a lot in the snapshot-controller/snapshotter.
Which issue(s) this PR fixes:
Partial fix (only for Update() calls) #748
Special notes for your reviewer:
N/A
Does this PR introduce a user-facing change?: