We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
导入主机只能导入一个导入第二个就会报错页面提示 7行10.60.60.2/新加失败数据唯一性校验失败,bk_agent_id:""重复
bk-cmdb 版本:3.13.10 Redis 版本:3.2.11 MongoDB 版本:8.0 ZooKeeper 版本:3.8.4 操作系统 :ubuntu22.04 bk-cmdb 异常日志 CreateModelInstance failed, save error:数据唯一性校验失败, bk_agent_id: "" 重复, objID:"host", data:{"bk_addressing":"static","bk_agent_id":"","bk_asset_id":"TW-ASBCC01044","bk_bak_operator":["weodaosong"],"bk_cloud_host_identifier":false,"bk_cloud_host_status":null,"bk_cloud_id":90000001,"bk_cloud_inst_id":"","bk_cloud_region":"","bk_cloud_vendor":null,"bk_cloud_zone":"","bk_comment":"业务服务器(主)","bk_cpu":128,"bk_cpu_architecture":"x86","bk_cpu_module":"Intel(R) Xeon(R) Gold 6338","bk_created_at":"2024-10-25T01:13:59.234820926Z","bk_created_by":"admin","bk_disk":28488,"bk_host_id":64,"bk_host_innerip":["10.60.60.2"],"bk_host_innerip_v6":null,"bk_host_name":"","bk_host_outerip":null,"bk_host_outerip_v6":null,"bk_isp_name":null,"bk_mac":"","bk_mem":384,"bk_os_bit":"64","bk_os_name":"vmware esxi","bk_os_type":null,"bk_os_version":"8","bk_outer_mac":"","bk_province_name":null,"bk_service_term":null,"bk_sla":null,"bk_sn":"24B531743","bk_state":null,"bk_state_name":null,"bk_supplier_account":"0","bk_updated_at":"2024-10-25T01:13:59.234820926Z","bk_updated_by":null,"create_time":"2024-10-25T01:13:59.234820926Z","import_from":null,"last_time":"2024-10-25T01:13:59.234820926Z","operator":["weidaosong"]}, rid:"cc0000csdf1lr4212qgdofrq4g" E1025 01:13:59.235558 238399 service/instances.go:30] code: , user: admin, rid: cc0000csdf1lr4212qgdofrq4g, err: 数据唯一性校验失败, bk_agent_id: "" 重复 E1025 01:13:59.236933 238399 local/txn_manager.go:284] get txn error failed, err: redis: nil, session id: FLewXvsqT1CT+9qtMKjX3A==
请提供以下信息:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
问题描述
导入主机只能导入一个导入第二个就会报错页面提示 7行10.60.60.2/新加失败数据唯一性校验失败,bk_agent_id:""重复
重现方法
导入一个主机后再次导入就会提示
关键信息
bk-cmdb 版本:3.13.10
Redis 版本:3.2.11
MongoDB 版本:8.0
ZooKeeper 版本:3.8.4
操作系统 :ubuntu22.04
bk-cmdb 异常日志
CreateModelInstance failed, save error:数据唯一性校验失败, bk_agent_id: "" 重复, objID:"host", data:{"bk_addressing":"static","bk_agent_id":"","bk_asset_id":"TW-ASBCC01044","bk_bak_operator":["weodaosong"],"bk_cloud_host_identifier":false,"bk_cloud_host_status":null,"bk_cloud_id":90000001,"bk_cloud_inst_id":"","bk_cloud_region":"","bk_cloud_vendor":null,"bk_cloud_zone":"","bk_comment":"业务服务器(主)","bk_cpu":128,"bk_cpu_architecture":"x86","bk_cpu_module":"Intel(R) Xeon(R) Gold 6338","bk_created_at":"2024-10-25T01:13:59.234820926Z","bk_created_by":"admin","bk_disk":28488,"bk_host_id":64,"bk_host_innerip":["10.60.60.2"],"bk_host_innerip_v6":null,"bk_host_name":"","bk_host_outerip":null,"bk_host_outerip_v6":null,"bk_isp_name":null,"bk_mac":"","bk_mem":384,"bk_os_bit":"64","bk_os_name":"vmware esxi","bk_os_type":null,"bk_os_version":"8","bk_outer_mac":"","bk_province_name":null,"bk_service_term":null,"bk_sla":null,"bk_sn":"24B531743","bk_state":null,"bk_state_name":null,"bk_supplier_account":"0","bk_updated_at":"2024-10-25T01:13:59.234820926Z","bk_updated_by":null,"create_time":"2024-10-25T01:13:59.234820926Z","import_from":null,"last_time":"2024-10-25T01:13:59.234820926Z","operator":["weidaosong"]}, rid:"cc0000csdf1lr4212qgdofrq4g"
E1025 01:13:59.235558 238399 service/instances.go:30] code: , user: admin, rid: cc0000csdf1lr4212qgdofrq4g, err: 数据唯一性校验失败, bk_agent_id: "" 重复
E1025 01:13:59.236933 238399 local/txn_manager.go:284] get txn error failed, err: redis: nil, session id: FLewXvsqT1CT+9qtMKjX3A==
请提供以下信息:
The text was updated successfully, but these errors were encountered: