devstack failed when Q_AGENT=ovn

Bug #1869768 reported by Xubo Zhang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Unassigned

Bug Description

I tried stacking many times using the ovn-local.conf.sample (Q_AGENT=ovn), but I got a lot of errors,
2020-03-26 23:17:04.905 | ERROR: networking-ovn 7.0.0.0rc2.dev85 requires Babel!=2.4.0,>=2.3.4, which is not installed.
2020-03-26 23:17:04.905 | ERROR: networking-ovn 7.0.0.0rc2.dev85 requires futurist>=1.2.0, which is not installed.
2020-03-26 23:17:04.905 | ERROR: networking-ovn 7.0.0.0rc2.dev85 requires netaddr>=0.7.18, which is not installed.
2020-03-26 23:17:04.905 | ERROR: networking-ovn 7.0.0.0rc2.dev85 requires neutron-lib>=1.28.0, which is not installed.
2020-03-26 23:17:04.905 | ERROR: networking-ovn 7.0.0.0rc2.dev85 requires octavia-lib>=1.3.1, which is not installed.
2020-03-26 23:17:04.905 | ERROR: networking-ovn 7.0.0.0rc2.dev85 requires oslo.config>=5.2.0, which is not installed.
2020-03-26 23:17:04.905 | ERROR: networking-ovn 7.0.0.0rc2.dev85 requires ovs>=2.8.0, which is not installed.
2020-03-26 23:17:04.905 | ERROR: networking-ovn 7.0.0.0rc2.dev85 requires ovsdbapp>=0.17.0, which is not installed.
2020-03-26 23:17:04.906 | ERROR: networking-ovn 7.0.0.0rc2.dev85 requires pyOpenSSL>=17.1.0, which is not installed.

in the end, it says “Neutron did not start”.

Tags: ovn
Xubo Zhang (xbzhang99)
tags: added: ovn
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Hello Xubo:

What deployment tool did you use? devstack, tripleo, kolla?
Can you share the deployment tool logs?
Do you have the Neutron server logs?

Regards.

Revision history for this message
Xubo Zhang (xbzhang99) wrote :

devstack

Revision history for this message
Xubo Zhang (xbzhang99) wrote :

Hi, here is the stack.sh log. I don't see neutron log

Revision history for this message
Brian Haley (brian-haley) wrote :

I'm curious why the log shows networking-ovn at all, no code should be being used from that repository. Are both your neutron and devstack repositories up-to-date?

Revision history for this message
Xubo Zhang (xbzhang99) wrote :

yes, git log shows both are up to 3/27/2020

Revision history for this message
Brian Haley (brian-haley) wrote :

I still think you have some out-of-date info in local.conf due to the networking-ovn strings showing up in the log. For example, this line:

enable_plugin networking-ovn https://git.openstack.org/openstack/networking-ovn

should be this:

enable_plugin neutron https://opendev.org/openstack/neutron

The best thing to do is to is to copy this file to your devstack system:

  devstack/ovn-local.conf.sample

I did that today and ./stack.sh completed successfully, and stack.sh.log had no lines with 'networking-ovn' in it.

Changed in neutron:
status: New → Incomplete
Revision history for this message
Xubo Zhang (xbzhang99) wrote :

thanks!

i found the problem. I have a directory networking-ovn in my home dir (same level of neutron), when i removed it, it worked. strange.

Changed in neutron:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.