Neutron agent fails with Attribute error 'NoneType' object has no attribute 'create_consumer'
Hi,
I'm having an issue installing the neutron-hyperv-agent on my windows 2016 server(enwindowsserver2016updatedfeb2018x64dvd11636692) clean build, using HyperVNovaComputePike16001.msi and current stable pike server on Ubuntu 16.04 server. On install nova agent starts fine but neutron fails with the following error:
2018-03-15 14:54:00.171 2564 CRITICAL neutron [req-b599b779-bc47-4476-b537-f44006a1c7e9 - - - - -] Unhandled error: AttributeError: 'NoneType' object has no attribute 'createconsumer' 2018-03-15 14:54:00.171 2564 ERROR neutron Traceback (most recent call last): 2018-03-15 14:54:00.171 2564 ERROR neutron File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\runpy.py", line 162, in _runmoduleasmain 2018-03-15 14:54:00.171 2564 ERROR neutron "main", fname, loader, pkgname) 2018-03-15 14:54:00.171 2564 ERROR neutron File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\runpy.py", line 72, in _runcode 2018-03-15 14:54:00.171 2564 ERROR neutron exec code in runglobals 2018-03-15 14:54:00.171 2564 ERROR neutron File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\Scripts\neutron-hyperv-agent.exe_main.py", line 9, in <module> 2018-03-15 14:54:00.171 2564 ERROR neutron sys.exit(main()) 2018-03-15 14:54:00.171 2564 ERROR neutron File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networkinghyperv\neutron\agent\hypervneutronagent.py", line 299, in main 2018-03-15 14:54:00.171 2564 ERROR neutron hypervagent = HyperVNeutronAgent() 2018-03-15 14:54:00.171 2564 ERROR neutron File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networkinghyperv\neutron\agent\hypervneutronagent.py", line 82, in _init 2018-03-15 14:54:00.171 2564 ERROR neutron super(HyperVNeutronAgent, self).init() 2018-03-15 14:54:00.171 2564 ERROR neutron File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networkinghyperv\neutron\agent\layer2.py", line 70, in init 2018-03-15 14:54:00.171 2564 ERROR neutron self.setuprpc() 2018-03-15 14:54:00.171 2564 ERROR neutron File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networkinghyperv\neutron\agent\layer2.py", line 109, in setuprpc 2018-03-15 14:54:00.171 2564 ERROR neutron self.setupqosextension() 2018-03-15 14:54:00.171 2564 ERROR neutron File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networkinghyperv\neutron\agent\hypervneutronagent.py", line 131, in setupqosextension 2018-03-15 14:54:00.171 2564 ERROR neutron self.qosext.initialize(self.connection, 'hyperv') 2018-03-15 14:54:00.171 2564 ERROR neutron File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\neutron\agent\l2\extensions\qos.py", line 211, in initialize 2018-03-15 14:54:00.171 2564 ERROR neutron self.registerrpcconsumers(connection) 2018-03-15 14:54:00.171 2564 ERROR neutron File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\neutron\agent\l2\extensions\qos.py", line 229, in _register ...