Skip to content

KEP-5943: Introducing Snapshot Topology - #606

Merged
saad-ali merged 1 commit into
container-storage-interface:masterfrom
mdzraf:SnapTopologyPOC
Jul 22, 2026
Merged

KEP-5943: Introducing Snapshot Topology#606
saad-ali merged 1 commit into
container-storage-interface:masterfrom
mdzraf:SnapTopologyPOC

Conversation

@mdzraf

@mdzraf mdzraf commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

Introducing Snapshot Topology to CSI Spec.

What this PR does / why we need it:

This PR is part of the changes necessary for kubernetes/enhancements#5944

Special notes for your reviewer:

Does this PR introduce an API-breaking change?:

NONE

@mdzraf

mdzraf commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

/assign @bswartz

@mdzraf
mdzraf force-pushed the SnapTopologyPOC branch from 7e56ece to 4408487 Compare June 12, 2026 12:21
@mdzraf mdzraf changed the title Introducing Snapshot Topology KEP-5943: Introducing Snapshot Topology Jun 24, 2026
@xing-yang

Copy link
Copy Markdown
Contributor

Do we need to add some constraints for TopologyRequirement in CreateVolumeRequest if VolumeContentSource is a Snapshot?

Comment thread csi.proto Outdated
@mdzraf

mdzraf commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Do we need to add some constraints for TopologyRequirement in CreateVolumeRequest if VolumeContentSource is a Snapshot?

We can discuss this but we will already be enforcing it at provisioning time via the external-provisioner and the custom scheduler plugin.

@mdzraf
mdzraf force-pushed the SnapTopologyPOC branch from 4408487 to 13481dc Compare July 9, 2026 18:48
Comment thread spec.md
@@ -2037,7 +2070,7 @@ The CO MUST implement the specified error recovery behavior when it encounters t
|-----------|-----------|-------------|-------------------|
| Snapshot already exists but is incompatible | 6 ALREADY_EXISTS | Indicates that a snapshot corresponding to the specified snapshot `name` already exists but is incompatible with the specified `volume_id`. | Caller MUST fix the arguments or use a different `name` before retrying. |

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

13 Is not the right number for RESOURCE_EXHAUSTED this is fixed in #605, hence why the number change here as well instead of a separate entry.

@mdzraf
mdzraf requested a review from gnufied July 13, 2026 13:32
@mdzraf

mdzraf commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

cc: @bswartz & @saad-ali for reviews/approvals as discussed in CSI Community Sync Meeting.

Comment thread spec.md Outdated
Comment thread csi.proto Outdated
@mdzraf
mdzraf force-pushed the SnapTopologyPOC branch from 13481dc to d8993fd Compare July 16, 2026 14:05
@mdzraf
mdzraf requested a review from bswartz July 16, 2026 14:08

@bswartz bswartz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@xing-yang

Copy link
Copy Markdown
Contributor

lgtm

@saad-ali

Copy link
Copy Markdown
Member

@mdzraf can you please

  1. Make sure you've signed the CSI CLA - https://github.com/container-storage-interface/spec/blob/master/CONTRIBUTING.md#licence-and-cla
  2. Please rebase your changes.

@mdzraf
mdzraf force-pushed the SnapTopologyPOC branch from d8993fd to 24a5785 Compare July 20, 2026 13:30
@mdzraf

mdzraf commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Hi @saad-ali , I'ver signed the CLA and sent the email to the CSI Approvers list and CC'd you on it, and PR is rebased.

Thank you!

@saad-ali

Copy link
Copy Markdown
Member

Confirmed CLA, thanks!

Can you check why the build might be failing here?

@mdzraf
mdzraf force-pushed the SnapTopologyPOC branch from 24a5785 to 5334f34 Compare July 21, 2026 13:30
@mdzraf

mdzraf commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

Hi @saad-ali , I've fixed it now, should pass.

@saad-ali

Copy link
Copy Markdown
Member

Thank you.

/lgtm
/approve

@saad-ali
saad-ali merged commit ad56747 into container-storage-interface:master Jul 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants