[Openstack] Instance resize error

Priyanka ppnaik at cse.iitb.ac.in
Sat Oct 10 08:37:27 UTC 2015


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 <ppnaik at cse.iitb.ac.in 
> <mailto:ppnaik at cse.iitb.ac.in>> 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     : openstack at lists.openstack.org 
>> <mailto:openstack at lists.openstack.org>
>> Unsubscribe : 
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20151010/e83ac0b8/attachment.html>


More information about the Openstack mailing list