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

[supervisor-proc-exit-listener] Error message in syslog if feature is not supported #4247

Closed
SavchukRomanLv opened this issue Mar 10, 2020 · 0 comments

Comments

@SavchukRomanLv
Copy link
Contributor

Description
Error message in syslog appears if feature is not supported
After changes, made in #4208 for nat container, error messages appears in syslog.

Steps to reproduce the issue:
Run crm test on t0 topology:
ansible-playbook test_sonic.yml -i inventory --limit <testbed> -e testbed_name=<testbed> -e testbed_type=t0 -e testcase_name=crm
After this changes also failed:
dhcp_relay
vxlan_decap
acl
interfaces
everflow_testbed
lldp
continuous_link_flap
pfc_wd
neighbour_mac_noptf
restart_swss
Describe the results you received:
Test fails due error in syslog:
ERR nat#supervisor-proc-exit-listener: Unable to retrieve features for container 'nat'. Exiting...
Describe the results you expected:

  • all affected test cases passed
  • If feature is not supported, has to be implemented some new logic (INFO of DEBUG message in syslog, not ERROR)

Additional information you deem important (e.g. issue happens only occasionally):
For nat service option autorestart was enabled in #4208. Error message appears here https://github.com/Azure/sonic-buildimage/blob/master/files/scripts/supervisor-proc-exit-listener lines 64-66.

**Output of `show version`:**

```
SONiC Software Version: SONiC.HEAD.591-dirty-20200309.044431
Distribution: Debian 9.12
Kernel: 4.9.0-11-2-amd64
Build commit: 590caaf5
Build date: Mon Mar  9 06:33:21 UTC 2020
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
akokhan pushed a commit to akokhan/sonic-buildimage that referenced this issue Mar 11, 2020
Signed-off-by: Andriy Kokhan <akokhan@barefootnetworks.com>
abdosi pushed a commit that referenced this issue Mar 20, 2020
* [Service] Added NAT entry into CONTAINER_FEATURE. Fixes #4247.

Signed-off-by: Andriy Kokhan <akokhan@barefootnetworks.com>
tiantianlv pushed a commit to SONIC-DEV/sonic-buildimage that referenced this issue Apr 24, 2020
… (sonic-net#4250)

* [Service] Added NAT entry into CONTAINER_FEATURE. Fixes sonic-net#4247.

Signed-off-by: Andriy Kokhan <akokhan@barefootnetworks.com>
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

No branches or pull requests

1 participant