-
Notifications
You must be signed in to change notification settings - Fork 46
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
how to solve Kube exec format Error in litmus-chaos #123
Comments
Hi @AnnaMohan, Will you please provide background details? Is this generated by python-sdk code? Provide details were you are testing this |
@oumkale Yes ,iam trying to create sample custom chaos experiments using litmus python SDK |
Create issue in : https://github.com/litmuschaos/litmus-python |
i added there @oumkale waiting for the response there |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
W0524 05:21:20.698096 1 client_config.go:552] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
2022/05/24 05:21:20
ChaosEngine Name : sample-exec-chaos-25ezhswb
2022/05/24 05:21:20 Created Resource Details:
{sample-exec-chaos-25ezhswb litmuschaos.io v1alpha1 ChaosEngine litmus }
W0524 05:21:20.752166 1 client_config.go:552] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
2022/05/24 05:21:20 Starting Chaos Checker in 1min
2022/05/24 05:22:20 Checking if Engine Completed or Stopped
2022/05/24 05:22:20 [*] ENGINE COMPLETED
W0524 05:21:21.878291 1 client_config.go:541] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
time='2022-05-24T05:21:21Z' level=info msg='Experiments details are as follows' appNs=default appKind=deployment Service Account Name=litmus-admin Engine Namespace=litmus Experiments List='[sample-exec-chaos]' Engine Name=sample-exec-chaos-25ezhswb appLabels='app=nginx'
time='2022-05-24T05:21:22Z' level=info msg='Getting the ENV Variables'
time='2022-05-24T05:21:22Z' level=info msg='Preparing to run Chaos Experiment: sample-exec-chaos'
time='2022-05-24T05:21:22Z' level=info msg='Started Chaos Experiment Name: sample-exec-chaos, with Job Name: sample-exec-chaos-76wuma'
time='2022-05-24T05:21:42Z' level=info msg='Chaos Pod Completed, Experiment Name: sample-exec-chaos, with Job Name: sample-exec-chaos-76wuma'
time='2022-05-24T05:21:42Z' level=error msg='unable to Update ChaosEngine Status, error: unable to get ChaosResult name: sample-exec-chaos-25ezhswb-sample-exec-chaos in namespace: litmus, error: chaosresults.litmuschaos.io 'sample-exec-chaos-25ezhswb-sample-exec-chaos' not found'
time='2022-05-24T05:21:42Z' level=info msg='Chaos Engine has been updated with result, Experiment Name: sample-exec-chaos'
time='2022-05-24T05:21:42Z' level=info msg='[skip]: skipping the job deletion as jobCleanUpPolicy is set to {retain}'
time=2022-05-24 05:21:27,356 level=INFO msg=Experiment Name: chaos
time=2022-05-24 05:21:27,357 level=INFO msg=[PreReq]: Initialise Chaos Variables for the sample-exec-chaos experiment
time=2022-05-24 05:21:27,357 level=INFO msg=[PreReq]: Updating the chaos result of sample-exec-chaos experiment (SOT)
time=2022-05-24 05:21:27,504 level=ERROR msg=Unable to Create the Chaos Result, err: [Errno 8] Exec format error: 'kubectl'
Failing to run the workflow because of this kube exec format error i have provided the logs above for the same
@oumkale @ksatchit
The text was updated successfully, but these errors were encountered: