Open Li-Vincent opened 3 years ago
XX.XX.XX.XX | FAILED | rc=1 >> [32m2021-03-09 16:18:49 [INFO] [0m [+stop] chaosagent is stopped. [31m2021-03-09 16:18:49 [WARN][0m Must have root folder permission, exit. [31m2021-03-09 16:18:49 [WARN] [0m no root folder permission
对于服务器,用户不是root,能否为ansible命令添加-s, 支持sudo
请问您最后手动安装探针成功了吗?
这个问题有人解决了? mac下 一直报这个错误。
Last login: Wed Dec 29 17:37:24 2021 from 127.0.0.1 wget https://chaosblade.oss-cn-hangzhou.aliyuncs.com/platform/chaosagentctl.sh -O chaosagentctl.sh && chmod +x chaosagentctl.sh && ./chaosagentctl.sh install -u 1476125163245387778 -t 127.0.0.1:8080 -r https://chaosblade.oss-cn-hangzhou.aliyuncs.com/platform/chaosagent sudo exit % xianpinglu@localhost ~ % [?2004hwget https://chaosblade.oss-cn-hangzhou.aliyuncs.com/ <aosblade.oss-cn-hangzhou.aliyuncs.com/p latform/chaosagentctl.sh -O chaosagent <latform/chaosagentctl.sh -O chaosagentc tl.sh && chmod +x chaosagentctl.sh && <tl.sh && chmod +x chaosagentctl.sh && . /chaosagentctl.sh install -u 147612516 </chaosagentctl.sh install -u 1476125163 245387778 -t 127.0.0.1:8080 -r https:/ <245387778 -t 127.0.0.1:8080 -r https:// chaosblade.oss-cn-hangzhou.aliyuncs.co <chaosblade.oss-cn-hangzhou.aliyuncs.com /platform/chaosagent sudo [?2004l --2021-12-29 17:37:27-- https://chaosblade.oss-cn-hangzhou.aliyuncs.com/platform/chaosagentctl.sh 正在解析主机 chaosblade.oss-cn-hangzhou.aliyuncs.com (chaosblade.oss-cn-hangzhou.aliyuncs.com)... 118.31.219.199 正在连接 chaosblade.oss-cn-hangzhou.aliyuncs.com (chaosblade.oss-cn-hangzhou.aliyuncs.com)|118.31.219.199|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度:7558 (7,4K) [application/x-sh] 正在保存至: “chaosagentctl.sh” chaosagentctl.sh 0%[ ] 0 --.-KB/s chaosagentctl.sh 100%[===================>] 7,38K --.-KB/s 用时 0s 2021-12-29 17:37:27 (7,04 GB/s) - 已保存 “chaosagentctl.sh” [7558/7558]) [32m2021-12-29 17:37:27 [INFO] [0m [+stop] chaosagent is stopped. [31m2021-12-29 17:37:27 [WARN] [0m Must have root folder permission, exit. [31m2021-12-29 17:37:27 [WARN] [0m no root folder permission % xianpinglu@localhost ~ % [?2004hexit[?2004l
XX.XX.XX.XX | FAILED | rc=1 >> [32m2021-03-09 16:18:49 [INFO] [0m [+stop] chaosagent is stopped. [31m2021-03-09 16:18:49 [WARN][0m Must have root folder permission, exit. [31m2021-03-09 16:18:49 [WARN] [0m no root folder permission
对于服务器,用户不是root,能否为ansible命令添加-s, 支持sudo