You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I want to do: to verify consistency between ASIC_DB and ASIC.
Why?: We have had some issues recently where what SONiC wants to be on ASIC is not present on ASIC. Hence ASIC_DB data != ASIC data. Particularly, an issue was seen due to BRCM bug where ECN marking was enabled on ASIC_DB, but was disabled on ASIC.
This is BRCM bug, but we want to include a new step (consistency checker for diff in ASIC vs ASIC_DB) in our sonic-mgmt tests.
So this is what I am hoping to do:
After warm-reboot, run through ASIC_DB entries.
For every entry in ASIC_DB, do SAI GET operation (on the fly)
Check if ASIC_DB entry attributes are not matching SAI response.
My plan to do GET operations is via saiplayer. I am trying to replay a part of sairedis logs, but I keep getting this error. translate_local_to_redis: failed to translate local RID'
I am positive that the local RID exists in the DB. I get this error for all the different kinds of objects I tried. For eg., if I have just one entry (as below) on rec, it still fails with above error:
@vaibhavhd still unsolved ? there should be no scenario where ASIC_DB != ASIC data, we have discovery and every operation is recorded, not sure how you landed on this state, and how did you trigger that
What I want to do: to verify consistency between ASIC_DB and ASIC.
Why?: We have had some issues recently where what SONiC wants to be on ASIC is not present on ASIC. Hence ASIC_DB data != ASIC data. Particularly, an issue was seen due to BRCM bug where ECN marking was enabled on ASIC_DB, but was disabled on ASIC.
This is BRCM bug, but we want to include a new step (consistency checker for diff in ASIC vs ASIC_DB) in our sonic-mgmt tests.
So this is what I am hoping to do:
After warm-reboot, run through ASIC_DB entries.
For every entry in ASIC_DB, do SAI GET operation (on the fly)
Check if ASIC_DB entry attributes are not matching SAI response.
My plan to do GET operations is via saiplayer. I am trying to replay a part of sairedis logs, but I keep getting this error. translate_local_to_redis: failed to translate local RID'
I am positive that the local RID exists in the DB. I get this error for all the different kinds of objects I tried. For eg., if I have just one entry (as below) on rec, it still fails with above error:
The text was updated successfully, but these errors were encountered: