It's observed that after step #2 empty namespaces are not removed. This behaviour is wrong, however it does not impact working system. Everywhere in OCF scripts neutron-netns-cleanup is always called with "--force" parameter, and it works as expected.
The case without --force breaks on line #330 -- the condition doesn't take into account that namespace always has loopback interface. @ykotko - please file a bug regarding this.
It's observed that after step #2 empty namespaces are not removed. This behaviour is wrong, however it does not impact working system. Everywhere in OCF scripts neutron- netns-cleanup is always called with "--force" parameter, and it works as expected.
The case without --force breaks on line #330 -- the condition doesn't take into account that namespace always has loopback interface. @ykotko - please file a bug regarding this.