VM Resize fails with ssh key error in Openstack Environment

Solution Verified - Updated -

Issue

Resizing a Nova instance using cli fails with following error:

nova resize <instance_id> <flavor_id>

 2020-05-14 21:45:10.749 9185 ERROR oslo_messaging.rpc.dispatcher ResizeError: Resize error: not able to execute ssh command: Unexpected error while running command.
2020-05-14 21:45:10.749 9185 ERROR oslo_messaging.rpc.dispatcher Command: ssh a.b.c.d mkdir -p /var/lib/nova/instances/40e6018a-9ff2-4470-943f-c8ecad925fcd
2020-05-14 21:45:10.749 9185 ERROR oslo_messaging.rpc.dispatcher Exit code: 255
2020-05-14 21:45:10.749 9185 ERROR oslo_messaging.rpc.dispatcher Stdout: u''
2020-05-14 21:45:10.749 9185 ERROR oslo_messaging.rpc.dispatcher Stderr: u'Host key verification failed.\r\n' 

Environment

  • Red Hat Openstack Platform 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content