Tâche #32205
Scénario #32499: installMinion : exclure les accès http://salt du proxy
installMinion.sh : ajouter un test d'accès en amont
100%
Description
Dans l'etb1, si on oublie d'exporter le proxy, après on est bloqué, il faudrait ajouter un test en amont de :
* INFO: Running install_ubuntu_stable_deps() Atteint :1 http://fr.archive.ubuntu.com/ubuntu focal InRelease Atteint :2 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease Atteint :3 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease Atteint :4 http://security.ubuntu.com/ubuntu focal-security InRelease Réception de :5 https://repo.saltstack.com/py3/ubuntu/20.04/amd64/archive/3002.2 focal InRelease [2 119 B] Atteint :6 https://deb.nodesource.com/node_12.x focal InRelease Err :5 https://repo.saltstack.com/py3/ubuntu/20.04/amd64/archive/3002.2 focal InRelease Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 0E08A149DE57BFBE Lecture des listes de paquets… * ERROR: Failed to run install_ubuntu_stable_deps()!!!
Associated revisions
boostrap-salt.sh: fail earlier if proxy is required
- the APT GPG key is downloaded only if the “sources.list” is not
configured
- the download of the APT GPG key may fail when proxy is required and
user does not export it
- trying again is failing since “sources.list” is there but not the
key
- workstation/bootstrap-salt/bootstrap-salt.sh: install the APT GPG
key first, so if proxy is required the “sources.list” is not yet
configured.
Ref: #32205
boostrap-salt.sh: use a dedicated APT keyring file for saltstack
Ref: #32205
History
#1 Updated by Daniel Dehennin about 2 years ago
- Related to Scénario #32499: installMinion : exclure les accès http://salt du proxy added
#2 Updated by Daniel Dehennin about 2 years ago
- Parent task set to #32499
#3 Updated by Daniel Dehennin about 2 years ago
Le problème vient du fait que si le sources.list
est créé, le téléchargement de la clef GPG n’est pas retentée.
#4 Updated by Daniel Dehennin about 2 years ago
- Status changed from Nouveau to En cours
- Assigned To set to Daniel Dehennin
#5 Updated by Daniel Dehennin about 2 years ago
- Status changed from En cours to Résolu
- % Done changed from 0 to 100
#6 Updated by Joël Cuissinat about 2 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) set to 0.0
OK, si on déclare le proxy après l'erreur, l'installation arrive à reprendre depuis où elle s'était arrêtée ;)