[ovs-discuss] Error with ovs-vsctl

Ben Pfaff blp at ovn.org
Thu Apr 14 16:38:37 UTC 2016

On Thu, Apr 14, 2016 at 06:30:24PM +0200, sreepriya wrote:
> Ok. But do you have any idea on why the error occur when I try to add a
> bridge/port with a proper name (<15 bytes) later?

It's reporting that there's an error in your configuration.  As long as
your configuration continues to have an error (that is, a port with a
bad name), it will report that there is one.

> This doesn't happen when optimisation is disabled. (CFLAGS="O1" is not
> given during build. )

This is a little hard to believe.  Please re-check the behavior.

> Also, even if the port/bridge is not created, it gets listed when I try
> $ sudo ovs-vsctl show

Yes, you can create an invalid configuration.  ovs-vsctl and the OVS
database server do not know and cannot reasonably know the maximum
length of port names, which varies based on the operating system and the
datapath in use,

More information about the discuss mailing list