On 24 November 2016 at 02:26, <zhou.huij...@zte.com.cn> wrote: > We can't find the mailbox in ovn-kubernetes CONTRIBUTING.md , so can you > have any advice for the follow bug ? > Thanks >
Please submit a github pull request to the ovn-kubernetes repo. Also, please have a look at the following patch on a better way to express the fix. https://www.mail-archive.com/dev@openvswitch.org/msg70822.html > > https://github.com/openvswitch/ovn-kubernetes/blob/master/README.md > > commit eafea03e1e071f1f7491e2df29b41d8384c0cabe > Author: zhou Huijing <zhou.huij...@zte.com.cn> > Date: Wed Nov 23 08:32:45 2016 +0000 > > README.md: Set OVS unique system-id > > When we have two or more nodes, and start_northd without set > system-id, "ovn-sbctl show" can't can only list one node just like this: > Chassis "" > hostname: "host-192-0-10-10" > Encap geneve > ip: "192.0.10.10" > options: {csum="true"} > Port_Binding "k8s-192.0.10.10" > > and can't list all nodes. So, we should add this option as follows: > ovs-vsctl set Open_vSwitch . > external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \ > external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" \ > external_ids:ovn-encap-ip=$LOCAL_IP \ > external_ids:ovn-encap-type="$ENCAP_TYPE" \ > external_ids:system-id=$SYSTEM_ID > > Signed-off-by: zhou Huijing <zhou.huij...@zte.com.cn> > > diff --git a/README.md b/README.md > index 94b7a14..4ada1b0 100644 > --- a/README.md > +++ b/README.md > @@ -107,11 +107,15 @@ kernel version of 3.18 for geneve. There is no stt > support in upstream Linux. > You can verify whether you have the support in your kernel by doing a > `lsmod | > grep $ENCAP_TYPE`.) > > +$SYSTEM_ID is the Open_vSwitch ID. Each OVS has a unique value, such as > +"12345678-1234-1234-1234-111111111112". > + > ``` > ovs-vsctl set Open_vSwitch . > external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \ > external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" \ > external_ids:ovn-encap-ip=$LOCAL_IP \ > - external_ids:ovn-encap-type="$ENCAP_TYPE" > + external_ids:ovn-encap-type="$ENCAP_TYPE" \ > + external_ids:system-id=$SYSTEM_ID > ``` > > And finally, start the ovn-controller. (You need to run the below > command on > _______________________________________________ > dev mailing list > d...@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-dev > _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev