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?

Thanks,

Priyanka
On Saturday 10 October 2015 02:57 PM, Ignazio Cassano wrote:

probably it expects the same path on both nodes.
I use the same.
You can try with a symbolyc link

Il giorno 10/ott/2015 11:16, "Priyanka" <[email protected] <mailto:[email protected]>> ha scritto:

    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.

    Thanks,

    Priyanka
    On Saturday 10 October 2015 02:41 PM, Ignazio Cassano wrote:

    It is very strange.
    Check nova.conf on both nodes to verify the instance path is the
    same.
    Are you resizing an istance with a cinder volume or with
    ephemeral storage ?
    I found another configuration issue when try to resize an
    instance with a volume: libvirt chanche the ownership of the
    volume file.
    Is this your case ?

    Il giorno 10/ott/2015 10:52, "Priyanka" <[email protected]
    <mailto:[email protected]>> ha scritto:

        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.

        Thanks,

        Priyanka
        On Saturday 10 October 2015 01:51 PM, Ritesh Nanda wrote:
        Make sure permission on the directory is correct  , it
        should be owned by nova user.

        Regards,
        Ritesh

        Sent from my iPhone

        On Oct 10, 2015, at 12:59 AM, Priyanka
        <[email protected] <mailto:[email protected]>> wrote:

        Hi,

        I am facing the following issue while resizing a VM on a
        multi node openstack juno setup.

        |{"message":  "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\ |
        |                                      | '",  "code":  500,  "created":  
"2015-10-10T07:43:54Z"}|

        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.

        How can I resolve this issue. Please help.


        Thanks,

        Priyanka

        _______________________________________________
        Mailing list:
        http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
        Post to     : [email protected]
        <mailto:[email protected]>
        Unsubscribe :
        http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


        _______________________________________________
        Mailing list:
        http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
        Post to     : [email protected]
        <mailto:[email protected]>
        Unsubscribe :
        http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack





_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to