Hi Michal,
Thank you. But my question was, how did it work when Ansible deployed it
during installation  vs. a manual change to the registry storage to
glusterfs after non glusterfs backed install?

And if it worked when Ansible deployed directly with a glusterfs backend vs
not working when changing just the "size" in the existing  PV and I did
recreate the PVC from the UI with the exact same options but only changing
the size there too? This was done because the glusterfs vol was recreated
exactly like the previous vol which worked but only bigger in size.

Regards,
SKP


On Tue 20 Mar, 2018, 14:09 Michal Minar, <[email protected]> wrote:

> 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