Ansible 2.8-Docker is blocking ssh connection with the error msg -> " docker system dial-stdio] has exited with exit status 255, please make sure the URL is valid, and Docker 18.09 or later is installed on the remote host: stderr=Host key verification failed" #1581
While trying to run few scripts in the ansible 2.8 version, I see the following error in the script ( Script name - dip_sip.) Some other scripts also fail with the same error.
TASK [test : Gather information from LLDP] *****
task path: /var/johnar/sonic-mgmt/ansible/roles/test/tasks/dip_sip.yml:27
Friday 17 April 2020 06:07:08 +0000 (0:00:00.561) 0:00:59.217 **
fatal: [sonic-s6100-10]: FAILED! => {
"msg": "Docker version check (['/usr/bin/docker', u'-H=ssh://admin@10.11.46.87', 'version', '--format', \"'{{.Server.Version}}'\"]) failed: error during connect: Get http://docker/v1.40/version: command [ssh -l admin 10.11.46.87 -- docker system dial-stdio] has exited with exit status 255, please make sure the URL is valid, and Docker 18.09 or later is installed on the remote host: stderr=Host key verification failed.\r\n\n"
}
While trying to run few scripts in the ansible 2.8 version, I see the following error in the script ( Script name - dip_sip.) Some other scripts also fail with the same error.
TASK [test : Gather information from LLDP] ***** task path: /var/johnar/sonic-mgmt/ansible/roles/test/tasks/dip_sip.yml:27 Friday 17 April 2020 06:07:08 +0000 (0:00:00.561) 0:00:59.217 ** fatal: [sonic-s6100-10]: FAILED! => { "msg": "Docker version check (['/usr/bin/docker', u'-H=ssh://admin@10.11.46.87', 'version', '--format', \"'{{.Server.Version}}'\"]) failed: error during connect: Get http://docker/v1.40/version: command [ssh -l admin 10.11.46.87 -- docker system dial-stdio] has exited with exit status 255, please make sure the URL is valid, and Docker 18.09 or later is installed on the remote host: stderr=Host key verification failed.\r\n\n" }
Any feedback is highly appreciated
Attaching the script logs.
Thanks Mini