web-dev-qa-db-ja.com

ラダーエージェント3.1:ノード間で異なる出力

ラダーエージェント3.1(ラダーサーバー3.0.6)を使用していますが、「ラダーエージェントインベントリ」でインベントリを強制すると、ノード間で同じ出力サイズがなく、詳細が異なっているように見えます(下を参照) 。

何か案が ?

x@pv2-51b7y:~$ Sudo rudder agent inventory
2015-07-29T09:47:23+0200   notice: /default/doInventory/methods/'any'/default/fusionAgent/commands/'/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/pv2-51b7y-e5f0d268-0d81-4f27-98de-edee40604b0e.ocs --scan-homedirs'[0]: Q: "...-inventory --lo": [info] FusionInventory instance: builtin
Q: "...-inventory --lo": [info] Inventory saved in /var/rudder/tmp/inventory/pv2-51b7y-e5f0d268-0d81-4f27-98de-edee40604b0e.ocs
Q: "...-inventory --lo": [info] task WakeOnLan execution not requested
Q: "...-inventory --lo": [info] task NetDiscovery execution not requested
Q: "...-inventory --lo": [info] task NetInventory execution not requested

x@pv2-51b7y:~$

そして

x@pv2-8kmcm:~$ Sudo rudder agent inventory
R: @@Common@@log_info@@hasPolicyServer-root@@common-root@@00@@common@@StartRun@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#Start execution
R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@00@@Security parameters@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#The internal environment security is acceptable
R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@00@@Process checking@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#There is an acceptable number of cf-execd processes (between 0 and 2) and cf-agent processes (between 0 and 5)
R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@00@@CRON Daemon@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#The CRON daemon is running
R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@00@@Binaries update@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#The CFengine binaries in /var/rudder/cfengine-community/bin are up to date
R: @@Inventory@@log_info@@inventory-all@@inventory-all@@00@@inventory@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#An inventory was already sent less than 8 hours ago
2015-07-29T09:46:36+0200   notice: /default/doInventory/methods/'any'/default/fusionAgent/commands/'/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/pv2-8kmcm-8cc35d59-bd4b-4fab-bd37-4ec837743220.ocs --scan-homedirs'[0]: Q: "...-inventory --lo": [info] FusionInventory instance: builtin
Q: "...-inventory --lo": [info] Inventory saved in /var/rudder/tmp/inventory/pv2-8kmcm-8cc35d59-bd4b-4fab-bd37-4ec837743220.ocs
Q: "...-inventory --lo": [info] task WakeOnLan execution not requested
Q: "...-inventory --lo": [info] task NetDiscovery execution not requested
Q: "...-inventory --lo": [info] task NetInventory execution not requested

R: 

@@Inventory@@log_debug@@inventory-all@@inventory-all@@00@@inventory@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#Running inventory
R: @@Inventory@@log_info@@inventory-all@@inventory-all@@00@@inventory@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#Curl installed
R: @@Inventory@@log_debug@@inventory-all@@inventory-all@@00@@inventory@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#Generated the CPUID
R: @@Inventory@@log_debug@@inventory-all@@inventory-all@@00@@inventory@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#The user list generation tool is not present yet. Skipping...
R: @@Inventory@@result_success@@inventory-all@@inventory-all@@00@@inventory@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#The inventory has been successfully sent
R: @@Common@@log_info@@hasPolicyServer-root@@common-root@@00@@common@@EndRun@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#End execution
x@pv2-8kmcm:~$
3
frbayart

最初の出力にはレポートが表示されませんが、2番目の出力は(StartRunEndRunであり、その間に成功レポート)

「変更のみ」レポートモードを使用するようにノードを構成した可能性があります。 Screenshot of the Web Interface explaining the Change Only mode

このモードは、successレポートもlogレポートも送信せず、「」を送信することにより、ネットワーク経由で送信されるレポートの数を最小限に抑えるように設計されています。ハートビート」(実行レポートの開始と終了)

最初のノードは明らかにこのモードにあり(開始レポートも終了レポートもありませんが、インベントリはすでに実行されています)、2番目のノードは新規インストールです(@@@@は0であり、エージェントに同梱されているルールを適用していることを意味します)。したがって、すべてのレポートを出力して送信します。生成します。

ラダー内の2番目のノードを受け入れると、新しいルールが取得され、変更のみレポートモードが適用されます。

4
Nicolas Charles