Hi Ritesh ,

I'm 90% confident it is a problem from the latest (4.3 to 4.4 ) or older migrations (4.2 to 4.3).

[root@ovirt2 ~]# ll /var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post
lrwxrwxrwx. 1 root root 64 9 яну 23,55 /var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post -> /usr/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py
[root@ovirt2 ~]# ll -Z /var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post
lrwxrwxrwx. 1 root root unconfined_u:object_r:glusterd_var_lib_t:s0 64 9 яну 23,55 /var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post -> /usr/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py
[root@ovirt2 ~]# ls -lZ /usr/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py
-rwxr-xr-x. 1 root root system_u:object_r:bin_t:s0 1883 12 окт 13,09 /usr/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py
[root@ovirt2 ~]# file /usr/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py
/usr/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py: Python script, ASCII text executable


I've tried with SELINUX in permissive mode, so it's something not related to SELINUX. Also the sync works on the new cluster.

Any idea how to debug it and find what is the reason it doesn't like it ?

Best Regards,
Strahil Nikolov
В понеделник, 10 януари 2022 г., 08:12:17 Гринуич+2, Ritesh Chikatwar <rchikatw@redhat.com> написа:


Hello Strahil,

I have a setup with version (4.4.9.3) but I don't see an issue, Maybe after migrating/upgrading. We are seeing this issue, can you share the content from this hook (delete-POST-57glusterfind-delete-post).

On Mon, Jan 10, 2022 at 3:55 AM Strahil Nikolov via Users <users@ovirt.org> wrote:
Hi All,

recently I have migrated from 4.3.10 to 4.4.9 and it seems something odd is happening.

Symptoms:
- A lot of warnings for Gluster hook discrepancies
- Trying to refresh the hooks via the sync button fails (engine error: https://justpaste.it/827zo )
- Existing "Default" cluster tracks more hooks than a fresh new cluster
New cluster hooks: http://i.imgur.com/FEL2Z1D.png
Migrated cluster: https://i.imgur.com/L8dWYZY.png

What can I do to resolve the issue ? I've tried to resync the hooks, move away /var/lib/glusterd/hooks/1/ and reinstall gluster packages, try to resolve via the "Resolve Conflicts" in the UI and nothing helped so far.


Best Regards,
Strahil Nikolov
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/RYSNQTAGXEAX2O677ELEAYRXDAUX52IQ/