[Openstack] Cinder and NFS: permission denied when creating a volume

italy1 remo at italy1.com
Fri Jul 31 23:16:51 UTC 2015


Can you create a new nfs on your Linux box test it that way then you know where the error is. 

Inviato da IPhones 




On Fri, Jul 31, 2015 at 3:09 AM -0700, "Francesc Pinyol Margalef" <francesc.pinyol.m at gmail.com> wrote:










Openstack nodes run Centos 7 with SELinux. But with SELinux deactivated the
problem is the same:

[root at storage-node ~]# setenforce 0
[root at storage-node ~]# sudo cinder-rootwrap /etc/cinder/rootwrap.conf truncate -s 1G /var/lib/cinder/mnt/9ae799cf301b19940950ae49dd800c51/volume-4ee83412-bf7d-4cd2-ae74-cffd5af3adc7
/bin/truncate: cannot open ‘/var/lib/cinder/mnt/9ae799cf301b19940950ae49dd800c51/volume-4ee83412-bf7d-4cd2-ae74-cffd5af3adc7’ for writing: Permission denied


I don't have direct access to Fujitsu Eternus, but I can ask the system
administrator to modify some parameters if needed.

Do you need more information?

Francesc



2015-07-31 6:31 GMT+02:00 italy1 <remo at italy1.com>:
I think your settings are incorrect since nfs needs to be as anonymous are those settings under selinux? Not sure your env so it is hard to see what steps you are missing 

Inviato da IPhone 




-- 
Francesc Pinyol Margalef
http://www.francescpinyol.cat/



!DSPAM:1,55bb496c159111912920097!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150731/0288116b/attachment.html>


More information about the Openstack mailing list