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

2015-08-03 Thread Francesc Pinyol Margalef
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@storage-node cinder]# ls -l /var/lib/cinde

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

2015-07-31 Thread italy1
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" wrote: Openstack nodes run Centos 7 with SELinux. But with SELinux deactivated the problem is the sa

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

2015-07-31 Thread Francesc Pinyol Margalef
Openstack nodes run Centos 7 with SELinux. But with SELinux deactivated the problem is the same: [root@storage-node ~]# setenforce 0 [root@storage-node ~]# sudo cinder-rootwrap /etc/cinder/rootwrap.conf truncate -s 1G /var/lib/cinder/mnt/9ae799cf301b19940950ae49dd800c51/volume-4ee83412-bf7d-4cd2-a

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

2015-07-30 Thread italy1
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  On Thu, Jul 30, 2015 at 6:10 PM -0700, "Francesc Pinyol Margalef" wrote: Hi, I'm trying t

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

2015-07-30 Thread Francesc Pinyol Margalef
Hi, I'm trying to configure Cinder with NFS from a Fujitsu Eternus DX. Mounting the remote resource works fine, but when I try to create a volume, I get a "Permission denied" in the logs. The Fujitsu Eternus DX (192.168.1.101) unit has a directory exported: $ showmount -e 192.168.1.101 Export list