문제 해결 다운 및 DNS 설정으로 표시된 Salt 클라이언트

Salt 클라이언트가 실행 중인 경우에도 패키지 새로 고침 또는 적용 상태 등의 작업이 실패로 표시되며 다음 메시지가 표시됩니다.

Minion이 작동 중지되거나 연결할 수 없습니다.

이 경우 작업 일정을 변경해 보십시오. 일정을 변경할 수 있는 경우 잘못된 DNS 구성이 문제의 원인일 수 있습니다.

To access a shell inside the Server container run mgrctl term on the container host.

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

이 값을 증가시키면 SUSE Multi-Linux Manager 서버가 미니언에 연결할 수 없거나 응답하지 않는지 여부를 확인하는 데 시간이 더 오래 걸릴 수 있으므로, SUSE Multi-Linux Manager 서버가 전반적으로 느려지거나 응답하지 않습니다.