karimra / gnmic

gNMIc is a gNMI CLI client and collector
https://gnmic.kmrd.dev
Apache License 2.0
217 stars 32 forks source link

What does the message "TRANSIENT_FAILURE connection closed" mean? #216

Closed LukeCage closed 3 years ago

LukeCage commented 3 years ago

I am trying to subscribe to a sensor on a network device with the following command (and responses):

gnmic> --address 10.111.22.7:6702 --tls-cert client_https_rsa40965.cert.pem --tls-key client_https_rsa40965.key.pem --insecure subscribe mode stream --path /ciena-sys-tmet/logical-core-count --debug 2020/11/16 11:29:06 version=0.4.3, commit=6d3605c, date=2020-11-10T09:47:23Z, gitURL=https://github.com/karimra/gnmic, docs=https://gnmic.kmrd.dev username: admin password: gnmic 2020/11/16 11:29:17.624635 /home/runner/work/gnmic/gnmic/cmd/subscribe.go:75: targets: map[10.111.22.7:6702:{"Name":"10.111.22.7:6702","Address":"10.111.22.7:6702","Username":"diag","Password":"ciena123","Timeout":10000000000,"Insecure":true,"TLSCA":null,"TLSCert":null,"TLSKey":null,"SkipVerify":false,"Subscriptions":null,"Outputs":null,"BufferSize":0,"RetryTimer":10000000000}] gnmic 2020/11/16 11:29:17.624853 /home/runner/work/gnmic/gnmic/cmd/subscribe.go:82: subscriptions: map[default:{"Name":"default","Models":null,"Prefix":"","Target":"","Paths":["/ciena-sys-tmet/logical-core-count"],"Mode":"stream","StreamMode":"target-defined","Encoding":"json","Qos":null,"SampleInterval":0,"HeartbeatInterval":0,"SuppressRedundant":false,"UpdatesOnly":false}] gnmic 2020/11/16 11:29:17.624924 /home/runner/work/gnmic/gnmic/cmd/subscribe.go:89: outputs: map[default-stdout:map[file-type:stdout format: type:file]] gnmic 2020/11/16 11:29:17.625040 /home/runner/work/gnmic/gnmic/collector/collector.go:108: starting collector with cfg=&{PrometheusAddress: Debug:true Format: TargetReceiveBuffer:1000 RetryTimer:10s} gnmic 2020/11/16 11:29:17.625273 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: parsed scheme: "" gnmic 2020/11/16 11:29:17.625299 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: scheme "" not registered, fallback to default scheme gnmic 2020/11/16 11:29:17.625341 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: ccResolverWrapper: sending update to cc: {[{10.111.22.7:6702 0 }] } gnmic 2020/11/16 11:29:17.625362 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: ClientConn switching balancer to "pick_first" gnmic 2020/11/16 11:29:17.625379 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel switches to new LB policy "pick_first" gnmic 2020/11/16 11:29:17.625448 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to CONNECTING gnmic 2020/11/16 11:29:17.625554 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel picks a new address "10.111.22.7:6702" to connect gnmic 2020/11/16 11:29:17.625843 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc0001f4b90, {CONNECTING } gnmic 2020/11/16 11:29:17.625875 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to CONNECTING file_output 2020/11/16 11:29:17.625920 /home/runner/work/gnmic/gnmic/outputs/file/file.go:110: initialized file output: {"Cfg":{"FileName":"","FileType":"stdout","Format":"json","Multiline":true,"Indent":" ","Separator":"\n"}} gnmic 2020/11/16 11:29:17.699939 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: transport: loopyWriter.run returning. connection error: desc = "transport is closing" gnmic 2020/11/16 11:29:17.700024 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to TRANSIENT_FAILURE gnmic 2020/11/16 11:29:17.700155 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc0001f4b90, {_TRANSIENTFAILURE connection closed} gnmic 2020/11/16 11:29:17.700205 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: _Channel Connectivity change to TRANSIENTFAILURE

Is there a specific version of TLS that is supported by this client?

The gNMI server produced an log message that states "TLS error during handshake : wrong version number"

The server is running TLS protocol version 1.2

hellt commented 3 years ago

Hi please remove the --insecure flag from the CLI command. --insecure means establish non-tls connection. If you want to skip certificate verification, use --skip-verify flag

LukeCage commented 3 years ago

Thank you @hellt,

I took your advice and also kept my gnmic command as simple as possible. Additionally, I used "gnmic prompt" to help me with the syntax. ("gnmic prompt" is an extraordinarily coo feature, BTW ... ). I am comparing "gnmi_cli" to "gnmic" and what concerns me is the "gnmi_cli" is working and "gnmic" is not.

Please see the output of the command I issued from gnmic. It is using the same certificate and key as gnmi_cli which is successfully streaming data from the target.

-bash-4.2$ gnmic prompt gnmic> --address 10.111.22.7:6702 --tls-cert client_https_rsa40965.cert.pem --tls-key client_https_rsa40965.key.pem subscribe mode stream --path /al/alarm-notification --debug 2020/11/18 08:31:00 version=0.4.3, commit=6d3605c, date=2020-11-10T09:47:23Z, gitURL=https://github.com/karimra/gnmic, docs=https://gnmic.kmrd.dev username: diag password: gnmic 2020/11/18 08:31:05.934610 /home/runner/work/gnmic/gnmic/cmd/subscribe.go:75: targets: map[10.111.22.7:6702:{"Name":"10.111.22.7:6702","Address":"10.111.22.7:6702","Username":"diag","Password":"ciena123","Timeout":10000000000,"Insecure":false,"TLSCA":null,"TLSCert":"client_https_rsa40965.cert.pem","TLSKey":"client_https_rsa40965.key.pem","SkipVerify":false,"Subscriptions":null,"Outputs":null,"BufferSize":0,"RetryTimer":10000000000}] gnmic 2020/11/18 08:31:05.934818 /home/runner/work/gnmic/gnmic/cmd/subscribe.go:82: subscriptions: map[default:{"Name":"default","Models":null,"Prefix":"","Target":"","Paths":["/al/alarm-notification"],"Mode":"stream","StreamMode":"target-defined","Encoding":"json","Qos":null,"SampleInterval":0,"HeartbeatInterval":0,"SuppressRedundant":false,"UpdatesOnly":false}] gnmic 2020/11/18 08:31:05.934913 /home/runner/work/gnmic/gnmic/cmd/subscribe.go:89: outputs: map[default-stdout:map[file-type:stdout format: type:file]] gnmic 2020/11/18 08:31:05.935005 /home/runner/work/gnmic/gnmic/collector/collector.go:108: starting collector with cfg=&{PrometheusAddress: Debug:true Format: TargetReceiveBuffer:1000 RetryTimer:10s} file_output 2020/11/18 08:31:05.935536 /home/runner/work/gnmic/gnmic/outputs/file/file.go:110: initialized file output: {"Cfg":{"FileName":"","FileType":"stdout","Format":"json","Multiline":true,"Indent":" ","Separator":"\n"}} gnmic 2020/11/18 08:31:05.938776 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: parsed scheme: "" gnmic 2020/11/18 08:31:05.938808 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: scheme "" not registered, fallback to default scheme gnmic 2020/11/18 08:31:05.938851 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: ccResolverWrapper: sending update to cc: {[{10.111.22.7:6702 0 }] } gnmic 2020/11/18 08:31:05.938871 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: ClientConn switching balancer to "pick_first" gnmic 2020/11/18 08:31:05.938888 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel switches to new LB policy "pick_first" gnmic 2020/11/18 08:31:05.938949 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to CONNECTING gnmic 2020/11/18 08:31:05.938989 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel picks a new address "10.111.22.7:6702" to connect gnmic 2020/11/18 08:31:05.939090 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc0002c1780, {CONNECTING } gnmic 2020/11/18 08:31:05.939121 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to CONNECTING gnmic 2020/11/18 08:31:06.121658 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:61: grpc: addrConn.createTransport failed to connect to {10.111.22.7:6702 10.111.22.7:6702 0 }. Err: connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 10.10.10.10, not 10.111.22.7". Reconnecting... gnmic 2020/11/18 08:31:06.121709 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to TRANSIENT_FAILURE gnmic 2020/11/18 08:31:06.121863 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc0002c1780, {TRANSIENT_FAILURE connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 10.10.10.10, not 10.111.22.7"} gnmic 2020/11/18 08:31:06.121899 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to TRANSIENT_FAILURE gnmic 2020/11/18 08:31:07.122005 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to CONNECTING gnmic 2020/11/18 08:31:07.122087 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel picks a new address "10.111.22.7:6702" to connect gnmic 2020/11/18 08:31:07.122348 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc0002c1780, {CONNECTING } gnmic 2020/11/18 08:31:07.122390 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to CONNECTING gnmic 2020/11/18 08:31:07.240120 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:61: grpc: addrConn.createTransport failed to connect to {10.111.22.7:6702 10.111.22.7:6702 0 }. Err: connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 10.10.10.10, not 10.111.22.7". Reconnecting... gnmic 2020/11/18 08:31:07.240173 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to TRANSIENT_FAILURE gnmic 2020/11/18 08:31:07.240223 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc0002c1780, {TRANSIENT_FAILURE connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 10.10.10.10, not 10.111.22.7"} gnmic 2020/11/18 08:31:07.240253 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to TRANSIENT_FAILURE gnmic 2020/11/18 08:31:08.694101 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to CONNECTING gnmic 2020/11/18 08:31:08.694164 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel picks a new address "10.111.22.7:6702" to connect gnmic 2020/11/18 08:31:08.694316 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc0002c1780, {CONNECTING } gnmic 2020/11/18 08:31:08.694354 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to CONNECTING gnmic 2020/11/18 08:31:08.832625 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:61: grpc: addrConn.createTransport failed to connect to {10.111.22.7:6702 10.111.22.7:6702 0 }. Err: connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 10.10.10.10, not 10.111.22.7". Reconnecting... gnmic 2020/11/18 08:31:08.832678 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to TRANSIENT_FAILURE gnmic 2020/11/18 08:31:08.832732 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc0002c1780, {TRANSIENT_FAILURE connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 10.10.10.10, not 10.111.22.7"} gnmic 2020/11/18 08:31:08.832757 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to TRANSIENT_FAILURE gnmic 2020/11/18 08:31:11.596049 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to CONNECTING gnmic 2020/11/18 08:31:11.596135 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel picks a new address "10.111.22.7:6702" to connect gnmic 2020/11/18 08:31:11.596171 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc0002c1780, {CONNECTING } gnmic 2020/11/18 08:31:11.596211 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to CONNECTING gnmic 2020/11/18 08:31:11.707932 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:61: grpc: addrConn.createTransport failed to connect to {10.111.22.7:6702 10.111.22.7:6702 0 }. Err: connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 10.10.10.10, not 10.111.22.7". Reconnecting... gnmic 2020/11/18 08:31:11.707983 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to TRANSIENT_FAILURE gnmic 2020/11/18 08:31:11.708047 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc0002c1780, {TRANSIENT_FAILURE connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 10.10.10.10, not 10.111.22.7"} gnmic 2020/11/18 08:31:11.708074 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to TRANSIENT_FAILURE gnmic 2020/11/18 08:31:15.939002 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to SHUTDOWN gnmic 2020/11/18 08:31:15.939055 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to SHUTDOWN gnmic 2020/11/18 08:31:15.939086 /home/runner/work/gnmic/gnmic/cmd/subscribe.go:116: failed to initialize target '10.111.22.7:6702' timeout (10s) reached gnmic 2020/11/18 08:31:15.939106 /home/runner/work/gnmic/gnmic/cmd/subscribe.go:120: retrying target 10.111.22.7:6702 in 10s gnmic 2020/11/18 08:31:25.942389 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: parsed scheme: "" gnmic 2020/11/18 08:31:25.942432 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: scheme "" not registered, fallback to default scheme gnmic 2020/11/18 08:31:25.942527 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: ccResolverWrapper: sending update to cc: {[{10.111.22.7:6702 0 }] } gnmic 2020/11/18 08:31:25.942552 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: ClientConn switching balancer to "pick_first" gnmic 2020/11/18 08:31:25.942569 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel switches to new LB policy "pick_first" gnmic 2020/11/18 08:31:25.942622 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to CONNECTING gnmic 2020/11/18 08:31:25.942667 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel picks a new address "10.111.22.7:6702" to connect gnmic 2020/11/18 08:31:25.942750 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc00045c540, {CONNECTING } gnmic 2020/11/18 08:31:25.942787 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to CONNECTING gnmic 2020/11/18 08:31:26.070966 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:61: grpc: addrConn.createTransport failed to connect to {10.111.22.7:6702 10.111.22.7:6702 0 }. Err: connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 10.10.10.10, not 10.111.22.7". Reconnecting... gnmic 2020/11/18 08:31:26.071047 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to TRANSIENT_FAILURE gnmic 2020/11/18 08:31:26.071197 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc00045c540, {TRANSIENT_FAILURE connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 10.10.10.10, not 10.111.22.7"} gnmic 2020/11/18 08:31:26.071240 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to TRANSIENT_FAILURE gnmic 2020/11/18 08:31:27.071332 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to CONNECTING gnmic 2020/11/18 08:31:27.071390 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel picks a new address "10.111.22.7:6702" to connect gnmic 2020/11/18 08:31:27.071518 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc00045c540, {CONNECTING } gnmic 2020/11/18 08:31:27.071557 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to CONNECTING ^C received signal 'interrupt'. terminating... -bash-4.2$

hellt commented 3 years ago

@LukeCage add --skip-verify flag

LukeCage commented 3 years ago

Thanks @hellt ... unfortunately, no joy ...

gnmic> --address 10.111.22.7:6702 --tls-cert client_https_rsa40965.cert.pem --tls-key client_https_rsa40965.key.pem subscribe mode stream --path /al/alarm-notification --skip-verify --debug 2020/11/18 13:33:00 version=0.4.3, commit=6d3605c, date=2020-11-10T09:47:23Z, gitURL=https://github.com/karimra/gnmic, docs=https://gnmic.kmrd.dev username: diag password: gnmic 2020/11/18 13:33:17.198633 /home/runner/work/gnmic/gnmic/cmd/subscribe.go:75: targets: map[10.111.22.7:6702:{"Name":"10.111.22.7:6702","Address":"10.111.22.7:6702","Username":"diag","Password":"ciena123","Timeout":10000000000,"Insecure":false,"TLSCA":null,"TLSCert":"client_https_rsa40965.cert.pem","TLSKey":"client_https_rsa40965.key.pem","SkipVerify":true,"Subscriptions":null,"Outputs":null,"BufferSize":0,"RetryTimer":10000000000}] gnmic 2020/11/18 13:33:17.198904 /home/runner/work/gnmic/gnmic/cmd/subscribe.go:82: subscriptions: map[default:{"Name":"default","Models":null,"Prefix":"","Target":"","Paths":["/al/alarm-notification"],"Mode":"stream","StreamMode":"target-defined","Encoding":"json","Qos":null,"SampleInterval":0,"HeartbeatInterval":0,"SuppressRedundant":false,"UpdatesOnly":false}] gnmic 2020/11/18 13:33:17.198990 /home/runner/work/gnmic/gnmic/cmd/subscribe.go:89: outputs: map[default-stdout:map[file-type:stdout format: type:file]] gnmic 2020/11/18 13:33:17.199201 /home/runner/work/gnmic/gnmic/collector/collector.go:108: starting collector with cfg=&{PrometheusAddress: Debug:true Format: TargetReceiveBuffer:1000 RetryTimer:10s} file_output 2020/11/18 13:33:17.199415 /home/runner/work/gnmic/gnmic/outputs/file/file.go:110: initialized file output: {"Cfg":{"FileName":"","FileType":"stdout","Format":"json","Multiline":true,"Indent":" ","Separator":"\n"}} gnmic 2020/11/18 13:33:17.203658 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: parsed scheme: "" gnmic 2020/11/18 13:33:17.203693 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: scheme "" not registered, fallback to default scheme gnmic 2020/11/18 13:33:17.203741 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: ccResolverWrapper: sending update to cc: {[{10.111.22.7:6702 0 }] } gnmic 2020/11/18 13:33:17.203765 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: ClientConn switching balancer to "pick_first" gnmic 2020/11/18 13:33:17.203784 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel switches to new LB policy "pick_first" gnmic 2020/11/18 13:33:17.203860 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to CONNECTING gnmic 2020/11/18 13:33:17.203913 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel picks a new address "10.111.22.7:6702" to connect gnmic 2020/11/18 13:33:17.203928 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc00029bbd0, {CONNECTING } gnmic 2020/11/18 13:33:17.204054 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to CONNECTING gnmic 2020/11/18 13:33:17.593564 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to READY gnmic 2020/11/18 13:33:17.593647 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc00029bbd0, {READY } gnmic 2020/11/18 13:33:17.593674 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to READY gnmic 2020/11/18 13:33:17.593720 /home/runner/work/gnmic/gnmic/collector/collector.go:164: target '10.111.22.7:6702' gNMI client created gnmic 2020/11/18 13:33:17.595195 /home/runner/work/gnmic/gnmic/collector/collector.go:170: sending gNMI SubscribeRequest: subscribe='subscribe:{subscription:{path:{elem:{name:"al"} elem:{name:"alarm-notification"}}}}', mode='STREAM', encoding='JSON', to 10.111.22.7:6702 gnmic 2020/11/18 13:33:18.114565 /home/runner/work/gnmic/gnmic/collector/collector.go:208: received gNMI Subscribe Response: &{SubscriptionName:default Response:error:{code:7 message:"Access Denied"}}

^C received signal 'interrupt'. terminating...

hellt commented 3 years ago

You now have access denied error message from the target

received gNMI Subscribe Response: &{SubscriptionName:default Response:error:{code:7 message:"Access Denied"}}

If you claim gnmi_cli command works, pls provide a one-to-one comparison so we can check where the difference might be

On Wed, 18 Nov 2020, 22:36 Luke Cage, notifications@github.com wrote:

Thanks @hellt https://github.com/hellt ... unfortunately, no joy ...

gnmic> --address 10.111.22.7:6702 --tls-cert client_https_rsa40965.cert.pem --tls-key client_https_rsa40965.key.pem subscribe mode stream --path /al/alarm-notification --skip-verify --debug 2020/11/18 13:33:00 version=0.4.3, commit=6d3605c, date=2020-11-10T09:47:23Z, gitURL=https://github.com/karimra/gnmic, docs= https://gnmic.kmrd.dev username: diag password: gnmic 2020/11/18 13:33:17.198633 /home/runner/work/gnmic/gnmic/cmd/subscribe.go:75: targets: map[10.111.22.7:6702:{"Name":"10.111.22.7:6702","Address":" 10.111.22.7:6702 ","Username":"diag","Password":"ciena123","Timeout":10000000000,"Insecure":false,"TLSCA":null,"TLSCert":"client_https_rsa40965.cert.pem","TLSKey":"client_https_rsa40965.key.pem","SkipVerify":true,"Subscriptions":null,"Outputs":null,"BufferSize":0,"RetryTimer":10000000000}] gnmic 2020/11/18 13:33:17.198904 /home/runner/work/gnmic/gnmic/cmd/subscribe.go:82: subscriptions: map[default:{"Name":"default","Models":null,"Prefix":"","Target":"","Paths":["/al/alarm-notification"],"Mode":"stream","StreamMode":"target-defined","Encoding":"json","Qos":null,"SampleInterval":0,"HeartbeatInterval":0,"SuppressRedundant":false,"UpdatesOnly":false}] gnmic 2020/11/18 13:33:17.198990 /home/runner/work/gnmic/gnmic/cmd/subscribe.go:89: outputs: map[default-stdout:map[file-type:stdout format: type:file]] gnmic 2020/11/18 13:33:17.199201 /home/runner/work/gnmic/gnmic/collector/collector.go:108: starting collector with cfg=&{PrometheusAddress: Debug:true Format: TargetReceiveBuffer:1000 RetryTimer:10s} file_output 2020/11/18 13:33:17.199415 /home/runner/work/gnmic/gnmic/outputs/file/file.go:110: initialized file output: {"Cfg":{"FileName":"","FileType":"stdout","Format":"json","Multiline":true,"Indent":" ","Separator":"\n"}} gnmic 2020/11/18 13:33:17.203658 /home/runner/go/pkg/mod/ google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: parsed scheme: "" gnmic 2020/11/18 13:33:17.203693 /home/runner/go/pkg/mod/ google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: scheme "" not registered, fallback to default scheme gnmic 2020/11/18 13:33:17.203741 /home/runner/go/pkg/mod/ google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: ccResolverWrapper: sending update to cc: {[{10.111.22.7:6702 0 }] } gnmic 2020/11/18 13:33:17.203765 /home/runner/go/pkg/mod/ google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: ClientConn switching balancer to "pick_first" gnmic 2020/11/18 13:33:17.203784 /home/runner/go/pkg/mod/ google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel switches to new LB policy "pick_first" gnmic 2020/11/18 13:33:17.203860 /home/runner/go/pkg/mod/ google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to CONNECTING gnmic 2020/11/18 13:33:17.203913 /home/runner/go/pkg/mod/ google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel picks a new address "10.111.22.7:6702" to connect gnmic 2020/11/18 13:33:17.203928 /home/runner/go/pkg/mod/ google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc00029bbd0, {CONNECTING } gnmic 2020/11/18 13:33:17.204054 /home/runner/go/pkg/mod/ google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to CONNECTING gnmic 2020/11/18 13:33:17.593564 /home/runner/go/pkg/mod/ google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Subchannel Connectivity change to READY gnmic 2020/11/18 13:33:17.593647 /home/runner/go/pkg/mod/ google.golang.org/grpc@v1.30.0/grpclog/logger.go:57: pickfirstBalancer: UpdateSubConnState: 0xc00029bbd0, {READY } gnmic 2020/11/18 13:33:17.593674 /home/runner/go/pkg/mod/ google.golang.org/grpc@v1.30.0/grpclog/logger.go:49: Channel Connectivity change to READY gnmic 2020/11/18 13:33:17.593720 /home/runner/work/gnmic/gnmic/collector/collector.go:164: target ' 10.111.22.7:6702' gNMI client created gnmic 2020/11/18 13:33:17.595195 /home/runner/work/gnmic/gnmic/collector/collector.go:170: sending gNMI SubscribeRequest: subscribe='subscribe:{subscription:{path:{elem:{name:"al"} elem:{name:"alarm-notification"}}}}', mode='STREAM', encoding='JSON', to 10.111.22.7:6702 gnmic 2020/11/18 13:33:18.114565 /home/runner/work/gnmic/gnmic/collector/collector.go:208: received gNMI Subscribe Response: &{SubscriptionName:default Response:error:{code:7 message:"Access Denied"}}

^C received signal 'interrupt'. terminating...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/karimra/gnmic/issues/216#issuecomment-729971142, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLKV5IFUTUXIW5P3KYVJD3SQQ45XANCNFSM4TY5DYUA .

LukeCage commented 3 years ago

Sure thing, @hellt:

Below is the comparative gnmi_cli command and output:

-bash-4.2$ ./gnmi_cli -a 10.111.22.7:6702 -client_crt client_https_rsa40965.cert.pem -client_key client_https_rsa40965.key.pem -with_user_pass -dt s -qt streaming -client_types gnmi -insecure -updates_only -qt s -q /al:alarm-notification username: diag password: Ciena/al:alarm-notification/alarm-text, "link alarm set" Ciena/al:alarm-notification/alarm-type-id, "link-fault" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/oc-if:interfaces/interface[name=25]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:27Z" Ciena/al:alarm-notification/alarm-text, "link alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "link-fault" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/oc-if:interfaces/interface[name=25]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:31Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:36Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:36Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:36Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:36Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:36Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:36Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:36Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:36Z" Ciena/al:alarm-notification/alarm-text, "NTP Out Of Sync Alarm - set when client is out of sync with NTP server. cleared when client is synced with NTP server." Ciena/al:alarm-notification/alarm-type-id, "ntp-out-of-sync" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "warning" Ciena/al:alarm-notification/resource, "/ciena-ntp:sync-status-change-notification" Ciena/al:alarm-notification/time, "2020-11-18T16:22:41Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:46Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:46Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:46Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:46Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:46Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:46Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:46Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T16:22:46Z" Ciena/al:alarm-notification/alarm-text, "NTP Out Of Sync Alarm - set when client is out of sync with NTP server. cleared when client is synced with NTP server." Ciena/al:alarm-notification/alarm-type-id, "ntp-out-of-sync" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/ciena-ntp:sync-status-change-notification" Ciena/al:alarm-notification/time, "2020-11-18T16:22:51Z" Ciena/al:alarm-notification/alarm-text, "link alarm set" Ciena/al:alarm-notification/alarm-type-id, "link-fault" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/oc-if:interfaces/interface[name=25]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:29Z" Ciena/al:alarm-notification/alarm-text, "link alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "link-fault" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/oc-if:interfaces/interface[name=25]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:34Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:36Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:36Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:36Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:36Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:36Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:36Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:36Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:36Z" Ciena/al:alarm-notification/alarm-text, "NTP Out Of Sync Alarm - set when client is out of sync with NTP server. cleared when client is synced with NTP server." Ciena/al:alarm-notification/alarm-type-id, "ntp-out-of-sync" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "warning" Ciena/al:alarm-notification/resource, "/ciena-ntp:sync-status-change-notification" Ciena/al:alarm-notification/time, "2020-11-18T16:30:46Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:46Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:46Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:46Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:46Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:46Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:46Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:46Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=25]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T16:30:46Z" Ciena/al:alarm-notification/alarm-text, "NTP Out Of Sync Alarm - set when client is out of sync with NTP server. cleared when client is synced with NTP server." Ciena/al:alarm-notification/alarm-type-id, "ntp-out-of-sync" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/ciena-ntp:sync-status-change-notification" Ciena/al:alarm-notification/time, "2020-11-18T16:30:51Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-over-temp" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-under-temp" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-voltage-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-voltage-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-rx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-rx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-rx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-rx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T18:31:56Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-over-temp" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-under-temp" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-voltage-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-voltage-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-rx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-rx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-rx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-rx-power-hi" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-bias-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=1]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=2]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=3]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-tx-power-lo" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=9]/[lane-id=4]" Ciena/al:alarm-notification/time, "2020-11-18T18:32:06Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm cleared" Ciena/al:alarm-notification/alarm-type-id, "xcvr-rx-los" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "cleared" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=17]" Ciena/al:alarm-notification/time, "2020-11-18T20:34:16Z" Ciena/al:alarm-notification/alarm-text, "xcvr alarm set" Ciena/al:alarm-notification/alarm-type-id, "xcvr-rx-los" Ciena/al:alarm-notification/alarm-type-qualifier, "" Ciena/al:alarm-notification/perceived-severity, "minor" Ciena/al:alarm-notification/resource, "/packet-xcvrs/xcvrs[xcvr-id=17]" Ciena/al:alarm-notification/time, "2020-11-18T20:34:16Z"

karimra commented 3 years ago

@LukeCage you are not using the same path in gnmic and gnmi_cli examples

/al/alarm-notification vs /al:alarm-notification

Did you get an error from gnmic using a path with : ?

EDIT: For the sake of figuring out if this is a TLS error or a path access issue, can you try gnmic with a path that doesn't include a : ?

LukeCage commented 3 years ago

@hellt ,

Yes, I encountered what appeared to be an issue with the colon when I used it in the path with gnmic. You had indicated in the previous discussion thread that gnmic would have an issue parsing the path with that character and recommended that I substitute it with a "/".

I did this and gnmic stopped complaining about the path. I continued using "/al:alarm-notification" with gnmi_cli because is works.

This is the only difference between the gnmic and gnmi_cli commands that is apparent to me.

LukeCage commented 3 years ago

@hellt,

Three more things.

FIRSTLY ...

When I check the logs of the gNMI server on my target (device), when I try to initiate the gNMI client session using gnmic, I get this error message:

<191>1 2020-11-19T19:30:32.262113+00:00 telemetry cn-node-tmet-tls-proxy tls-server-chil ENLOG [Ciena@1 file="tlsProxyServer.c" line="127" func="cncTlsProxySessionLogger" cnprefix="libcntls"] tlsCommNotifyStringCb called with 7 msg:"TLS error during handshake : **wrong version number**" Is gnmic using SSL or TLS? The gnmi server on the network device is using TLS. **SECONDLY ...** If gnmic is using TLS, what version is it using? What do you think this version number corresponds to? **THIRDLY ...** The gNMI server on the network device is expecting an xpath for the sensor that contains a ":" and not a "/". Will gnmic support parsing paths with the colon in the future? When? Thanks, Luke
hellt commented 3 years ago

Hey @LukeCage

On 1 & 2) gNMIc uses TLS, the exact version is negotiated between the client and the target. gnmic announces support for the whole range of TLS versions image

We have a dev branch that will expose two new flags TLS min and max version that will allow to enforce the selection of the TLS version.

On 3) yes, we are currently working on it. Should be there really soon

LukeCage commented 3 years ago

Interesting, @hellt!

The server on the target device is using TLS version 1.2 - see below:

F06-34-ETS-8180> show tls +---------- TLS SERVICE PROFILES ---------+ | Name | Value | +------------------------+----------------+ | Service Profile Name | test | | TLS Profile Name | tls-profile | | Peer Auth Profile Name | peer-profile-1 | | Certificate Name | testCert | +------------------------+----------------+

+-------- PEER AUTH PROFILES -------+ | Name | Value | +---------------+-------------------+ | Profile Name | peer-auth-profile | | Check Expiry | True | | Check IP/Host | False | | IP/Host List | - | +---------------+-------------------+ | Profile Name | peer-profile-1 | | Check Expiry | True | | Check IP/Host | - | | IP/Host List | - | +---------------+-------------------+

+---------------------------- HELLO PARAMS ---------------------------+ | Name | Value | +------------------------------+--------------------------------------+ | Profile Name | tls-profile | | Protocol Versions | tls-1.2 | | Cipher Suites | ecdhe-ecdsa-with-aes-256-gcm-sha384, | | | ecdh-rsa-with-aes-256-gcm-sha384, | | | ecdhe-ecdsa-with-aes-128-gcm-sha256, | | | ecdhe-rsa-with-aes-128-gcm-sha256 | | Elliptic Curves | secp256r1,secp521r1,secp384r1, | | | secp256k1,sect571r1,sect571k1, | | | sect409k1,sect409r1,sect283k1, | | | sect283r1 | | Sess. Resumption Timeout (s) | 3600 | | OCSP State | disabled | | NONCE State | enabled | | Default OCSP Responder URL | - | +------------------------------+--------------------------------------+

F06-34-ETS-8180>

So I wonder why I'm encountering that "wrong version number" message ... I'm at a loss as to what is might actually mean.

I really am hopeful that I can get this client to work because I would like to recommend it to my clients but so far, I have not had any success in doing so.

Since the path must often contain a ":" I am unable to use the client at this time but it is good to know that is will be available soon.

However, I am worried that this "wrong version number" error message might be a separate issue that also needs to be resolved.

If there is anything else you can think of that I can investigate, please let me know. I appreciate your help.

Luke.

hellt commented 3 years ago

dont worry, when we will merge the code to support : in the paths (this week likely) I expect the issue with TLS won't surface.

In any case, with the #217 merged we will be able to fix the TLS versions that gnmic will offer, that will ensure that we can pinpoint the right version

LukeCage commented 3 years ago

Thanks again, @hellt. I remain very hopeful and optimistic.

Should I leave this case open, then since a new s/w release is imminent or shall I close it and open a new one if the problem persists?

How will I know when the new s/w is ready?

hellt commented 3 years ago

please leave it open we will close it when you will test the next released version and confirm that it works

On Thu, Nov 19, 2020 at 9:51 PM Luke Cage notifications@github.com wrote:

Thanks again, @hellt https://github.com/hellt. I remain very hopeful and optimistic.

Should I leave this case open, then since a new s/w release is imminent or shall I close it and open a new one if the problem persists?

How will I know when the new s/w is ready?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/karimra/gnmic/issues/216#issuecomment-730629875, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLKV5N6BTECIAYWFKLTBBDSQWAM7ANCNFSM4TY5DYUA .

hellt commented 3 years ago

@LukeCage we have released gnmic 0.5.0 that has support for : in paths also it introduced new global flags for TLS version set - https://gnmic.kmrd.dev/global_flags/#tls-version

download 0.5.0 and give it a spin :)

LukeCage commented 3 years ago

Great news, @hellt!

I downloaded and installed the new release of gnmic (5.0) and it works with the ciena equipment I have in my lab. I'm very happy about this! My testing has not been exhaustive but I have streamed data through both ON_CHANGE and SAMPLE subscription modes and they are working just fine!

I have attached files that contain output of both gnmic commands I used.

Thank you, very much for you support and also for taking my feedback to enhance your product. I am sharing this information with individuals within my company, as I have been researching clients in order to recommend them to our customers. Clearly, I am unable to do so, unless I first test and verify compatibility. Your product is checking all my boxes so far.

I will continue with some more testing and if I encounter any issues or have any questions that I am not able to answer through your documentation, I will get in touch with you.

Again, thanks!

Luke

gnmic_alarm-notification.txt gnmic_system-state-memory.txt

LukeCage commented 3 years ago

@hellt ,

I have encountered a problem ...

After running gnmic prompt a few times, I exited and then tried to run it again. I am now encountering the following error message:

-bash-4.2$ gnmic prompt Error: failed getting targets config: unexpected targets format, got: -bash-4.2$

Any ideas what the trouble could be?

hellt commented 3 years ago

@LukeCage great to hear your main issue has been resolved

as to the targets issue: we will have a look, can be a regression

hellt commented 3 years ago

closing this one, the targets init issue is tracked in #225

thanks @LukeCage for your reports