Bonjour Vincent,
cette méthode a-t-elle été testée ?
https://www.wapt.fr/fr/doc/wapt-common-problems-and-questions.html#my-wapt-p...
Gaëtan
Le 10/09/2021 à 19:32, Vincent Degat a écrit :
Re-bonjour,
pour compléter mon précédent mail, l'erreur me semble être déclenchée à la fin du processus de téléchargement du paquet car un upload/installation manuelle du paquet "initial" fonctionne bien sur le client
########## LOG POWERSHELL d'installation manuelle
19:28:00 PC-xxXXxx326\installation C:\Users\installation # Get-FileHash -Algorithm md5 -Path .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt
Algorithm Hash Path
MD5 AA3F8F7B10B5E14C5F58D56430EF8203 C:\Users\installation\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt
19:28:24 PC-xxXXxx326\installation C:\Users\installation # wapt-get install .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt Using config file: C:\Program Files (x86)\wapt\wapt-get.ini Installing WAPT files .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt ##############
Le 10/09/2021 à 19:01, Vincent Degat a écrit :
Bonjour tout le monde,
Ma config:
- serveur debian 10
- tis-waptserver: 2.0.0.9450-7bc6920c-debian-10-amd64
J'ai un problème de paquet qui refuse de s'installer sur mes clients du a une mauvaise sommes de contrôle. La seule différence entre ce paquet et les autres est sa taille (4,26 gigas), pour info c'est l'iso d'installation de Windows 10.
J'ai essayé de générer le paquet via la commande "wapt-get build-upload" et via l'IDE vscode. Je ne vois pas d'erreur à sa génération (voir si dessous) mais j'ai bien une différence entre le md5 du nom du paquet et sa somme "véridique".
Je pense que c'est un bug car via la console d'admin j'ai modifié sa "maturité" pour déclencher le processus de re-génération et le paquet de sorti est fonctionel !
Soit j'ai un bug sur la configuration de mon poste de développement (c'est possible je viens de le réinstaller), mais pourquoi mon paquet est alors autorisé sur le serveur et que sa regénération fonctionne sur le client?
D'avance merci, dites moi si des infos complémentaires peuvent être utiles.
Bon week-end! Vincent
PS: j'ai forcé le format HTML sur le mail pour avoir une mise en forme au mieux lisible.
#### Génération du paquet 17:46:10 VM-xxXXxx-DEV\installation Z:\waptdev\xxXXxx-config-w10-21h1-datas-wapt # wapt-get build-upload . Using config file: C:\Users\installation\AppData\Local\waptconsole\waptconsole.ini Building packages 1 packages Personal certificate is xxXXxx-vincent Please type the password to decrypt the private key Z:\waptdev\private\WAPT-CERT Password: Private key is <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> Personal certificate is SSLCertificate cn=xxXXxx-vincent Private key is <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> Building . Signing . with key <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> and certificate xxXXxx-vincent (Z:\waptdev\private\WAPT-CERT.crt) Package . signed : signature : mGpJzRovwm...betV8V4A= ...done building. Package filename Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt 1 packages successfully built 0 packages failed Building and uploading packages to https://WAPT.SRV Please get login for https://WAPT.SRV/api/v3/upload_xxx:USERNAME Password: Uploading Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: 2097152 / 4422211150 Uploading Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: 4194304 / 4422211150 Uploading Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: 6291456 / 4422211150 ....
#### Sommes MD5 md5sum xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
ea5b2f5a6673a80e5ecad17e8139fda2 xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
## Logs d'erreurs d'installation côté client
....... https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4422211150 / 4422211150 (100%) (69958 KB/s) 2021-09-10 18:13:39,550 CRITICAL Error downloading package from http repository, please update... error : Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e 2021-09-10 18:13:39,555 CRITICAL Error downloading some files : [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...', 'Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e')] 2021-09-10 18:13:39,560 CRITICAL Package xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to errors : EWaptDownloadError: Package file xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt not downloaded properly. Installing xxXXxx-config-w10-21h1-install(=1-8) 2021-09-10 18:13:39,683 CRITICAL Package xxXXxx-config-w10-21h1-install(=1-8) [x64_fr_PROD] not installed due to errors : EWaptUnavailablePackage: Missing dependencies: xxXXxx-config-w10-21h1-datas
-- Vincent Degat Tél: 02 40 37 16 82 Laboratoire de recherche en Hydrodynamique, Énergétique et Environnement Atmosphérique. École Centrale de Nantes - CNRS - UMR 6598
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
-- Vincent Degat Tél: 02 40 37 16 82 Laboratoire de recherche en Hydrodynamique, Énergétique et Environnement Atmosphérique. École Centrale de Nantes - CNRS - UMR 6598
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour Gaetan,
Merci de ta réponse. Oui, j'upload mes paquets via scp.
Je n'ai peut être pas été très clair dans la description de mon problème. J'ai un soucis à sa génération depuis mon poste de dev (Windows 10, agent 2.0.0.9450-48).
La somme md5 n'est pas bonne et cela bloque lors de l'étape de téléchargement depuis les clients. (La signature est bien valide).
Si je télécharge manuellement le paquet sur le client, celui s'installe correctement.
Je viens de faire l'essai en renommant à la main le paquet directement sur mon serveur avec la bonne somme md5 et cela fonctionne. Je pense que j'ai un bug sur mon agent Wapt et je m'étonne que le nom du fichier (qui est non signé) soit utilisé quelque part dans le processus d'installation!
J'espère être plus clair.. :)
Bonne journée Vincent
## Sur le serveur 10:33:10 root@WAPT.SRV:/datas/waptarchives # md5sum xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
ea5b2f5a6673a80e5ecad17e8139fda2 xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
## Sur le client 10:37:44 PC-xxXXxx33\installation C:\Program Files (x86)\wapt\cache # wapt-get install xxXXxx-config-w10-21h1-datas Using config file: C:\Program Files (x86)\wapt\wapt-get.ini installing WAPT packages xxXXxx-config-w10-21h1-datas https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 39845888 / 4422211150 (1%) (72218 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 89128960 / 4422211150 (2%) (82570 KB/s)
..... https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4395630592 / 4422211150 (99%) (76540 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4422211150 / 4422211150 (100%) (76600 KB/s) 2021-09-13 10:38:53,346 CRITICAL Error downloading package from http repository, please update... error : Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e 2021-09-13 10:38:53,348 CRITICAL Error downloading some files : [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...', 'Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e')] 2021-09-13 10:38:53,350 CRITICAL Package xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to errors : EWaptDownloadError: Package file xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt not downloaded properly.
## Je renomme le paquet sur le serveur: 10:36:42 root@wapt: /datas/waptarchives # mv xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad17e8139fda2.wapt
## Et la ca fonctionne sur le client! https://WAPT.SRV/wapt-hostBonjour Gaetan,
Oui, j'upload mes paquets via scp.
Je n'ai peut etre pas été très clair dans la description de mon probleme. J'ai un soucis à sa génération depuis mon poste de dev (Windows 10, agent 2.0.0.9450-48).
La somme md5 n'est pas bonne et cela bloque lors de l'étape de téléchargement depuis les clients. (La signature est bien valide).
Si je télécharge mannuellement le paquet sur le client, celui s'installe correctement.
Je viens de faire l'essai en renomant à la main le paquet avec la bonne somme md5 et cela fonctionne. Je pense que j'ai un bug sur mon agent Wapt et cela m'étonne que le nom du fichier (qui est non signé) soit utilisé quelque part dans le processus d'installation!
J'espère être plus clair.. :)
Bonne journée Vincent
## Sur le serveur 10:33:10 root@WAPT.SRV:/datas/waptarchives # md5sum xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
ea5b2f5a6673a80e5ecad17e8139fda2 xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
## Sur le client 10:37:44 PC-xxXXxx33\installation C:\Program Files (x86)\wapt\cache # wapt-get install xxXXxx-config-w10-21h1-datas Using config file: C:\Program Files (x86)\wapt\wapt-get.ini installing WAPT packages xxXXxx-config-w10-21h1-datas https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 39845888 / 4422211150 (1%) (72218 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 89128960 / 4422211150 (2%) (82570 KB/s) ..... https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4395630592 / 4422211150 (99%) (76540 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4422211150 / 4422211150 (100%) (76600 KB/s) 2021-09-13 10:38:53,346 CRITICAL Error downloading package from http repository, please update... error : Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e 2021-09-13 10:38:53,348 CRITICAL Error downloading some files : [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...', 'Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e')] 2021-09-13 10:38:53,350 CRITICAL Package xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to errors : EWaptDownloadError: Package file xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt not downloaded properly.
## Je renomme le paquet sur le serveur: 10:36:42 root@wapt: /datas/waptarchives # mv xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad17e8139fda2.wapt
## Et la ca fonctionne sur le client!
10:40:04 PC-xxXXxx33\installation C:\Program Files (x86)\wapt\cache # wapt-get install xxXXxx-config-w10-21h1-datas Using config file: C:\Program Files (x86)\wapt\wapt-get.ini installing WAPT packages xxXXxx-config-w10-21h1-datas https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 33554432 / 4422211150 (1%) (60230 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 74448896 / 4422211150 (2%) (68256 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 113246208 / 4422211150 (3%) (69954 KB/s)
....
https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 4350541824 / 4422211150 (98%) (71528 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 4392484864 / 4422211150 (99%) (71597 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 4422211150 / 4422211150 (100%) (71572 KB/s) Installing xxXXxx-config-w10-21h1-datas(=1-1)
Le 13/09/2021 à 09:06, Gaëtan SEGAT via WAPT a écrit :
Bonjour Vincent,
cette méthode a-t-elle été testée ?
https://www.wapt.fr/fr/doc/wapt-common-problems-and-questions.html#my-wapt-p...
Gaëtan
Le 10/09/2021 à 19:32, Vincent Degat a écrit :
Re-bonjour,
pour compléter mon précédent mail, l'erreur me semble être déclenchée à la fin du processus de téléchargement du paquet car un upload/installation manuelle du paquet "initial" fonctionne bien sur le client
########## LOG POWERSHELL d'installation manuelle
19:28:00 PC-xxXXxx326\installation C:\Users\installation # Get-FileHash -Algorithm md5 -Path .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt
Algorithm Hash Path
MD5 AA3F8F7B10B5E14C5F58D56430EF8203 C:\Users\installation\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt
19:28:24 PC-xxXXxx326\installation C:\Users\installation # wapt-get install .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt Using config file: C:\Program Files (x86)\wapt\wapt-get.ini Installing WAPT files .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt ##############
Le 10/09/2021 à 19:01, Vincent Degat a écrit :
Bonjour tout le monde,
Ma config:
- serveur debian 10
- tis-waptserver: 2.0.0.9450-7bc6920c-debian-10-amd64
J'ai un problème de paquet qui refuse de s'installer sur mes clients du a une mauvaise sommes de contrôle. La seule différence entre ce paquet et les autres est sa taille (4,26 gigas), pour info c'est l'iso d'installation de Windows 10.
J'ai essayé de générer le paquet via la commande "wapt-get build-upload" et via l'IDE vscode. Je ne vois pas d'erreur à sa génération (voir si dessous) mais j'ai bien une différence entre le md5 du nom du paquet et sa somme "véridique".
Je pense que c'est un bug car via la console d'admin j'ai modifié sa "maturité" pour déclencher le processus de re-génération et le paquet de sorti est fonctionel !
Soit j'ai un bug sur la configuration de mon poste de développement (c'est possible je viens de le réinstaller), mais pourquoi mon paquet est alors autorisé sur le serveur et que sa regénération fonctionne sur le client?
D'avance merci, dites moi si des infos complémentaires peuvent être utiles.
Bon week-end! Vincent
PS: j'ai forcé le format HTML sur le mail pour avoir une mise en forme au mieux lisible.
#### Génération du paquet 17:46:10 VM-xxXXxx-DEV\installation Z:\waptdev\xxXXxx-config-w10-21h1-datas-wapt # wapt-get build-upload . Using config file: C:\Users\installation\AppData\Local\waptconsole\waptconsole.ini Building packages 1 packages Personal certificate is xxXXxx-vincent Please type the password to decrypt the private key Z:\waptdev\private\WAPT-CERT Password: Private key is <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> Personal certificate is SSLCertificate cn=xxXXxx-vincent Private key is <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> Building . Signing . with key <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> and certificate xxXXxx-vincent (Z:\waptdev\private\WAPT-CERT.crt) Package . signed : signature : mGpJzRovwm...betV8V4A= ...done building. Package filename Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt 1 packages successfully built 0 packages failed Building and uploading packages to https://WAPT.SRV Please get login for https://WAPT.SRV/api/v3/upload_xxx:USERNAME Password: Uploading Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: 2097152 / 4422211150 Uploading Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: 4194304 / 4422211150 Uploading Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: 6291456 / 4422211150 ....
#### Sommes MD5 md5sum xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
ea5b2f5a6673a80e5ecad17e8139fda2 xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
## Logs d'erreurs d'installation côté client
....... https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4422211150 / 4422211150 (100%) (69958 KB/s) 2021-09-10 18:13:39,550 CRITICAL Error downloading package from http repository, please update... error : Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e 2021-09-10 18:13:39,555 CRITICAL Error downloading some files : [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...', 'Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e')] 2021-09-10 18:13:39,560 CRITICAL Package xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to errors : EWaptDownloadError: Package file xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt not downloaded properly. Installing xxXXxx-config-w10-21h1-install(=1-8) 2021-09-10 18:13:39,683 CRITICAL Package xxXXxx-config-w10-21h1-install(=1-8) [x64_fr_PROD] not installed due to errors : EWaptUnavailablePackage: Missing dependencies: xxXXxx-config-w10-21h1-datas
-- Vincent Degat Tél: 02 40 37 16 82 Laboratoire de recherche en Hydrodynamique, Énergétique et Environnement Atmosphérique. École Centrale de Nantes - CNRS - UMR 6598
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
-- Vincent Degat Tél: 02 40 37 16 82 Laboratoire de recherche en Hydrodynamique, Énergétique et Environnement Atmosphérique. École Centrale de Nantes - CNRS - UMR 6598
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Est-ce possible de resigner les paquets ?
https://www.wapt.fr/fr/doc/wapt-command-line-interface.html?highlight=scanpa...
En ajoutant l'option -f pour forcer.
Gaëtan
Le 13/09/2021 à 10:46, Vincent Degat a écrit :
Bonjour Gaetan,
Merci de ta réponse. Oui, j'upload mes paquets via scp.
Je n'ai peut être pas été très clair dans la description de mon problème. J'ai un soucis à sa génération depuis mon poste de dev (Windows 10, agent 2.0.0.9450-48).
La somme md5 n'est pas bonne et cela bloque lors de l'étape de téléchargement depuis les clients. (La signature est bien valide).
Si je télécharge manuellement le paquet sur le client, celui s'installe correctement.
Je viens de faire l'essai en renommant à la main le paquet directement sur mon serveur avec la bonne somme md5 et cela fonctionne. Je pense que j'ai un bug sur mon agent Wapt et je m'étonne que le nom du fichier (qui est non signé) soit utilisé quelque part dans le processus d'installation!
J'espère être plus clair.. :)
Bonne journée Vincent
## Sur le serveur 10:33:10 root@WAPT.SRV:/datas/waptarchives # md5sum xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
ea5b2f5a6673a80e5ecad17e8139fda2 xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
## Sur le client 10:37:44 PC-xxXXxx33\installation C:\Program Files (x86)\wapt\cache # wapt-get install xxXXxx-config-w10-21h1-datas Using config file: C:\Program Files (x86)\wapt\wapt-get.ini installing WAPT packages xxXXxx-config-w10-21h1-datas https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 39845888 / 4422211150 (1%) (72218 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 89128960 / 4422211150 (2%) (82570 KB/s)
..... https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4395630592 / 4422211150 (99%) (76540 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4422211150 / 4422211150 (100%) (76600 KB/s) 2021-09-13 10:38:53,346 CRITICAL Error downloading package from http repository, please update... error : Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e 2021-09-13 10:38:53,348 CRITICAL Error downloading some files : [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...', 'Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e')] 2021-09-13 10:38:53,350 CRITICAL Package xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to errors : EWaptDownloadError: Package file xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt not downloaded properly.
## Je renomme le paquet sur le serveur: 10:36:42 root@wapt: /datas/waptarchives # mv xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad17e8139fda2.wapt
## Et la ca fonctionne sur le client! https://WAPT.SRV/wapt-hostBonjour Gaetan,
Oui, j'upload mes paquets via scp.
Je n'ai peut etre pas été très clair dans la description de mon probleme. J'ai un soucis à sa génération depuis mon poste de dev (Windows 10, agent 2.0.0.9450-48).
La somme md5 n'est pas bonne et cela bloque lors de l'étape de téléchargement depuis les clients. (La signature est bien valide).
Si je télécharge mannuellement le paquet sur le client, celui s'installe correctement.
Je viens de faire l'essai en renomant à la main le paquet avec la bonne somme md5 et cela fonctionne. Je pense que j'ai un bug sur mon agent Wapt et cela m'étonne que le nom du fichier (qui est non signé) soit utilisé quelque part dans le processus d'installation!
J'espère être plus clair.. :)
Bonne journée Vincent
## Sur le serveur 10:33:10 root@WAPT.SRV:/datas/waptarchives # md5sum xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
ea5b2f5a6673a80e5ecad17e8139fda2 xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
## Sur le client 10:37:44 PC-xxXXxx33\installation C:\Program Files (x86)\wapt\cache # wapt-get install xxXXxx-config-w10-21h1-datas Using config file: C:\Program Files (x86)\wapt\wapt-get.ini installing WAPT packages xxXXxx-config-w10-21h1-datas https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 39845888 / 4422211150 (1%) (72218 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 89128960 / 4422211150 (2%) (82570 KB/s) ..... https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4395630592 / 4422211150 (99%) (76540 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4422211150 / 4422211150 (100%) (76600 KB/s) 2021-09-13 10:38:53,346 CRITICAL Error downloading package from http repository, please update... error : Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e 2021-09-13 10:38:53,348 CRITICAL Error downloading some files : [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...', 'Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e')] 2021-09-13 10:38:53,350 CRITICAL Package xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to errors : EWaptDownloadError: Package file xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt not downloaded properly.
## Je renomme le paquet sur le serveur: 10:36:42 root@wapt: /datas/waptarchives # mv xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad17e8139fda2.wapt
## Et la ca fonctionne sur le client!
10:40:04 PC-xxXXxx33\installation C:\Program Files (x86)\wapt\cache # wapt-get install xxXXxx-config-w10-21h1-datas Using config file: C:\Program Files (x86)\wapt\wapt-get.ini installing WAPT packages xxXXxx-config-w10-21h1-datas https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 33554432 / 4422211150 (1%) (60230 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 74448896 / 4422211150 (2%) (68256 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 113246208 / 4422211150 (3%) (69954 KB/s)
....
https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 4350541824 / 4422211150 (98%) (71528 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 4392484864 / 4422211150 (99%) (71597 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 4422211150 / 4422211150 (100%) (71572 KB/s) Installing xxXXxx-config-w10-21h1-datas(=1-1)
Le 13/09/2021 à 09:06, Gaëtan SEGAT via WAPT a écrit :
Bonjour Vincent,
cette méthode a-t-elle été testée ?
https://www.wapt.fr/fr/doc/wapt-common-problems-and-questions.html#my-wapt-p...
Gaëtan
Le 10/09/2021 à 19:32, Vincent Degat a écrit :
Re-bonjour,
pour compléter mon précédent mail, l'erreur me semble être déclenchée à la fin du processus de téléchargement du paquet car un upload/installation manuelle du paquet "initial" fonctionne bien sur le client
########## LOG POWERSHELL d'installation manuelle
19:28:00 PC-xxXXxx326\installation C:\Users\installation # Get-FileHash -Algorithm md5 -Path .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt
Algorithm Hash Path
MD5 AA3F8F7B10B5E14C5F58D56430EF8203 C:\Users\installation\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt
19:28:24 PC-xxXXxx326\installation C:\Users\installation # wapt-get install .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt Using config file: C:\Program Files (x86)\wapt\wapt-get.ini Installing WAPT files .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt ##############
Le 10/09/2021 à 19:01, Vincent Degat a écrit :
Bonjour tout le monde,
Ma config:
- serveur debian 10
- tis-waptserver: 2.0.0.9450-7bc6920c-debian-10-amd64
J'ai un problème de paquet qui refuse de s'installer sur mes clients du a une mauvaise sommes de contrôle. La seule différence entre ce paquet et les autres est sa taille (4,26 gigas), pour info c'est l'iso d'installation de Windows 10.
J'ai essayé de générer le paquet via la commande "wapt-get build-upload" et via l'IDE vscode. Je ne vois pas d'erreur à sa génération (voir si dessous) mais j'ai bien une différence entre le md5 du nom du paquet et sa somme "véridique".
Je pense que c'est un bug car via la console d'admin j'ai modifié sa "maturité" pour déclencher le processus de re-génération et le paquet de sorti est fonctionel !
Soit j'ai un bug sur la configuration de mon poste de développement (c'est possible je viens de le réinstaller), mais pourquoi mon paquet est alors autorisé sur le serveur et que sa regénération fonctionne sur le client?
D'avance merci, dites moi si des infos complémentaires peuvent être utiles.
Bon week-end! Vincent
PS: j'ai forcé le format HTML sur le mail pour avoir une mise en forme au mieux lisible.
#### Génération du paquet 17:46:10 VM-xxXXxx-DEV\installation Z:\waptdev\xxXXxx-config-w10-21h1-datas-wapt # wapt-get build-upload . Using config file: C:\Users\installation\AppData\Local\waptconsole\waptconsole.ini Building packages 1 packages Personal certificate is xxXXxx-vincent Please type the password to decrypt the private key Z:\waptdev\private\WAPT-CERT Password: Private key is <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> Personal certificate is SSLCertificate cn=xxXXxx-vincent Private key is <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> Building . Signing . with key <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> and certificate xxXXxx-vincent (Z:\waptdev\private\WAPT-CERT.crt) Package . signed : signature : mGpJzRovwm...betV8V4A= ...done building. Package filename Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt 1 packages successfully built 0 packages failed Building and uploading packages to https://WAPT.SRV Please get login for https://WAPT.SRV/api/v3/upload_xxx:USERNAME Password: Uploading Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: 2097152 / 4422211150 Uploading Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: 4194304 / 4422211150 Uploading Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: 6291456 / 4422211150 ....
#### Sommes MD5 md5sum xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
ea5b2f5a6673a80e5ecad17e8139fda2 xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
## Logs d'erreurs d'installation côté client
....... https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4422211150 / 4422211150 (100%) (69958 KB/s) 2021-09-10 18:13:39,550 CRITICAL Error downloading package from http repository, please update... error : Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e 2021-09-10 18:13:39,555 CRITICAL Error downloading some files : [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...', 'Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e')] 2021-09-10 18:13:39,560 CRITICAL Package xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to errors : EWaptDownloadError: Package file xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt not downloaded properly. Installing xxXXxx-config-w10-21h1-install(=1-8) 2021-09-10 18:13:39,683 CRITICAL Package xxXXxx-config-w10-21h1-install(=1-8) [x64_fr_PROD] not installed due to errors : EWaptUnavailablePackage: Missing dependencies: xxXXxx-config-w10-21h1-datas
-- Vincent Degat Tél: 02 40 37 16 82 Laboratoire de recherche en Hydrodynamique, Énergétique et Environnement Atmosphérique. École Centrale de Nantes - CNRS - UMR 6598
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
-- Vincent Degat Tél: 02 40 37 16 82 Laboratoire de recherche en Hydrodynamique, Énergétique et Environnement Atmosphérique. École Centrale de Nantes - CNRS - UMR 6598
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
-- Vincent Degat Tél: 02 40 37 16 82 Laboratoire de recherche en Hydrodynamique, Énergétique et Environnement Atmosphérique. École Centrale de Nantes - C.N.R.S. UMR 6598
C'est un test que j'ai déjà fait. Via la console, j'ai changé sa maturité pour déclencher le processus de repackaging côté serveur et celui ci a fonctionné.
Si vous n'avez pas eu d'autres remontées, cela vient probablement de ma configuration sur mon poste de dév Windows. J'ai trouvé comment contourner le soucis de mon côté.
Encore merci d'avoir pris du temps.
Bonne journée Vincent
Le 13/09/2021 à 11:48, Gaëtan SEGAT a écrit :
Est-ce possible de resigner les paquets ?
https://www.wapt.fr/fr/doc/wapt-command-line-interface.html?highlight=scanpa...
En ajoutant l'option -f pour forcer.
Gaëtan
Le 13/09/2021 à 10:46, Vincent Degat a écrit :
Bonjour Gaetan,
Merci de ta réponse. Oui, j'upload mes paquets via scp.
Je n'ai peut être pas été très clair dans la description de mon problème. J'ai un soucis à sa génération depuis mon poste de dev (Windows 10, agent 2.0.0.9450-48).
La somme md5 n'est pas bonne et cela bloque lors de l'étape de téléchargement depuis les clients. (La signature est bien valide).
Si je télécharge manuellement le paquet sur le client, celui s'installe correctement.
Je viens de faire l'essai en renommant à la main le paquet directement sur mon serveur avec la bonne somme md5 et cela fonctionne. Je pense que j'ai un bug sur mon agent Wapt et je m'étonne que le nom du fichier (qui est non signé) soit utilisé quelque part dans le processus d'installation!
J'espère être plus clair.. :)
Bonne journée Vincent
## Sur le serveur 10:33:10 root@WAPT.SRV:/datas/waptarchives # md5sum xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
ea5b2f5a6673a80e5ecad17e8139fda2 xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
## Sur le client 10:37:44 PC-xxXXxx33\installation C:\Program Files (x86)\wapt\cache # wapt-get install xxXXxx-config-w10-21h1-datas Using config file: C:\Program Files (x86)\wapt\wapt-get.ini installing WAPT packages xxXXxx-config-w10-21h1-datas https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 39845888 / 4422211150 (1%) (72218 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 89128960 / 4422211150 (2%) (82570 KB/s)
..... https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4395630592 / 4422211150 (99%) (76540 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4422211150 / 4422211150 (100%) (76600 KB/s) 2021-09-13 10:38:53,346 CRITICAL Error downloading package from http repository, please update... error : Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e 2021-09-13 10:38:53,348 CRITICAL Error downloading some files : [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...', 'Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e')] 2021-09-13 10:38:53,350 CRITICAL Package xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to errors : EWaptDownloadError: Package file xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt not downloaded properly.
## Je renomme le paquet sur le serveur: 10:36:42 root@wapt: /datas/waptarchives # mv xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad17e8139fda2.wapt
## Et la ca fonctionne sur le client! https://WAPT.SRV/wapt-hostBonjour Gaetan,
Oui, j'upload mes paquets via scp.
Je n'ai peut etre pas été très clair dans la description de mon probleme. J'ai un soucis à sa génération depuis mon poste de dev (Windows 10, agent 2.0.0.9450-48).
La somme md5 n'est pas bonne et cela bloque lors de l'étape de téléchargement depuis les clients. (La signature est bien valide).
Si je télécharge mannuellement le paquet sur le client, celui s'installe correctement.
Je viens de faire l'essai en renomant à la main le paquet avec la bonne somme md5 et cela fonctionne. Je pense que j'ai un bug sur mon agent Wapt et cela m'étonne que le nom du fichier (qui est non signé) soit utilisé quelque part dans le processus d'installation!
J'espère être plus clair.. :)
Bonne journée Vincent
## Sur le serveur 10:33:10 root@WAPT.SRV:/datas/waptarchives # md5sum xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
ea5b2f5a6673a80e5ecad17e8139fda2 xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
## Sur le client 10:37:44 PC-xxXXxx33\installation C:\Program Files (x86)\wapt\cache # wapt-get install xxXXxx-config-w10-21h1-datas Using config file: C:\Program Files (x86)\wapt\wapt-get.ini installing WAPT packages xxXXxx-config-w10-21h1-datas https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 39845888 / 4422211150 (1%) (72218 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 89128960 / 4422211150 (2%) (82570 KB/s) ..... https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4395630592 / 4422211150 (99%) (76540 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4422211150 / 4422211150 (100%) (76600 KB/s) 2021-09-13 10:38:53,346 CRITICAL Error downloading package from http repository, please update... error : Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e 2021-09-13 10:38:53,348 CRITICAL Error downloading some files : [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...', 'Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e')] 2021-09-13 10:38:53,350 CRITICAL Package xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to errors : EWaptDownloadError: Package file xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt not downloaded properly.
## Je renomme le paquet sur le serveur: 10:36:42 root@wapt: /datas/waptarchives # mv xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad17e8139fda2.wapt
## Et la ca fonctionne sur le client!
10:40:04 PC-xxXXxx33\installation C:\Program Files (x86)\wapt\cache # wapt-get install xxXXxx-config-w10-21h1-datas Using config file: C:\Program Files (x86)\wapt\wapt-get.ini installing WAPT packages xxXXxx-config-w10-21h1-datas https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 33554432 / 4422211150 (1%) (60230 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 74448896 / 4422211150 (2%) (68256 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 113246208 / 4422211150 (3%) (69954 KB/s)
....
https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 4350541824 / 4422211150 (98%) (71528 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 4392484864 / 4422211150 (99%) (71597 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 4422211150 / 4422211150 (100%) (71572 KB/s) Installing xxXXxx-config-w10-21h1-datas(=1-1)
Le 13/09/2021 à 09:06, Gaëtan SEGAT via WAPT a écrit :
Bonjour Vincent,
cette méthode a-t-elle été testée ?
https://www.wapt.fr/fr/doc/wapt-common-problems-and-questions.html#my-wapt-p...
Gaëtan
Le 10/09/2021 à 19:32, Vincent Degat a écrit :
Re-bonjour,
pour compléter mon précédent mail, l'erreur me semble être déclenchée à la fin du processus de téléchargement du paquet car un upload/installation manuelle du paquet "initial" fonctionne bien sur le client
########## LOG POWERSHELL d'installation manuelle
19:28:00 PC-xxXXxx326\installation C:\Users\installation # Get-FileHash -Algorithm md5 -Path .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt
Algorithm Hash Path ---------
----
MD5 AA3F8F7B10B5E14C5F58D56430EF8203 C:\Users\installation\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt
19:28:24 PC-xxXXxx326\installation C:\Users\installation # wapt-get install .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt Using config file: C:\Program Files (x86)\wapt\wapt-get.ini Installing WAPT files .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt ##############
Le 10/09/2021 à 19:01, Vincent Degat a écrit :
Bonjour tout le monde,
Ma config:
- serveur debian 10
- tis-waptserver: 2.0.0.9450-7bc6920c-debian-10-amd64
J'ai un problème de paquet qui refuse de s'installer sur mes clients du a une mauvaise sommes de contrôle. La seule différence entre ce paquet et les autres est sa taille (4,26 gigas), pour info c'est l'iso d'installation de Windows 10.
J'ai essayé de générer le paquet via la commande "wapt-get build-upload" et via l'IDE vscode. Je ne vois pas d'erreur à sa génération (voir si dessous) mais j'ai bien une différence entre le md5 du nom du paquet et sa somme "véridique".
Je pense que c'est un bug car via la console d'admin j'ai modifié sa "maturité" pour déclencher le processus de re-génération et le paquet de sorti est fonctionel !
Soit j'ai un bug sur la configuration de mon poste de développement (c'est possible je viens de le réinstaller), mais pourquoi mon paquet est alors autorisé sur le serveur et que sa regénération fonctionne sur le client?
D'avance merci, dites moi si des infos complémentaires peuvent être utiles.
Bon week-end! Vincent
PS: j'ai forcé le format HTML sur le mail pour avoir une mise en forme au mieux lisible.
#### Génération du paquet 17:46:10 VM-xxXXxx-DEV\installation Z:\waptdev\xxXXxx-config-w10-21h1-datas-wapt # wapt-get build-upload . Using config file: C:\Users\installation\AppData\Local\waptconsole\waptconsole.ini Building packages 1 packages Personal certificate is xxXXxx-vincent Please type the password to decrypt the private key Z:\waptdev\private\WAPT-CERT Password: Private key is <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> Personal certificate is SSLCertificate cn=xxXXxx-vincent Private key is <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> Building . Signing . with key <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> and certificate xxXXxx-vincent (Z:\waptdev\private\WAPT-CERT.crt) Package . signed : signature : mGpJzRovwm...betV8V4A= ...done building. Package filename Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt 1 packages successfully built 0 packages failed Building and uploading packages to https://WAPT.SRV Please get login for https://WAPT.SRV/api/v3/upload_xxx:USERNAME Password: Uploading Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: 2097152 / 4422211150 Uploading Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: 4194304 / 4422211150 Uploading Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: 6291456 / 4422211150 ....
#### Sommes MD5 md5sum xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
ea5b2f5a6673a80e5ecad17e8139fda2 xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
## Logs d'erreurs d'installation côté client
....... https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4422211150 / 4422211150 (100%) (69958 KB/s) 2021-09-10 18:13:39,550 CRITICAL Error downloading package from http repository, please update... error : Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e 2021-09-10 18:13:39,555 CRITICAL Error downloading some files : [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...', 'Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e')] 2021-09-10 18:13:39,560 CRITICAL Package xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to errors : EWaptDownloadError: Package file xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt not downloaded properly. Installing xxXXxx-config-w10-21h1-install(=1-8) 2021-09-10 18:13:39,683 CRITICAL Package xxXXxx-config-w10-21h1-install(=1-8) [x64_fr_PROD] not installed due to errors : EWaptUnavailablePackage: Missing dependencies: xxXXxx-config-w10-21h1-datas
-- Vincent Degat Tél: 02 40 37 16 82 Laboratoire de recherche en Hydrodynamique, Énergétique et Environnement Atmosphérique. École Centrale de Nantes - CNRS - UMR 6598
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
-- Vincent Degat Tél: 02 40 37 16 82 Laboratoire de recherche en Hydrodynamique, Énergétique et Environnement Atmosphérique. École Centrale de Nantes - CNRS - UMR 6598
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
-- Vincent Degat Tél: 02 40 37 16 82 Laboratoire de recherche en Hydrodynamique, Énergétique et Environnement Atmosphérique. École Centrale de Nantes - C.N.R.S. UMR 6598
Pour info, j'ai vu Hubert corriger en 2.1 un problème "corner case" de somme MD5 quand la taille d'un paquet s'approchait des 4Go.
Il s'agissait en l'occurrence du correctif pour PrintNightmare qui faisait 3.6Go.
A++
Vincent
Le 13/09/2021 à 12:20, Vincent Degat via WAPT a écrit :
C'est un test que j'ai déjà fait. Via la console, j'ai changé sa maturité pour déclencher le processus de repackaging côté serveur et celui ci a fonctionné.
Si vous n'avez pas eu d'autres remontées, cela vient probablement de ma configuration sur mon poste de dév Windows. J'ai trouvé comment contourner le soucis de mon côté.
Encore merci d'avoir pris du temps.
Bonne journée Vincent
Le 13/09/2021 à 11:48, Gaëtan SEGAT a écrit :
Est-ce possible de resigner les paquets ?
https://www.wapt.fr/fr/doc/wapt-command-line-interface.html?highlight=scanpa...
En ajoutant l'option -f pour forcer.
Gaëtan
Le 13/09/2021 à 10:46, Vincent Degat a écrit :
Bonjour Gaetan,
Merci de ta réponse. Oui, j'upload mes paquets via scp.
Je n'ai peut être pas été très clair dans la description de mon problème. J'ai un soucis à sa génération depuis mon poste de dev (Windows 10, agent 2.0.0.9450-48).
La somme md5 n'est pas bonne et cela bloque lors de l'étape de téléchargement depuis les clients. (La signature est bien valide).
Si je télécharge manuellement le paquet sur le client, celui s'installe correctement.
Je viens de faire l'essai en renommant à la main le paquet directement sur mon serveur avec la bonne somme md5 et cela fonctionne. Je pense que j'ai un bug sur mon agent Wapt et je m'étonne que le nom du fichier (qui est non signé) soit utilisé quelque part dans le processus d'installation!
J'espère être plus clair.. :)
Bonne journée Vincent
## Sur le serveur 10:33:10 root@WAPT.SRV:/datas/waptarchives # md5sum xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
ea5b2f5a6673a80e5ecad17e8139fda2 xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
## Sur le client 10:37:44 PC-xxXXxx33\installation C:\Program Files (x86)\wapt\cache # wapt-get install xxXXxx-config-w10-21h1-datas Using config file: C:\Program Files (x86)\wapt\wapt-get.ini installing WAPT packages xxXXxx-config-w10-21h1-datas https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 39845888 / 4422211150 (1%) (72218 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 89128960 / 4422211150 (2%) (82570 KB/s)
..... https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4395630592 / 4422211150 (99%) (76540 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4422211150 / 4422211150 (100%) (76600 KB/s) 2021-09-13 10:38:53,346 CRITICAL Error downloading package from http repository, please update... error : Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e 2021-09-13 10:38:53,348 CRITICAL Error downloading some files : [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...', 'Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e')] 2021-09-13 10:38:53,350 CRITICAL Package xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to errors : EWaptDownloadError: Package file xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt not downloaded properly.
## Je renomme le paquet sur le serveur: 10:36:42 root@wapt: /datas/waptarchives # mv xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad17e8139fda2.wapt
## Et la ca fonctionne sur le client! https://WAPT.SRV/wapt-hostBonjour Gaetan,
Oui, j'upload mes paquets via scp.
Je n'ai peut etre pas été très clair dans la description de mon probleme. J'ai un soucis à sa génération depuis mon poste de dev (Windows 10, agent 2.0.0.9450-48).
La somme md5 n'est pas bonne et cela bloque lors de l'étape de téléchargement depuis les clients. (La signature est bien valide).
Si je télécharge mannuellement le paquet sur le client, celui s'installe correctement.
Je viens de faire l'essai en renomant à la main le paquet avec la bonne somme md5 et cela fonctionne. Je pense que j'ai un bug sur mon agent Wapt et cela m'étonne que le nom du fichier (qui est non signé) soit utilisé quelque part dans le processus d'installation!
J'espère être plus clair.. :)
Bonne journée Vincent
## Sur le serveur 10:33:10 root@WAPT.SRV:/datas/waptarchives # md5sum xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
ea5b2f5a6673a80e5ecad17e8139fda2 xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
## Sur le client 10:37:44 PC-xxXXxx33\installation C:\Program Files (x86)\wapt\cache # wapt-get install xxXXxx-config-w10-21h1-datas Using config file: C:\Program Files (x86)\wapt\wapt-get.ini installing WAPT packages xxXXxx-config-w10-21h1-datas https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 39845888 / 4422211150 (1%) (72218 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 89128960 / 4422211150 (2%) (82570 KB/s) ..... https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4395630592 / 4422211150 (99%) (76540 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4422211150 / 4422211150 (100%) (76600 KB/s) 2021-09-13 10:38:53,346 CRITICAL Error downloading package from http repository, please update... error : Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e 2021-09-13 10:38:53,348 CRITICAL Error downloading some files : [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...', 'Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e')] 2021-09-13 10:38:53,350 CRITICAL Package xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to errors : EWaptDownloadError: Package file xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt not downloaded properly.
## Je renomme le paquet sur le serveur: 10:36:42 root@wapt: /datas/waptarchives # mv xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad17e8139fda2.wapt
## Et la ca fonctionne sur le client!
10:40:04 PC-xxXXxx33\installation C:\Program Files (x86)\wapt\cache # wapt-get install xxXXxx-config-w10-21h1-datas Using config file: C:\Program Files (x86)\wapt\wapt-get.ini installing WAPT packages xxXXxx-config-w10-21h1-datas https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 33554432 / 4422211150 (1%) (60230 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 74448896 / 4422211150 (2%) (68256 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 113246208 / 4422211150 (3%) (69954 KB/s)
....
https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 4350541824 / 4422211150 (98%) (71528 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 4392484864 / 4422211150 (99%) (71597 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad... : 4422211150 / 4422211150 (100%) (71572 KB/s) Installing xxXXxx-config-w10-21h1-datas(=1-1)
Le 13/09/2021 à 09:06, Gaëtan SEGAT via WAPT a écrit :
Bonjour Vincent,
cette méthode a-t-elle été testée ?
https://www.wapt.fr/fr/doc/wapt-common-problems-and-questions.html#my-wapt-p...
Gaëtan
Le 10/09/2021 à 19:32, Vincent Degat a écrit :
Re-bonjour,
pour compléter mon précédent mail, l'erreur me semble être déclenchée à la fin du processus de téléchargement du paquet car un upload/installation manuelle du paquet "initial" fonctionne bien sur le client
########## LOG POWERSHELL d'installation manuelle
19:28:00 PC-xxXXxx326\installation C:\Users\installation # Get-FileHash -Algorithm md5 -Path .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt
Algorithm Hash Path
MD5 AA3F8F7B10B5E14C5F58D56430EF8203 C:\Users\installation\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt
19:28:24 PC-xxXXxx326\installation C:\Users\installation # wapt-get install .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt Using config file: C:\Program Files (x86)\wapt\wapt-get.ini Installing WAPT files .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt ##############
Le 10/09/2021 à 19:01, Vincent Degat a écrit :
Bonjour tout le monde,
Ma config:
- serveur debian 10
- tis-waptserver: 2.0.0.9450-7bc6920c-debian-10-amd64
J'ai un problème de paquet qui refuse de s'installer sur mes clients du a une mauvaise sommes de contrôle. La seule différence entre ce paquet et les autres est sa taille (4,26 gigas), pour info c'est l'iso d'installation de Windows 10.
J'ai essayé de générer le paquet via la commande "wapt-get build-upload" et via l'IDE vscode. Je ne vois pas d'erreur à sa génération (voir si dessous) mais j'ai bien une différence entre le md5 du nom du paquet et sa somme "véridique".
Je pense que c'est un bug car via la console d'admin j'ai modifié sa "maturité" pour déclencher le processus de re-génération et le paquet de sorti est fonctionel !
Soit j'ai un bug sur la configuration de mon poste de développement (c'est possible je viens de le réinstaller), mais pourquoi mon paquet est alors autorisé sur le serveur et que sa regénération fonctionne sur le client?
D'avance merci, dites moi si des infos complémentaires peuvent être utiles.
Bon week-end! Vincent
PS: j'ai forcé le format HTML sur le mail pour avoir une mise en forme au mieux lisible.
#### Génération du paquet 17:46:10 VM-xxXXxx-DEV\installation Z:\waptdev\xxXXxx-config-w10-21h1-datas-wapt # wapt-get build-upload . Using config file: C:\Users\installation\AppData\Local\waptconsole\waptconsole.ini Building packages 1 packages Personal certificate is xxXXxx-vincent Please type the password to decrypt the private key Z:\waptdev\private\WAPT-CERT Password: Private key is <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> Personal certificate is SSLCertificate cn=xxXXxx-vincent Private key is <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> Building . Signing . with key <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> and certificate xxXXxx-vincent (Z:\waptdev\private\WAPT-CERT.crt) Package . signed : signature : mGpJzRovwm...betV8V4A= ...done building. Package filename Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt 1 packages successfully built 0 packages failed Building and uploading packages to https://WAPT.SRV Please get login for https://WAPT.SRV/api/v3/upload_xxx:USERNAME Password: Uploading Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: 2097152 / 4422211150 Uploading Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: 4194304 / 4422211150 Uploading Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: 6291456 / 4422211150 ....
#### Sommes MD5 md5sum xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
ea5b2f5a6673a80e5ecad17e8139fda2 xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
## Logs d'erreurs d'installation côté client
....... https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... : 4422211150 / 4422211150 (100%) (69958 KB/s) 2021-09-10 18:13:39,550 CRITICAL Error downloading package from http repository, please update... error : Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e 2021-09-10 18:13:39,555 CRITICAL Error downloading some files : [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...', 'Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e')] 2021-09-10 18:13:39,560 CRITICAL Package xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to errors : EWaptDownloadError: Package file xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt not downloaded properly. Installing xxXXxx-config-w10-21h1-install(=1-8) 2021-09-10 18:13:39,683 CRITICAL Package xxXXxx-config-w10-21h1-install(=1-8) [x64_fr_PROD] not installed due to errors : EWaptUnavailablePackage: Missing dependencies: xxXXxx-config-w10-21h1-datas
-- Vincent Degat Tél: 02 40 37 16 82 Laboratoire de recherche en Hydrodynamique, Énergétique et Environnement Atmosphérique. École Centrale de Nantes - CNRS - UMR 6598
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
-- Vincent Degat Tél: 02 40 37 16 82 Laboratoire de recherche en Hydrodynamique, Énergétique et Environnement Atmosphérique. École Centrale de Nantes - CNRS - UMR 6598
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
-- Vincent Degat Tél: 02 40 37 16 82 Laboratoire de recherche en Hydrodynamique, Énergétique et Environnement Atmosphérique. École Centrale de Nantes - C.N.R.S. UMR 6598
Bonjour Vincent,
Merci de ta réponse, par contre je ne suis pas développeur et comprend mal le terme de "corner case" :)
Je suis pas du tout un pro en sécurité mais ca me semble tres bizarre que le nom du fichier, qui est une variable non contrôlée en INPUT, entre en compte dans votre process de validation de paquet.
Mes 20centimes, bonne soirée. V.
Le 13/09/2021 à 15:22, Vincent Cardon via WAPT a écrit :
Pour info, j'ai vu Hubert corriger en 2.1 un problème "corner case" de somme MD5 quand la taille d'un paquet s'approchait des 4Go.
Il s'agissait en l'occurrence du correctif pour PrintNightmare qui faisait 3.6Go.
A++
Vincent
Le 13/09/2021 à 12:20, Vincent Degat via WAPT a écrit :
C'est un test que j'ai déjà fait. Via la console, j'ai changé sa maturité pour déclencher le processus de repackaging côté serveur et celui ci a fonctionné.
Si vous n'avez pas eu d'autres remontées, cela vient probablement de ma configuration sur mon poste de dév Windows. J'ai trouvé comment contourner le soucis de mon côté.
Encore merci d'avoir pris du temps.
Bonne journée Vincent
Le 13/09/2021 à 11:48, Gaëtan SEGAT a écrit :
Est-ce possible de resigner les paquets ?
https://www.wapt.fr/fr/doc/wapt-command-line-interface.html?highlight=scanpa...
En ajoutant l'option -f pour forcer.
Gaëtan
Le 13/09/2021 à 10:46, Vincent Degat a écrit :
Bonjour Gaetan,
Merci de ta réponse. Oui, j'upload mes paquets via scp.
Je n'ai peut être pas été très clair dans la description de mon problème. J'ai un soucis à sa génération depuis mon poste de dev (Windows 10, agent 2.0.0.9450-48).
La somme md5 n'est pas bonne et cela bloque lors de l'étape de téléchargement depuis les clients. (La signature est bien valide).
Si je télécharge manuellement le paquet sur le client, celui s'installe correctement.
Je viens de faire l'essai en renommant à la main le paquet directement sur mon serveur avec la bonne somme md5 et cela fonctionne. Je pense que j'ai un bug sur mon agent Wapt et je m'étonne que le nom du fichier (qui est non signé) soit utilisé quelque part dans le processus d'installation!
J'espère être plus clair.. :)
Bonne journée Vincent
## Sur le serveur 10:33:10 root@WAPT.SRV:/datas/waptarchives # md5sum xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
ea5b2f5a6673a80e5ecad17e8139fda2 xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
## Sur le client 10:37:44 PC-xxXXxx33\installation C:\Program Files (x86)\wapt\cache # wapt-get install xxXXxx-config-w10-21h1-datas Using config file: C:\Program Files (x86)\wapt\wapt-get.ini installing WAPT packages xxXXxx-config-w10-21h1-datas https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...
: 39845888 / 4422211150 (1%) (72218 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...
: 89128960 / 4422211150 (2%) (82570 KB/s)
..... https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...
: 4395630592 / 4422211150 (99%) (76540 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...
: 4422211150 / 4422211150 (100%) (76600 KB/s) 2021-09-13 10:38:53,346 CRITICAL Error downloading package from http repository, please update... error : Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...
md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e 2021-09-13 10:38:53,348 CRITICAL Error downloading some files : [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...',
'Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...
md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e')] 2021-09-13 10:38:53,350 CRITICAL Package xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to errors : EWaptDownloadError: Package file xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt not downloaded properly.
## Je renomme le paquet sur le serveur: 10:36:42 root@wapt: /datas/waptarchives # mv xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad17e8139fda2.wapt
## Et la ca fonctionne sur le client! https://WAPT.SRV/wapt-hostBonjour Gaetan,
Oui, j'upload mes paquets via scp.
Je n'ai peut etre pas été très clair dans la description de mon probleme. J'ai un soucis à sa génération depuis mon poste de dev (Windows 10, agent 2.0.0.9450-48).
La somme md5 n'est pas bonne et cela bloque lors de l'étape de téléchargement depuis les clients. (La signature est bien valide).
Si je télécharge mannuellement le paquet sur le client, celui s'installe correctement.
Je viens de faire l'essai en renomant à la main le paquet avec la bonne somme md5 et cela fonctionne. Je pense que j'ai un bug sur mon agent Wapt et cela m'étonne que le nom du fichier (qui est non signé) soit utilisé quelque part dans le processus d'installation!
J'espère être plus clair.. :)
Bonne journée Vincent
## Sur le serveur 10:33:10 root@WAPT.SRV:/datas/waptarchives # md5sum xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
ea5b2f5a6673a80e5ecad17e8139fda2 xxxXXx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt
## Sur le client 10:37:44 PC-xxXXxx33\installation C:\Program Files (x86)\wapt\cache # wapt-get install xxXXxx-config-w10-21h1-datas Using config file: C:\Program Files (x86)\wapt\wapt-get.ini installing WAPT packages xxXXxx-config-w10-21h1-datas https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...
: 39845888 / 4422211150 (1%) (72218 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...
: 89128960 / 4422211150 (2%) (82570 KB/s) ..... https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...
: 4395630592 / 4422211150 (99%) (76540 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...
: 4422211150 / 4422211150 (100%) (76600 KB/s) 2021-09-13 10:38:53,346 CRITICAL Error downloading package from http repository, please update... error : Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...
md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e 2021-09-13 10:38:53,348 CRITICAL Error downloading some files : [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...',
'Downloaded file https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...
md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected d41d8cd98f00b204e9800998ecf8427e')] 2021-09-13 10:38:53,350 CRITICAL Package xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to errors : EWaptDownloadError: Package file xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt not downloaded properly.
## Je renomme le paquet sur le serveur: 10:36:42 root@wapt: /datas/waptarchives # mv xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad17e8139fda2.wapt
## Et la ca fonctionne sur le client!
10:40:04 PC-xxXXxx33\installation C:\Program Files (x86)\wapt\cache # wapt-get install xxXXxx-config-w10-21h1-datas Using config file: C:\Program Files (x86)\wapt\wapt-get.ini installing WAPT packages xxXXxx-config-w10-21h1-datas https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad...
: 33554432 / 4422211150 (1%) (60230 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad...
: 74448896 / 4422211150 (2%) (68256 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad...
: 113246208 / 4422211150 (3%) (69954 KB/s)
....
https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad...
: 4350541824 / 4422211150 (98%) (71528 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad...
: 4392484864 / 4422211150 (99%) (71597 KB/s) https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_ea5b2f5a6673a80e5ecad...
: 4422211150 / 4422211150 (100%) (71572 KB/s) Installing xxXXxx-config-w10-21h1-datas(=1-1)
Le 13/09/2021 à 09:06, Gaëtan SEGAT via WAPT a écrit :
Bonjour Vincent,
cette méthode a-t-elle été testée ?
https://www.wapt.fr/fr/doc/wapt-common-problems-and-questions.html#my-wapt-p...
Gaëtan
Le 10/09/2021 à 19:32, Vincent Degat a écrit :
Re-bonjour,
pour compléter mon précédent mail, l'erreur me semble être déclenchée à la fin du processus de téléchargement du paquet car un upload/installation manuelle du paquet "initial" fonctionne bien sur le client
########## LOG POWERSHELL d'installation manuelle
19:28:00 PC-xxXXxx326\installation C:\Users\installation # Get-FileHash -Algorithm md5 -Path .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt
Algorithm Hash Path
MD5 AA3F8F7B10B5E14C5F58D56430EF8203 C:\Users\installation\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt
19:28:24 PC-xxXXxx326\installation C:\Users\installation # wapt-get install .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt
Using config file: C:\Program Files (x86)\wapt\wapt-get.ini Installing WAPT files .\xxXXxx-config-w10-21h1-datas_1-2_windows_0f4137ed1502b5045d6083aa258b5c42.wapt
##############
Le 10/09/2021 à 19:01, Vincent Degat a écrit : > > Bonjour tout le monde, > > Ma config: > - serveur debian 10 > - tis-waptserver: 2.0.0.9450-7bc6920c-debian-10-amd64 > > > J'ai un problème de paquet qui refuse de s'installer sur mes > clients du a une mauvaise sommes de contrôle. La seule différence > entre ce paquet et les autres est sa taille (4,26 gigas), pour > info c'est l'iso d'installation de Windows 10. > > J'ai essayé de générer le paquet via la commande "wapt-get > build-upload" et via l'IDE vscode. Je ne vois pas d'erreur à sa > génération (voir si dessous) mais j'ai bien une différence entre > le md5 du nom du paquet et sa somme "véridique". > > > Je pense que c'est un bug car via la console d'admin j'ai modifié > sa "maturité" pour déclencher le processus de re-génération et le > paquet de sorti est fonctionel ! > > Soit j'ai un bug sur la configuration de mon poste de > développement (c'est possible je viens de le réinstaller), mais > pourquoi mon paquet est alors autorisé sur le serveur et que sa > regénération fonctionne sur le client? > > > D'avance merci, dites moi si des infos complémentaires peuvent > être utiles. > > Bon week-end! > Vincent > > > PS: j'ai forcé le format HTML sur le mail pour avoir une mise en > forme au mieux lisible. > > > #### Génération du paquet > 17:46:10 VM-xxXXxx-DEV\installation > Z:\waptdev\xxXXxx-config-w10-21h1-datas-wapt # wapt-get > build-upload > . > Using config file: > C:\Users\installation\AppData\Local\waptconsole\waptconsole.ini > Building packages 1 packages > Personal certificate is xxXXxx-vincent > Please type the password to decrypt the private key > Z:\waptdev\private\WAPT-CERT > Password: > Private key is <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> > Personal certificate is SSLCertificate cn=xxXXxx-vincent > Private key is <SSLPrivateKey 'Z:\waptdev\private\WAPT-CERT'> > Building . > Signing . with key <SSLPrivateKey > 'Z:\waptdev\private\WAPT-CERT'> and certificate xxXXxx-vincent > (Z:\waptdev\private\WAPT-CERT.crt) > Package . signed : signature : mGpJzRovwm...betV8V4A= > ...done building. Package filename > Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt > > 1 packages successfully built > 0 packages failed > Building and uploading packages to https://WAPT.SRV > Please get login for https://WAPT.SRV/api/v3/upload_xxx:USERNAME > Password: > Uploading > Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: > > 2097152 / 4422211150 > Uploading > Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: > > 4194304 / 4422211150 > Uploading > Z:\waptdev\xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt: > > 6291456 / 4422211150 > .... > > > > > > #### Sommes MD5 > md5sum > xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt > > > ea5b2f5a6673a80e5ecad17e8139fda2 > xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt > > > > > ## Logs d'erreurs d'installation côté client > > ....... > https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... > > : 4422211150 / 4422211150 (100%) (69958 KB/s) > 2021-09-10 18:13:39,550 CRITICAL Error downloading package from > http repository, please update... error : Downloaded file > https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... > > md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected > d41d8cd98f00b204e9800998ecf8427e > 2021-09-10 18:13:39,555 CRITICAL Error downloading some files : > [('https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800...', > > 'Downloaded file > https://WAPT.SRV/wapt/xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800... > > md5 ea5b2f5a6673a80e5ecad17e8139fda2 does not match expected > d41d8cd98f00b204e9800998ecf8427e')] > 2021-09-10 18:13:39,560 CRITICAL Package > xxXXxx-config-w10-21h1-datas [x64_fr_PROD] not installed due to > errors : EWaptDownloadError: Package file > xxXXxx-config-w10-21h1-datas_1-1_d41d8cd98f00b204e9800998ecf8427e.wapt > > not downloaded properly. > Installing xxXXxx-config-w10-21h1-install(=1-8) > 2021-09-10 18:13:39,683 CRITICAL Package > xxXXxx-config-w10-21h1-install(=1-8) [x64_fr_PROD] not installed > due to errors : EWaptUnavailablePackage: Missing dependencies: > xxXXxx-config-w10-21h1-datas > > > > > > > > > -- > Vincent Degat > Tél: 02 40 37 16 82 > Laboratoire de recherche en Hydrodynamique, > Énergétique et Environnement Atmosphérique. > École Centrale de Nantes - CNRS - UMR 6598 > > _______________________________________________ > WAPT mailing list > WAPT@lists.tranquil.it > http://lists.tranquil.it/listinfo/wapt
-- Vincent Degat Tél: 02 40 37 16 82 Laboratoire de recherche en Hydrodynamique, Énergétique et Environnement Atmosphérique. École Centrale de Nantes - CNRS - UMR 6598
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
-- Vincent Degat Tél: 02 40 37 16 82 Laboratoire de recherche en Hydrodynamique, Énergétique et Environnement Atmosphérique. École Centrale de Nantes - C.N.R.S. UMR 6598
Effectivement, ça ne rentre pas en compte dans la validation "sécurité" du paquet. La somme MD5 sert uniquement à savoir si on a téléchargé le paquet complètement (suite à reprise de téléchargement par exemple) Le "corner case" évoqué est effectivement un problème de calcul du md5 lors du téléchargement dans la console (pas dans le service wapt), lié à un "débordement" de nombre entier. (la position actuelle était stockée dans une zone mémoire trop petite pour les tailles importantes de fichier).
Le 13/09/2021 à 21:00, Vincent Degat a écrit :
ca me semble tres bizarre que le nom du fichier, qui est une variable non contrôlée en INPUT, entre en compte dans votre process de validation de paquet.
Bonjour ,
Merci Hubert d'avoir pris le temps de me répondre.
Mon problème à la base portait sur la génération du paquet qui ne fonctionne pas "out of the box".
Cela semble être connu chez vous et je peux attendre sans problème la mise à jour.
Le 15/09/2021 à 09:42, Hubert TOUVET via WAPT a écrit :
Effectivement, ça ne rentre pas en compte dans la validation "sécurité" du paquet.
Pour pinailler un peu:
- j'avais cru comprendre que le serveur web n'était pas considéré comme un "bien sensible" dans le processus WAPT et que sa compromission ne pouvait pas avoir d'impact sur la sécurité des clients, - sur le serveur je peux modifier les noms de fichiers et lancer la commande "wapt-scanpackages" sans avoir à connaître les clés privées de chiffrement de l'agent wapt, - j'ai l'impression que le nom du fichier est utilisé en variable sur le client via un processus tournant en "NT System" (voir PJ). je suis sûr que votre code est béton mais une injection de code n'est elle pas possible içi? (bug Wapt, Python, unicode, autres?
La somme MD5 sert uniquement à savoir si on a téléchargé le paquet complètement (suite à reprise de téléchargement par exemple)
Cette donnée ne pourrait elle pas être signée par le certificat de l'agent ?
Le "corner case" évoqué est effectivement un problème de calcul du md5 lors du téléchargement dans la console (pas dans le service wapt), lié à un "débordement" de nombre entier. (la position actuelle était stockée dans une zone mémoire trop petite pour les tailles importantes de fichier).
Le 13/09/2021 à 21:00, Vincent Degat a écrit :
ca me semble tres bizarre que le nom du fichier, qui est une variable non contrôlée en INPUT, entre en compte dans votre process de validation de paquet.