Repository navigation
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.
Description
Here's what I do to reproduce this:
- revert commit 914315f since it was breaking sti builds in my environment.
- Run the latest Master / Node in separate processes
- Install the docker-registry
- Use 'ex generate' on https://github.com/ryanj/node-echo
- Start a build
- When it finished you will be able to curl the service created by the kube proxy.
- At this stop the the master only. Wait a few seconds and then start it up.
- You will be able to curl the node-echo app service for a little while (usually < 10 seconds) then it will appear to hang.
Here's what I have in the logs:
# curl 172.30.17.59:9292
I0224 09:36:04.682990 10901 proxier.go:107] Accepted TCP connection from 192.168.133.2:44722 to 192.168.133.2:38952
I0224 09:36:04.683083 10901 proxier.go:77] Mapped service "node-echo" to endpoint 10.1.0.35:9292
E0224 09:36:05.683396 10901 proxier.go:82] Dial failed: dial tcp 10.1.0.35:9292: i/o timeout
After a few retries the kube proxy will return a TCP RST. Eventually we'll see:
I0224 09:45:46.580664 10901 proxier.go:463] Received update notice: ...
Then it will start working again. This can take several minutes. When you run curl to the application's service you'll see the endpoint has changed:
I0224 09:47:58.869859 10901 proxier.go:107] Accepted TCP connection from 192.168.133.2:46707 to 192.168.133.2:38952
I0224 09:47:58.870040 10901 proxier.go:77] Mapped service "node-echo" to endpoint 10.1.0.40:9292
I0224 09:47:58.870303 10901 proxier.go:124] Creating proxy between 192.168.133.2:46707 <-> 192.168.133.2:38952 <-> 10.1.0.1:38370 <-> 10.1.0.40:9292
I0224 09:47:58.870339 10901 proxier.go:134] Copying from backend: 10.1.0.40:9292 -> 192.168.133.2:46707
I0224 09:47:58.870374 10901 proxier.go:134] Copying to backend: 192.168.133.2:46707 -> 10.1.0.40:9292
I0224 09:47:58.882205 10901 proxier.go:139] Copied 265 bytes from backend: 10.1.0.40:9292 -> 192.168.133.2:46707
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.
Activity
brenton commentedon Feb 24, 2015
It doesn't seem like reverting the commit in step 1 is needed now. It shouldn't have been related anyway.
brenton commentedon Mar 18, 2015
As best I can tell this has greatly improved with the latest rebase. I'm going to close this for now.
Squashed 'cmd/service-catalog/go/src/github.com/kubernetes-incubator/…
Fix Typo in Events Code of Conduct (openshift#1126)