On 4/24/24 05:32, Wang, Fei2 via discuss wrote:
> Hi all,
> 
>  
> 
> We are hitting below error when trying to start ovsdb-server 3.3.0 on SLES15 
> SP5, I don’t tend to believe this issue is related to OS but not sure, we 
> poked around and found similar issue 
> https://bugzilla.redhat.com/show_bug.cgi?id=1785586 
> <https://bugzilla.redhat.com/show_bug.cgi?id=1785586>, since we are using OVS 
> built from source code with dpdk enabled so cannot reference to it directly, 
> any idea how to narrow down this issue further? Thanks a lot.
> 
> *Our OVS build and startup steps:*
> 
> ./configure --with-dpdk=static
> make
> make install
> 
> mkdir -p /usr/local/etc/openvswitch
> rm -rf /usr/local/etc/openvswitch/conf.db
> ovsdb-tool create /usr/local/etc/openvswitch/conf.db 
> /usr/local/share/openvswitch/vswitch.ovsschema
> mkdir -p /usr/local/var/run/openvswitch/
> 
> # Start ovsdb-server
> 
> ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock 
> --remote=db:Open_vSwitch,Open_vSwitch,manager_options 
> --private-key=db:Open_vSwitch,SSL,private_key 
> --certificate=db:Open_vSwitch,SSL,certificate 
> --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --pidfile --detach

For some reason the pidfile creation is happening in
/usr/var/run/openvswitch/ and not /usr/local/... .
Sounds strange.

Try to run 'make distclean' and re-configure the build.

Or use explicit configuration to set up the prefixes:

 ./configure --prefix=/usr/local \
             --localstatedir=/usr/local/var \
             --sysconfdir=/usr/local/etc

Another option is to provide --pidfile option to ovsdb-server
specifying the desired location.

Best regards, Ilya Maximets.
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to