Comment 1 for bug 1952550

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Hello Ivan:

From OVS documentation [1], you can see "system-ID" is type UUID. You can set "random" to generate, using "uuidgen" [2], a random generated UUID number.

If OVS DB API fails to check the type of the value set in "system-id", this is a problem in the OVS code. It shouldn't be able to set any possible string in Open_vSwitch:external_ids:system-id.

I'll make the OVN agent code more robust, writing an ERROR message in the logs if the reported issue happens. But need to change the chassis system-id assignation of your deployment tool, providing a valid UUID value.

Regards.

[1]https://docs.openvswitch.org/en/latest/ref/ovs-ctl.8/
[2]https://www.apt-browse.org/browse/ubuntu/xenial/main/amd64/openvswitch-switch/2.5.0-0ubuntu1/file/usr/share/openvswitch/scripts/ovs-ctl