问题一:chaosblade-box,/QuerySceneFunctionByCategoryId接口报错
chaosblade-box,演练场景列表显示不出任何数据,都是提示“当前分类暂无场景,请重新选择”,
/chaos/QuerySceneFunctionByCategoryId接口报500错误,
报错信息:"\n### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'chaosblade.t_chaos_scene_authorized.authorized_id' which is not functionally dependent on columns in GROUP BY clause;
this is incompatible with sql_mode=only_full_group_by\n###
The error may exist in com/alibaba/chaosblade/box/dao/mapper/SceneAuthorizedMapper.java (best guess)\n###
The error may involve defaultParameterMap\n### The error occurred while setting parameters\n### SQL:
SELECT authorized_id,function_id,function_name,function_code,grant_from,grant_to,permission,enabled,phase,source,function_create_time,support_host,support_k8s,is_public,
is_delete,id,gmt_create,gmt_modified FROM t_chaos_scene_authorized
WHERE function_id IN (?,?,?,?,?) AND ( enabled = ? ) AND (permission & 4) = 4 AND (phase & 2) > 0 AND support_k8s = ? AND is_delete = ? AND ( ( grant_to = ? AND is_public = ? ) OR
( is_public = ? ) ) GROUP BY function_id ORDER BY function_create_time DESC\n###
Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Expression #1 of SELECT list is not in GROUP BY clause and
contains nonaggregated column 'chaosblade.t_chaos_scene_authorized.authorized_id' which is not functionally dependent on columns in GROUP BY clause;
this is incompatible with sql_mode=only_full_group_by\n; bad SQL grammar [];
nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'chaosblade.t_chaos_scene_authorized.authorized_id'
which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by"
参考回答:
我没有使用过 chaosblade-box,所以不太清楚你的问题的具体原因。你可以尝试在 chaosblade-box 的官方论坛或者社区发布你的问题,或者在 chaosblade-box 的 GitHub 仓库中提交 issue。
关于本问题的更多回答可点击原文查看:https://developer.aliyun.com/ask/541806
问题二:请问,在pod中执行内存演练,看起来是打到node里面了,这是chaosblade的bug吗,我现在
请问,在pod中执行内存演练,看起来是打到node里面了,这是chaosblade的bug吗,我现在用的最新版的chaosblade
参考回答:
这是正常的,你pod也是部署在node上,不会说你pod资源上去了,node还一点反应没有
关于本问题的更多回答可点击原文查看:https://developer.aliyun.com/ask/541740
问题三:chaosblade debug 调试cri故障模式老是识别不了cri 的标签
chaosblade debug 调试cri故障模式老是识别不了cri 的标签
参考回答:
mode-cache 不生效,底层执行会报错, mode-ram模式才行
关于本问题的更多回答可点击原文查看:https://developer.aliyun.com/ask/541712
问题四:请问chaosblade在进行注入时候支持规则匹配么,比如我只想jvm注入,检测到接口或返回值包含某个值则执行注入反之不执行注入
参考回答:
jvm 没有 我记得 http和servlet有 b-params 可以看下是否符合你的需求
关于本问题的更多回答可点击原文查看:https://developer.aliyun.com/ask/539233
问题五:chaosblade支持欧拉的操作系统嘛?请问这个工具能在欧拉的操作系统上执行嘛,我在欧拉的服务器上
chaosblade支持欧拉的操作系统嘛?请问这个工具能在欧拉的操作系统上执行嘛,我在欧拉的服务器上试着安装探针,但是无法执行二进制文件?
参考回答:
欧拉操作系统对应的系统架构是什么,如果是arm架构的话需要用arm版本的探针和chaosblade,不过现在好像官方没有给出arm版本的探针,需要自己编译
关于本问题的更多回答可点击原文查看:https://developer.aliyun.com/ask/536733