New Question
0

Can't Start Neutron OVS Agent/Service After Install (OVS 2.6.1)

asked 2017-05-03 01:55:40 +0200

awestin1 gravatar image

updated 2017-05-03 01:56:52 +0200

I followed the instructions from the Cloudbase blog, for installing Open vSwitch and configuring the neutron agent but the neutron-ovs-agent Windows service will not start. Each time I try to start the service, it crashes.

I have installed OpenStack Hyper-V Compute Ocata msi installer from Cloudbase and have successfully attached the compute node to the OpenStack controller.

I have installed the Cloudbase Open vSwitch for Windows 2.6.1 msi installer and, per the blog post linked above, created the virtual switch and bridges using ovs-vsctl. I manually created the neutron-ovs-agent Windows service per the instructions but the service crashes each time and will not start.

I find the following error in the Windows Event Logs:

The description for Event ID 0 from source neutron-hyperv-agent cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

neutron-hyperv-agent
Child process ended

The instructions indicate that running the service is supposed to create additional bridges. None of these are created. When checking my list of bridges, I only see the first one that I had created.

The config file is set to log to C:\OpenStack\Log\neutron-ovs-agent.log. When I check the log directory, the neutron-ovs-agent.log file does not exist. This leads me to believe that the neutron agent crashes before it even begins logging...

Just out of curiosity, I tried running the OpenStackServiceNeutron.exe command in my cmd prompt (rather than from the Windows service) to see what happens. The exits with the following error:

C:\Windows\system32>"C:\Program Files\Cloudbase Solutions\OpenStack\Nova\bin\Ope
nStackServiceNeutron.exe" neutron-hyperv-agent "C:\Program Files\Cloudbase Solut
ions\OpenStack\Nova\Python27\Scripts\neutron-openvswitch-agent.exe" --config-fil
e "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\etc\neutron_ovs_agent.con
f"
Service failed to run w/err 0x00000427

I have been researching for a couple of days now with no solution.

I noticed that the Cloudbase blog post is for Open vSwitch 2.5 but I'm not seeing and subsequent blog posts or instructions for configuring 2.6. So, I'm not sure if setup is supposed to be different for 2.6.

I noticed the following question here but none of the suggestions here seem to work for me . The poster mentions uninstalling the old versions of nova and Open vSwitch but I am already using the latest version.

Aserdean suggests adding the following to the config file but this doesn't change anything for me. The service still crashes.

[ovs]
...
of_interface = ovs-ofctl 
ovsdb_interface = vsctl

Any thoughts would be greatly appreciated!

Here is my neutronovsagent.conf file but I doubt my conf file is the issue considering the agent doesn't even start logging before it crashes. Given the Windows Event Log (provided above ... (more)

edit retag flag offensive close merge delete

Comments

Hello awestin1! Could you please change in your neutron_ovs_agent config file the option "rpc_backend=neutron.openstack.common.rpc.impl_kombu" to "rpc_backend=rabbit" and then restart the service? The previous blogpost was written for Newton, we will publish soon one for Ocata too. Thanks, Alin.

abalutoiu gravatar imageabalutoiu ( 2017-05-03 11:17:00 +0200 )edit

That seems to have done the trick! Thanks!

awestin1 gravatar imageawestin1 ( 2017-05-03 22:15:41 +0200 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2017-05-03 22:18:43 +0200

awestin1 gravatar image

Per abalutoiu's comment on my question, changing rpc_backend=neutron.openstack.common.rpc.impl_kombu to rpc_backend=rabbit in the neutron_ovs_agent.conf did the trick! The neutron-ovs-agent service is starting now.

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: 2017-05-03 01:55:40 +0200

Seen: 177 times

Last updated: May 03