Skip to content

Register container name with kernel before Loader.createContainerProcess(). #10998

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

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Oct 7, 2024

Register container name with kernel before Loader.createContainerProcess().

Loader.createContainerProcess() => createDeviceFiles() calls
devutil.GoferClientFromContext() when using nvidia-container-runtime-hook.
devutil.GoferClientFromContext() expects Kernel.containerNames map to be
initialized with the current container's ID -> name mapping.

However, for sub-containers we were not initializing this map before
Loader.createContainerProcess(). This change fixes that. We hadn't hit this yet
because we never had multi-container usages of nvidia-container-runtime-hook.

Updates #10997

@copybara-service copybara-service bot added the exported Issue was exported automatically label Oct 7, 2024
@copybara-service copybara-service bot force-pushed the test/cl683064310 branch 2 times, most recently from e9a3be2 to dc51377 Compare October 7, 2024 17:53
@copybara-service copybara-service bot closed this Oct 7, 2024
@copybara-service copybara-service bot deleted the test/cl683064310 branch October 7, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exported Issue was exported automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants