<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Yes, the nova directory in both the compute nodes is owned by nova
user. Am I facing the issue because of the different state_paths?
Because it is trying to make a /disk1/nova directory on the second
compute node but there the state_path is /home/nova on which is
owned by the nova user.<br>
<br>
Thanks,<br>
<br>
Priyanka<br>
<div class="moz-cite-prefix">On Saturday 10 October 2015 01:51 PM,
Ritesh Nanda wrote:<br>
</div>
<blockquote
cite="mid:AFE9FD04-4F54-4B33-AA31-EA29441218F4@gmail.com"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<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
moz-do-not-send="true" 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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a></span><br>
<span>Unsubscribe : <a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></span><br>
</div>
</blockquote>
</blockquote>
<br>
</body>
</html>