A problem about HyperV agent use GRE
my env:Devstack(Mitaka)+hyperV(Cloudbase Mitaka)
When the tenant network set to flat or vlan model, it does well. But as for GRE, it does not work.
neutronhypervagent.conf:
[DEFAULT] verbose=true debug=True controlexchange=neutron policyfile=C:\Program Files\Cloudbase Solutions\OpenStack\Nova\etc\policy.json rpcbackend=rabbit logdir=E:\OpenStack\Log\ logfile=neutron-hyperv-agent.log [AGENT] pollinginterval=2 physicalnetworkvswitchmappings=*:hypervexternalvswitch enablemetricscollection=false workercount=1 [SECURITYGROUP] firewalldriver=neutron.plugins.hyperv.agent.securitygroupsdriver.HyperVSecurityGroupsDriver enablesecuritygroup=false [oslomessagingrabbit] rabbithost=192.168.135.222 rabbitport=5672 rabbituserid=stackrabbit rabbitpassword=123456 [NVGRE] enablesupport=True providertunnelip=192.168.137.66
neutron-hyperv-agent.log:
2016-10-24 21:53:15.729 3104 ERROR neutron File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\oswin\utils\network\nvgreutils.py", line 83, in createproviderroute 2016-10-24 21:53:15.729 3104 ERROR neutron NextHop=constants.IPV4DEFAULT) 2016-10-24 21:53:15.729 3104 ERROR neutron File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\oswin\utils\network\nvgreutils.py", line 131, in _createnewobject 2016-10-24 21:53:15.729 3104 ERROR neutron newobj = objectclass.new(**args) 2016-10-24 21:53:15.729 3104 ERROR neutron File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\wmi_init_.py", line 59, in funcwrapper 2016-10-24 21:53:15.729 3104 ERROR neutron return func(args, *kwargs) 2016-10-24 21:53:15.729 3104 ERROR neutron TypeError: new() got an unexpected keyword argument 'NextHop' 2016-10-24 21:53:15.729 3104 ERROR neutron