<div dir="ltr"><br><br>On Thu, Dec 3, 2020 at 11:47 AM jre l <<a href="mailto:pdo2014@hotmail.com">pdo2014@hotmail.com</a>> wrote:<br>><br>> Dear everyone:<br>><br>> Please help me。<br>><br>> My ovn network running into trouble,this is a 250 client openstack+ovn network,every time I make any change on network ,such as creating a instance,the ovs-dbserver cpu went to 100%,and traffic grows to 1Gb/s, did I meet a BUG?<br>><br>>  <br>><br>> Here is client INFO:<br>><br>> [root@client deploy]# rpm -qa|grep ovn<br>><br>> openstack-neutron-ovn-metadata-agent-17.0.0-1.el8.noarch<br>><br>> ovn2.13-20.09.0-2.el8.x86_64<br>><br>> ovn2.13-host-20.09.0-2.el8.x86_64<br>><br>>  <br>><br>> on client and server side CONFIG:<br>><br>> ovs-vsctl set open . external-ids:ovn-encap-ip=10.0.1.10<br>><br>> ovs-vsctl set open . external-ids:ovn-remote=tcp:<a href="http://10.0.1.103:6642">10.0.1.103:6642</a>,tcp:<a href="http://10.0.1.104:6642">10.0.1.104:6642</a>,tcp:<a href="http://10.0.1.105:6642">10.0.1.105:6642</a><br>><br>> ovs-vsctl set open . external-ids:ovn-encap-type=geneve<br>><br>> ovs-vsctl set open . external-ids:ovn-remote-probe-interval="60000"<br>><br>> ovs-vsctl set open . external-ids:ovn-cms-options=enable-chassis-as-gw<br>><br>>  <br>><br>> nb show error:<br>><br>> [root@ controller tools]# netstat -pln|grep 6641<br>><br>> tcp        0      0 <a href="http://172.16.16.103:6641">172.16.16.103:6641</a>      0.0.0.0:*               LISTEN      1112883/ovsdb-serve<br>><br>>  <br>><br>> [root@controller tools]# ovn-nbctl --db=tcp:<a href="http://172.16.16.103:6641">172.16.16.103:6641</a> show<br>><br>> ovn-nbctl: tcp:<a href="http://172.16.16.103:6641">172.16.16.103:6641</a>: database connection failed ()<br>><br>> _______________________________________________<br>> discuss mailing list<br>> <a href="mailto:discuss@openvswitch.org">discuss@openvswitch.org</a><br><div>> <a href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss">https://mail.openvswitch.org/mailman/listinfo/ovs-discuss</a></div><div><br></div><div>It shouldn't trigger that much traffic for just one VM creation. Are you sure the 1G traffic is triggered during just one VM creation?</div><div>Usually if you are bootstrapping the whole environment, i.e. when all HVs starts to connect to SB at the same time, you would see SB overloaded. After the system calms down, it shouldn't generate that much load.</div><div><br></div><div>How many logical routers and logical switches do you have? If there is a big number of LR/LS and they all connected together (e.g. through an external provider logical switch), it is possible to trigger a big payload for monitor condition change when a VM is created, but it won't be 1G. However, in such scenario it is possible to create unnecessary load to SB DB, and setting the external-ids:ovn-monitor-all=true in all the HVs may help.</div><div><br></div><div>Thanks,</div><div>Han<br></div></div>