Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cinder permission denied on gluster

I am having a problem with Cinder using glusterfs shares via fuse. (Havana release)

Cinder mounts the share, and then I get this on the log:

2014-12-03 18:05:14.774 1259 WARNING cinder.volume.drivers.glusterfs [-] Exception during mounting GlusterFS share at /data/cinder_mounts/0d61606ad3270dc534551b61fec87217 is not writable by the Cinder volume service. Snapshot operations will not be supported.

and at the same time those on the gluster log:

[2014-12-03 18:05:14.773851] W [client-rpc-fops.c:2071:client3_3_create_cbk] 0-cinder-client-0: remote operation failed: Permission denied. Path: /.cinder-write-test-1259-K58d8R (00000000-0000-0000-0000-000000000000)
[2014-12-03 18:05:14.773888] W [client-rpc-fops.c:2071:client3_3_create_cbk] 0-cinder-client-1: remote operation failed: Permission denied. Path: /.cinder-write-test-1259-K58d8R (00000000-0000-0000-0000-000000000000)
[2014-12-03 18:05:14.773907] W [fuse-bridge.c:1869:fuse_create_cbk] 0-glusterfs-fuse: 573: /.cinder-write-test-1259-K58d8R => -1 (Permission denied)

I checked the code and that test is just trying to write a file .cinder-write-tes-* to the share, but I get this permission denied error that makes no sense (since the permissions allow for cinder group to write to the dir), and it happens randomly. I would love to know if there's something wrong on gluster that is intermittently throwing those errors.