ImportError: No module named networking_mlnx.plugins.ml2.drivers.mlnx.agent
I'm trying to add infiniband interface to existing openstack liberty environment. We are going to use this for a backup network. Following this document: https://wiki.openstack.org/wiki/Mella...
When starting neturon-mlnx-agent on compute node (last line of document), it fails with
Jan 11 10:12:49 div18oscomp2 neutron-mlnx-agent: Traceback (most recent call last):
Jan 11 10:12:49 div18oscomp2 neutron-mlnx-agent: File "/usr/bin/neutron-mlnx-agent", line 6, in <module>
Jan 11 10:12:49 div18oscomp2 neutron-mlnx-agent: from neutron.cmd.eventlet.plugins.mlnx_neutron_agent import main
Jan 11 10:12:49 div18oscomp2 neutron-mlnx-agent: File "/usr/lib/python2.7/site-packages/neutron/cmd/eventlet/plugins/mlnx_neutron_agent.py", line 15, in <module>
Jan 11 10:12:49 div18oscomp2 neutron-mlnx-agent: from neutron.plugins.ml2.drivers.mlnx.agent import eswitch_neutron_agent
Jan 11 10:12:49 div18oscomp2 neutron-mlnx-agent: File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/mlnx/agent/eswitch_neutron_agent.py", line 19, in <module>
Jan 11 10:12:49 div18oscomp2 neutron-mlnx-agent: from networking_mlnx.plugins.ml2.drivers.mlnx.agent import (
**Jan 11 10:12:49 div18oscomp2 neutron-mlnx-agent: ImportError: No module named-networking_mlnx.plugins.ml2.drivers.mlnx.agent**
Jan 11 10:12:49 div18oscomp2 systemd: neutron-mlnx-agent.service: main process exited, code=exited, status=1/FAILURE
Jan 11 10:12:49 div18oscomp2 systemd: Unit neutron-mlnx-agent.service entered failed state.
Jan 11 10:12:49 div18oscomp2 systemd: neutron-mlnx-agent.service failed.
Turns out the /usr/lib/python2.7/site-packages/networking_mlnx
directory is missing due to the package python-networking-mlnx is missing. Its not in the Centos 7 liberty repo either. Anyone what repo that package is located?
in pip is present, but is nor the best way to install though. Can compile by yourself, https://github.com/openstack-packages... In mellanox repo is present but only in kilo and newton http://www.mellanox.com/repository/so...