Hello,

have you tried setting supplemental groups?
https://docs.openshift.org/latest/install_config/persistent_storage/persistent_storage_glusterfs.html#gfs-supplemental-groups

Ensure it matches your gid of gluster volume.

Also make sure to enable writing to gluster with policy on all your nodes
if you have enforcing SELinux:

https://docs.openshift.org/latest/install_config/persistent_storage/persistent_storage_glusterfs.html#selinux

Regards,
Michal

On Tue, Mar 20, 2018 at 12:55 AM, Sony Philip <
[email protected]> wrote:

> Hi All,
>
> Previously, I had a permission denied problem when I changed the registry
> from NFS to glusterfs MANUALLY AFTER an ansible installation following the
> documentation.
>
> But then I had to reinstall for other reasons, and this time around I
> specified the gluster volume to use in the inventory while doing a clean
> ansible install and the registry just worked.
>
> Now, all I did was recreate the gluster volume and changed the sizes in
> the PV and PVC but the mount point comes up inside the registry container
> but I get a permission denied to write to the /registry folder again.
>
> I assumed that not touching anything else in dc/docker-registry SHOULD
> have made it work seamlessly.
>
> Any pointers?
>
>
>
> Regards,
> SKP
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>


-- 

MICHAL MINÁŘ

SOFTWARE ENGINEER

Red Hat Czech, s.r.o. <https://www.redhat.com/>

[email protected]
<https://red.ht/sig>
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to