Skip to content

TLS to Nokia router difficulties #5

@bmah888

Description

@bmah888

Having some issues trying to gNMI_Subscribe.py to establish a connection using TLS to a Nokia 7750src4 running TiMOS-B-15.0.R4. Slightly anonymized output (using PR #4):

netlab-collector:gnmi% bin/python pygnmi/gNMI_Subscribe.py --server netlab-7750src4-rt1-es1.example.net:57400 --username bmah --tls --cert ~/Cert/netlab-7750src4-rt1-es1.example.net/grpc.cert --submode 0
18/04/24 15:14:11,241 Sending SubscribeRequest
subscribe {
  subscription {
    path {
    }
    sample_interval: 10000000000
  }
}

18/04/24 15:14:11,250 grpc.RpcError received:
<bound method _Rendezvous.details of <_Rendezvous of RPC that terminated with (StatusCode.UNAVAILABLE, Connect Failed)>>

Any ideas about how I would go about debugging this? Weirdly, the Arista golang gNMI client at https://github.com/aristanetworks/goarista/tree/master/cmd/gnmi works fine:

netlab-collector:gnmi% ~/go/bin/gnmi -addr netlab-7750src4-rt1-es1.example.net:57400 -cafile ~/Cert/netlab-7750src4-rt1-es1.example.net/grpc.cert -username bmah subscribe /
/configure/qos/sap-ingress[policy-id=2]/policy-id = 2
/configure/qos/sap-ingress[policy-id=2]/description = "ESnet SAP Ingress QoS Policy"
/configure/qos/sap-ingress[policy-id=2]/default-priority = "high"
/configure/qos/sap-ingress[policy-id=2]/queue[queue-id=2]/queue-id = 2
/configure/qos/sap-ingress[policy-id=2]/queue[queue-id=2]/queue-type = "non-expedited"
...

Also, gNMI_Subscribe.py connecting to an Arista 7504r running EOS 4.20.3F works with no issues.

netlab-collector:gnmi% bin/python pygnmi/gNMI_Subscribe.py --server netlab-7504r-rt1.example.net:6030 --username bmah --tls --cert ~/Cert/netlab-7504r-rt1.example.net/grpc.cert --submode 0
18/04/24 15:30:25,56  Sending SubscribeRequest
subscribe {
  subscription {
    path {
    }
    sample_interval: 10000000000
  }
}

18/04/24 15:30:25,86  Update received
update {
  timestamp: 1520544456089936237
  update {
    path {
      elem {
...

Thanks for any insights!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions