Projet

Général

Profil

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

Ajouté par Joël Cuissinat il y a environ 3 ans. Mis à jour il y a presque 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
22/04/2021
Echéance:
% réalisé:

100%

Restant à faire (heures):
0.0

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()!!!

Révisions associées

Révision 498a6c4d (diff)
Ajouté par Daniel Dehennin il y a presque 3 ans

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

Révision 3756359f (diff)
Ajouté par Daniel Dehennin il y a presque 3 ans

boostrap-salt.sh: use a dedicated APT keyring file for saltstack

Ref: #32205

Révision d4acf865 (diff)
Ajouté par Daniel Dehennin il y a presque 3 ans

bootstrap-salt.sh: the SHA256 is not up-to-date

Ref: #32205
Ref: #32529
Ref: #32530

Historique

#1 Mis à jour par Daniel Dehennin il y a presque 3 ans

  • Lié à Scénario #32499: installMinion : exclure les accès http://salt du proxy ajouté

#2 Mis à jour par Daniel Dehennin il y a presque 3 ans

  • Tâche parente mis à #32499

#3 Mis à jour par Daniel Dehennin il y a presque 3 ans

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 Mis à jour par Daniel Dehennin il y a presque 3 ans

  • Statut changé de Nouveau à En cours
  • Assigné à mis à Daniel Dehennin

#5 Mis à jour par Daniel Dehennin il y a presque 3 ans

  • Statut changé de En cours à Résolu
  • % réalisé changé de 0 à 100

#6 Mis à jour par Joël Cuissinat il y a presque 3 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) mis à 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 ;)

Formats disponibles : Atom PDF