Description of problem: After switch network plugin from multitenant to flat, the existing netnamespace id still can be queried from api. Version-Release number of selected component (if applicable): openshift v3.1.1.903 How reproducible: always Steps to Reproduce: 1. Setup multi node env with ovs-multitenant networking plugin 2. Create some projects by user 3. Switch the network plugin to ovs-subnet 4. Check the netnamespace via cluster-admin # oc get netnamespace Actual results: The old netnamespace still can be listed. Expected results: They should be deleted when switching to flat network. Additional info: # oc get netnamespace NAME NETID default 0 management-infra 12 openshift 10 openshift-infra 11 u1p1 13
We don't want to teach core or other plugins about all of the cleanup that a plugin would need. And if you flipped back and forth between the plugins you may not want the netns to be cleaned.