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

fix: added nvidia_ceph default values to the gpu role #1675

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions images/capi/ansible/roles/gpu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ is installed after the kernel has been installed. To get around this, we install
# NVIDIA vGPU

To install the NVIDIA vGPU driver as part of the image build process, you must have a `.run` file and `.tok` file from
NVIDIA ready and available from an S3 endpoint.
NVIDIA ready and available from an S3 endpoint.
Once done you need to reference those files in your packer file.

_This is because NVIDIA place the vGPU drivers behind a licensing wall which means you can't just use the standard
Expand All @@ -19,6 +19,7 @@ _This role currently doesn't support installing the publicly available drivers._
An example of the fields you need are defined below. Make sure to review and change any fields where required.
If the gridd configuration or licensing .tok file are not required then you can omit the `gridd_feature_type`
and `nvidia_tok_location` respectively.
If you're using CEPH S3 add `nvidia_ceph=true` in the `ansible_user_vars` field.

```json
{
Expand Down Expand Up @@ -55,4 +56,4 @@ the [AMDGPU_Installer use-cases](https://rocm.docs.amd.com/projects/install-on-l
first to ensure you supply the correct one.**_

_**For example, using the `rocm` use case will install +24GB of libraries as
well as the driver so your disk size will need to compensate for this.**_
well as the driver so your disk size will need to compensate for this.**_
1 change: 1 addition & 0 deletions images/capi/ansible/roles/gpu/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ gpu_amd_usecase: dkms
gpu_block_nouveau_loading: false
gpu_systemd_networkd_update_initramfs: >-
{%- if ansible_os_family == 'VMware Photon OS' -%} dracut -f{%- elif ansible_os_family == 'Debian' -%} update-initramfs -u{%- endif -%}
nvidia_ceph: false