This repository was archived by the owner on Apr 23, 2026. It is now read-only.
fix(infra): reset nvidia-driver module before enabling -open one#3222
Merged
mergify[bot] merged 1 commit intoinstructlab:mainfrom Mar 6, 2025
Merged
fix(infra): reset nvidia-driver module before enabling -open one#3222mergify[bot] merged 1 commit intoinstructlab:mainfrom
mergify[bot] merged 1 commit intoinstructlab:mainfrom
Conversation
Till recently, we used "null" profile. With the switch to 570, we switched to -open. When switching a dnf module, dnf complains as follows: ``` The operation would result in switching of module 'nvidia-driver' stream 'XXX' to stream '570-open' Error: It is not possible to switch enabled streams of a module unless explicitly enabled via configuration option module_stream_switch. It is recommended to rather remove all installed content from the module, and reset the module using 'dnf module reset <module_name>' command. After you reset the module, you can install the other stream. ``` To avoid this issue on upgrade, always reset the module when running the script. Signed-off-by: Ihar Hrachyshka <[email protected]>
danmcp
approved these changes
Mar 6, 2025
courtneypacheco
approved these changes
Mar 6, 2025
Contributor
|
I tested this on a basic CentOS Stream image and it works. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Till recently, we used "null" profile. With the switch to 570, we
switched to -open. When switching a dnf module, dnf complains as
follows:
To avoid this issue on upgrade, always reset the module when running the
script.
Signed-off-by: Ihar Hrachyshka [email protected]
Checklist:
conventional commits.