<div dir="ltr"><div><div><div><div><div><div><div><div>Initially, the error was:<br><br></div>host key verification failed<br><br></div>So I created the host keys for nova user with the command: ssh-keygen -f nova and then renamed them to id_rsa and id_rsa.pub and then put them to ~nova/.ssh/<br>
<br></div>Also, I copied the files /root/.ssh/known_hosts and /root/.ssh/authorized_keys to ~nova/.ssh/ on both machines<br><br></div>Then I changed the file permissions to nova:nova<br><br></div>Then came the error:This account is currently not available.\n<br>
<br></div>So i edited the file /etc/passwd on both the machines and then changed the line<br><br>nova:x:162:162:OpenStack Nova Daemons:/var/lib/nova:/sbin/nologin<br><br></div>to <br><br>nova:x:162:162:OpenStack Nova Daemons:/var/lib/nova:/bin/bash<br>
<br></div>Now migration works.. But his is a tedious task.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 29, 2013 at 5:45 PM, Mac Innes, Kiall <span dir="ltr"><<a href="mailto:kiall@hp.com" target="_blank">kiall@hp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 29/05/13 13:11, Nehal J. Wani wrote:<br>
> 2013-05-29 17:39:04.795 5106 TRACE nova.openstack.common.rpc.amqp<br>
> ProcessExecutionError: Unexpected error while running command.<br>
> 2013-05-29 17:39:04.795 5106 TRACE nova.openstack.common.rpc.amqp<br>
> Command: ssh 10.3.3.58 mkdir -p<br>
> /var/lib/nova/instances/bc967b97-e103-4a13-abe4-ada8f98bdeb0<br>
> 2013-05-29 17:39:04.795 5106 TRACE nova.openstack.common.rpc.amqp Exit<br>
> code: 1<br>
> 2013-05-29 17:39:04.795 5106 TRACE nova.openstack.common.rpc.amqp<br>
> Stdout: 'This account is currently not available.\n'<br>
> 2013-05-29 17:39:04.795 5106 TRACE nova.openstack.common.rpc.amqp<br>
> Stderr: ''<br>
> 2013-05-29 17:39:04.795 5106 TRACE nova.openstack.common.rpc.amqp<br>
</div>As the nova user, manually attempt that SSH command.. Then figure out<br>
why it can't SSH to the other node. It should work (or at least get<br>
further) once you do.<br>
<br>
Thanks,<br>
Kiall<br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Nehal J. Wani<br>
UG2, BTech CS+MS(CL)<br>
IIIT-Hyderabad<div><a href="http://commanlinewani.blogspot.com" target="_blank">http://commanlinewani.blogspot.com</a></div></div>
</div>