Skip to content

Wrongly attributed local side in outbound internet connections #1598

Closed
@2opremio

Description

I was running the service locally to test the 0.16 release (#1587) and got puzzled when I saw authfe was talking to the internet

screen shot 2016-06-17 at 13 26 09

Then I realized that it's due to the new logging sidecar talking to bigquery:

vagrant@vagrant-ubuntu-wily-64:~/scope$ docker ps | grep logging
991a8908520e        quay.io/weaveworks/logging                                         "/bin/sh -c 'exec flu"   20 minutes ago      Up 20 minutes                                   k8s_logging.6359526a_authfe-4cptq_default_b6d0e6fd-3478-11e6-a11f-0242ac110004_84cf3379
vagrant@vagrant-ubuntu-wily-64:~/scope$ docker exec -ti k8s_logging.6359526a_authfe-4cptq_default_b6d0e6fd-3478-11e6-a11f-0242ac110004_84cf3379 sh
/home/fluent # netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 authfe-4cptq:47110      lhr25s02-in-f106.1e100.net:https TIME_WAIT   
tcp        0      0 authfe-4cptq:51680      lhr25s07-in-f10.1e100.net:https TIME_WAIT   
tcp        0      0 authfe-4cptq:54850      lhr26s02-in-f10.1e100.net:https TIME_WAIT   
tcp        0      0 authfe-4cptq:47208      lhr25s02-in-f106.1e100.net:https TIME_WAIT   
tcp        0      0 authfe-4cptq:57374      lhr25s09-in-f10.1e100.net:https ESTABLISHED 
tcp        0      0 authfe-4cptq:54098      lhr26s02-in-f10.1e100.net:https TIME_WAIT   
tcp        0      0 authfe-4cptq:47396      lhr25s02-in-f10.1e100.net:https ESTABLISHED 
tcp        0      0 authfe-4cptq:53096      lhr26s03-in-f10.1e100.net:https TIME_WAIT   
tcp        0      0 authfe-4cptq:55212      lhr26s02-in-f10.1e100.net:https ESTABLISHED 
tcp        0      0 authfe-4cptq:51948      10.27.204.4:http        ESTABLISHED 
tcp        0      0 localhost:54352         localhost:24224         ESTABLISHED 
tcp        0      0 authfe-4cptq:47370      lhr25s02-in-f10.1e100.net:https TIME_WAIT   
...

... but the local side is being attributed to a scope probe instead of the authfe pod (note the the connections to hosts like lhr25s01-in-f74.1e100.net from scope-probe-tgeqv)

Report: report.json.gz

Metadata

Assignees

Labels

bugBroken end user or developer functionality; not working as the developers intended it

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions