74 Star 357 Fork 215

GVPopenEuler / A-Tune

 / 详情

集群部署失败

已完成
缺陷
创建于  
2022-08-29 11:20

Euler版本:Linux version 5.10.0-60.18.0.50.oe2203.x86_64
ATuned 版本:1.0.0(yum安装)

三台VM,安装OpenEuler虚拟机,测试集群部署。
按照/ Documentation / UserGuide / A-Tune分布式部署指南.md 中进行集群部署,配置分别修改,一台用作engine,一台主节点 192.168.137.130,一台子节点 192.168.137.131
防火墙关闭,证书关闭
进入/example/tuning/compress目录,运行 atune-adm -a 192.168.137.130 -p 60001 tuning --project compress --detail compress_client.yaml 失败,atuned服务关闭。
grep -A5 -B5 -i 'error' /var/log/messages
可以看到如下错误:
Aug 29 10:58:10 openEuler atuned[11043]: time="2022-08-29T10:58:10+08:00" level=info msg="set script:sed -i 's/^COMPRESS_LEVEL =\s*[0-9]*/COMPRESS_LEVEL = 6/g' /root/A-Tune/examples/tuning/compress/compress.py" file="projet.go:356"
Aug 29 10:58:10 openEuler atuned[11043]: time="2022-08-29T10:58:10+08:00" level=info msg="compressMethod-1 need not be set, value is bz2" file="projet.go:343"
Aug 29 10:58:10 openEuler atuned[11043]: time="2022-08-29T10:58:10+08:00" level=info msg="after change paraMap: map[compressLevel-0:9 compressLevel-1:6 compressMethod-0:bz2 compressMethod-1:bz2]\n" file="projet.go:363"
Aug 29 10:58:10 openEuler atuned[11043]: time="2022-08-29T10:58:10+08:00" level=info msg="set the parameter success" file="optimizer.go:359"
Aug 29 10:58:10 openEuler atuned[11043]: time="2022-08-29T10:58:10+08:00" level=info msg="sync other nodes: [192.168.137.130 192.168.137.131]" file="optimizer.go:759"
Aug 29 10:58:10 openEuler atuned[11043]: fatal error: unreachable method called. linker bug?
Aug 29 10:58:10 openEuler atuned[11043]: goroutine 189 [running]:
Aug 29 10:58:10 openEuler atuned[11043]: runtime.throw({0x55b27382b317, 0xc00022c100})
Aug 29 10:58:10 openEuler atuned[11043]: #011/usr/lib/golang/src/runtime/panic.go:1198 +0x71 fp=0xc00018ca00 sp=0xc00018c9d0 pc=0x55b273138e51
Aug 29 10:58:10 openEuler atuned[11043]: runtime.unreachableMethod()
Aug 29 10:58:10 openEuler atuned[11043]: #011/usr/lib/golang/src/runtime/iface.go:561 +0x25 fp=0xc00018ca20 sp=0xc00018ca00 pc=0x55b2731106c5

评论 (4)

DM 创建了缺陷

Hi dm20220725, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: A-Tune, and any of the maintainers: @谢志鹏 , @Monday , @gaoruoshu , @HuBin95

openeuler-ci-bot 添加了
 
sig/A-Tune
标签

@DM 您好,请提供一下openEuler版本信息及go语言版本信息,目前已知Go1.17版本在执行集群调优时会运行失败,详细信息可参考:#I4NF6T:使用go1.17.5版本集群调优失败

欧拉版本:2203.x86_64 是用yum直接安装的ATuned和atune-engine,没有安装go。需要额外再安装go语言吗?没有安装好像也可以tuning,只是集群调优有问题

atune在构建时需要go语言支持,如果当前环境的go版本并没有修复集群调优失败的问题,则依赖该go版本编译出来的atune也会有集群调优失败的问题,因此建议查看go的版本。

目前该问题已解决,go回合修复补丁,atune最新版本可以成功执行集群调优

gaoruoshu 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
Go
1
https://gitee.com/openeuler/A-Tune.git
git@gitee.com:openeuler/A-Tune.git
openeuler
A-Tune
A-Tune

搜索帮助