[ovs-discuss] [OVN] OVN split: Database schemas and ovn-ctl script

Numan Siddique nusiddiq at redhat.com
Tue Aug 13 05:34:17 UTC 2019

On Fri, Aug 9, 2019 at 4:20 PM Lucas Alvares Gomes <lucasagomes at gmail.com>

> Hi,
> While testing OVN compiled from the new repository [0] with OpenStack
> I noticed two problems, so I'm writing this email to bring some
> attention to it since I don't have the time this week to work on it
> (maybe someone else has):
> 1. "make install" not placing the ovn-{nb, sb}.ovsschema files in the
> correct directory.
> By default you can expect the schema files to be placed at
> /usr/local/share/openvswitch but right now it doesn't seem to be the
> case. Schemas can't be found in the new /usr/local/share/ovn directory
> either.
> Also, since I've compiled OVS first, the schemas at
> /usr/local/share/openvswitch were the (old) ones from the OVS
> repository and upon starting northd via ovn-ctl [1] the wrong schemas
> were used to create the OVN databases (start_northd command will
> create the databases if they do not yet exist). Which brings me to
> point two.
> 2. The ovn-ctl script in the new OVN repository is broken.
> stack at ubuntu:~/ovs$ /usr/local/share/ovn/scripts/ovn-ctl stop_northd
> /usr/local/share/ovn/scripts/ovn-ctl: 19: .: Can't open
> /usr/local/share/ovn/scripts/ovs-lib
> [0] https://github.com/ovn-org/ovn/
> [1] $ /usr/local/share/openvswitch/scripts/ovn-ctl start_northd

Hi Lucas,

Thanks for the report.
Can you please try this patch - https://patchwork.ozlabs.org/patch/1144884/
It should fix both the issues.


> Cheers,
> Lucas
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190813/6254bbb9/attachment.html>

More information about the discuss mailing list