Ask Your Question
1

"Host key verification failed" error while resizing instance [closed]

asked 2014-08-25 11:31:50 -0500

rahulrajvn gravatar image

updated 2014-08-26 09:24:46 -0500

smaffulli gravatar image

I am facing getting following error while trying to resize an instance . I have 4 compute nodes, and one controller and network each. I am able to use live-migration between the compute nodes with out any issue.

I have enable following entries in the nova

allow_resize_to_same_host=true

I am getting following error in /var/log/nova/compute.log at compute node while resizing .

"/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 4907, in migrate_disk_and_power_off\n    utils.execute(\'ssh\', dest, \'mkdir\', \'-p\', inst_base)\n', '  File "/usr/lib/python2.6/site-packages/nova/utils.py", line 165, in execute\n    return processutils.execute(*cmd, **kwargs)\n', '  File "/usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py", line 193, in execute\n    cmd=\' \'.join(cmd))\n', "ProcessExecutionError: Unexpected error while running command.\nCommand: ssh 10.1.15.44 mkdir -p /var/lib/nova/instances/5d5ced81-6fb1-4028-97cd-686e450d1bab\nExit code: 255\nStdout: ''\nStderr: 'Host key verification failed.\\r\\n'\n"]
    [root@compute1 ~]#

Detailed log from compute node is in

http://paste.openstack.org/show/100003/

In dashdash board I am getting following error

Error: Failed to launch instance "Test Instance 00": Please try again later [Error: Unexpected error while running command. Command: ssh 10.1.15.44 mkdir -p /var/lib/nova/instances/5d5ced81-6fb1-4028-97cd-686e450d1bab Exit code: 255 Stdout: '' Stderr: 'Host key verification failed.\r\n'].

Any idea what could be causing this. when i search i am asked to set password less authentication between nodes but I don't think that is the issue here.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by rahulrajvn
close date 2014-08-26 12:05:52.023065

Comments

Have you tried setting passwordless authentication between nodes?

smaffulli gravatar imagesmaffulli ( 2014-08-26 09:25:21 -0500 )edit

I have tried setting passwordless authentication but no luck

rahulrajvn gravatar imagerahulrajvn ( 2014-08-26 09:59:28 -0500 )edit

It worked after I redid the passwordless authentication and rebooted the server's. Thank you Guys

rahulrajvn gravatar imagerahulrajvn ( 2014-08-26 12:05:16 -0500 )edit

Which user did you configure for passwordless authentication?

bobyakov gravatar imagebobyakov ( 2015-04-20 13:49:17 -0500 )edit

2 answers

Sort by » oldest newest most voted
1

answered 2015-04-21 08:48:19 -0500

rahulrajvn gravatar image

Hi , This are the steps which worked for me http://www.adminz.in/2015/04/enabling-instance-resizing-in-openstack.html

edit flag offensive delete link more

Comments

Hi Rahul,

We are facing the same issue. I have a bit of doubts "how to enable passwordless authentication between nova users", where to copy "ssh-copy-id <to all="" server’s="">" and where do I need to add the configuratio and what should be the same or extention of the file. If you can kindly help us.

Aman gravatar imageAman ( 2015-05-12 03:43:04 -0500 )edit
0

answered 2014-08-26 03:55:03 -0500

Anand TS gravatar image

Something related to issue mentioned here?

edit flag offensive delete link more

Comments

Thank you man..

rahulrajvn gravatar imagerahulrajvn ( 2014-08-26 12:05:38 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-08-25 11:31:50 -0500

Seen: 5,780 times

Last updated: Aug 26 '14