macvlan VIF reproduces neutron port when HostIP exception raised
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kuryr-kubernetes |
Fix Released
|
High
|
Eunsoo Park |
Bug Description
When get_parent_port failed because pod is not initialized but just scheduled (No HostIP inserted to POD status), exception is raised.
Refer to this code:
def _get_parent_
try:
# REVISIT(vikasc): Assumption is being made that hostIP is the IP
# of trunk interface on the node(vm).
except KeyError:
if pod['status'
raise
NestedVLAN does not create port before getting parent port, therefore it's not a bug.
However, request_vif() of NestedMacvlanPo
It creates a bug in that the neutron port is not deleted after exception.
Changed in kuryr-kubernetes: | |
importance: | Undecided → High |
Fix proposed to branch: master /review. openstack. org/545760
Review: https:/