74 Star 357 Fork 215

GVPopenEuler / A-Tune

 / 详情

启动出错

已完成
任务
创建于  
2020-09-24 10:48

atune-adm analysis

  1. Analysis system runtime information: CPU Memory IO and Network...
    Post "https://localhost:8383/v1/collector": x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0
    rpc error: code = Unknown desc = Post "https://localhost:8383/v1/collector": x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0

评论 (9)

joeytao 创建了任务
joeytao 关联仓库设置为openEuler/A-Tune
展开全部操作日志

Hey joeytao, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

谢志鹏 任务状态待办的 修改为进行中
谢志鹏 负责人设置为hanxinke

@joeytao Thanks. This problem may be caused by the use of go 1.15. I reproduced the problem when using go 1.15. Go 1.15 introduced changes to SSL/TLS connection validation which requires certificates to include a SAN. You can use go 1.13 or generate certificates which contains SAN.

@joeytao Thanks. This problem may be caused by the use of go 1.15. I reproduced the problem when using go 1.15. Go 1.15 introduced changes to SSL/TLS connection validation which requires certificates to include a SAN. You can use go 1.13 or generate certificates which contains SAN.

@hanxinke 多谢
安装完go 1.14版本后,遇到了新的错误:
Sep 25 16:09:24 atuned[19374]: 2020-09-25 16:09:24,618 [ERROR] topo [/usr/libexec/atuned/analysis/../analysis/plugin/monitor/memory/topo.py:55] : MemTopo.table_get_locator: Fail to find data
Sep 25 16:09:24 atuned[19374]: 2020-09-25 16:09:24,619 [ERROR] app [/usr/local/lib/python3.6/site-packages/flask/app.py:1892] : Exception on /v1/collector [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/local/lib/python3.6/site-packages/flask_restful/init.py", line 468, in wrapper
resp = resource(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/flask/views.py", line 89, in view
return self.dispatch_request(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/flask_restful/init.py", line 583, in dispatch_request
resp = meth(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/flask_restful/init.py", line 710, in wrapper
resp = f(*args, **kwargs)
File "/usr/libexec/atuned/analysis/../analysis/atuned/collector.py", line 46, in post
mpis.append(MPI.get_monitor(monitor["module"], monitor["purpose"]))
File "/usr/libexec/atuned/analysis/../analysis/plugin/plugin.py", line 100, in get_monitor
mpis = MPI.get_monitors(module, purpose)
File "/usr/libexec/atuned/analysis/../analysis/plugin/plugin.py", line 87, in get_monitors
m_class = sub_class()
File "/usr/libexec/atuned/analysis/../analysis/plugin/monitor/memory/bandwidth.py", line 98, in init
self.__cnt["CPU0_Max"] = self.__get_theory_bandwidth(0) / 1024 / 1024
File "/usr/libexec/atuned/analysis/../analysis/plugin/monitor/memory/bandwidth.py", line 161, in __get_theory_bandwidth
locator = memtopo.table_get_locator(dimm["slot"])
File "/usr/libexec/atuned/analysis/../analysis/plugin/monitor/memory/topo.py", line 56, in table_get_locator
raise err
LookupError: Fail to find data
Sep 25 16:09:24 atuned[19361]: time="2020-09-25T16:09:24+08:00" level=error msg="collection system data error: collect data failed" file="profile.go:425"

@joeytao 您这边使用的是物理机环境吗?A-Tune目前支持在鲲鹏物理机或者虚拟机上运行,您的这个报错信息可以参考#I1PJG0:ECS上能运行A-Tune吗?

@joeytao 您这边使用的是物理机环境吗?A-Tune目前支持在鲲鹏物理机或者虚拟机上运行,您的这个报错信息可以参考#I1PJG0:ECS上能运行A-Tune吗?

@hanxinke 你好,我使用的是intel的虚拟机环境,我看openuler for x86_64也有atune这个包,这个包不支持x86_64吗?

您好,A-Tune支持x86的虚拟机,请在您环境上执行下lshw -c memory,贴下输出结果

您好,A-Tune支持x86的虚拟机,请在您环境上执行下lshw -c memory,贴下输出结果

@hanxinke # lshw -c memory
*-firmware
description: BIOS
vendor: SeaBIOS
physical id: 0
version: seabios-1.9.1-qemu-project.org
date: 04/01/2014
size: 96KiB
*-memory
description: System Memory
physical id: 1000
size: 8GiB
capabilities: ecc
configuration: errordetection=multi-bit-ecc
*-bank
description: DIMM RAM
vendor: Smdbmds
physical id: 0
slot: DIMM 0
size: 8GiB

@joeytao 我已经发现问题所在了,您这边读取的vendor项是Smdbmds,当前我们的代码中判断虚拟机的方式是查询到该值为QEMU,您可以先修改analysis/plugin/monitor/memory/bandwidth.py中的159行,将QEMU改为Smdbmds,先保证运行。我们将尽快修复该bug,非常感谢!

hanxinke 通过openeuler/A-Tune Pull Request !196任务状态进行中 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
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

搜索帮助