-
Notifications
You must be signed in to change notification settings - Fork 19
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
Infiniband Card inside the container #6
Comments
@psaini79 please pass the PF netdevice. Is PF netdevice is named as bondib0? Is that what you specified when you created mynet network? Please share output of below commands. ip link show |
Please find the input below:ip link show I was unable to create the mynet bridge on bondib0. I tred on both ib0 and ib1, I was getting the same error. |
@psaini79 what is bondib0 device, is this a bond device created on top of ib0 and ib1? you should be able to create a docker network using $docker network create command on ib0 (netdev of the PF). on a side note, docker network using sriov plugin over bonded netdevice is unsupported currently. |
Thanks for the quick reply. I will create bridge on ib0 and ib1. However, I have a question, Do I need to execute any other steps on ib0 to create a netdev of the PF? Is there any link which provide details of creating netdev of PF on ib0 or ib1 ? |
@psaini79 ib0 and ib1 are the netdev of the PF. There is no special configuration to be done on PF or ib0. this plugin does the necessary config. Also I recommend you to switch to ConnectX5 which is a better PCIe representation. |
Hi, I tried to create bridge on ib0 but it failed with following error: docker network create -d sriov --subnet=194.168.1.0/24 -o netdevice=ib0 mynet I found following error: 2019/01/15 22:50:31 Mellanox sriov plugin started version=0.1.0 |
@psaini79 I think ConnectX3 support got broken in 0.1.0 version. In meantime you should consider ConnectX5. |
Thanks. At this moment, it is tough to switch to the ConnectX5 on this server. However, I will make sure in other server I will have Connect X5. I am using following kernel: Linux Version I will get you the details, how we enabled the sriov asap. |
I have looked the configuration and we have enable SRIOV at bios level and loaded MLX core. Please find the details below: lsmod | grep mlx Also, All the VFs are activated: lspci | grep Mel I am unable to make any progress, please look into this. |
Hi,
I have mlx4 ib card configured on my compute node.
ibdev2netdev
mlx4_0 port 1 ==> ib0 (Up)
mlx4_0 port 2 ==> ib1 (Up)
I have boned both of them assigned the IP 192.168.208.0/24 subet. I was to use SRIOV plugin to assign VF interface to a container . I am unable to do so as I am getting following error:
docker network create -d sriov --subnet=194.168.1.0/24 -o netdevice=bondib0 mynet
Error response from daemon: NetworkDriver.CreateNetwork: Fail to enable sriov: device bondib0 not found
This is expected as bondib0 is not eth card but I am wondering how can I expose the card VF of IB to a container.
Please provide the steps to configure IB VF into container using SRIOV plugin.
The text was updated successfully, but these errors were encountered: