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

Francesc Pinyol Margalef francesc.pinyol.m at gmail.com
Fri Jul 31 09:58:17 UTC 2015


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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150731/aee85bd4/attachment.html>


More information about the Openstack mailing list