-
Notifications
You must be signed in to change notification settings - Fork 52
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
Changes to nvidia.service to allow ordering on the subsequent services #1047
Conversation
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.
Thanks for filing the PR
Running the CI http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/2273/cldsv/ I will post the results after it completes. |
Build action triggered: https://github.com/flatcar/scripts/actions/runs/5769124647 |
CI passed, @shsamkit should we move this PR to ready to review? Also, could you squash the commits into one, and add required description into the commit description. |
@sayanchowdhury, sure will do that |
Is the commit message alright @sayanchowdhury ? |
Thanks the message looks good, Could also please create a changelog entry? You would need to create a file eg |
on it |
When changed to oneshot, the subsequent services wiill actually wait for the nvidia.service to finish, i.e. wait for drivers to be installed. The subsequent services can be configured to wait for nvidia.service. This needs to be coupled with RemainAfterExit=yes to ensure it doesn't get kicked-off automatically again. Solves : flatcar/Flatcar#1136
@sayanchowdhury thanks for your help. I think this is ready to review/merge now. |
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.
Thanks
Changes to nvidia.service to allow ordering on the subsequent services
When changed to oneshot, the subsequent services wiill actually wait for the nvidia.service to finish, i.e. wait for drivers to be installed. The subsequent services can be configured to wait for nvidia.service. This needs to be coupled with
RemainAfterExit=yes to ensure it doesn't get kicked-off automatically again.
Solves : flatcar/Flatcar#1136
How to use
Testing done
After
andWants
containerd.target
- Make sure it staysdisabled
untilcontainerd.target
&nvidia.service
are completed successfully - tested with a drop-in unit