ダウンと表示されるSaltクライアントとDNS設定のトラブルシューティング
Saltクライアントが実行されている場合でも、パッケージの更新や状態の適用などのアクションは、次のメッセージで失敗としてマークされる可能性があります。
Minionがダウンしているか、接続できませんでした。
この場合、アクションのスケジュールを変更してみてください。スケジュールの変更が成功した場合、問題の原因はDNS設定の誤りである可能性があります。
|
To access a shell inside the Server container run |
When the Salt client is restarted, or in case the grains are refreshed, the client calculates its FQDN grains, and it is unresponsive until the grains are proceeded. When a scheduled action on SUSE Multi-Linux Manager Server is going to be executed, SUSE Multi-Linux Manager Server performs a test.ping to the client before the actual action to ensure the client is actually running and the action can be triggered.
By default, SUSE Multi-Linux Manager Server waits for 5 seconds to get the response from test.ping command. If the response is not received within 5 seconds, then the action is set to fail with the message that the client is down or could not be contacted.
これを修正するには、クライアントのDNS解決を修正して、クライアントがFQDNの解決中に5秒間スタックしないようにします。
If this is not possible, try to increase the value for java.salt_presence_ping_timeout in the /etc/rhn/rhn.conf file on the SUSE Multi-Linux Manager Server to a value higher than 4.
例:
mgrctl term vim /etc/rhn/rhn.conf java.salt_presence_ping_timeout = 6
その後、次のコマンドを実行します。
mgradm restart
|
この値を大きくすると、minionに到達できないのかminionが応答しないのかをSUSE Multi-Linux Managerサーバが確認するのに時間がかかり、SUSE Multi-Linux Managerサーバの全体的な速度が低下したり応答しなくなったりします。 |