[ovs-discuss] ovs-ofctl mod-port doesn't work with ports in network namespaces

Jakub Libosvar jlibosva at redhat.com
Fri May 11 10:00:42 UTC 2018


Hi all,
it seems I hit a bug when trying to implement a fix in OpenStack Neutron
that uses heavily network namespaces with OVS internal ports in them.

Ports attached to OVS bridge that are placed in network namespace can't
have their status changed using 'ovs-ofctl mod-port' command.

Steps to reproduce:

 ovs-vsctl add-br test-br
 ovs-vsctl add-port test-br test-port -- set Interface test-port
type=internal
 ip net a test-ns
 ip l s test-port netns test-ns
 ovs-ofctl mod-port test-br test-port up

-- check that port is still down
 ip net e test-ns ip l sh test-port
    test-port: <BROADCAST,MULTICAST> <--- port is still DOWN


More information about the discuss mailing list