[ovs-discuss] ovsdb-client connected error when i update the ovsdb-server ca_cert.pem file

Liuyongqiang (A) liu.liuyongqiang at huawei.com
Sat Oct 10 01:28:21 UTC 2015


Thanks ben, I have tried your method, but the problem persists.

This is my script:

Server:

#!/bin/bash

SRC_CA_CRT_FILE=/home/pem/oam-network-agent_ca_crt.pem

DST_CA_CRT_FILE=/home/oam-network-agent_ca_crt.pem

for((i=0; i<50000; i++));do

rm -f $DST_CA_CRT_FILE
sleep 0.5
openssl x509 -inform PEM -in $SRC_CA_CRT_FILE > /home/ca_crt.pem.tmp
mv /home/ca_crt.pem.tmp $DST_CA_CRT_FILE

echo "update-----result $?-------------------------------------$i"

done

client:

for((i=0; i<50000; i++));do

    ovsdb-client -v -p /home/oam-network-agent_private_key.pem -c oam-network-agent_crt.pem -C /home/oam-network-agent_ca_crt.pem get-schema ssl:9.42.3.9:6632 Open_vSwitch
    sleep 0.5
    echo $i

done
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20151010/d119f637/attachment-0002.html>


More information about the discuss mailing list