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

Reconciler error : unable to create service : context deadline exceeded #77

Open
wallrj opened this issue Nov 8, 2019 · 0 comments
Open

Comments

@wallrj
Copy link
Contributor

wallrj commented Nov 8, 2019

I keep getting this error in the controller-manager logs when running the E2E tests locally.

I think because we're setting a 10 second limit for all the operations performed in the Reconcile function.

I can increase it to some arbitrary value, or better still would be to have much smaller timeouts on the individual API operations, I think.

2019-11-08T14:54:17.240Z	ERROR	controller-runtime.controller	Reconciler error	{"controller": "etcdcluster", "request": "default/my-cluster", "error": "unable to create service: Post https://10.96.0.1:443/api/v1/namespaces/default/services: context deadline exceeded", "errorCauses": [{"error": "unable to create service: Post https://10.96.0.1:443/api/v1/namespaces/default/services: context deadline exceeded"}]}
github.com/go-logr/zapr.(*zapLogger).Error
	/go/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.3.0/pkg/internal/controller/controller.go:218
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.3.0/pkg/internal/controller/controller.go:192
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.3.0/pkg/internal/controller/controller.go:171
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1
	/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190817020851-f2f3a405f61d/pkg/util/wait/wait.go:152
k8s.io/apimachinery/pkg/util/wait.JitterUntil
	/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190817020851-f2f3a405f61d/pkg/util/wait/wait.go:153
k8s.io/apimachinery/pkg/util/wait.Until
	/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190817020851-f2f3a405f61d/pkg/util/wait/wait.go:88

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

No branches or pull requests

1 participant