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

Chaos-Operator unable to instantiate chaos-runner pod #436

Open
SamarSidharth opened this issue Jan 15, 2021 · 0 comments
Open

Chaos-Operator unable to instantiate chaos-runner pod #436

SamarSidharth opened this issue Jan 15, 2021 · 0 comments

Comments

@SamarSidharth
Copy link

Is this a BUG REPORT or FEATURE REQUEST?

This is not a bug or a feature request just adding the details about an issue faced while running Litmus in an environment with sidecar injection enabled.

What happened:
Getting the below error:
<{"level":"error","ts":1610543288.1461344,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"chaosengine-controller","request":"openstack/horizon-ui-chaos","error":"Internal error occurred: failed calling webhook \"pods.envoy-mwh.admission\": an error on the server (\"<!DOCTYPE HTML PUBLIC \\\"-//W3C//DTD HTML 3.2 Final//EN\\\">\\n<title>500 Internal Server Error</title>\\n<h1>Internal Server Error</h1>\\n<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>\") has prevented the request from succeeding","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/circleci/.go_workspace/pkg/mod/github.com/go-logr/[email protected]/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/circleci/.go_workspace/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:258\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/circleci/.go_workspace/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/home/circleci/.go_workspace/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/home/circleci/.go_workspace/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:152\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/home/circleci/.go_workspace/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:153\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/home/circleci/.go_workspace/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:88"} >

What you expected to happen:
The chaos-runner pod to be created in the target application namespace.

How to reproduce it (as minimally and precisely as possible):
Issue was not related to Litmus, the problem was due to the side car injection for the target namespace and the code that was injecting the side car was not able to process the AdmissionReview request from a MutatingWebhook the issue got resolved after fixing the code.
Anything else we need to know?:

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