Ask Your Question

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

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

edit flag offensive delete link more


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:

Now I can do vm migration and vm resizing.

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 534 times

Last updated: Jan 12 '17