Open
Description
Description
Error message seen in syslog: "AttributeError: module 'sonic_py_common.multi_asic' has no attribute 'ROLE'" .
Steps to reproduce the issue:
- Load master or 201911 image with latest snmp docker.
- Load configuration so that there is a default route via one of the Ethernet interfaces:
ex:
show ip route 0.0.0.0/0
Routing entry for 0.0.0.0/0
Known via "bgp", distance 20, metric 0, best
Last update 00:44:06 ago
- 10.0.0.57, via Ethernet0
- Periodically the error message comes up in the log:
"AttributeError: module 'sonic_py_common.multi_asic' has no attribute 'ROLE'"
Describe the results you received:
Error message: "AttributeError: module 'sonic_py_common.multi_asic' has no attribute 'ROLE'" |
SNMP walk or get of Route Table (1.3.6.1.2.1.4.24.4) fails
Describe the results you expected:
SNMP walk of 1.3.6.1.2.1.4.24.4 should be successful and error message should not be visible,
Additional information you deem important (e.g. issue happens only occasionally):
**Output of `show version`:**
```
(paste your output here)
```
**Attach debug file `sudo generate_dump`:**
```
(paste your output here)
```
Metadata
Metadata
Assignees
Labels
No labels