Ask Your Question
4

"Host key verification failed" while migrating instance to Icehouse

asked 2014-05-23 00:39:39 -0500

Deeptanshu gravatar image

updated 2014-05-23 17:03:26 -0500

smaffulli gravatar image

I am getting the below error in "Migrate Instance " option in icehouse in multi node environment. Please check and suggest.

 Error: Failed to launch instance "Tstisnh": Please try again later [Error: Unexpected error while running command. Command: ssh 192.168.10.7 mkdir -p /var/lib/nova/instances/1dc76c7e-a792-4458-93d7-831800861426 Exit code: 255 Stdout: '' Stderr: 'Host key verification failed.\r\n'].
edit retag flag offensive close merge delete

Comments

did your error solved?? I had the same one...

Queen ( 2015-02-20 02:32:36 -0500 )edit

Have to found a solution to the above error. I am getting the same error. Please reply if you found the answer.

HK ( 2015-03-22 07:11:41 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-05-27 00:00:08 -0500

updated 2014-05-27 00:00:23 -0500

This is an error from the underlying ssh command as its trying to do the move. You need to allow the hosts to ssh into each other properly. Look up 'passwordless ssh between hosts' or similar.

edit flag offensive delete link more

Comments

1

Hi,

I have already tried with the suggested option . I have check by manually doing SSH into the different machines they are working fine.

Deeptanshu ( 2014-05-27 02:00:43 -0500 )edit

did you try the Nova account rather than the root account?

shzeng ( 2014-09-10 18:59:59 -0500 )edit

How/where do you change from using the root account to migrate an instance to using the nova account?

Stephanie Fuller ( 2014-12-04 16:18:07 -0500 )edit

However, having nova do the ssh for the migration has problems because nova's shell is /sbin/nologin, any ssh command will fail because it can't log in. So, doing it as root is preferred, possibly??? Again, where do I have that kind of control to change which login is used for the migration.

Stephanie Fuller ( 2014-12-05 09:48:22 -0500 )edit

I changed nova to allow logins. I can ssh mkdir with a pw. authorized keys has entry for 'nova-migration-public-key'. from whence is that? should I add nova public key? anybody out there?

Stephanie Fuller ( 2014-12-09 10:33:10 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Question Tools

Follow
1 follower

Stats

Asked: 2014-05-23 00:39:39 -0500

Seen: 1,083 times

Last updated: May 27 '14