I met some errors about "reading meter spec from target" when ONOS connects to stratum installed on tofino,
Closed this issue · 0 comments
xfyan0408 commented
In ONOS cli, I can verify that the onos connects to stratum installed on tofino correctly, but stratum cli
returns some errors of Failed to read forwarding entries from node 1: Error when reading meter spec from target
some error logs from stratum
are as follows:
|2022-06-24 01:07:33.865333 BF_BFRT ERROR - bfRtDeviceAdd:349 No BF-RT json file found for program fabric_tna Not adding BF-RT Info object for it
I20220624 01:07:35.166186 10641 bf_chassis_manager.cc:1171] Replayed chassis config for node 1.
I20220624 01:07:35.166210 10641 bf_switch.cc:138] P4-based forwarding pipeline config pushed successfully to node with ID 1.
I20220624 01:07:35.736222 10325 sdn_controller_manager.cc:178] Update SDN connection ((role_name: <default>, election_id: { low: 40 }, uri: ipv4:192.168.109.117:52398)): device_id: 1 election_id { low: 40 }
I20220624 01:07:35.736536 10325 sdn_controller_manager.cc:199] Old and new primary connection for role <default> with election ID { low: 40 }.
I20220624 01:07:35.736631 10325 p4_service.cc:590] Controller (role_name: <default>, election_id: { low: 40 }, uri: ipv4:192.168.109.117:52398) is connected as MASTER for node (aka device) with ID 1.
E20220624 01:07:35.764362 10653 PI-device_mgr.cpp:0] Error when reading meter spec from target
E20220624 01:07:35.764487 10653 pi_node.cc:174] Return Error: toUtilStatus(status, details, req.entities_size()) failed with generic::unknown: Error when reading meter spec from target
E20220624 01:07:35.764550 10653 p4_service.cc:352] Failed to read forwarding entries from node 1: Error when reading meter spec from target
I20220624 01:07:35.796535 10651 config_monitoring_service.cc:420] Initial Subscribe request from ipv4:192.168.109.117:52400 over stream 0x7f8942bd46c0.
'
invalid input starting at ''