Skip to content

[release/2.1] backport: sandbox: forward Create fields, fix event topics#13272

Merged
fuweid merged 1 commit into
containerd:release/2.1from
estesp:backport-13260-2.1
Apr 24, 2026
Merged

[release/2.1] backport: sandbox: forward Create fields, fix event topics#13272
fuweid merged 1 commit into
containerd:release/2.1from
estesp:backport-13260-2.1

Conversation

@estesp

@estesp estesp commented Apr 23, 2026

Copy link
Copy Markdown
Member

The gRPC sandbox controller service only forwarded the options field when calling the local controller. The netns_path, rootfs, and annotations fields were silently dropped, causing clients using the gRPC proxy path to receive incomplete sandbox configurations.

Event topics were missing the leading / prefix ("sandboxes/create" instead of "/sandboxes/create"), causing the event exchange to reject the publish and return an error to the caller.

Add unit tests for the controller service that exercise all RPC methods.

(cherry picked from commit 557c54b)

Fix bugs in sandbox service affecting sandbox creation configuration and event publishing

The gRPC sandbox controller service only forwarded the `options` field
when calling the local controller. The `netns_path`, `rootfs`, and
`annotations` fields were silently dropped, causing clients using the
gRPC proxy path to receive incomplete sandbox configurations.

Event topics were missing the leading `/` prefix ("sandboxes/create"
instead of "/sandboxes/create"), causing the event exchange to reject
the publish and return an error to the caller.

Add unit tests for the controller service that exercise all RPC
methods.

Signed-off-by: William Myers <[email protected]>
(cherry picked from commit 557c54b)
Signed-off-by: Phil Estes <[email protected]>
@estesp

estesp commented Apr 23, 2026

Copy link
Copy Markdown
Member Author

Backported from #13260

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Apr 24, 2026
@fuweid
fuweid merged commit b04ccc7 into containerd:release/2.1 Apr 24, 2026
51 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants