-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[release/1.7] Fix NRI dropping requested CDI devices silently #12650
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
[release/1.7] Fix NRI dropping requested CDI devices silently #12650
Conversation
ff77528 to
327c6c4
Compare
327c6c4 to
1d0097e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a nit on the error logging
and the question.. do we need to account for not throwing the error when devices count is at zero and cdi is disabled..
|
Where is the main PR? |
|
As I mentioned in the 2.0 PR, getting this in to a 1.7 release would simplify things for customers that are not able to upgrade to v2.1 or later at present. |
1d0097e to
d6d4365
Compare
Set up NRI container adjustment with an extra option to allow CDI device injection to really take place instead of silently ignoring the injection request. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
d6d4365 to
0bc74f4
Compare
mikebrow
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Instead of just dropping requested CDI devices silently, if CDI device injection is enabled by configuration, set up NRI container adjustment with an extra option to allow CDI device injection to really take place.