fabric-tna icon indicating copy to clipboard operation
fabric-tna copied to clipboard

Inconsistent table entry for `switch_info` table

Open ccascone opened this issue 5 years ago • 1 comments

23:18:04.727 WARN [P4RuntimeFlowRuleProgrammable] Table entry obtained from device device:leaf1 is different from one in in translation store: device=PiTableEntry{tableId=FabricEgress.pkt_io_egress.switch_info, matchKey=DEFAULT-ACTION, tableAction=NoAction(), priority=N/A, timeout=PERMANENT}, store=PiTableEntry{tableId=FabricEgress.pkt_io_egress.switch_info, matchKey=DEFAULT-ACTION, tableAction=FabricEgress.pkt_io_egress.set_cpu_port(cpu_port=0x140), priority=N/A, timeout=PERMANENT}

The issue was observed after reloading the fabric-tna pipeconf app in a running ONOS instance (production pod).

The ONOS core does not contain any flow for the switch_info table, which is weird. Seems like a bug with the ONOS translation store, and with fabric-tna pipeline initialization logic.

ccascone avatar Sep 25 '20 23:09 ccascone

Unrelated issue: The switch_info table lists nop as action, but not as default action, which then will be NoAction implicitly.

I suspect some error on Stratum with regards to default values in keyless tables. It seemed to work at first without any extra logic, but maybe that was a misconception.

pudelkoM avatar Sep 29 '20 21:09 pudelkoM