Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

orchagent reporting error 'Unknown attribute snat_entry_threshold_type' #1574

Closed
bingwang-ms opened this issue Dec 27, 2020 · 7 comments · Fixed by #1511
Closed

orchagent reporting error 'Unknown attribute snat_entry_threshold_type' #1574

bingwang-ms opened this issue Dec 27, 2020 · 7 comments · Fixed by #1511

Comments

@bingwang-ms
Copy link
Contributor

Description
orchagent reported error log in test_crm

Dec 27 07:36:43.830899 str-7260cx3-acs-2 ERR swss#orchagent: :- handleSetCommand: Failed to parse CRM Config configuration. Unknown attribute snat_entry_threshold_type.
Dec 27 07:44:27.460726 str-7260cx3-acs-2 ERR swss#orchagent: :- handleSetCommand: Failed to parse CRM Config configuration. Unknown attribute snat_entry_threshold_type.

I think the issue is caused by newly added config in configdb, which are not accecped by orchagent.

81) "snat_entry_threshold_type"
82) "percentage"
83) "snat_entry_low_threshold"
84) "70"
85) "snat_entry_high_threshold"
86) "85"
87) "dnat_entry_threshold_type"
88) "percentage"
89) "dnat_entry_low_threshold"
90) "70"
91) "dnat_entry_high_threshold"
92) "85"
93) "ipmc_entry_threshold_type"
94) "percentage"
95) "ipmc_entry_low_threshold"
96) "70"
97) "ipmc_entry_high_threshold"
98) "85"

Steps to reproduce the issue:

  1. Run test_crm.

Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

**Output of `show version`:**
SONiC Software Version: SONiC.HEAD.175-df13245b
Distribution: Debian 10.7
Kernel: 4.19.0-9-2-amd64
Build commit: df13245b
Build date: Thu Dec 24 02:01:34 UTC 2020
Built by: johnar@jenkins-worker-22

Platform: x86_64-arista_7260cx3_64
HwSKU: Arista-7260CX3-D108C8
ASIC: broadcom
ASIC Count: 1
Serial Number: SSJ17432414
Uptime: 08:26:57 up  8:16,  2 users,  load average: 1.25, 2.12, 2.50

Docker images:
REPOSITORY                    TAG                 IMAGE ID            SIZE
docker-syncd-brcm             HEAD.175-df13245b   105614c2a0ad        725MB
docker-syncd-brcm             latest              105614c2a0ad        725MB
docker-snmp                   HEAD.175-df13245b   0d41b39eca93        525MB
docker-snmp                   latest              0d41b39eca93        525MB
docker-teamd                  HEAD.175-df13245b   736b66a0ba03        523MB
docker-teamd                  latest              736b66a0ba03        523MB
docker-nat                    HEAD.175-df13245b   8c658d90c903        525MB
docker-nat                    latest              8c658d90c903        525MB
docker-router-advertiser      HEAD.175-df13245b   fb202bd05216        479MB
docker-router-advertiser      latest              fb202bd05216        479MB
docker-platform-monitor       HEAD.175-df13245b   c99888eb05b9        604MB
docker-platform-monitor       latest              c99888eb05b9        604MB
docker-lldp                   HEAD.175-df13245b   8226b60e5c45        519MB
docker-lldp                   latest              8226b60e5c45        519MB
docker-dhcp-relay             HEAD.175-df13245b   72693024f19a        486MB
docker-dhcp-relay             latest              72693024f19a        486MB
docker-database               HEAD.175-df13245b   79ba588de175        479MB
docker-database               latest              79ba588de175        479MB
docker-orchagent              HEAD.175-df13245b   b254776a8e87        553MB
docker-orchagent              latest              b254776a8e87        553MB
docker-sonic-telemetry        HEAD.175-df13245b   3b336806b7c4        553MB
docker-sonic-telemetry        latest              3b336806b7c4        553MB
docker-sonic-mgmt-framework   HEAD.175-df13245b   44bdcc06871d        680MB
docker-sonic-mgmt-framework   latest              44bdcc06871d        680MB
docker-fpm-frr                HEAD.175-df13245b   4d77e5f907de        539MB
docker-fpm-frr                latest              4d77e5f907de        539MB
docker-sflow                  HEAD.175-df13245b   d99fda4d2916        523MB
docker-sflow                  latest              d99fda4d2916        523MB
**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
@lguohan
Copy link
Contributor

lguohan commented Dec 27, 2020

@rlhui , looks like snat crm changes break the master image. can you take a look?

@rlhui
Copy link
Contributor

rlhui commented Dec 27, 2020

@PrabhuSreenivasan, will you be able to add/address this failure quickly? Thanks.

@rlhui
Copy link
Contributor

rlhui commented Dec 27, 2020

@arlakshm , fyi

@PrabhuSreenivasan
Copy link
Contributor

@rlhui,
handleSetCommand: Failed to parse CRM Config configuration. Unknown attribute snat_entry_threshold_type. logs appear because the handler for these new resources are part of #1511 and needs to be merged.

@rlhui rlhui transferred this issue from sonic-net/sonic-buildimage Dec 30, 2020
@rlhui rlhui linked a pull request Dec 30, 2020 that will close this issue
@PrabhuSreenivasan
Copy link
Contributor

@bingwang-ms, The sonic-swss submodule head was updated yesterday to include /pull/1511
The latest builds should have this problem resolved.

@anshuv-mfst
Copy link

@bingwang-ms - could you please close the issue, thanks.

@lguohan
Copy link
Contributor

lguohan commented Mar 17, 2021

let me close it here. @bingwang-ms , next time, can you open this issue on buildimage?

@lguohan lguohan closed this as completed Mar 17, 2021
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this issue Feb 28, 2022
…net#1574)

This change is to add support for the commands "show ip bgp neighbor "and "show ip bgp network" for multi asic platforms
Add unit tests for these commands

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants