[Openstack] Cinder and NFS: permission denied when creating a volume
Francesc Pinyol Margalef
francesc.pinyol.m at gmail.com
Mon Aug 3 09:22:46 UTC 2015
Hi,
I've configured an NFS server in another node (compute node), under CentOS,
with these
two configurations in /etc/exports:
a) /var/toto/ 192.168.0.0/22(rw,sync,no_root_squash,no_all_squash)
Everything is fine. Cinder can create a new volume:
[root at storage-node cinder]# ls -l
/var/lib/cinder/mnt/c1d65e6b300f04d8c312261b42e1cd5f
total 0
-rw-rw-rw-. 1 root root 1073741824 Aug 3 10:52
volume-b874efd0-54f6-4718-b6d5-00a7f9a36671
b) /var/toto/ 192.168.0.0/22(rw,sync,root_squash,no_all_squash)
Cinder cannot create a new volume: I get a "Permission denied" error, like
when
accessing Fujitsu Eternus DX.
The conclusion is that Fujitsu Eternus DX behaviour is "root_squash", which
prevents
Cinder for working.
System administrator told me that squash cannot be configured in Fujitsu
Eternus DX.
Can Cinder be modified in order to allow creating files as cinder.cinder
instead of
root.root?
Francesc
2015-08-01 1:16 GMT+02:00 italy1 <remo at italy1.com>:
> Can you create a new nfs on your Linux box test it that way then you know
> where the error is.
>
> Inviato da IPhones
>
>
>
--
Francesc Pinyol Margalef
http://www.francescpinyol.cat/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150803/d5e3408b/attachment.html>
More information about the Openstack
mailing list