Open zandwang opened 3 years ago
问题现象:当探针安装失败时,probes表中存在多条该ip的记录,此时同步ansible配置信息时,在getAnsibleHosts函数处, 上报key重复错误 Duplicate key ProbesDO(installMode=null, version=null, success=null, ip=192.168.100.26, deviceId=null, hostname=null, clusterId=null, clusterName=null, nodeName=null, agentType=null, status=1, errorMessage=null, lastPingTime=null, lastOnlineTime=null, deployBlade=true)
临时方案:目前只能手动在数据库删除安装失败的数据,才能正确使用同步按钮
建议:probes表,以ip为唯一键,再加一个probes安装记录表
It has been fixed in version 0.3.0, please try again. You need to delete the chaosblade schema and again create the chaosblade schema, no longer need to manually create database tables.
chaosblade
问题现象:当探针安装失败时,probes表中存在多条该ip的记录,此时同步ansible配置信息时,在getAnsibleHosts函数处, 上报key重复错误 Duplicate key ProbesDO(installMode=null, version=null, success=null, ip=192.168.100.26, deviceId=null, hostname=null, clusterId=null, clusterName=null, nodeName=null, agentType=null, status=1, errorMessage=null, lastPingTime=null, lastOnlineTime=null, deployBlade=true)
临时方案:目前只能手动在数据库删除安装失败的数据,才能正确使用同步按钮
建议:probes表,以ip为唯一键,再加一个probes安装记录表