나이프 랙 스페이스 서버를 통해 윈도우 머신을 만들려고했지만, 원격 노드로부터 응답을받을 때까지 기다릴 시간이 충분하지 못해 타임 아웃 문제가 발생했습니다.나이프 부트 스트랩 창문 winrm timeout issue
시간 초과를 늘리는 방법입니까?
고마워요.
다음은 시간 차이가있는 결과입니다. 1. 나이프 랙 공간 서버를 만듭니다. 2. 칼 부트 스트랩
Waiting server
Public DNS Name: 119.9.13.107.xip.io
Public IP Address: 119.9.13.107
Private IP Address: 10.176.4.151
Password: E5yQwJTuo94e
Metadata: []
Waiting for winrm
Waiting for remote response before bootstrap.ERROR: No response received from remote node after 1.01 minutes, giving up.
ERROR: RuntimeError: Command execution failed.
그런데 winrm은 Windows 템플릿 이미지에 설치됩니다.
± % knife bootstrap -VVV windows winrm "119.9.13.107" -r "recipe[windows_nps],recipe[windows_dhcp],recipe[passthrough_monitor]" -x "autotest\\qa" -P "GibesG9eSEG"
WARNING: Could not load IOV methods. Check your GSSAPI C library for an update
WARNING: Could not load AEAD methods. Check your GSSAPI C library for an update
Waiting for remote response before bootstrap.DEBUG: Adding 119.9.13.107
DEBUG: :session => :init
DEBUG: :relay_to_servers => echo . & echo Response received.
DEBUG: :relayed => 119.9.13.107
DEBUG: 119.9.13.107 => :run_command
DEBUG: 119.9.13.107[C2E316A7-E69E-4099-A3B3-3F35B384CBD1] => :shell_open
DEBUG: 119.9.13.107[C2E316A7-E69E-4099-A3B3-3F35B384CBD1] => :run_command[echo . & echo Response received.]
DEBUG: :relay_output_from_backend => ["119.9.13.107", ". \r\n"]
119.9.13.107 .
DEBUG: :relay_output_from_backend => ["119.9.13.107", "Response received.\r\n"]
119.9.13.107 Response received.
DEBUG: 119.9.13.107[C2E316A7-E69E-4099-A3B3-3F35B384CBD1] => :command_cleanup[echo . & echo Response received.]
DEBUG: 119.9.13.107[C2E316A7-E69E-4099-A3B3-3F35B384CBD1] => :shell_close
DEBUG: :command_complete => 119.9.13.107 with return code 0
DEBUG: command complete on 119.9.13.107
DEBUG: command complete on All Servers
DEBUG: :unbind => :connection
DEBUG: 119.9.13.107 => :unbind
DEBUG: :unbind_backend => 119.9.13.107
DEBUG: :session => :close
Remote node responded after 1.08 minutes.
Bootstrapping Chef on 119.9.13.107
winrm set winrm/config @ {MaxTimeoutms = "1800000"} –
나는 그것을했다. 조금 더 오래 할 필요가 있다고 생각합니까? 2500000이라고할까요? – gugo
"1.01 분 후에 원격 노드에서 수신 된 응답이 없습니다." 및 "원격 노드가 1.08 분 후에 응답했습니다." 나는 winrm과 아무 상관이 없다고 생각한다. – gugo