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

Wait for networking to be up before loading NVIDIA kernel modules #1962

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

nkvetsinski
Copy link
Contributor

Issue #, if available:

Description of changes:
We do a call to IMDS in the script that loads the NVIDIA kernel modules. We noticed that in some cases module loading fails because the networking stack is not yet ready. When modules are not loaded, NVIDIA device plugin crashes and GPU workloads (in our case aws-k8s-tester tests) are not executed on the node. In this PR we wire the systemd service to run after networking is up.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done

Built the AMI and executed NVIDIA test suite from aws-k8s-tester multiple times.

See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.

@Issacwww Issacwww merged commit fcab352 into awslabs:main Sep 10, 2024
9 of 10 checks passed
@nkvetsinski nkvetsinski deleted the nvidia-kmod-systemd branch October 30, 2024 17:07
@nkvetsinski nkvetsinski restored the nvidia-kmod-systemd branch October 30, 2024 17:08
@nkvetsinski nkvetsinski deleted the nvidia-kmod-systemd branch October 30, 2024 17:08
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