Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-10305

live migration fails with host key verification error due to ssh_known_hosts file is not generated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • edpm-ansible
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • Important

      nova:

      Sep 23 00:15:09 np0004905568 nova_compute[133364]: 2024-09-23 04:15:09.064 2 ERROR oslo_messaging.rpc.server Command: scp -C -r compute-0.ctlplane.example.com:/var/lib/nova/instances/2741e750-dac9-488e-aaf9-f4fe64
      732faa/disk.config /var/lib/nova/instances/2741e750-dac9-488e-aaf9-f4fe64732faa
      Sep 23 00:15:09 np0004905568 nova_compute[133364]: 2024-09-23 04:15:09.064 2 ERROR oslo_messaging.rpc.server Exit code: 255
      Sep 23 00:15:09 np0004905568 nova_compute[133364]: 2024-09-23 04:15:09.064 2 ERROR oslo_messaging.rpc.server Stdout: ''
      Sep 23 00:15:09 np0004905568 nova_compute[133364]: 2024-09-23 04:15:09.064 2 ERROR oslo_messaging.rpc.server Stderr: 'Host key verification failed.\r\nConnection closed\r\n'
      Sep 23 00:15:09 np0004905568 nova_compute[133364]: 2024-09-23 04:15:09.064 2 ERROR oslo_messaging.rpc.server #033[00m
      

      edpm-ansible ssh known host role:

      [0;32mok: [compute-0] => {"ansible_facts": {"ssh_known_hosts_lines": ""}, "changed": false}[0m
      

      The role depends on ansible facts https://github.com/openstack-k8s-operators/edpm-ansible/blob/main/roles/edpm_ssh_known_hosts/tasks/main.yml#L61

      but the facts gathering was disabled recently by https://github.com/openstack-k8s-operators/edpm-ansible/pull/755

            rhn-support-ramishra Rabi Mishra
            rh-ee-bgibizer Balazs Gibizer
            rhos-dfg-df
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: