[Wapt] Problème de synchro dépôts distants
MORILLO Jordi
j.morillo at educationetformation.fr
Fri Dec 4 16:35:37 CET 2020
Ma toute 1ere contribution à un commit, je suis honoré Hubert ;-)
Merci et bon weekend à toi :-)
-----Message d'origine-----
De : WAPT <wapt-bounces at lists.tranquil.it> De la part de Hubert TOUVET
Envoyé : vendredi 4 décembre 2020 16:13
À : wapt at lists.tranquil.it
Objet : Re: [Wapt] Problème de synchro dépôts distants
Intéressant.
Ce problème a déjà été observé, mais on n'avait pas vu ce post je crois (qui fait référence à redis, alors que dans wapt, c'est un backend sqlite) Quand ça arrivait, on effaçait la base sqlite tasks ce qui n'est pas très propre.
Je laisserais ce -f... et je vais faire un commit en ce sens Merci !
Bon week-end
Le 04/12/2020 à 15:14, MORILLO Jordi a écrit :
> Bonjour à tous,
>
> Petit problème de synchro des dépôts distants (suite à MAJ 7334 ?) : le fichier sync.json ne s'update plus et certains hash sha256 ne sont plus bons.
> Le process wapttasks affiche des erreurs du genre :
>
> Dec 4 14:52:24 wapt wapttasks[395]: [2020-12-04 14:52:24,889]
> INFO:huey.consumer.Worker:Worker-2:Executing
> waptenterprise.waptserver.repositories_tasks.queue_task_update_file_tr
> ee_of_files_in_huey: b9cd81b6-6227-499e-ad61-f7573f6662a0
> Dec 4 14:52:24 wapt wapttasks[395]: [2020-12-04 14:52:24,905] WARNING:huey.consumer.Worker:Worker-2:Task b9cd81b6-6227-499e-ad61-f7573f6662a0 could not run, unable to obtain lock.
>
> Le redémarrage du serveur ne résout pas le pb.
> Sur le github de huey, j'ai trouvé un post intéressant (https://github.com/coleifer/huey/issues/308) dont ce commentaire d'ajout de fonction :
>
> Add "-f" to flush locks when starting consumer. Refs #308.
>
> Du coup j'ai rajouté le "-f" dans
> /usr/lib/systemd/system/wapttasks.service
> Un ptit systemctl daemon-reload puis systemctl status waptserver et tout est revenu un ordre.
>
> Dois-je laissé ce "-f" dans ce fichier systemd ?
>
> Bon week-end à tous
> Jordi
> _______________________________________________
> WAPT mailing list
> WAPT at lists.tranquil.it
> http://lists.tranquil.it/listinfo/wapt
_______________________________________________
WAPT mailing list
WAPT at lists.tranquil.it
http://lists.tranquil.it/listinfo/wapt
More information about the WAPT
mailing list