false assumption about datapath port number

Description

midolman assumes that datapath port numbers are reserved until it frees them explicitly.
however, in some cases, they can be reused automatically.
eg. when veth pair attached to the datapath is destroyed.
if it happens, at least the following data structure will get corrupted.

  • dpPortNumToTriad

  • portToChannel

also, some of LocalPortActive listeners seem to have similar assumptions.

it seems midonet-kubernetes often hits this problem.

Status

Assignee

Takashi Yamamoto

Reporter

Takashi Yamamoto

Labels

None

Priority

Major
Configure