본질적으로 베어 본 소금 스택 "클러스터"가 실행 중입니다. 사실 그것은 실제로 동일한 호스트 컴퓨터에있는 마스터이자 미니언입니다.Saltstack test.ping 30 초 이상
이것은 실제로 2 부분으로 구성된 질문입니다.
1) 소금 마스터가 부팅하는 데 정말로 오랜 시간이 걸립니다. 2 분 이상.
[DEBUG ] Reading configuration from /etc/salt/minion.d/master.conf
[DEBUG ] Reading configuration from /etc/salt/minion.d/master.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: host.my.domain
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: host.my.domain
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/master.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/master.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: host.my.domain
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/minion.d/master.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/master.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: host.my.domain
[DEBUG ] Including configuration from '/etc/salt/minion.d/master.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/master.conf
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: host.my.domain
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] LazyLoaded local_cache.clean_old_jobs
[DEBUG ] This salt-master instance has accepted 1 minion keys.
[DEBUG ] The `dmidecode` binary is not available on the system. GPU grains will not be available.
[DEBUG ] The `dmidecode` binary is not available on the system. GPU grains will not be available.
[DEBUG ] The `dmidecode` binary is not available on the system. GPU grains will not be available.
[DEBUG ] The `dmidecode` binary is not available on the system. GPU grains will not be available.
[DEBUG ] The `dmidecode` binary is not available on the system. GPU grains will not be available.
[DEBUG ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc
[DEBUG ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc
그리고 마침내 완료하고 나는 그것을에 미니언을 정식 수있게되면 2), 단순한 test.ping 30을 취하고있다 : 디버그 로그는 루프로드에가는 여러 스레드/다시로드 CONFIGS을 가지고 같이 + 초 :
미니언 디버그 로그에서time salt '*' test.ping
real 0m34.556s
user 0m12.230s
sys 0m0.500s
: 이것은 본질적으로하지 상태 또는 아무것도 설정과 함께 상자 설정의 밖으로
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[DEBUG ] Decrypting the current master AES key
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[DEBUG ] Decrypting the current master AES key
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[DEBUG ] Decrypting the current master AES key
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
. 누구든지 이러한 성능 문제를 해결할 수 있습니까?
공식 아치 repo (https://www.archlinux.org/packages/community/any/salt-zmq/), 버전 7.2014를 통해 설치된 나무 딸기 파이에서 아치 리눅스를 실행 중입니다. 디버그 모드에서 수동으로 실행하는 로그입니다. 특정 일시 중지가 없습니다. 몇 분 동안 여러 루프가 나타나는 것처럼 보입니다 (다른 것들 중에서도 구성 파일을 로딩하는 것과 관련된 모든 것). 결국 완료 될 때까지 실행됩니다.
초기 질문 하단에 추가 된 대답 –