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

inject cpu fail failed to execute /tmp/chaosmetad-0.5.1/chaosmetad: No such file or directory #155

Open
wujunwei opened this issue Feb 27, 2024 · 1 comment

Comments

@wujunwei
Copy link

When use chaosmeta to inject pod cpu fault, it failed and shows

phase: inject
status: failed
message: create failed
detail:
  inject:
  - injectobjectname: pod/default/static-web/web
    uid: "202402271149102723"
    message: |
      experiment inject error: kubectl exec error: exec remote cmd error: command terminated with exit code 1  nsenter: failed to execute /tmp/chaosmetad-0.5.1/chaosmetad: No such file or directory
    status: failed
    starttime: "2024-02-27 11:49:10"
    updatetime: ""
    backup: ""
  recover: []
createtime: "2024-02-27 11:49:10"
updatetime: "2024-02-27 11:49:11"

How can I fix this?
Releative logs in chaosmeta-inject-controller-manager

2024-02-27T11:54:11Z    INFO    experiment: chaosmeta/inject-fault-pod-cpu-e-176244443868194816021709034473node, get status: {"phase":"recover","status":"created","message":"create failed","detail":{"inject":[{"injectObjectName":"pod/default/static-web/web","uid":"202402271149102723","message":"experiment inject error: kubectl exec error: exec remote cmd error: command terminated with exit code 1  nsenter: failed to execute /tmp/chaosmetad-0.5.1/chaosmetad: No such file or directory\n","status":"failed","startTime":"2024-02-27 11:49:10"}],"recover":[{"injectObjectName":"pod/default/static-web/web","uid":"202402271149102723","message":"start to recover","status":"created","startTime":"2024-02-27 11:54:11"}]},"createTime":"2024-02-27 11:49:10","updateTime":"2024-02-27 11:54:11"} {"controller": "experiment", "controllerGroup": "chaosmeta.io", "controllerKind": "Experiment", "Experiment": {"name":"inject-fault-pod-cpu-e-176244443868194816021709034473node","namespace":"chaosmeta"}, "namespace": "chaosmeta", "name": "inject-fault-pod-cpu-e-176244443868194816021709034473node", "reconcileID": "ae672cac-1283-4d38-b800-1d93da739e12"}
@wujunwei
Copy link
Author

Installed by helm charts version: "0.6.1"

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