To make this work just login as nova, create an ssh key copy that key over the 
compute and you should be fine. I would do ssh-copy-id from the nova to the 
other machines. 

Repeat this as needed. (compute 1 to compute 2 etc)

Remo 
> On Oct 12, 2015, at 07:00, Nasir Mahmood <[email protected]> wrote:
> 
> Varun,
> 
> Yes,  it's key based authentication for nova user or in other words 
> passwordless authentication based on ssh keys.. apologise for confusing lines
> 
> On 12 Oct 2015 18:20, "varun bhatnagar" <[email protected] 
> <mailto:[email protected]>> wrote:
> Hello Nasir,
> 
> Thanks for your reply.
> When you say "enable ssh Keys authentication for nova user between compute 
> nodes" do you mean setting some parameter in nova.conf or do you mean setting 
> public keys so that a user can ssh without using password?
> 
> BR,
> Varun
> 
> On Mon, Oct 12, 2015 at 2:37 PM, Nasir Mahmood <[email protected] 
> <mailto:[email protected]>> wrote:
> did you enable ssh Keys authentication for nova user between compute nodes?
> 
> 
> On Mon, Oct 12, 2015 at 5:25 PM, varun bhatnagar <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi,
> 
> I have OpenStack Juno with multinode setup.
> The instance storage is mounted over NFS and is shared between all the 
> computes.
> I am trying to migrate an instance but while doing so the instance runs into 
> ERROR state by throwing the below error message:
> 
> Failed to launch instance "test_instance": Please try again later [Error: 
> Unexpected error while running command. Command: ssh 192.168.151.104 mkdir -p 
> /var/lib/nova/instances/328dc46e-8a1e-44ae-8450-6619b66203cd Exit code: 255 
> Stdout: u'' Stderr: u'Host key verification failed.\r\n']. 
> 
> When I try to execute this command (mkdir -p 
> /var/lib/nova/instances/328dc46e-8a1e-44ae-8450-6619b66203cd) it gets 
> executed properly.
> 
> Can anyone please help in fixing this?
> 
> BR,
> Varun
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack 
> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
> Post to     : [email protected] 
> <mailto:[email protected]>
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack 
> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
> 
> 
> 
> 
> -- 
> Nasir Mahmood
> 
> !DSPAM:1,561bbfba118169940716644! 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack 
> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
> Post to     : [email protected] 
> <mailto:[email protected]>
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack 
> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
> 
> 
> !DSPAM:1,561bbfba118169940716644!

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to