Ask Your Question
0

How to configure ssh for VM Live Migration?

asked 2017-01-12 02:12:30 -0500

AmirV gravatar image

I can connect to each of compute nodes via ssh with root user, but how can I do automatic login as nova user?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-01-12 02:33:54 -0500

edit flag offensive delete link more

Comments

According to those instructions, when I run this command:

ssh-copy-id -i <pub key> nova@remote-host

But it asks for the nova password, which should not happen.

AmirV gravatar imageAmirV ( 2017-01-12 03:03:54 -0500 )edit

You mean the ssh-copy-id command asks for a password? Of course it does, since there is no key on the remote host. It's this command that copies the key to the remote host.

Bernd Bausch gravatar imageBernd Bausch ( 2017-01-12 05:49:34 -0500 )edit

It's done! I did it using this tutorial:

https://www.sebastien-han.fr/blog/2015/01/06/openstack-configure-vm-migrate-nova-ssh/

Now I can do vm migration and vm resizing.

AmirV gravatar imageAmirV ( 2017-01-12 07:14:28 -0500 )edit

Your Answer

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

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-01-12 02:12:30 -0500

Seen: 325 times

Last updated: Jan 12 '17