NVIDIA / gpu-operator

NVIDIA GPU Operator creates/configures/manages GPUs atop Kubernetes
Apache License 2.0
1.74k stars 282 forks source link

nvidia-fabricmanager.service can not start due to CUDA Version mismatch #544

Open bo-zeng-ml opened 1 year ago

bo-zeng-ml commented 1 year ago

The template below is mostly useful for bug reports and support questions. Feel free to remove anything which doesn't apply to you and add more information where it makes sense.

1. Quick Debug Checklist

1. Issue or feature description

nv-fabricmanager[3228]: fabric manager NVIDIA GPU driver interface version 530.30.02 don't match with driver version 530.41.03. Please update with matching NVIDIA driver package.

2. Steps to reproduce the issue

Install NVIDIA-530 driver (CUDA 12.1)

Install fabricmanager-530 from apt-get

Then run systemctl enable nvidia-fabricmanager, systemctl start nvidia-fabricmanager

It will fail

3. Information to attach (optional if deemed irrelevant)

My question is simple: where can I find CUDA 530.30.02 driver, or fabric manager 530.41.03? they should have matched with 530 right

yzhao-2023 commented 11 months ago

Any update?

The above problem seems relavant to mine, but the author did not post any details.

My failure looks like this: image

fame346 commented 11 months ago

Any update?

The above problem seems relavant to mine, but the author did not post any details.

My failure looks like this: image

I am also having this same exact issue. What I ended up doing was purging "libnvidia" and "nvidia" then reinstalling the nvidia driver and nvidia-fabricmanager. The difference I did this time with the reinstall was I installed the nvidia driver and fabricmanager driver using this command. "apt install nvidia-headless-525-server nvidia-fabricmanager-525" and not the generic nvidia-driver-535 install route. After a reboot this now allowed nvidia-fabricmanager to run properly. Hope this helps. Still learning this stuff but this is what I found/worked for me.

shivamerla commented 11 months ago

@fame346 will check with Canonical on the mismatch of these packages as they should be aligned with the driver version. Meanwhile you can install fabric manager from NVIDIA CUDA repos as well: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/

saxenarohit commented 10 months ago

I was also facing the same issue of fabric manager mismatch.

I think Ubuntu package manager updates fabric-manager which causes Nvidia driver and fabric manager version mismatch. Once the fabric manager is updated, you cannot reinstall the previous version as it is removed from ubuntu package manager.

The only way to solve this is to either install old fabric manager from the link shared by @shivamerla Or reinstall the latest Nvidia Driver which matches the fabric manager available on Ubuntu (535.129.03 worked for me)

OrenLeung commented 4 months ago

Any update? The above problem seems relavant to mine, but the author did not post any details. My failure looks like this: image

I am also having this same exact issue. What I ended up doing was purging "libnvidia" and "nvidia" then reinstalling the nvidia driver and nvidia-fabricmanager. The difference I did this time with the reinstall was I installed the nvidia driver and fabricmanager driver using this command. "apt install nvidia-headless-525-server nvidia-fabricmanager-525" and not the generic nvidia-driver-535 install route. After a reboot this now allowed nvidia-fabricmanager to run properly. Hope this helps. Still learning this stuff but this is what I found/worked for me.

this happens when you install cuda-drivers-535 and nvidia-fabricmanager-535 as separate packages and apt unattended-upgrades updates ONLY nvidia-fabricmanager-535 when there is a new version available.

to resolve this either

  1. uninstall unattend-upgrades or have it on a denylist for nvidia packages
  2. install ONLY the wrapper package cuda-drivers-fabricmanager-535 which will keep both cuda-drivers535andnvidia-fabricmanager-535` in sync instead of installing them separately

or probably option 1 AND option 2 to prevent this from happening again