Skip to content

Instantly share code, notes, and snippets.

@ldemailly
Created October 17, 2017 04:47
Show Gist options
  • Save ldemailly/0eb10e209a53f6c488f7fb6e7198d342 to your computer and use it in GitHub Desktop.
Save ldemailly/0eb10e209a53f6c488f7fb6e7198d342 to your computer and use it in GitHub Desktop.
I1017 04:44:06.335310 1 grpcServer.go:139] Dispatching Preprocess Check
I1017 04:44:06.335333 1 runtime.go:113] unconditionally resolving for kinds: [attributes]
I1017 04:44:06.335386 1 runtime.go:121] unconditionally resolved configs (err=<nil>): [kubernetes]
I1017 04:44:06.335411 1 manager.go:190] Resolved 1 configs: [builder: name:"default" kind:"attributes" impl:"kubernetes" params:&Params{KubeconfigPath:,CacheRefreshDuration:5m0s,SourceUidInputName:sourceUID,DestinationUidInputName:destinationUID,OriginUidInputName:originUID,PodLabelForService:app,SourcePrefix:source,DestinationPrefix:destination,OriginPrefix:origin,LabelsValueName:Labels,PodNameValueName:PodName,PodIpValueName:PodIP,HostIpValueName:HostIP,NamespaceValueName:Namespace,ServiceAccountValueName:ServiceAccountName,ServiceValueName:Service,ClusterDomainName:svc.cluster.local,PodLabelForIstioComponentService:istio,SourceIpInputName:sourceIP,DestinationIpInputName:destinationIP,OriginIpInputName:originIP,LookupIngressSourceAndOriginValues:false,FullyQualifiedIstioIngressServiceName:ingress.istio-system.svc.cluster.local,} aspect: kind:"attributes" adapter:"default" params:&AttributesGeneratorParams{InputExpressions:map[string]string{destinationIP: destination.ip | ip("0.0.0.0"),destinationUID: destination.uid | "",sourceIP: source.ip | ip("0.0.0.0"),sourceUID: source.uid | "",},AttributeBindings:map[string]string{destination.ip: destinationPodIP,destination.labels: destinationLabels,destination.namespace: destinationNamespace,destination.service: destinationService,destination.serviceAccount: destinationServiceAccountName,source.ip: sourcePodIP,source.labels: sourceLabels,source.namespace: sourceNamespace,source.service: sourceService,source.serviceAccount: sourceServiceAccountName,},} ]
W1017 04:44:06.335650 1 <autogenerated>:6] default:could not find pod for (uid: kubernetes://mysqldb-vm-1.vm, key: vm/mysqldb-vm-1)
W1017 04:44:06.335705 1 attrgenmgr.go:125] Generated value 'sourcePodName' was not mapped to an attribute.
W1017 04:44:06.335723 1 attrgenmgr.go:114] ---- converting net.IP to []byte
W1017 04:44:06.335739 1 attrgenmgr.go:125] Generated value 'sourceHostIP' was not mapped to an attribute.
I1017 04:44:06.335802 1 grpcServer.go:148] Preprocess Check returned with: OK
I1017 04:44:06.335837 1 grpcServer.go:151] Dispatching to main adapters after running processors
I1017 04:44:06.335894 1 grpcServer.go:152] Attribute Bag:
context.protocol : tcp
context.time : 2017-10-17 04:44:06.32893393 +0000 UTC
destination.ip : [10 150 0 10]
destination.uid : kubernetes://mysqldb-vm-1.vm
source.ip : [10 60 2 17]
source.port : 40618
---
source.ip : [10 60 2 17]
source.labels : map[app:mysqlclient-istio pod-template-hash:1299254275]
source.namespace : fortio
source.service : mysqlclient-istio.fortio.svc.cluster.local
source.serviceAccount : default
I1017 04:44:06.335953 1 grpcServer.go:156] Dispatching Check
W1017 04:44:06.335986 1 resolver.go:184] destination.service identity not found in attributes[source.port source.serviceAccount source.labels source.namespace destination.ip source.ip destination.uid source.service context.time context.protocol]
E1017 04:44:06.336015 1 dispatcher.go:153] destination.service identity not found in attributes[source.port source.serviceAccount source.labels source.namespace destination.ip source.ip destination.uid source.service context.time context.protocol]
E1017 04:44:06.336047 1 grpcServer.go:181] Check returned with error : INTERNAL (destination.service identity not found in attributes[source.port source.serviceAccount source.labels source.namespace destination.ip source.ip destination.uid source.service context.time context.protocol])
I1017 04:44:07.341090 1 grpcServer.go:304] Dispatching Preprocess
I1017 04:44:07.341320 1 runtime.go:113] unconditionally resolving for kinds: [attributes]
I1017 04:44:07.341561 1 runtime.go:121] unconditionally resolved configs (err=<nil>): [kubernetes]
I1017 04:44:07.341597 1 manager.go:190] Resolved 1 configs: [builder: name:"default" kind:"attributes" impl:"kubernetes" params:&Params{KubeconfigPath:,CacheRefreshDuration:5m0s,SourceUidInputName:sourceUID,DestinationUidInputName:destinationUID,OriginUidInputName:originUID,PodLabelForService:app,SourcePrefix:source,DestinationPrefix:destination,OriginPrefix:origin,LabelsValueName:Labels,PodNameValueName:PodName,PodIpValueName:PodIP,HostIpValueName:HostIP,NamespaceValueName:Namespace,ServiceAccountValueName:ServiceAccountName,ServiceValueName:Service,ClusterDomainName:svc.cluster.local,PodLabelForIstioComponentService:istio,SourceIpInputName:sourceIP,DestinationIpInputName:destinationIP,OriginIpInputName:originIP,LookupIngressSourceAndOriginValues:false,FullyQualifiedIstioIngressServiceName:ingress.istio-system.svc.cluster.local,} aspect: kind:"attributes" adapter:"default" params:&AttributesGeneratorParams{InputExpressions:map[string]string{destinationIP: destination.ip | ip("0.0.0.0"),destinationUID: destination.uid | "",sourceIP: source.ip | ip("0.0.0.0"),sourceUID: source.uid | "",},AttributeBindings:map[string]string{destination.ip: destinationPodIP,destination.labels: destinationLabels,destination.namespace: destinationNamespace,destination.service: destinationService,destination.serviceAccount: destinationServiceAccountName,source.ip: sourcePodIP,source.labels: sourceLabels,source.namespace: sourceNamespace,source.service: sourceService,source.serviceAccount: sourceServiceAccountName,},} ]
W1017 04:44:07.342129 1 <autogenerated>:6] default:could not find pod for (uid: kubernetes://mysqldb-vm-1.vm, key: vm/mysqldb-vm-1)
W1017 04:44:07.342226 1 attrgenmgr.go:125] Generated value 'sourcePodName' was not mapped to an attribute.
W1017 04:44:07.342294 1 attrgenmgr.go:114] ---- converting net.IP to []byte
W1017 04:44:07.342317 1 attrgenmgr.go:125] Generated value 'sourceHostIP' was not mapped to an attribute.
I1017 04:44:07.342435 1 grpcServer.go:313] Preprocess returned with: OK
I1017 04:44:07.342463 1 grpcServer.go:316] Dispatching to main adapters after running processors
I1017 04:44:07.342614 1 grpcServer.go:317] Attribute Bag:
check.status : 0
connection.duration : 9.686ms
connection.received.bytes : 0
connection.received.bytes_total: 0
connection.sent.bytes : 0
connection.sent.bytes_total : 0
context.protocol : tcp
context.time : 2017-10-17 04:44:06.338609793 +0000 UTC
destination.ip : [127 0 0 1]
destination.port : 3306
destination.uid : kubernetes://mysqldb-vm-1.vm
source.ip : [10 60 2 17]
source.port : 40618
---
source.ip : [10 60 2 17]
source.labels : map[app:mysqlclient-istio pod-template-hash:1299254275]
source.namespace : fortio
source.service : mysqlclient-istio.fortio.svc.cluster.local
source.serviceAccount : default
I1017 04:44:07.342645 1 grpcServer.go:320] Dispatching Report 0 out of 1
W1017 04:44:07.342800 1 resolver.go:184] destination.service identity not found in attributes[connection.received.bytes_total connection.sent.bytes connection.duration source.serviceAccount source.service connection.sent.bytes_total destination.uid destination.ip source.ip source.namespace source.labels check.status context.protocol source.port destination.port context.time connection.received.bytes]
E1017 04:44:07.342838 1 dispatcher.go:153] destination.service identity not found in attributes[connection.received.bytes_total connection.sent.bytes connection.duration source.serviceAccount source.service connection.sent.bytes_total destination.uid destination.ip source.ip source.namespace source.labels check.status context.protocol source.port destination.port context.time connection.received.bytes]
W1017 04:44:07.342851 1 grpcServer.go:324] Report returned destination.service identity not found in attributes[connection.received.bytes_total connection.sent.bytes connection.duration source.serviceAccount source.service connection.sent.bytes_total destination.uid destination.ip source.ip source.namespace source.labels check.status context.protocol source.port destination.port context.time connection.received.bytes]
E1017 04:44:07.342860 1 grpcServer.go:328] Report 0 returned with: INTERNAL (destination.service identity not found in attributes[connection.received.bytes_total connection.sent.bytes connection.duration source.serviceAccount source.service connection.sent.bytes_total destination.uid destination.ip source.ip source.namespace source.labels check.status context.protocol source.port destination.port context.time connection.received.bytes])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment