[Wapt] Problème de règle de dépôt lors du déploiement

Gaëtan SEGAT gaetan.segat at inserm.fr
Fri May 15 09:00:50 CEST 2020


Bonjour Jordi,

normalement le basculement est le comportement normal de WAPT qui, s'il 
n'arrive pas à atteindre le dépôt secondaire bascule en auto sur le 
principal.

Par contre pour les autres postes, peut-être est-ce dû à la surcharge 
dont tu parles et qu'il bascule quand même ?

Gaëtan

Le 14/05/2020 à 18:27, MORILLO Jordi a écrit :
>
> Bonsoir !
>
> Aujourd’hui, grosse journée de déploiement, le 1^er depuis la 
> migration en 1.8 et l’utilisation de véritables dépôts distants 
> « homologué » Wapt.
>
> Sauf que ….. problème :-/
>
> Mon dépôt principal, au Siège, s’appelle wapt.educationetformation.fr 
> et mon dépôt distant wapt610.educationetformation.fr
>
> Ce dépôt distant était un peu surchargé niveau IO disque car j’ai 
> lancé bcp de postes d’un coup. Ses temps de réponse en local 
> commençaient à être dégradé.
>
> C’est à ce moment que j’ai rencontré un effet de bord (pour ne pas 
> dire bug) plutôt non désiré : vu que ce dépôt répondait trop 
> lentement, les postes se sont mis à télécharger sur le dépôt principal 
> (et donc par la liaison internet !)
>
> Pourtant, je n’ai aucune règle dépôt en ce sens !
>
> Sur certains logs de wapt-get upgrade –ldebug, j’ai bien vu du timeout 
> https sur le dépôt wapt610 et une bascule sur le dépôt principal (non 
> désiré)
>
> Mais sur d’autres logs, le dépôt wapt610 répondait bien, pourtant, le 
> poste a basculé sur le dépôt principal comme ci-dessous :
>
> C:\Users\administrator>wapt-get upgrade -ldebug
>
> 2020-05-14 15:10:12,089 DEBUG Default encoding : ascii
>
> 2020-05-14 15:10:12,089 DEBUG Setting encoding for stdout and stderr 
> to cp850
>
> 2020-05-14 15:10:12,105 DEBUG Python path ['C:\\Program Files 
> (x86)\\wapt', 'C:\\Program Files (x86)\\wapt', 'C:\\Program Files 
> (x86)\\wapt\\python27.zip', 'C:\\Program Files (x86)\\wapt\\DLLs', 
> 'C:\\Program Files (x86)\\wapt\\lib', 'C:\\Program Files 
> (x86)\\wapt\\lib\\plat-win', 'C:\\Program Files 
> (x86)\\wapt\\lib\\lib-tk', 'C:\\Program Files (x86)\\wapt', 
> 'C:\\Program Files (x86)\\wapt\\lib\\site-packages', 'C:\\Program 
> Files (x86)\\wapt\\lib\\site-packages\\pywin32-227-py2.7-win32.egg', 
> 'C:\\Program Files (x86)\\wapt\\lib\\site-packages\\win32', 
> 'C:\\Program Files (x86)\\wapt\\lib\\site-packages\\win32\\lib', 
> 'C:\\Program Files (x86)\\wapt\\lib\\site-packages\\Pythonwin']
>
> 2020-05-14 15:10:12,105 INFO Using local waptservice configuration 
> C:\Program Files (x86)\wapt\wapt-get.ini
>
> 2020-05-14 15:10:12,105 DEBUG Config file: C:\Program Files 
> (x86)\wapt\wapt-get.ini
>
> Using config file: C:\Program Files (x86)\wapt\wapt-get.ini
>
> 2020-05-14 15:10:12,121 DEBUG Thread 1068 is connecting to wapt db
>
> 2020-05-14 15:10:12,292 DEBUG Using host certificate C:\Program Files 
> (x86)\wapt\private\36D41048-8FA7-11E1-AB23-FCFB1BD81900.pem for repo 
> global auth
>
> 2020-05-14 15:10:12,385 DEBUG Thread 1068 is connecting to wapt db
>
> 2020-05-14 15:10:12,385 DEBUG DB Start transaction
>
> 2020-05-14 15:10:12,385 DEBUG DB commit
>
> 2020-05-14 15:10:12,558 DEBUG Using host certificate C:\Program Files 
> (x86)\wapt\private\36D41048-8FA7-11E1-AB23-FCFB1BD81900.pem for repo 
> wapt auth
>
> 2020-05-14 15:10:12,651 DEBUG Loading ssl context with cert C:\Program 
> Files (x86)\wapt\private\36D41048-8FA7-11E1-AB23-FCFB1BD81900.crt and 
> key C:\Program Files 
> (x86)\wapt\private\36D41048-8FA7-11E1-AB23-FCFB1BD81900.pem
>
> 2020-05-14 15:10:12,651 DEBUG Checking availability of 
> https://wapt610.educationetformation.fr/wapt/Packages
>
> 2020-05-14 15:10:12,651 DEBUG Starting new HTTPS connection (1): 
> wapt610.educationetformation.fr:443
>
> 2020-05-14 15:10:12,746 DEBUG 
> https://wapt610.educationetformation.fr:443 "HEAD /wapt/Packages 
> HTTP/1.1" 200 0
>
> 2020-05-14 15:10:12,760 INFO Main repository: 
> https://wapt610.educationetformation.fr/wapt
>
> 2020-05-14 15:10:13,026 DEBUG Using host certificate C:\Program Files 
> (x86)\wapt\private\36D41048-8FA7-11E1-AB23-FCFB1BD81900.pem for repo 
> wapt-host auth
>
> 2020-05-14 15:10:13,121 INFO User Groups:[]
>
> 2020-05-14 15:10:13,121 DEBUG WAPT base directory : C:\Program Files 
> (x86)\wapt
>
> 2020-05-14 15:10:13,121 DEBUG Package cache dir : C:\Program Files 
> (x86)\wapt\cache
>
> 2020-05-14 15:10:13,121 DEBUG WAPT DB Structure version;: 20190606
>
> 2020-05-14 15:10:13,121 DEBUG Checking if old install in progress
>
> 2020-05-14 15:10:13,417 DEBUG reset stalled install_status in database
>
> 2020-05-14 15:10:13,417 INFO Status : Upgrade system
>
> 2020-05-14 15:10:13,417 DEBUG DB Start transaction
>
> 2020-05-14 15:10:13,417 DEBUG DB commit
>
> 2020-05-14 15:10:13,542 DEBUG Checking availability of host packages 
> "[PackageEntry(u'36D41048-8FA7-11E1-AB23-FCFB1BD81900',u'2' )]"
>
> 2020-05-14 15:10:13,558 DEBUG Checking if 
> 36D41048-8FA7-11E1-AB23-FCFB1BD81900(=2) is installed/outdated
>
> 2020-05-14 15:10:13,683 DEBUG upgrades : {'upgrade': [], 'additional': 
> [u'ef-msoffice2016-proplus(=2016-01)'], 'install': 
> [u'36D41048-8FA7-11E1-AB23-FCFB1BD81900(=2)'], 'remove': []}
>
> 2020-05-14 15:10:13,683 INFO Status : Install additional packages
>
> 2020-05-14 15:10:13,683 DEBUG DB Start transaction
>
> 2020-05-14 15:10:13,698 DEBUG DB commit
>
> 2020-05-14 15:10:13,698 INFO Trying to install 
> [PackageRequest(package=u'ef-msoffice2016-proplus',version=(Version('2016.0.0.0'), 
> 1),architectures=[u'x64'],locales=['fr'],maturities=[u'PROD'],min_os_version=Version('10.0.18362'),max_os_version=Version('10.0.18362'))] 
> with force=False, only_priorities=None, only_if_not_process_running=False
>
> 2020-05-14 15:10:13,698 DEBUG Loading ssl context with cert C:\Program 
> Files (x86)\wapt\private\36D41048-8FA7-11E1-AB23-FCFB1BD81900.crt and 
> key C:\Program Files 
> (x86)\wapt\private\36D41048-8FA7-11E1-AB23-FCFB1BD81900.pem
>
> 2020-05-14 15:10:13,698 INFO   Downloading package from 
> https://wapt.educationetformation.fr/wapt/ef-msoffice2016-proplus_2016-01_x64.wapt
>
> 2020-05-14 15:10:13,698 DEBUG Starting new HTTPS connection (1): 
> wapt.educationetformation.fr:443
>
> 2020-05-14 15:10:15,026 DEBUG https://wapt.educationetformation.fr:443 
> "HEAD /wapt/ef-msoffice2016-proplus_2016-01_x64.wapt HTTP/1.1" 200 0
>
> 2020-05-14 15:10:15,698 DEBUG https://wapt.educationetformation.fr:443 
> "GET /wapt/ef-msoffice2016-proplus_2016-01_x64.wapt HTTP/1.1" 200 
> 2168128155
>
> 2020-05-14 15:10:18,387 INFO Status : 
> pt[=================================] 2246771355/2168128155 - 00:00:00
>
> Si vous avez une piste je suis preneur !
>
> Bien cordialement
>
>
> _______________________________________________
> WAPT mailing list
> WAPT at lists.tranquil.it
> http://lists.tranquil.it/listinfo/wapt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20200515/7dedb413/attachment.html>


More information about the WAPT mailing list