Stacking failed on OVN compute node

Bug #1653835 reported by Tong Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
Fix Released
Undecided
Unassigned

Bug Description

When I was stacking on the OVN compute node, it failed with the following error:
'''
2017-01-03 23:16:46.315 | Configuring Nova
Configuring Neutron for OVN
/opt/stack/networking-ovn/devstack/plugin.sh: line 37: create_nova_conf_neutron: command not found
Error on exit
World dumping... see /opt/stack/logs/worlddump-2017-01-03-231646.txt for details
'''

I checked the networking-ovn/devstack/lib/networking-ovn file doesn't have create_nova_conf_neutron defined.
https://github.com/openstack/networking-ovn/blob/master/devstack/lib/networking-ovn

The local.conf I used is the same as the sample conf:
https://github.com/openstack/networking-ovn/blob/master/devstack/computenode-local.conf.sample

Revision history for this message
Russell Bryant (russellb) wrote :

That was probably something we used from devstack that has since been removed. We'll need to look into devstack and see what changed and if there's something else we should be using, or if we should be doing whatever that did in our code directly.

Revision history for this message
Tong Liu (liutong) wrote :

After I add "source $TOP_DIR/lib/neutron-legacy" after the following line, it worked for me.
https://github.com/openstack/networking-ovn/blob/master/devstack/plugin.sh#L21

I think we need to either use whatever in neutron-legacy or put in our code directly.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovn (master)

Reviewed: https://review.openstack.org/416794
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=ce0b83052591be7aabfb61e1c676d37d937f159e
Submitter: Jenkins
Branch: master

commit ce0b83052591be7aabfb61e1c676d37d937f159e
Author: Tong Liu <email address hidden>
Date: Wed Jan 4 19:13:38 2017 +0000

    Resolve create_nova_conf_neutron not found issue

    On OVN compute node, only n-cpu service is enabled. Thus, some
    library codes are not sourced and create_nova_conf_neutron could
    not be found during nova setup. Source the neutron-legacy in
    plugin.sh.

    Change-Id: I776c34da11b4a9464076f712821f99276d9e3ea2
    Closes-Bug: #1653835

Changed in networking-ovn:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn 2.0.0.0b3

This issue was fixed in the openstack/networking-ovn 2.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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