This also badly affects HVM instances where both the vif and the tap interface remain instead of one of the two being removed. You can see from the following output from "ovs-vsctl show" (trimmed and grouped for easier reading) that it is indeterminate which of the vif or tap will get the tag.
Port "tap81.0"
tag: 3 Interface "tap81.0"
Port "vif81.0" Interface "vif81.0"
Port "tap81.1" Interface "tap81.1"
Port "vif81.1"
tag: 2 Interface "vif81.1"
Port "tap81.2" Interface "tap81.2"
Port "vif81.2"
tag: 4 Interface "vif81.2"
Port "tap81.3" Interface "tap81.3"
Port "vif81.3"
tag: 5 Interface "vif81.3"
This also badly affects HVM instances where both the vif and the tap interface remain instead of one of the two being removed. You can see from the following output from "ovs-vsctl show" (trimmed and grouped for easier reading) that it is indeterminate which of the vif or tap will get the tag.
Port "tap81.0"
Interface "tap81.0"
Interface "vif81.0"
tag: 3
Port "vif81.0"
Port "tap81.1"
Interface "tap81.1"
Interface "vif81.1"
Port "vif81.1"
tag: 2
Port "tap81.2"
Interface "tap81.2"
Interface "vif81.2"
Port "vif81.2"
tag: 4
Port "tap81.3"
Interface "tap81.3"
Interface "vif81.3"
Port "vif81.3"
tag: 5