Following NVIDIA DOCA Installation Guide for Linux - NVIDIA Docs , to install the host software,
After downloading .deb file for Ubuntu 22.04, sudo dpkg -i <.deb>, update, and install rshim, when executing sudo apt install -y doca-all mlnx-fw-updater, there is error:
sudo apt install -y doca-all mlnx-fw-updater
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
doca-runtime : Depends: openvswitch-switch (= 2.17.8-1) but 2.17.9-0ubuntu0.22.04.1 is to be installed
It seems like there’s a dependency conflict with the doca-runtime package. It requires openvswitch-switch version 2.17.8-1, but the version available for installation is 2.17.9-0ubuntu0.22.04.1.
You can try resolving this by downgrading openvswitch-switch to 2.17.8-1 using the apt package manager.
If the issue still persists or any other issues arise, please open a case at: enterprisesupport@nvidia.com, and it will be handled according to entitlement.
However, I subsequently got an error about cannot install the openvswitch-ipsec, and I have no idea to solve. Anyway, I retry to use sdkmanager to install DOCA, but still has error.
I am wondering that if the openvswitch-ipsec is necessary. It helps me to further locate the issue.
My OS is ubuntu 22.04.4, with 5.15 kernel.
UPDATE
After manually compiling and installing openvswitch-common and openvswitch-switch (v2.17.8-1), I have successfully installed the DOCA runtime. One more thind I did is remove all other kernel version expect the 5.15.
Then, another issus arises. The bluefield try to ping nvidia.com and it failed. I have try to ping nvidia.com on the host, also failed. I think it is not a networking issue but is a DNS issue, because I can ping the google.com on the BlueField.
I want to share my successful fix to this very problem.
Also getting this message on my host server about openvswitch-switch package problems.
In fact if you read carefully the SDK Manger installation logs (yeah takes time) you find out that this openvswitch-switch dependency (to a very specific version being asked for) break all following installation steps as well.
08:49:09.850 - info: NV_DOCA_RUNTIME_HOST_COMP@host: doca-runtime : Depends: openvswitch-switch (= 2.17.8-1) but 2.17.9-0ubuntu0.22.04.1 is to be installed
08:49:09.850 - info: Event: NV_DOCA_RUNTIME_HOST_COMP@host - error is: doca-runtime : Depends: openvswitch-switch (= 2.17.8-1) but 2.17.9-0ubuntu0.22.04.1 is to be installed
Third you can restart your sdkmanager in GUI or CLI mode and will see all goes through like a charm.
PS: I desactivated UEFI secure boot on my host server, if you work in a dev/proto env just switch the secure boot off. You can check with this command status of secure boot on your running OS (but on/off occurs in your BIOS settings):
Thanks for your help! Highly appreciated since it helped me to resolve a dependency recently introduced:
Unmet dependencies with respect to libnl-3-dev and libnl-route-3-dev.