SR-IOV and Linuxbridge, 2 compute nodes?
Hello guys.. has anyone bumped into the same problem here?
I am setting up an environment with 1 controller + 2 compute nodes here, using Ubuntu 16.04.2 LTS and Openstack Ocata. I installed everything from repos..
apt install software-properties-common
add-apt-repository cloud-archive:ocata
I followed this guide: https://docs.openstack.org/ocata/install-guide-ubuntu/ (https://docs.openstack.org/ocata/inst...) and https://docs.openstack.org/ocata/networking-guide/config-sriov.html#config-sriov (https://docs.openstack.org/ocata/netw...) even tried directly attaching PCI device to VM but can't seem to make this working.
So basically I have 1 network as a MGMT (iface "eno1"), which has access to the internet and second one (enp10s0f0) which is only connected between the three PCs via switch and I'm using neutron-linuxbridge-agent + neutron-sriov-agent.
I've created a flat provider linuxbridge network using the second enp10s0f0 iface and I am able to launch instances using this linuxbridge net.
I just do:
openstack server create --flavor m1.medium --image trusty --security-group default --nic net-id=$NET --key-name mykey $vmName --availability-zone nova:compute1
which works on both compute nodes.
What doesn't work is when I want to want to pass a sriov port onto the second compute node...
openstack port create --network $provider_NET --vnic-type direct --host compute2 sriov_port2
openstack server create --flavor m1.medium --image trusty --security-group default --nic port-id=$sriov_port2_ID --nic net-id=$provider_NET --key-name mykey $vmName --availability-zone nova:compute2
Weird thing is that I am able to launch instance on the first compute node doing exactly the same thing.
What I am always getting on the second compute node is: Insufficient compute resources: Claim pci failed..
I have created the VFs (virtual functions) on both compute nodes the same way. Both having same NIC.
Am I missing something here? :(
Thanks.