canonical / checkbox

Checkbox
https://checkbox.readthedocs.io
GNU General Public License v3.0
30 stars 44 forks source link

gpu-setup in the gpgpu provider does not work on ARM64 #1131

Open bladernr opened 3 months ago

bladernr commented 3 months ago

Bug Description

Before there was no need to worry about arm64 but with the advent of NVIDIA's Grace SoC and others like Ampere One (and even Altra) there is a case for GPU compute on ARM servers and we need to account for that in cert.

Currently the gpu-setup scrip hardcodes the x86_64 repo from nvidia to install the cuda stuff needed for compiling software. We need to add a pathway to detect the arch, and properly choose the right repo to add from NVIDIA.

To Reproduce

Install canonical-certification-server and checkbox-provider-gpgpu on an arm64 machine Run gpu-setup See it install the x86_64 repo instead of the arm64 repo

Environment

ARM64 servers. This was observed by a vendor. We can also try this out on Lubba in the cert lab.

Relevant log output

No response

Additional context

No response

syncronize-issues-to-jira[bot] commented 3 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CHECKBOX-1349.

This message was autogenerated