← Back to team overview

openstack team mailing list archive

Re: [OpenStack][Nova] Live Migration + NFSv4 - Permission issues

 

Shouldn't libvirt have write permission in a nova directory, since it's
executed by root?

On Tue, Jul 3, 2012 at 4:51 PM, Leander Bessa Beernaert <leanderbb@xxxxxxxxx
> wrote:

> Still the same problem :S
>
>
> On Tue, Jul 3, 2012 at 4:46 PM, Marnus van Niekerk <m@xxxxxxxx> wrote:
>
>> Have you tried setting the ownership of /var/lib/nova/instances to the
>> nova user?
>>
>> sudo chown -R nova:nova /var/lib/nova/instances
>>
>> M
>>
>>
>> On 03/07/2012 15:48, Leander Bessa Beernaert wrote:
>>
>>> Hello all,
>>>
>>> I've been trying to get the live migration to work according to the
>>> guide http://docs.openstack.org/**trunk/openstack-compute/admin/**
>>> content/configuring-live-**migrations.html<http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-live-migrations.html>.
>>>
>>> So far i've setup 2 compute nodes and 1 controller node. They all share
>>> the /var/lib/nova/instances dir. I've already verified that the nova user
>>> id is the same across all the servers.
>>>
>>> Currently i'm running into this error when i launch an instance:
>>> http://paste.openstack.org/**show/19221/<http://paste.openstack.org/show/19221/>
>>>
>>> It's certainly a permission issue, so i tried adding the group "nova" to
>>> the user "libvirt-qemu". However, it still doesn't work. To which user must
>>> i give the nova group permission in order to be able to write in that
>>> directory?
>>>
>>> Regards,
>>> Leander
>>>
>>>
>>> ______________________________**_________________
>>> Mailing list: https://launchpad.net/~**openstack<https://launchpad.net/~openstack>
>>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~**openstack<https://launchpad.net/~openstack>
>>> More help   : https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp>
>>>
>>
>>
>>
>

References