Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second startup of all-in-one takes 100 seconds to finish starting #899

Closed
liggitt opened this issue Feb 5, 2015 · 3 comments · Fixed by #905
Closed

Second startup of all-in-one takes 100 seconds to finish starting #899

liggitt opened this issue Feb 5, 2015 · 3 comments · Fixed by #905
Milestone

Comments

@liggitt
Copy link
Contributor

liggitt commented Feb 5, 2015

On first startup, a node is auto created

On second startup, the node exists, and messages about the node already existing are printed 10 times, 10 seconds apart, until it gives up and continues.

start.go, 550: kmaster.RunMinionController()
   kubernetes/master.go, 143: minionController.Run(10*time.Second, 10)
      nodecontroller.go, 122: _, err := s.kubeClient.Nodes().Create(&node)

Looks like nodecontroller.go tolerated an "already exists" error until the latest upstream bump

@liggitt liggitt changed the title Second startup takes 100 seconds to finish starting Second startup of all-in-one takes 100 seconds to finish starting Feb 5, 2015
@liggitt
Copy link
Contributor Author

liggitt commented Feb 5, 2015

@smarterclayton

@liggitt
Copy link
Contributor Author

liggitt commented Feb 5, 2015

Sample output:

I0204 23:04:15.733976   22975 master.go:111] Started Kubernetes Endpoint Controller
2015/02/04 23:04:15 http: TLS handshake error from 127.0.0.1:55292: EOF
E0204 23:04:16.000618   22975 nodecontroller.go:127] Error registrying node jliggitt-laptop, retrying: minion "jliggitt-laptop" already exists
E0204 23:04:26.083406   22975 nodecontroller.go:127] Error registrying node jliggitt-laptop, retrying: minion "jliggitt-laptop" already exists
E0204 23:04:36.124428   22975 nodecontroller.go:127] Error registrying node jliggitt-laptop, retrying: minion "jliggitt-laptop" already exists
E0204 23:04:46.155880   22975 nodecontroller.go:127] Error registrying node jliggitt-laptop, retrying: minion "jliggitt-laptop" already exists
E0204 23:04:56.176282   22975 nodecontroller.go:127] Error registrying node jliggitt-laptop, retrying: minion "jliggitt-laptop" already exists
E0204 23:05:06.201227   22975 nodecontroller.go:127] Error registrying node jliggitt-laptop, retrying: minion "jliggitt-laptop" already exists
E0204 23:05:16.221672   22975 nodecontroller.go:127] Error registrying node jliggitt-laptop, retrying: minion "jliggitt-laptop" already exists
E0204 23:05:26.246466   22975 nodecontroller.go:127] Error registrying node jliggitt-laptop, retrying: minion "jliggitt-laptop" already exists
E0204 23:05:36.275427   22975 nodecontroller.go:127] Error registrying node jliggitt-laptop, retrying: minion "jliggitt-laptop" already exists
E0204 23:05:46.295528   22975 nodecontroller.go:127] Error registrying node jliggitt-laptop, retrying: minion "jliggitt-laptop" already exists
E0204 23:05:56.295805   22975 nodecontroller.go:93] Error registrying node list &{TypeMeta:{Kind: APIVersion:} ListMeta:{SelfLink: ResourceVersion:} Items:[{TypeMeta:{Kind: APIVersion:} ObjectMeta:{Name:jliggitt-laptop GenerateName: Namespace: SelfLink: UID: ResourceVersion: CreationTimestamp:0001-01-01 00:00:00 +0000 UTC Labels:map[] Annotations:map[]} Spec:{Capacity:map[cpu:{Amount:1.000 Format:DecimalSI} memory:{Amount:3221225472 Format:BinarySI}]} Status:{HostIP:127.0.0.1 Phase: Conditions:[{Kind:Ready Status:None LastTransitionTime:0001-01-01 00:00:00 +0000 UTC Reason: Message:}]}}]}: unable to register all nodes.
I0204 23:05:56.296147   22975 master.go:145] Started Kubernetes Minion Controller
I0204 23:05:56.296894   22975 master.go:595] OpenShift UI listening at https://0.0.0.0:8444
I0204 23:05:56.540056   22975 master.go:606] OpenShift UI available at https://192.168.1.123:8444

@smarterclayton
Copy link
Contributor

We need to fix the loop thing that handles already exist. Not sure why that didn't get fixed upstream.

@smarterclayton smarterclayton added this to the 0.3.0 (beta1) milestone Feb 5, 2015
jpeeler pushed a commit to jpeeler/origin that referenced this issue Jun 15, 2017
…service-catalog/' changes from c91fecb..1bfff53

1bfff53 instance never provisioned should just delete (openshift#891)
1ae26db Adding a fake broker server (openshift#928)
6403076 docs: fix quoting issue, clarify naming in auth.md (openshift#931)
8ac0775 Merge branch 'pr/927'
02af952 Merge branch 'pr/876'
2aa84f9 add Jenkins badge to README
0c08788 Brokers must have at least one service (openshift#930)
cbfa39b Add PodPreset support (openshift#917)
0d9b810 refactor Jenkins GitHub status postback to work on non-PR commits (openshift#916)
066159d Converting the AuthSecret field to a union AuthInfo type (openshift#877)
203af5c Add leader election namespace configuration (openshift#920)
5831502 Add example JSON schema to controller unit tests (openshift#918)
b78ab99 Fix usage of finalizers (openshift#894)
d3d29f0 Enable pprof in controller-manager (openshift#896)
f4233a0 Correct parameter schema support (openshift#912)
05c6f00 bump image tags from v0.0.8 to v0.0.9 (openshift#910)
97d278a Add support for OSB parameter schemas (openshift#822)
3e4120e Fix nil dereference panic on request timeout (openshift#906)
d8c7494 Add feature gate for audit options in helm chart (openshift#904)
89ce1cd Decompose controller unit tests (openshift#899)
a1e83b2 Add e2e for walkthrough (openshift#832)
4679685 Add support for audit log options (openshift#897)
262a94f Do not allow updates to an object if asynchronous operation is in progress (openshift#853)
7295dad Validate that a ServiceClass must have at least one plan (openshift#879)
9db9fa4 Decompose controller.go (openshift#893)
c3ea9bd Nits in our types (openshift#854)
1d8280a bump tags from v0.0.7 to v0.0.8 (openshift#892)
5e6925d Clean up the OSB client (openshift#888)
fe6aee9 cleaning up logs and adding more log detail (openshift#874)
f41516f Detect if a TPR update represents a soft delete (openshift#836)
9ce99f3 Add functions on Makefile for build and tag
REVERT: c91fecb Merge pull request openshift#1 from jpeeler/origin-build
REVERT: 55ccf3d origin build: add _output to .gitignore
REVERT: 8352e14 origin build: make build-go and build-cross work
REVERT: d969641 origin build: modify hard coded path
REVERT: 30000cc origin build: add origin tooling

git-subtree-dir: cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog
git-subtree-split: 1bfff53
jpeeler pushed a commit to jpeeler/origin that referenced this issue Jun 15, 2017
…service-catalog/' changes from c91fecb..568a7b9

568a7b9 origin build: add origin tooling
1bfff53 instance never provisioned should just delete (openshift#891)
1ae26db Adding a fake broker server (openshift#928)
6403076 docs: fix quoting issue, clarify naming in auth.md (openshift#931)
8ac0775 Merge branch 'pr/927'
02af952 Merge branch 'pr/876'
2aa84f9 add Jenkins badge to README
0c08788 Brokers must have at least one service (openshift#930)
cbfa39b Add PodPreset support (openshift#917)
0d9b810 refactor Jenkins GitHub status postback to work on non-PR commits (openshift#916)
066159d Converting the AuthSecret field to a union AuthInfo type (openshift#877)
203af5c Add leader election namespace configuration (openshift#920)
5831502 Add example JSON schema to controller unit tests (openshift#918)
b78ab99 Fix usage of finalizers (openshift#894)
d3d29f0 Enable pprof in controller-manager (openshift#896)
f4233a0 Correct parameter schema support (openshift#912)
05c6f00 bump image tags from v0.0.8 to v0.0.9 (openshift#910)
97d278a Add support for OSB parameter schemas (openshift#822)
3e4120e Fix nil dereference panic on request timeout (openshift#906)
d8c7494 Add feature gate for audit options in helm chart (openshift#904)
89ce1cd Decompose controller unit tests (openshift#899)
a1e83b2 Add e2e for walkthrough (openshift#832)
4679685 Add support for audit log options (openshift#897)
262a94f Do not allow updates to an object if asynchronous operation is in progress (openshift#853)
7295dad Validate that a ServiceClass must have at least one plan (openshift#879)
9db9fa4 Decompose controller.go (openshift#893)
c3ea9bd Nits in our types (openshift#854)
1d8280a bump tags from v0.0.7 to v0.0.8 (openshift#892)
5e6925d Clean up the OSB client (openshift#888)
fe6aee9 cleaning up logs and adding more log detail (openshift#874)
f41516f Detect if a TPR update represents a soft delete (openshift#836)
9ce99f3 Add functions on Makefile for build and tag
REVERT: c91fecb Merge pull request openshift#1 from jpeeler/origin-build
REVERT: 55ccf3d origin build: add _output to .gitignore
REVERT: 8352e14 origin build: make build-go and build-cross work
REVERT: d969641 origin build: modify hard coded path
REVERT: 30000cc origin build: add origin tooling

git-subtree-dir: cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog
git-subtree-split: 568a7b9dbdc4fdd1fabffdd52af030ec73124b89
sjenning pushed a commit to sjenning/origin that referenced this issue Jan 5, 2018
[3.6] UPSTREAM: 53446: kubelet: add latency metrics to network plugin manager
jpeeler pushed a commit to jpeeler/origin that referenced this issue Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants