Snmp - get/bulk/getnext/walk show warnings when mibs are used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Agustin Carranza |
Bug Description
Brief Description
Apparently the changes introduced by https:/
-------
-- TMS OID Definitions
---- TMS Major MIB Categories
idb OBJECT IDENTIFIER ::= { tms 1 } -- IDB MIBs
tmsGeneric OBJECT IDENTIFIER ::= { tms 2 } -- TMS Generic MIBs
oemSwapi OBJECT IDENTIFIER ::= { tms 3 } -- OEM swAPI MIBs
oemProd OBJECT IDENTIFIER ::= { tms 4 }
-- OEM Product MIBs-- TMS IDB Internal Module MIBs
rmonMib OBJECT IDENTIFIER ::= { idb 1 }
-- garpMib OBJECT IDENTIFIER ::= { idb 2 } SMIv2
-- stpMib OBJECT IDENTIFIER ::= { idb 3 } SMIv2
-- TMS Generic MIBs
-- tmsCommonMib OBJECT IDENTIFIER ::= { tmsGeneric 1 } SMIv2
-- tmsL3Mib OBJECT IDENTIFIER ::= { tmsGeneric 2 } SMIv2
-- OEM swAPI MIBs
-- pmSwapi OBJECT IDENTIFIER ::= { oemSwapi 1 } SMIv2
-- bcmSwapi OBJECT IDENTIFIER ::= { oemSwapi 2 } SMIv2
-- pcSwapi OBJECT IDENTIFIER ::= { oemSwapi 3 } SMIv2
-- OEM Product MIBs
-- pm3575 OBJECT IDENTIFIER ::= { oemProd 1 } SMIv2
-- bcm5600 OBJECT IDENTIFIER ::= { oemProd 2 } SMIv2
-- pcSwitch OBJECT IDENTIFIER ::= { oemProd 3 } SMIv2
Severity
<Minor: System/Feature is usable with minor issue>
Steps to Reproduce
Run any snmp command (get, bulk, getnext) that requires using wrs mibs. e.g:
user% snmpget -v2c -c testcommunity 10.20.1.3:161 WRS-ALARM-
Expected Behavior
No warnings are returned.
user% snmpget -v2c -c testcommunity 10.20.1.3:161 WRS-ALARM-
WRS-ALARM-
Actual Behavior
Several warnings are returned.
user% snmpget -v2c -c testcommunity 10.20.1.3:161 WRS-ALARM-
Unlinked OID in WRS-ENTERPRISE-
Undefined identifier: tms near line 84 of /usr/share/
Unlinked OID in WRS-ENTERPRISE-
Undefined identifier: tms near line 83 of /usr/share/
Unlinked OID in WRS-ENTERPRISE-
Undefined identifier: tms near line 82 of /usr/share/
Unlinked OID in WRS-ENTERPRISE-
Undefined identifier: tms near line 81 of /usr/share/
WRS-ALARM-
Reproducibility
100% Reproducible
System Configuration
-------
One node system, ipv4
Branch/Pull Time/Commit
-------
stx7.0 and master
Last Pass
---------
Timestamp/Logs
--------------
user% snmpget -v2c -c testcommunity 10.20.1.3:161 WRS-ALARM-
Unlinked OID in WRS-ENTERPRISE-
Undefined identifier: tms near line 84 of /usr/share/
Unlinked OID in WRS-ENTERPRISE-
Undefined identifier: tms near line 83 of /usr/share/
Unlinked OID in WRS-ENTERPRISE-
Undefined identifier: tms near line 82 of /usr/share/
Unlinked OID in WRS-ENTERPRISE-
Undefined identifier: tms near line 81 of /usr/share/
WRS-ALARM-
Test Activity
-------------
Regression Testing
Workaround
-------------
Just ignore the warnings.
Changed in starlingx: | |
assignee: | nobody → Agustin Carranza (acarranz) |
summary: |
- Snmp - get - bulk - getnext -walk show warnings + Snmp - get/bulk/getnext/walk show warnings when mibs are used |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.8.0 stx.fault |
Fix proposed to branch: master /review. opendev. org/c/starlingx /snmp-armada- app/+/861206
Review: https:/