<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-forward-container"><br>
      <br>
      <br>
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      Can I copy the nova folder from /disk to /home and then change the
      state_path to /home/nova. Do I need to do any other changes?<br>
      <br>
      Thanks,<br>
      <br>
      Priyanka<br>
      <div class="moz-cite-prefix">On Saturday 10 October 2015 02:57 PM,
        Ignazio Cassano wrote:<br>
      </div>
      <blockquote
cite="mid:CAB7j8cWDSx=-muNB4JqSJ4zFcciFHmhYSGhw7QtFuRQZM7B_pw@mail.gmail.com"
        type="cite">
        <p>probably it expects the same path on both nodes.<br>
          I use the same.<br>
          You can try with a symbolyc link </p>
        <div class="gmail_quote">Il giorno 10/ott/2015 11:16, "Priyanka"
          <<a moz-do-not-send="true"
            href="mailto:ppnaik@cse.iitb.ac.in">ppnaik@cse.iitb.ac.in</a>>

          ha scritto:<br type="attribution">
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> No the state_path on
              both the nodes is not same. for one it is /disk1/nova for
              the second compute node it is /home/nova.<br>
              <br>
              Thanks,<br>
              <br>
              Priyanka<br>
              <div>On Saturday 10 October 2015 02:41 PM, Ignazio Cassano
                wrote:<br>
              </div>
              <blockquote type="cite">
                <p>It is very strange.<br>
                  Check nova.conf on both nodes to verify the instance
                  path is the same.<br>
                  Are you resizing an istance with a cinder volume or
                  with ephemeral storage ?<br>
                  I found another configuration issue when try to resize
                  an instance with a volume: libvirt chanche the
                  ownership of the volume file.<br>
                  Is this your case ?<br>
                </p>
                <div class="gmail_quote">Il giorno 10/ott/2015 10:52,
                  "Priyanka" <<a moz-do-not-send="true"
                    href="mailto:ppnaik@cse.iitb.ac.in" target="_blank">ppnaik@cse.iitb.ac.in</a>>


                  ha scritto:<br type="attribution">
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    <div 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>On Saturday 10 October 2015 01:51 PM, Ritesh
                        Nanda wrote:<br>
                      </div>
                      <blockquote type="cite">
                        <div>Make sure permission on the directory is
                          correct  , it should be owned by nova user.</div>
                        <div><br>
                        </div>
                        <div>Regards, </div>
                        <div>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"
                            target="_blank">ppnaik@cse.iitb.ac.in</a>>

                          wrote:<br>
                          <br>
                        </div>
                        <blockquote type="cite">
                          <div>
                            <p>Hi, </p>
                            <p>I am facing the following issue while
                              resizing a VM on a multi node openstack
                              juno setup.</p>
                            <pre><code><span>{</span><span>"message"</span><span>:</span><span> </span><span>"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>,</span><span> </span><span>"code"</span><span>:</span><span> </span><span>500</span><span>,</span><span> </span><span>"created"</span><span>:</span><span> </span><span>"2015-10-10T07:43:54Z"</span><span>}</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"
                                target="_blank">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"
                                target="_blank">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"
                                target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></span><br>
                          </div>
                        </blockquote>
                      </blockquote>
                      <br>
                    </div>
                    <br>
                    _______________________________________________<br>
                    Mailing list: <a moz-do-not-send="true"
                      href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
                      rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
                    Post to     : <a moz-do-not-send="true"
                      href="mailto:openstack@lists.openstack.org"
                      target="_blank">openstack@lists.openstack.org</a><br>
                    Unsubscribe : <a moz-do-not-send="true"
                      href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
                      rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
                    <br>
                  </blockquote>
                </div>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
      </blockquote>
      <br>
      <br>
    </div>
    <br>
  </body>
</html>