Mellanox / docker-sriov-plugin

Docker networking plugin for SRIOV and passthrough interfaces
Apache License 2.0
79 stars 17 forks source link

Missing ibdev2netdev? #7

Open Tydus opened 5 years ago

Tydus commented 5 years ago

Hi,

I'm doing some experiments with this plugin. However I got a prompt like Error response from daemon: NetworkDriver.CreateNetwork: Fail to find physical port when I issue docker network create.

After digging into the code I found maybe /tmp/tools/ibdev2netdev is missing. After I found https://github.com/Mellanox/container_scripts/blob/master/ibdev2netdev and make a link to the container (-v), it works like a charm.

Then I went through the Dockerfile and cannot find anything there... So I'm wondering if there's really missing something (or just me)?

BTW: I'm using a ConnectX-3 with the in-tree drivers, so I didn't have that script on my host. Is this the cause?

paravmellanox commented 5 years ago

Hi @Tydus I pushed the new image with your changes andd other fixes. Can you please try and confirm that its work for you now?

Now that your changes are merged and new release 0.1.2 is available, can you please avoid https://hub.docker.com/r/tydus/sriov-plugin this will avoid confusion to users on which one to use.

paravmellanox commented 5 years ago

@Tydus can you please also close the case once works?