Machanism driver for hyperV

Asked by johnpham

I'm following this documentation to implement a hyper-v compute node.
https://github.com/openstack/networking-hyperv

The readme file describes a step to add hyperV to the list of mechanism drivers in the ml2_conf.ini file.

However, according to the ml2 support matrix in https://docs.openstack.org/newton/networking-guide/config-ml2.html

hyperv is not an option. And when I add hyperv to the ml2_plugin.ini file

mechanism_drivers=linuxbridge,l2population,openvswitch,hyperv

I counldn't start the neutron-server service, then I found this error in the neutron-server.log:

       2018-07-25 14:57:17.649 12412 CRITICAL neutron.plugins.ml2.managers [-] The following mechanism drivers were not found: set(['hyperv'])

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
networking-hyperv Edit question
Assignee:
No assignee Edit question
Solved by:
Claudiu Belu
Solved:
Last query:
Last reply:
Revision history for this message
Best Claudiu Belu (cbelu) said :
#1

Hello,

You are missing ``networking-hyperv`` on your Neutron Controller. ``networking-hyperv`` provides the ``hyperv`` mechanism driver. You can easily solve this by installing it:

    pip install networking-hyperv==version

, where the version is ``6.0.0`` for Queens, ``5.0.0`` for Pike, ``4.0.0`` for Ocata, etc.

Best regards,

Claudiu Belu

Revision history for this message
johnpham (jp95) said :
#2

Thanks Claudiu Belu, that solved my question.