New Question
0

Neutron agent fails with Attribute error 'NoneType' object has no attribute 'create_consumer'

asked 2018-03-15 17:44:42 +0300

rormcd gravatar image

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 ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2018-04-03 12:52:22 +0300

rormcd gravatar image

Disabling enableqos option in C:\Program Files\Cloudbase Solutions\OpenStack\Nova\etc\neutronhyperv_agent.conf seems to have fixed the issue for me.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-03-15 17:44:42 +0300

Seen: 53 times

Last updated: Apr 03