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
OPENCONFIG-gNMI - Port Speed is not returned for 100G interface and observing "Not supported speed: 100000!" log in telemetry.log during a gnmi_get
#107
Closed
sachin-brm opened this issue
Sep 11, 2019
· 1 comment
OPENCONFIG-gNMI - Port Speed is not returned for 100G interface and observing Not supported speed: 100000! log in telemetry.log during a gnmi_get
Expected Behavior :
Port Speed should get returned for 100G interface when performed gnmi_get operation on 100G interface like other speeds
should not observe "Not supported speed: 100000!" log in telemetry.log during a gnmi_get,as 100G is supported in SONIC platforms
Topology :
DUT
Steps to Repro :
Go to telemetry docker docker exec -it telemetry bash
Enable tail -f /var/log/telemetry.log in ssh session
Perform gNMI get operation on 100G interface as below ,observe that operation is successful but not displaying interface speed, and also in telemetry log observed that Not supported speed: 100000! log
==============================================================
==============================================================
4. telemetry log as below
Jan 9 14:57:08.417328 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.416945 53 translib.go:385] Received Get request for path = /openconfig-interfaces:interfaces/interface[name=Ethernet92]
Jan 9 14:57:08.417328 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.416966 53 app_interface.go:116] getAppModule called for path =/openconfig-interfaces:interfaces/interface[name=Ethernet92]
Jan 9 14:57:08.417328 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.416972 53 app_interface.go:123] found the entry in the map for path =/openconfig-interfaces:interfaces
Jan 9 14:57:08.417328 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.416978 53 app_interface.go:154] cast to appInterface worked&{<nil> [] <nil> <nil> <nil> [] <nil> <nil> map[] map[] {0 {map[]}} map[] <nil> <nil> <nil> <nil> <nil> <nil>}
Jan 9 14:57:08.417531 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.417159 53 intf_app.go:94] initialize:if:path =/openconfig-interfaces:interfaces/interface[name=Ethernet92]
Jan 9 14:57:08.417531 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.417220 53 db.go:310] NewDB: Init indication not requested
Jan 9 14:57:08.417531 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.417243 53 intf_app.go:227] translateGet:intf:path =&{/openconfig-interfaces:interfaces/interface[name=Ethernet92] /openconfig-interfaces:interfaces/interface{} map[name:Ethernet92]}
Jan 9 14:57:08.417531 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.417258 53 intf_app.go:314] Received GET for path /openconfig-interfaces:interfaces/interface[name=Ethernet92]; template: /openconfig-interfaces:interfaces/interface{} vars=map[name:Ethernet92]
Jan 9 14:57:08.417592 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.417287 53 intf_app.go:321] URI Path = /openconfig-interfaces:interfaces/interface
Jan 9 14:57:08.417592 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.417293 53 intf_app.go:328] Interface Name = Ethernet92
Jan 9 14:57:08.417592 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.417298 53 intf_app.go:747] Updating Interface info from APP-DB to Internal DS for Interface name : Ethernet92
Jan 9 14:57:08.417896 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.417703 53 intf_app.go:756] Interface Info populated for ifName : Ethernet92
Jan 9 14:57:08.417896 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.417722 53 intf_app.go:550] /openconfig-interfaces:interfaces/interface - Not an interface state attribute
Jan 9 14:57:08.418387 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.418222 53 intf_app.go:706] OID : oid:0x1000000000009 received for Interface : Ethernet92
Jan 9 14:57:08.418540 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.418339 53 intf_app.go:644] /openconfig-interfaces:interfaces/interface - Not an interface state counter attribute
Jan 9 14:57:08.418540 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.418347 53 intf_app.go:780] Updating Interface IP Info from APP-DB to Internal DS for Interface Name : Ethernet92
Jan 9 14:57:08.419417 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.419245 53 intf_app.go:485] Found 14 INTF table keys
Jan 9 14:57:08.420211 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.420052 53 intf_app.go:881] Not a valid attribute!
Jan 9 14:57:08.420211 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.420070 53 intf_app.go:881] Not a valid attribute!
Jan 9 14:57:08.420211 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.420079 53 intf_app.go:881] Not a valid attribute!
Jan 9 14:57:08.420345 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.420087 53 intf_app.go:868] Not supported speed: 100000!
Jan 9 14:57:08.420345 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.420157 53 intf_app.go:899] IP address = 2001::1/64
Jan 9 14:57:08.420940 sonic INFO telemetry#supervisord: telemetry I0109 14:57:08.420828 53 intf_app.go:899] IP address = 192.168.1.1/24
5.this issue is not observed on other speeds like 25G
Jan 9 14:57:44.676329 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.676027 53 translib.go:385] Received Get request for path = /openconfig-interfaces:interfaces/interface[name=Ethernet0]
Jan 9 14:57:44.676329 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.676045 53 app_interface.go:116] getAppModule called for path =/openconfig-interfaces:interfaces/interface[name=Ethernet0]
Jan 9 14:57:44.676329 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.676050 53 app_interface.go:123] found the entry in the map for path =/openconfig-interfaces:interfaces
Jan 9 14:57:44.676329 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.676055 53 app_interface.go:154] cast to appInterface worked&{<nil> [] <nil> <nil> <nil> [] <nil> <nil> map[] map[] {0 {map[]}} map[] <nil> <nil> <nil> <nil> <nil> <nil>}
Jan 9 14:57:44.676551 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.676200 53 intf_app.go:94] initialize:if:path =/openconfig-interfaces:interfaces/interface[name=Ethernet0]
Jan 9 14:57:44.676551 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.676240 53 db.go:310] NewDB: Init indication not requested
Jan 9 14:57:44.676551 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.676253 53 intf_app.go:227] translateGet:intf:path =&{/openconfig-interfaces:interfaces/interface[name=Ethernet0] /openconfig-interfaces:interfaces/interface{} map[name:Ethernet0]}
Jan 9 14:57:44.676551 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.676263 53 intf_app.go:314] Received GET for path /openconfig-interfaces:interfaces/interface[name=Ethernet0]; template: /openconfig-interfaces:interfaces/interface{} vars=map[name:Ethernet0]
Jan 9 14:57:44.676551 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.676282 53 intf_app.go:321] URI Path = /openconfig-interfaces:interfaces/interface
Jan 9 14:57:44.676575 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.676287 53 intf_app.go:328] Interface Name = Ethernet0
Jan 9 14:57:44.676575 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.676292 53 intf_app.go:747] Updating Interface info from APP-DB to Internal DS for Interface name : Ethernet0
Jan 9 14:57:44.676802 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.676587 53 intf_app.go:756] Interface Info populated for ifName : Ethernet0
Jan 9 14:57:44.676802 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.676598 53 intf_app.go:550] /openconfig-interfaces:interfaces/interface - Not an interface state attribute
Jan 9 14:57:44.679820 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.679558 53 intf_app.go:706] OID : oid:0x1000000000012 received for Interface : Ethernet0
Jan 9 14:57:44.679975 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.679777 53 intf_app.go:644] /openconfig-interfaces:interfaces/interface - Not an interface state counter attribute
Jan 9 14:57:44.679975 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.679793 53 intf_app.go:780] Updating Interface IP Info from APP-DB to Internal DS for Interface Name : Ethernet0
Jan 9 14:57:44.680735 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.680598 53 intf_app.go:485] Found 14 INTF table keys
Jan 9 14:57:44.681223 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.681113 53 intf_app.go:881] Not a valid attribute!
Jan 9 14:57:44.681223 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.681124 53 intf_app.go:881] Not a valid attribute!
Jan 9 14:57:44.681223 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.681128 53 intf_app.go:881] Not a valid attribute!
Jan 9 14:57:44.681346 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.681163 53 intf_app.go:899] IP address = 1001::1/64
Jan 9 14:57:44.681765 sonic INFO telemetry#supervisord: telemetry I0109 14:57:44.681649 53 intf_app.go:899] IP address = 172.168.1.1/24
Reproducibility ( Ex:- 3 out of 3 attempts ) Please also update "Reproducible" field :
3
The text was updated successfully, but these errors were encountered:
Problem Description/Summary :
OPENCONFIG-gNMI - Port Speed is not returned for 100G interface and observing
Not supported speed: 100000!
log in telemetry.log during a gnmi_getExpected Behavior :
Port Speed should get returned for 100G interface when performed gnmi_get operation on 100G interface like other speeds
should not observe "Not supported speed: 100000!" log in telemetry.log during a gnmi_get,as 100G is supported in SONIC platforms
Topology :
DUT
Steps to Repro :
docker exec -it telemetry bash
tail -f /var/log/telemetry.log
in ssh sessionNot supported speed: 100000!
log==============================================================
==============================================================
4. telemetry log as below
5.this issue is not observed on other speeds like 25G
================================================================
6.telemetry.log for 25G speed interface
Reproducibility ( Ex:- 3 out of 3 attempts ) Please also update "Reproducible" field :
3
The text was updated successfully, but these errors were encountered: