<div dir="ltr">And then I execute chmod 755 config but I got the first error again :(<div><br></div><div><div>2013-08-15 12:25:11.309 ERROR nova.compute.manager [req-38d58bbf-370b-4b1d-9d41-b057641e8147 c402785616534f2096b34ce132b7d3f2 d532a4fc2e9e4b5f83b6dec7085237e5] [instance: b8592ab7-39fe-49db-9bbe-196fa8fc60a1] Unexpected error while running command.</div>
<div>Stderr: "Warning: Permanently added '10.3.77.52' (ECDSA) to the list of known hosts.\r\nPermission denied, please try again.\r\nPermission denied, please try again.\r\nPermission denied (publickey,password).\r\n". Setting instance vm_state to ERROR</div>
<div>2013-08-15 12:25:11.935 ERROR nova.openstack.common.rpc.amqp [req-38d58bbf-370b-4b1d-9d41-b057641e8147 c402785616534f2096b34ce132b7d3f2 d532a4fc2e9e4b5f83b6dec7085237e5] Exception during message handling</div></div>
<div>
<br></div><div>I don't know what is going on.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/15 Guilherme Russi <span dir="ltr"><<a href="mailto:luisguilherme.cr@gmail.com" target="_blank">luisguilherme.cr@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Right, I've done all again, and now things starting change but, I'm getting this now:<br></div>
<div><br></div><div><div>2013-08-15 11:18:05.705 ERROR nova.compute.manager [req-dbbe3889-acd0-4c99-b22d-68c7005901a3 c402785616534f2096b34ce132b7d3f2 d532a4fc2e9e4b5f83b6dec7085237e5] [instance: 53f0a8ff-cd3b-4ddc-be9c-76655e8b8354] Unexpected error while running command.</div>
<div>Stderr: 'Bad owner or permissions on /var/lib/nova/.ssh/config\r\n'. Setting instance vm_state to ERROR</div><div>2013-08-15 11:18:06.198 ERROR nova.openstack.common.rpc.amqp [req-dbbe3889-acd0-4c99-b22d-68c7005901a3 c402785616534f2096b34ce132b7d3f2 d532a4fc2e9e4b5f83b6dec7085237e5] Exception during message handling</div>
</div><div><br></div><div><br></div><div>My config file content:</div><div><br></div><div>StrictHostKeyChecking no<br></div><div><br></div><div>and its properties:</div><div><br></div><div>-rw-rw---- 1 nova nova 25 Ago 15 10:39 config<br>
</div><div><br></div><div>What Am I missing?</div><div><br></div><div>Regards.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Guilherme.</div></font></span><div><div class="h5"><div><br></div><div><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/15 Guilherme Russi <span dir="ltr"><<a href="mailto:luisguilherme.cr@gmail.com" target="_blank">luisguilherme.cr@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, let me write down what I've done:<div><br></div><div>#1 - Logged with nova's user at my first CN and generate a key with ssh-keygen -t dsa at the /var/lib/nova/.ssh location;</div>
<div>#2 - Copied the id_dsa.pub from my first CN to my second CN at the /var/lib/nova/.ssh location;</div>
<div>#3 - I'm sure I don't have te directive "AllowUsers" in my /etc/ssh/sshd_config</div><div>#4 - At my two CN I have inside my /etc/passwd, nova:x:123:131::/var/lib/nova:/bin/sh</div><div><br></div><div>
Another questions, do<i> </i>I need to copy the .pub key to my controller node too? And, do I need to create one key to each compute node and copy the .pub to another one, or just create one key and copy the .pub?</div><div>
<br></div><div>I'm making some mass with the key's thing :(</div><div><br></div><div>Thank you all.</div><span><font color="#888888"><div><br></div><div>Guilherme.</div></font></span></div><div>
<div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/15 Razique Mahroua <span dir="ltr"><<a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I was so convinced we resolved your issue Guilherme<div>but maybe it was someone else :)</div>
<div>the error simply means the user "nova" from the first CN cannot connect as the user "nova" to the second CN it needs to send the image to</div><div>Here are few checks : </div><div>#1 - Exchange all nova's public keys between all compute nodes</div>
<div>#2 - Make sure the connection with/ from that user is allowed (that you don't have directive such as "AllowUsers" in /etc/ssh/sshd_config)</div><div>#3 - Make sure in /etc/passwd, the nova user has a shell</div>
<div><br></div><div><br></div><div><div>
<span style="border-collapse:separate;font-family:'Lucida Grande';border-spacing:0px"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Razique Mahroua</b></span><span style="font-weight:normal;font-family:Helvetica;color:rgb(19,112,138)"><b> - </b></span><span style="font-family:Helvetica"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Nuage & Co</b></span><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal">
<font color="#13708a"><a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a></font></div><div style="font-style:normal;font-size:medium;font-family:Helvetica"><font color="#13708a">Tel : <a href="tel:%2B33%209%2072%2037%2094%2015" value="+33972379415" target="_blank">+33 9 72 37 94 15</a></font></div>
</span></span></span></span></span><br style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Arial;word-spacing:0px">
<span><img height="125" width="125" src="cid:0A2450C8-6A0D-42D0-8035-743CAD564432@fabrique.lan"></span>
</div>
<br><div><div>Le 15 août 2013 à 09:39, james <<a href="mailto:jshaw90@gmail.com" target="_blank">jshaw90@gmail.com</a>> a écrit :</div><div><div><br><blockquote type="cite"><div dir="ltr">Pigging backing on the answer before me but yes, i had the same problem. Following the setup of ssh keys for the user 'Nova' between nodes will resolve the problem for you.</div>
<div class="gmail_extra">
<br clear="all"><div><br>Kind Regards,<br><br>James Shaw<br></div>
<br><br><div class="gmail_quote">On 15 August 2013 02:10, Md. Maruful Hassan <span dir="ltr"><<a href="mailto:mrf.mnm@gmail.com" target="_blank">mrf.mnm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I have not done the live-migration setup before but looking at the log it seems like you don't have ssh setup right between your compute nodes.<div><div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px">
<font color="#3d85c6">013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp Command:</font><b><font color="#ff0000"> ssh 10.3.77.52 mkdir -p /var/lib/nova/instances/e04986a1-8f56-4dd9-9995-419e05430da3</font></b></div>
<div style="font-family:arial,sans-serif;font-size:13px"><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp Exit code: 255</font></div><div style="font-family:arial,sans-serif;font-size:13px">
<font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp Stdout: ''</font></div><div style="font-family:arial,sans-serif;font-size:13px"><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp S</font><b><font color="#3d85c6">tderr: </font><font color="#ff0000">'Permission denied, please try again.\r\nPermission denied, please try again.\r\nPermission denied (publickey,password).\r\n'</font></b></div>
</div><div style="font-family:arial,sans-serif;font-size:13px"><font color="#3d85c6"><b><br></b></font></div></div><div>Setup ssh-key based passwordless access for user 'nova' (or whatever user nova process is running as ) between nodes. Then try again. </div>
<div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div>--<br>m@ruf</div>
<br><br><div class="gmail_quote"><div><div>On Thu, Aug 15, 2013 at 4:52 AM, Guilherme Russi <span dir="ltr"><<a href="mailto:luisguilherme.cr@gmail.com" target="_blank">luisguilherme.cr@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr">Hello guys,<div><br></div><div> I've been facing an error with live migration since last week and I wonder why I can't migrate my instances. I'm using the Grizzly release and I got this error in my both compute nodes:</div>
<div><br></div><div><br></div><div><div><span><font color="#3d85c6">2013-08-14 15:49:47.788 ERROR nova.compute.manager [req-1fad8da2-2682-48a4-a390-64cb00036568 c402785616534f2096b34ce132b7d3f2 d532a4fc2e9e4b5f83b6dec7085237e5] [instance: e04986a1-8f56-4dd9-9995-419e05430da3] Unexpected error while running command.</font></span></div>
<div><span><font color="#3d85c6">Stderr: 'Permission denied, please try again.\r\nPermission denied, please try again.\r\nPermission denied (publickey,password).\r\n'. Setting instance vm_state to ERROR</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 ERROR nova.openstack.common.rpc.amqp [req-1fad8da2-2682-48a4-a390-64cb00036568 c402785616534f2096b34ce132b7d3f2 d532a4fc2e9e4b5f83b6dec7085237e5] Exception during message handling</font></span></div>
</div><div><span><font color="#3d85c6"><br></font></span></div><div><span><font color="#3d85c6"><br></font></span></div><div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 430, in _process_data</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, **args)</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, in wrapped</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp temp_level, payload)</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp self.gen.next()</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 94, in wrapped</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp return f(self, context, *args, **kw)</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 209, in decorated_function</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp pass</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp self.gen.next()</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 195, in decorated_function</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp return function(self, context, *args, **kwargs)</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 260, in decorated_function</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp function(self, context, *args, **kwargs)</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 237, in decorated_function</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp e, sys.exc_info())</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp self.gen.next()</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 224, in decorated_function</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp return function(self, context, *args, **kwargs)</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2354, in resize_instance</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp block_device_info)</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3467, in migrate_disk_and_power_off</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp inst_base_resize)</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp self.gen.next()</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3444, in migrate_disk_and_power_off</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp utils.execute('ssh', dest, 'mkdir', '-p', inst_base)</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 239, in execute</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp cmd=' '.join(cmd))</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp ProcessExecutionError: Unexpected error while running command.</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp Command: ssh 10.3.77.52 mkdir -p /var/lib/nova/instances/e04986a1-8f56-4dd9-9995-419e05430da3</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp Exit code: 255</font></span></div><div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp Stdout: ''</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp Stderr: 'Permission denied, please try again.\r\nPermission denied, please try again.\r\nPermission denied (publickey,password).\r\n'</font></span></div>
<div><span><font color="#3d85c6">2013-08-14 15:49:48.294 1700 TRACE nova.openstack.common.rpc.amqp</font></span></div></div><div><span style="background-color:rgb(111,168,220)"><br>
</span></div><div>Can anybody help me?</div><div><br></div><div>Regards.</div><span><font color="#888888"><div><br></div><div>Guilherme.</div><div><br></div></font></span></div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote></div></div></div><br></div></div><br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>