【环境信息】
OS:21.09-RC5
repo源:everything,OS,EPOL
[root@localhost ~]# cat /etc/openEuler-latest
openeulerversion=openEuler-21.09
compiletime=2021-09-21-19-33-30
gccversion=10.3.1-20210914.5.oe1
kernelversion=5.10.0-5.10.0.24.oe1
openjdkversion=1.8.0.302.b07-2.oe1
【问题复现步骤】
1、故障检测时,执行如下命令(主机不存在/故障树不存在)
adoctor diag --access_token 1 --host_list 9999999999 --tree_list fault_tree
adoctor diag --access_token 1 --host_list c89e56521c3611ec9e97525400422ee9 --tree_list fault
adoctor diag --access_token 1 --host_list 9999999999 --tree_list fault
【预期结果】
1、命令执行失败,提示主机不存在;
2、命令执行失败,提示故障树不存在;
3、命令执行失败,提示主机、故障树不存在
【实际结果】
1-3、命令执行报错,提示:diag execute error: please try again
【附件信息】
Hi zjl_long, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at
https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md.
If you have any questions, please contact the SIG: sig-ops, and any of the maintainers: @栾建海, @solarhu, @陈亚强, @cmss_dx, @gameoverboss, @snoweay, @luzhihao, @陈功.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
已收到,更改cli用户回显和restful请求的响应信息,下个版本修复。
验收通过
【环境信息】
OS:21.09-RC6
repo源:everything,OS,EPOL
[root@localhost ~]# cat /etc/openEuler-latest
openeulerversion=openEuler-21.09
compiletime=2021-09-27-18-59-36
gccversion=10.3.1-20210914.5.oe1
kernelversion=5.10.0-5.10.0.24.oe1
openjdkversion=1.8.0.302.b07-4.oe1
【问题复现步骤】
1、故障检测时,执行如下命令(主机不存在/故障树不存在)
adoctor diag --access_token 1 --host_list 8fa7646e20f111eca268525409999999 --tree_list tree_one
adoctor diag --access_token 1 --host_list 8fa7646e20f111eca268525400ae31b7 --tree_list tree_
adoctor diag --access_token 1 --host_list 8fa7646e20f111eca268525409999999 --tree_list tree_
adoctor diag --access_token 1 --tree_list tree --host_list 8fa7646e20f111eca26852540999999
adoctor diag --access_token 1 --host_list 8fa7646e20f111eca268525400ae31b7 --tree_list tree_one
【预期结果】
1、命令执行失败,提示主机不存在;
2、命令执行失败,提示故障树不存在;
3、命令执行失败,提示主机、故障树不存在
【实际结果】
1-3、与预期一致
【附件信息】
登录 后才可以发表评论