<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Make sure permission on the directory is correct , it should be owned by nova user.</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Regards, </div><div id="AppleMailSignature">Ritesh <br><br>Sent from my iPhone</div><div><br>On Oct 10, 2015, at 12:59 AM, Priyanka <<a href="mailto:ppnaik@cse.iitb.ac.in">ppnaik@cse.iitb.ac.in</a>> wrote:<br><br></div><blockquote type="cite"><div>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<p>Hi, </p>
<p>I am facing the following issue while resizing a VM on a multi
node openstack juno setup.</p>
<pre class="prettyprint"><code><span class="pun">{</span><span class="str">"message"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"Unexpected error while running command. |
| | Command: ssh 10.129.2.102 mkdir -p /disk1/nova/instances/ee99f8a4-3c10-403d-a73c-566266e919b7 |
| | Exit code: 1 |
| | Stdout: u'' |
| | Stderr: 'mkdir: cannot create directory \\xe2\\x80\\x98/disk1\\xe2\\x80\\x99: Permission denied\ |
| | '"</span><span class="pun">,</span><span class="pln"> </span><span class="str">"code"</span><span class="pun">:</span><span class="pln"> </span><span class="lit">500</span><span class="pun">,</span><span class="pln"> </span><span class="str">"created"</span><span class="pun">:</span><span class="pln"> </span><span class="str">"2015-10-10T07:43:54Z"</span><span class="pun">}</span></code></pre>
<p>The state_path of the compute nodes are different. That is on the
original compute node the state_path in nova.conf is /disk1/nova
and on the compute node on which it is trying to migrate it is
/home/nova/. I have set the SSH passwordless authentication on
both the compute nodes. </p>
<p>How can I resolve this issue. Please help.<br>
</p>
<p><br>
Thanks,<br>
</p>
<p>Priyanka<br>
</p>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></span><br><span>Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a></span><br><span>Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></span><br></div></blockquote></body></html>