Skip to content

[Extension] Refresh hosts/sources on Mount failures instead of using cached creds#2

Draft
prafgup wants to merge 1 commit into
prafug/refresh-creds-on-check-errorfrom
prafulg/more-host-refreshes
Draft

[Extension] Refresh hosts/sources on Mount failures instead of using cached creds#2
prafgup wants to merge 1 commit into
prafug/refresh-creds-on-check-errorfrom
prafulg/more-host-refreshes

Conversation

@prafgup
Copy link
Copy Markdown
Owner

@prafgup prafgup commented Apr 6, 2026

Issue #, if available:

Exploration based on this - awslabs#1927 (comment)

Mount is called in two scenarios:

  1. Prepare (line 399) — Called every time containerd pulls/creates a container snapshot. This happens on every ctr run / pod creation, not just the first pull. If the image is
already in containerd's content store but the SOCI lazy-loading snapshots need to be set up (e.g., container restart, new pod from same image), Prepare → prepareRemoteSnapshot → Mount runs again.
  2. Restart recovery (line 1146) — When the snapshotter restarts, it re-prepares all existing remote snapshots via prepareRemoteSnapshot.

Description of changes:

Testing performed:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@prafgup prafgup changed the title [DRAFT] [DO NOT MERGE] More hosts refresh [Extension] Refresh hosts/sources on Mount failures instead of using cached creds Apr 6, 2026
@prafgup prafgup force-pushed the prafulg/more-host-refreshes branch 2 times, most recently from d809734 to 9c4fad1 Compare April 6, 2026 18:43
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.

1 participant