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

Lucas Alvares Gomes lucasagomes at gmail.com
Wed Aug 14 13:09:13 UTC 2019


Thanks Numan,

I've gave the patch [0] a go and it works! Since I was running with
DevStack (OpenStack deployment tool) I needed to adjust the
OV{S,N}_RUNDIR, OV{S,N}_SHAREDIR and some other related variables but
at the end I was able to get it up and running!

[0] https://patchwork.ozlabs.org/patch/1144884/

Cheers,
Lucas

On Tue, Aug 13, 2019 at 6:34 AM Numan Siddique <nusiddiq at redhat.com> wrote:
>
>
>
> On Fri, Aug 9, 2019 at 4:20 PM Lucas Alvares Gomes <lucasagomes at gmail.com> wrote:
>>
>> 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.
>
> Thanks
> Numan
>
>>
>>
>> Cheers,
>> Lucas
>> _______________________________________________
>> discuss mailing list
>> discuss at openvswitch.org
>> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


More information about the discuss mailing list