Re: [Gluster-users] Geo-replication and changelogs cleaning

2021-09-01 Thread Beard Lionel
Hi,

I will be pleased to make a test with your fix.

Cordialement, Regards,
Lionel BEARD
CLS - IT & Operations

De : Aravinda VK 
Envoyé : mercredi 1 septembre 2021 15:58
À : Beard Lionel 
Cc : gluster-users@gluster.org; sacha...@redhat.com
Objet : Re: [Gluster-users] Geo-replication and changelogs cleaning

CAUTION: This message comes from an external server, do not click on links or 
open attachments unless you know the sender and are sure the content is safe.

Hi,

I think the "archive_gluster_changelogs" repo not updated after the backend 
changelogs are restructured(This Patch: 
https://github.com/gluster/glusterfs/commit/ec3df84dcfd7ccda0a18fa75e3b425c090209adf#diff-64c754d7b6ec77154042671072debc69456f43b3abc34354d5b818937635600f<https://m365.eu.vadesecure.com/safeproxy/v4?f=fJtYxAKprC8a-pqijtUZq6RxrB6mYjuV7p24qwQzVxgCaypzXrwdBVy2BNVubcOT=6wsY9P0iOYbvMzw_u_9zBuukSJ42yeYOZQPwsfvNFWy6AC1V52xcuiIVo-wD1ZOe2iWAf46m4KHw6yW7xixMBA=UZSM=mjEpt-1yfQLn_0HhT_ztRGNaoJrXn7Lr7TIB-eoxJ8omUrpvOUcOXNho1U1VyfVz=6e2914688601365c699e400fee4a7075ad2e8d1bdcbfe71e21e8e7b5abe89091=https%3A%2F%2Fgithub.com%2Fgluster%2Fglusterfs%2Fcommit%2Fec3df84dcfd7ccda0a18fa75e3b425c090209adf%23diff-64c754d7b6ec77154042671072debc69456f43b3abc34354d5b818937635600f>)

If I fix the script to understand the new backend format, will it work for you?

Aravinda Vishwanathapura
https://kadalu.io<https://m365.eu.vadesecure.com/safeproxy/v4?f=xU8i5HuZWyvfY_RCjlYxvD6t6nfFqw24Hjqk4IcHafvlnVxL6I_0F1THzFsLbKPJ=H0V6iFERDlJYvTyUUM6BfWknBpSxgPFRDUk7cM_U6-F38Ns8QKCQXxpyoWIhCyU-07L50y6NlHRmAf-DDr5gJQ=LksV=j1N3ojGiBzIp6R5e09hxo8GseH0379Bc9NXBaQsOvyrbIkTkmWf_ugEzbPXsb1re=90cae59ef567535b5af2c0e215c133ad050380cf8ecc3b6d685e315203e3bfb8=https%3A%2F%2Fkadalu.io>


On 01-Sep-2021, at 7:07 PM, Shwetha Acharya 
mailto:sacha...@redhat.com>> wrote:

+aravi...@kadalu.io<mailto:aravi...@kadalu.io>

On Tue, Aug 31, 2021 at 6:26 PM Beard Lionel 
mailto:lbe...@groupcls.com>> wrote:
Hi everyone,

I am currently using GlusterFS 8.4 on Ubuntu Bionic for an application hosted 
in Azure, with geo-replication configured for most of the volumes.
But the way changelogs files are managed is a little bit annoying, as there are 
never deleted from .glusterfs directory on source volume.

I have found this message from this list (2017): 
https://www.mail-archive.com/gluster-users@gluster.org/msg28565.html<https://m365.eu.vadesecure.com/safeproxy/v4?f=bodh6V2_6gyp3PPHzxrTpoulLHyRsef-Z2rFdNd57XzX6gplBF74InwbijkJSE6T=zSgtD6kDWWnZ2YLmsEA5G9Hi0DxiuvPx30uQ2MFypIk4JatRPWQW3xrr2HCFc_aCpLMYgkBArHcvNYj6qom5VQ=IH9R=mYNn-g_j6Z--FE5_x1pqDRamLy9qglE5ld3wv8JSYNdCuX_3gUXkVP--bnLi4K3s=e46263e662db8f1e219be9e0831b6801c3a83c3e3bbd95c0c0ff614c8b91f9d6=https%3A%2F%2Fwww.mail-archive.com%2Fgluster-users%40gluster.org%2Fmsg28565.html>

I also used this tool to make some cleaning : 
https://github.com/aravindavk/archive_gluster_changelogs<https://m365.eu.vadesecure.com/safeproxy/v4?f=7iWLjQmOQdXjvWL-oU8XxG1REnJdba2poSjoWTIvxiiK8z_k29m1dUElzSZeLmV6=Q33B1BrLmB6xeoOmkDLGfbrU2CnNmBwuqiVIPvjzswZE_lFqRCNbzoEYA0NKABb-1_es8w2G1SrnpJCQ4HkeXg=vKmd=fVUVCtlv2RPTBtFJ0XBiuzVPeVS6-q8eX93OkxAAB7Jjp4pSIAa7_8D0CiJuz7mk=5345ee88c938192c349fcf2d85d4c710dd66f267d23be9ee25270b9969739b60=https%3A%2F%2Fgithub.com%2Faravindavk%2Farchive_gluster_changelogs>
 (after updating it to manage new changelog directory structure).
But it is not perfect as it doesn't work on one of my volumes (I don't know 
why).

But, is there an official way to automatically clean changelogs after they have 
been processed by geo-replication? Is it now implemented into gluster 8+? If 
not, why?

Thanks.

Cordialement, Regards,
Lionel BEARD
CLS - IT & Operations

Ce message et toutes les pièces jointes (ci-après le "message") sont établis à 
l'intention exclusive de ses destinataires et sont confidentiels. Si vous 
recevez ce message par erreur ou s'il ne vous est pas destiné, merci de le 
détruire ainsi que toute copie de votre système et d'en avertir immédiatement 
l'expéditeur. Toute lecture non autorisée, toute utilisation de ce message qui 
n'est pas conforme à sa destination, toute diffusion ou toute publication, 
totale ou partielle, est interdite. L'Internet ne permettant pas d'assurer 
l'intégrité de ce message électronique susceptible d'altération, l'expéditeur 
(et ses filiales) décline(nt) toute responsabilité au titre de ce message dans 
l'hypothèse où il aurait été modifié ou falsifié.
This message and any attachments (the "message") is intended solely for the 
intended recipient(s) and is confidential. If you receive this message in 
error, or are not the intended recipient(s), please delete it and any copies 
from your systems and immediately notify the sender. Any unauthorized view, use 
that does not comply with its purpose, dissemination or disclosure, either 
whole or partial, is prohibited. Since the internet cannot guarant

Re: [Gluster-users] Geo-replication and changelogs cleaning

2021-09-01 Thread Aravinda VK
Hi,

I think the “archive_gluster_changelogs” repo not updated after the backend 
changelogs are restructured(This Patch: 
https://github.com/gluster/glusterfs/commit/ec3df84dcfd7ccda0a18fa75e3b425c090209adf#diff-64c754d7b6ec77154042671072debc69456f43b3abc34354d5b818937635600f
 
)

If I fix the script to understand the new backend format, will it work for you?

Aravinda Vishwanathapura
https://kadalu.io

> On 01-Sep-2021, at 7:07 PM, Shwetha Acharya  wrote:
> 
> +aravi...@kadalu.io 
> 
> On Tue, Aug 31, 2021 at 6:26 PM Beard Lionel  > wrote:
> Hi everyone,
> 
>  
> 
> I am currently using GlusterFS 8.4 on Ubuntu Bionic for an application hosted 
> in Azure, with geo-replication configured for most of the volumes.
> 
> But the way changelogs files are managed is a little bit annoying, as there 
> are never deleted from .glusterfs directory on source volume.
> 
>  
> 
> I have found this message from this list (2017): 
> https://www.mail-archive.com/gluster-users@gluster.org/msg28565.html 
> 
>  
> 
> I also used this tool to make some cleaning : 
> https://github.com/aravindavk/archive_gluster_changelogs 
>  (after updating it 
> to manage new changelog directory structure).
> 
> But it is not perfect as it doesn’t work on one of my volumes (I don’t know 
> why).
> 
>  
> 
> But, is there an official way to automatically clean changelogs after they 
> have been processed by geo-replication? Is it now implemented into gluster 
> 8+? If not, why?
> 
>  
> 
> Thanks.
> 
>  
> 
> Cordialement, Regards,
> 
> Lionel BEARD
> 
> CLS - IT & Operations
> 
> Ce message et toutes les pièces jointes (ci-après le "message") sont établis 
> à l'intention exclusive de ses destinataires et sont confidentiels. Si vous 
> recevez ce message par erreur ou s'il ne vous est pas destiné, merci de le 
> détruire ainsi que toute copie de votre système et d'en avertir immédiatement 
> l'expéditeur. Toute lecture non autorisée, toute utilisation de ce message 
> qui n'est pas conforme à sa destination, toute diffusion ou toute 
> publication, totale ou partielle, est interdite. L'Internet ne permettant pas 
> d'assurer l'intégrité de ce message électronique susceptible d'altération, 
> l’expéditeur (et ses filiales) décline(nt) toute responsabilité au titre de 
> ce message dans l'hypothèse où il aurait été modifié ou falsifié.
> 
> This message and any attachments (the "message") is intended solely for the 
> intended recipient(s) and is confidential. If you receive this message in 
> error, or are not the intended recipient(s), please delete it and any copies 
> from your systems and immediately notify the sender. Any unauthorized view, 
> use that does not comply with its purpose, dissemination or disclosure, 
> either whole or partial, is prohibited. Since the internet cannot guarantee 
> the integrity of this message which may not be reliable, the sender (and its 
> subsidiaries) shall not be liable for the message if modified or falsified.  
> 
> 
> 
> 
> 
> Community Meeting Calendar:
> 
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://meet.google.com/cpu-eiue-hvk 
> 
> Gluster-users mailing list
> Gluster-users@gluster.org 
> https://lists.gluster.org/mailman/listinfo/gluster-users 
> 
> 
> 
> 
> 
> Community Meeting Calendar:
> 
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://meet.google.com/cpu-eiue-hvk
> Gluster-users mailing list
> Gluster-users@gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users









Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Geo-replication and changelogs cleaning

2021-09-01 Thread Shwetha Acharya
+aravi...@kadalu.io

On Tue, Aug 31, 2021 at 6:26 PM Beard Lionel  wrote:

> Hi everyone,
>
>
>
> I am currently using GlusterFS 8.4 on Ubuntu Bionic for an application
> hosted in Azure, with geo-replication configured for most of the volumes.
>
> But the way changelogs files are managed is a little bit annoying, as
> there are never deleted from .glusterfs directory on source volume.
>
>
>
> I have found this message from this list (2017):
> https://www.mail-archive.com/gluster-users@gluster.org/msg28565.html
>
>
>
> I also used this tool to make some cleaning :
> https://github.com/aravindavk/archive_gluster_changelogs (after updating
> it to manage new changelog directory structure).
>
> But it is not perfect as it doesn’t work on one of my volumes (I don’t
> know why).
>
>
>
> But, is there an official way to automatically clean changelogs after they
> have been processed by geo-replication? Is it now implemented into gluster
> 8+? If not, why?
>
>
>
> Thanks.
>
>
>
> Cordialement, Regards,
>
> Lionel BEARD
>
> CLS - IT & Operations
> --
>
> *Ce message et toutes les pièces jointes (ci-après le "message") sont
> établis à l'intention exclusive de ses destinataires et sont confidentiels.
> Si vous recevez ce message par erreur ou s'il ne vous est pas destiné,
> merci de le détruire ainsi que toute copie de votre système et d'en avertir
> immédiatement l'expéditeur. Toute lecture non autorisée, toute utilisation
> de ce message qui n'est pas conforme à sa destination, toute diffusion ou
> toute publication, totale ou partielle, est interdite. L'Internet ne
> permettant pas d'assurer l'intégrité de ce message électronique susceptible
> d'altération, l’expéditeur (et ses filiales) décline(nt) toute
> responsabilité au titre de ce message dans l'hypothèse où il aurait été
> modifié ou falsifié.*
>
> *This message and any attachments (the "message") is intended solely for
> the intended recipient(s) and is confidential. If you receive this message
> in error, or are not the intended recipient(s), please delete it and any
> copies from your systems and immediately notify the sender. Any
> unauthorized view, use that does not comply with its purpose, dissemination
> or disclosure, either whole or partial, is prohibited. Since the internet
> cannot guarantee the integrity of this message which may not be reliable,
> the sender (and its subsidiaries) shall not be liable for the message if
> modified or falsified.  *
> 
>
>
>
> Community Meeting Calendar:
>
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://meet.google.com/cpu-eiue-hvk
> Gluster-users mailing list
> Gluster-users@gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users
>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users