Skip to content
New issue

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

bugfix: [ipv6]节点管理通过Job安装Agent插件,使用了不正确的agentId #1542

Closed
wangyu096 opened this issue Nov 28, 2022 · 0 comments
Assignees
Labels
done 已上线到正式环境并验收通过 kind/bug 程序故障Bug,漏洞 stage/test Test environment in tencent has been deploy

Comments

@wangyu096
Copy link
Collaborator

Version / Branch / tag

3.7.0-beta.37

出了什么问题?(What Happened?)

由于节点管理安装完agent并刷新cmdb的bk_agent_id主机属性之后,马上发起了对Job的快速执行任务的请求。而Job由于主机缓存的原因,并没有立即同步到主机的bk_agent_id,导致使用了{云区域:ip}的兼容方式作为agentId下发任务给GSE, 进而导致任务下发失败。

如何复现?(How to reproduce?)

安装插件必现

预期结果(What you expect?)

  1. 对于节点管理的插件安装场景,Job实时从cmdb拉取主机agentId
@wangyu096 wangyu096 added the kind/bug 程序故障Bug,漏洞 label Nov 28, 2022
@wangyu096 wangyu096 self-assigned this Nov 28, 2022
@wangyu096 wangyu096 changed the title bugfix: 节点管理通过Job安装Agent插件,使用了不正确的agentId bugfix: [ipv6]节点管理通过Job安装Agent插件,使用了不正确的agentId Nov 28, 2022
wangyu096 added a commit that referenced this issue Nov 29, 2022
bugfix: [ipv6]节点管理通过Job安装Agent插件,使用了不正确的agentId #1542
wangyu096 added a commit that referenced this issue Dec 2, 2022
bugfix: [ipv6]节点管理通过Job安装Agent插件,使用了不正确的agentId #1542
@bkjob-bot bkjob-bot added the stage/test Test environment in tencent has been deploy label Dec 27, 2022
@bkjob-bot bkjob-bot added the done 已上线到正式环境并验收通过 label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done 已上线到正式环境并验收通过 kind/bug 程序故障Bug,漏洞 stage/test Test environment in tencent has been deploy
Projects
None yet
Development

No branches or pull requests

2 participants