chaosblade
chaosblade copied to clipboard
The error information of the kubernetes experimental scene cannot be effectively revealed
Issue Description
Type: bug report
Describe what happened (or what feature you want)
Use blade
tool to create a k8s experiment. If an error is reported, the error message cannot be displayed. For example:
{"code":54000,"success":false,"error":"unexpected status, expected status: `create`, but the real status: `Error`, please wait!","result":"5e4d7cdd26012e65"}
But the detail of the experiment:
"status": {
"expStatuses": [
{
"action": "append",
"error": "invalid parameter `chaosqademo-1-sg-dev-cba-group-1-17-66f7749fb4-wdhhf`, can not find pods",
"scope": "container",
"state": "Error",
"success": false,
"target": "file"
}
],
"phase": "Error"
}
Describe what you expected to happen
{"code":54000,"success":false,"error":"invalid parameter `chaosqademo-1-sg-dev-cba-group-1-17-66f7749fb4-wdhhf`, can not find pods","result":"5e4d7cdd26012e65"}