Symptom
traffic collection using telemetry is not working correctly.
Conditions
# show telemetry model-driven trace backend-err
Jun 26 05:06:26.610 m2m/mdt/backend-err 0/RP1/CPU0 111127# t5 131061660 [mdtbk_bte_encode]: /oper/mpls_fwd/node/*/lfib/fwding/*,*, BTE encode failure - 1083835904
Jun 26 05:06:26.610 m2m/mdt/backend-err 0/RP1/CPU0 122581# t5 131061669 [mdtbk_bte_encode]: /oper/mpls_fwd/node/*/lfib/fwding/*,*, BTE encode failure - 1083835904
Jun 26 05:06:32.131 m2m/mdt/backend-err 0/RP1/CPU0 38878# t5 131062940 [mdtbk_bte_encode]: /oper/mpls_fwd/node/*/lfib/fwding/*,*, BTE encode failure ? 1083835904
the encode errors keep incrementing. This is also seen in sh telemetry model-driven trace backend-err.
There is an encode error that is happening.
The issue happens when there is a query sent to the specified sensor path. The backend finds an interface in the local database.
So, the interface handle is reported back to the requestor.
Before the interface handle to interface string encoding starts, the interface itself has been deleted. So, the encoding failed.