[Openstack] Unable to migrate instance

varun bhatnagar varun292006 at gmail.com
Mon Oct 12 14:42:37 UTC 2015


Thanks Nasir. :)
But, I have already done that.
Just for more clarity could you please mention the steps? Want to check if
I have done this correctly or not.


I can see on .ssh folder in /var/lib/nova as well.

BR,
Varun

On Mon, Oct 12, 2015 at 4:00 PM, Nasir Mahmood <nasir.mahmood at gmail.com>
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" <varun292006 at gmail.com> 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 <nasir.mahmood at gmail.com>
>> wrote:
>>
>>> did you enable ssh Keys authentication for nova user between compute
>>> nodes?
>>>
>>>
>>> On Mon, Oct 12, 2015 at 5:25 PM, varun bhatnagar <varun292006 at gmail.com>
>>> 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
>>>> Post to     : openstack at lists.openstack.org
>>>> Unsubscribe :
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>
>>>>
>>>
>>>
>>> --
>>> Nasir Mahmood
>>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20151012/8c283ccf/attachment.html>


More information about the Openstack mailing list