bk-nodeman icon indicating copy to clipboard operation
bk-nodeman copied to clipboard

bugfix: 远程采集场景下报错主机不存在 (closed #830)

Open CohleRustW opened this issue 2 years ago • 2 comments

CohleRustW avatar Jun 30 '22 08:06 CohleRustW

Codecov Report

Merging #893 (2c97394) into V2.2.18-rc (826023f) will decrease coverage by 0.08%. The diff coverage is 0.00%.

@@              Coverage Diff               @@
##           V2.2.18-rc     #893      +/-   ##
==============================================
- Coverage       71.05%   70.97%   -0.09%     
==============================================
  Files             294      294              
  Lines           21597    21615      +18     
==============================================
- Hits            15346    15341       -5     
- Misses           6251     6274      +23     
Impacted Files Coverage Δ
apps/backend/components/collections/plugin.py 81.41% <0.00%> (-0.47%) :arrow_down:
apps/node_man/serializers/policy.py 64.76% <0.00%> (-9.40%) :arrow_down:
apps/backend/subscription/serializers.py 87.67% <0.00%> (-0.57%) :arrow_down:
apps/backend/subscription/steps/plugin.py 47.48% <0.00%> (-0.56%) :arrow_down:
apps/backend/subscription/views.py 50.57% <0.00%> (-0.44%) :arrow_down:
apps/node_man/handlers/plugin_v2.py 85.00% <0.00%> (+0.15%) :arrow_up:
apps/node_man/handlers/job.py 86.32% <0.00%> (+0.26%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 826023f...2c97394. Read the comment docs.

codecov-commenter avatar Jun 30 '22 08:06 codecov-commenter

CLA assistant check
All committers have signed the CLA.

tencentblueking-adm avatar Nov 15 '22 02:11 tencentblueking-adm

下发过程验证

  1. 指定远程主机10.0.1.7作为远程采集目标主机 企业微信截图_6fee22a8-f5c8-4748-8d3a-2de8b9535200 企业微信截图_108196f1-228c-421f-a4f1-263bf0ce2298

  2. 验证相关采集数据 企业微信截图_f99b1cba-96af-4a66-be46-41342207cea6

  3. 验证相关主机服务器上的目录是否符合预期 企业微信截图_14a437d4-eb22-45fa-b532-c449f75d5c64 企业微信截图_fc01ff50-af47-4d3f-8f96-2b10f482ad17 企业微信截图_fc5dd0be-5a59-4f41-955b-595c9164a885 企业微信截图_fc5dd0be-5a59-4f41-955b-595c9164a885

验证结论:当前逻辑可以将采集器相关配置和目录下发到远程采集主机

CohleRustW avatar Dec 26 '22 07:12 CohleRustW