开发者社区 > 云原生 > 中间件 > 正文

ChaosBlade这个怎么解决呢?

我执行命令 blade create cri process kill --process vi --signal 15 --container-id 45f172395fbf 时候报错, {"code":63010,"success":false,"error":"vi: get process id by name failed, err: /opt/chaosblade/bin/nsexec -t 3460628 -p -m -- /bin/sh -c ps -eo user,pid,ppid,args | grep \"vi\" | grep -v -w blade | grep -v -w grep | grep -v -w chaos_killprocess | grep -v -w chaos_stopprocess | awk '{print $2}' | tr '\\n' ' ': cmd exec failed, err: /bin/sh: ps: not found\n/bin/sh: grep: not found\n/bin/sh: grep: not found\n/bin/sh: grep: not found/bin/sh\n: grep: not found\n/bin/sh: grep: not found\n/bin/sh: awk: not found\n/bin/sh: tr: not found\n exit status 127"} ,ChaosBlade这个怎么解决呢?我在 docker 容器中运行一个服务,我想用 chaosblade 通过服务名的方式杀掉这个容器内运行的服务时候报错,请问有大佬遇到过这个问题吗?

展开
收起
真的很搞笑 2024-06-29 18:59:36 14 0
0 条回答
写回答
取消 提交回答
问答分类:
问答地址:

为企业提供高效、稳定、易扩展的中间件产品。

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载