Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-1525

DO457-29: GUIDED EXERCISE 1.4: Configuring Ansible step 5.1 "msg": "paramiko: The authenticity of host 'spine02' can't be established"

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • DO457 - RHAE2.5 1 20180720
    • DO457
    • None
    • 1
    • VT
    • en-US (English)

      URL:
      Reporter RHNID: marc_kesler
      Section: 5.1 - GUIDED EXERCISE 1.4 Configuring Ansible
      Language: en-US (English)
      Workaround: The issue is that the keys for hosts in the network group are missing from the /home/student/.ssh/known_hosts file. It's entirely possible I missed a step that addresses this. However, if I found it, a student might too. Your choices are to update the known_hosts file (ssh into each host) or add the following to ~/group_vars/network:
      ansible_ssh_common_args: '-o StrictHostKeyChecking=no'

      Description: On step 5.1, when running:

      ansible -m debug -a "var=ansible_user" vyos

      I get the following for all hosts in the vyos group:

      spine02 | FAILED! => {

      "msg": "paramiko: The authenticity of host 'spine02' can't be established".\nThe ssh-rsa key fingerprint is ..."}  

            rht-sbonnevi Steven Bonneville
            marc_kesler Marc Kesler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: