Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Migrations Failing After Host Reprovisioned
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
Migrations of instances are failing to a specific host after the host was re-provisioned.
Log /var/log/pf9/ostackhost.log
x
2022-02-14 07:40:05.963 ERROR oslo_messaging.rpc.server [req-8a10be95-3555-4c99-807e-e8ddbef6d01f Geraldo Macedo transition1] Exception during message handling: nova.exception.ResizeError: Resize error: not able to execute ssh command: Unexpected error while running command. Command: ssh -o BatchMode=yes <Destination Host IP> mkdir -p /pf9/instances/<Instance_uuid> Exit code: 255 Stdout: '' Stderr: 'No ECDSA host key is known for <Destination Host IP> and you have requested strict checking.\r\nHost key verification failed.\r\n'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
- 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
xxxxxxxxxx$ grep -v "^#" .ssh/configHost * User pf9 StrictHostKeyChecking yes <<< change this value to "no" IdentityFile /opt/pf9/home/.ssh/id_rsa PasswordAuthentication nossh config
xxxxxxxxxx# systemctl restart sshdAdditional Information
https://specs.openstack.org/openstack/nova-specs/specs/queens/implemented/migration-allocations.html
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message