Migrations Failing After Host Reprovisioned

Problem

Migrations of instances are failing to a specific host after the host was re-provisioned.

Log /var/log/pf9/ostackhost.log
Copy

Environment

  • Platform9 Managed OpenStack - All Versions
  • Nova

Cause

During a migration attempt, the pf9-ostackhost service is responsible to perform an ssh on the destination node and create a directory for the instance to store the disk. The Error message is observed when the source host has strict checking enabled in the sshd service configuration file and the key for the remote host is not correct.

Resolution

  1. As a workaround, if the destination host is verified and correct then disable the strict key check policy in sshd service and restart the service on the source host.
ssh config
Copy
ssh config
Copy

Additional Information

https://specs.openstack.org/openstack/nova-specs/specs/queens/implemented/migration-allocations.html

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard