Skip to content

[cri-o config] fix drop-in config directory used for config overrides#1829

Merged
tariq1890 merged 1 commit into
mainfrom
fix-crio-drop-in-cfg-dir
May 15, 2026
Merged

[cri-o config] fix drop-in config directory used for config overrides#1829
tariq1890 merged 1 commit into
mainfrom
fix-crio-drop-in-cfg-dir

Conversation

@tariq1890
Copy link
Copy Markdown
Contributor

As per the official CRI-O documentation, the cri-o runtime configuration overrides via drop-in files only work if they are placed under the /etc/crio/crio.conf.d directory. The current default drop-in config directory /etc/crio/conf.d will not be recognised by CRI-O and therefore, the configs will not be applied

Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com>
@coveralls
Copy link
Copy Markdown

Coverage Report for CI Build 25906231168

Coverage remained the same at 43.342%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 14861
Covered Lines: 6441
Line Coverage: 43.34%
Coverage Strength: 0.48 hits per line

💛 - Coveralls

@tariq1890 tariq1890 requested review from cdesiniotis and elezar May 15, 2026 07:40
Copy link
Copy Markdown
Member

@elezar elezar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tariq1890. We obviously carried the value over from the initial implementation in #1272 and never validated it.

As a follow-up, what are our ideas about testing drop-in files in crio? Also, I suppose that a user can always override this, so we have a workaround that can be applied. Is there a need to backport this?

@cdesiniotis
Copy link
Copy Markdown
Contributor

Thanks @tariq1890. We do not rely on the default value in the GPU Operator, which explains why we haven't run into any issues there: https://github.com/NVIDIA/gpu-operator/blob/6888f3b7c079719f472fa25d91c955dbff54deb8/controllers/object_controls.go#L81

@cdesiniotis
Copy link
Copy Markdown
Contributor

/cherry-pick release-1.19

@tariq1890
Copy link
Copy Markdown
Contributor Author

@elezar I think we do need to backport this. As @cdesiniotis pointed out, the gpu-operator deployments are not affected by this. However, users who setup toolkit directly on hosts with CRI-O as the container runtime will need this fix

@tariq1890 tariq1890 merged commit c198225 into main May 15, 2026
20 checks passed
@tariq1890 tariq1890 deleted the fix-crio-drop-in-cfg-dir branch May 15, 2026 15:23
@github-actions
Copy link
Copy Markdown

🤖 Backport PR created for release-1.19: #1830

@tariq1890 tariq1890 self-assigned this May 15, 2026
@tariq1890 tariq1890 added this to the v1.19.1 milestone May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants