Skip to content
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

adaptation: fix mount and device adjustment. #27

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

klihub
Copy link
Member

@klihub klihub commented Feb 15, 2023

Fix mount and device adjustment for container create request processing. Mounts in the NRI create request got incorrectly reset if a plugin ever modifed mounts. All subsequent plugins received incorrect mount data in their creation request. The same bug was present for device adjustment.

Note that this had a direct effect on the NRI creation request but not the actual container itself.

@klihub klihub requested a review from fuweid February 15, 2023 20:46
Fix mount and device adjustment for container create request
processing. Mounts in the NRI create request got incorrectly
reset if a plugin ever modifed mounts. All subsequent plugins
received incorrect mount data in their creation request. The
same bug was present for device adjustment.

Note that this had a direct effect on the NRI creation request
but not the actual container itself.

Signed-off-by: Krisztian Litkey <[email protected]>
@klihub klihub force-pushed the fixes/mount-and-device-adjustment branch from 845d510 to 43174d1 Compare February 15, 2023 20:49
@fuweid fuweid merged commit 2dfff71 into containerd:main Feb 16, 2023
@klihub klihub deleted the fixes/mount-and-device-adjustment branch February 16, 2023 13:31
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.

2 participants