Project

General

Profile

Tâche #21058

Scénario #21098: Faire le point sur les problèmes Eclair/gaspacho-agent

Si on demande des clients i386 et que Gaspacho agent est activé, la génération de l'image échoue

Added by Joël Cuissinat over 5 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
07/18/2017
Due date:
% Done:

100%

Estimated time:
3.00 h
Spent time:
Remaining (hours):
0.0

Description

root@eclair:~# tail -fn10 /var/log/ltsp_build_client.log 
Traitement des actions différées (« triggers ») pour dbus (1.10.6-1ubuntu3.3) ...
Running in chroot, ignoring request.
sh: 1: CreoleGet: not found
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
E: Impossible de trouver le paquet gaspacho-agent
erreur: l'installation du client LTSP a échoué.

Au pire, conditionner l'ajout du paquet en fonction de l'architecture en plus de l'activation du logiciel dans le template : ltsp-build-client.tmpl

En profiter pour vérifier l'erreur CreoleGet qu'on voit dans les logs :o

ltsp-build-client.patch View (1.54 KB) Joël Cuissinat, 07/26/2017 10:56 AM

gaspacho-agent.conf.patch View (616 Bytes) Joël Cuissinat, 07/26/2017 10:56 AM


Related issues

Duplicated by Distribution EOLE - Proposition Scénario #19957: On devrait pouvoir installer Gaspacho dans l'image embarquée pour les clients i386 Fermé

Associated revisions

Revision 18dacec6 (diff)
Added by Emmanuel GARETTE over 5 years ago

gestion du dépôt pour pouvoir installer gaspacho-agent (et uniquement lui) depuis les dépôts EOLE (ref #21058)

History

#1 Updated by Joël Cuissinat over 5 years ago

#2 Updated by Joël Cuissinat over 5 years ago

  • Tracker changed from Demande to Tâche
  • Estimated time set to 2.00 h
  • Parent task set to #21077
  • Remaining (hours) set to 2.0

#3 Updated by Joël Cuissinat over 5 years ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Joël Cuissinat
  • Estimated time changed from 2.00 h to 3.00 h

Déjà, il y a un loup car en 2.6.1, le paquet eole-eclair sensé tirer eole-gaspacho-agent est dans une version inférieure à celui de la 2.6.0 :

root@eclair:/usr/share/eole/creole/distrib# apt-cache policy eole-eclair
eole-eclair:
  Installé : 2.6.0-3
  Candidat : 2.6.0-5
 Table de version :
     2.6.0-5 500
        500 http://test-eole.ac-dijon.fr/eole eole-2.6.0/main amd64 Packages
 *** 2.6.0-3 500
        500 http://test-eole.ac-dijon.fr/eole eole-2.6.1/main amd64 Packages
        100 /var/lib/dpkg/status

Ceci dit en 2.6.2 aussi :

root@dc1:~# apt-cache policy eole-eclair
eole-eclair:
  Installé : (aucun)
  Candidat : 2.6.0-3
 Table de version :
     2.6.0-3 500
        500 http://test-eole.ac-dijon.fr/eole eole-2.6-unstable/main amd64 Packages

=> demande dédiée #21086

#4 Updated by Joël Cuissinat over 5 years ago

  • Related to Tâche #21086: eole-gaspacho-agent n'est pas pré-installé sur Eclair >= 2.6.1 added

#5 Updated by Joël Cuissinat over 5 years ago

La modification des templates source:tmpl/ltsp-build-client.conf et source:tmpl/ltsp-build-client.tmpl ne suffit pas, cela plante plus loin :

root@eclair:~# tail -n2 /var/log/ltsp_build_client.log 
/usr/share/ltsp/plugins/ltsp-build-client/Ubuntu/031-gaspacho-agent: ligne 4: /opt/ltsp/thin_i386/etc/gaspacho-agent/gaspacho-agent.conf: Aucun fichier ou dossier de ce type
erreur: l'installation du client LTSP a échoué.

#7 Updated by Joël Cuissinat over 5 years ago

  • Parent task changed from #21077 to #21098

#8 Updated by Joël Cuissinat over 5 years ago

  • Related to deleted (Tâche #21086: eole-gaspacho-agent n'est pas pré-installé sur Eclair >= 2.6.1)

#9 Updated by Joël Cuissinat over 5 years ago

  • Status changed from En cours to Nouveau
  • Assigned To deleted (Joël Cuissinat)

#10 Updated by Emmanuel GARETTE over 5 years ago

Autre solution de contournement, remplacer :

EXTRA_MIRROR="http://eole.ac-dijon.fr/eole eole-2.6-unstable main cloud" 

par

EXTRA_MIRROR="[ arch=amd64 ] http://eole.ac-dijon.fr/eole eole-2.6-unstable main cloud" 

dans /usr/share/eole/creole/distrib/ltsp-build-client.conf.

Par contre je ne vois pas comment installer les paquets sans archi sans forcer l'architecture amd64 (ce qui serait une meilleure solution).

#11 Updated by Emmanuel GARETTE over 5 years ago

  • Project changed from eole-ltsp-server to Eclair
  • Status changed from Nouveau to En cours

#12 Updated by Emmanuel GARETTE over 5 years ago

  • Assigned To set to Emmanuel GARETTE
  • % Done changed from 0 to 50
  • Remaining (hours) changed from 2.0 to 1.0

#13 Updated by Emmanuel GARETTE over 5 years ago

  • % Done changed from 50 to 100
  • Remaining (hours) changed from 1.0 to 0.0

#14 Updated by Emmanuel GARETTE over 5 years ago

  • Remaining (hours) changed from 0.0 to 0.25

#15 Updated by Scrum Master over 5 years ago

  • Status changed from En cours to Résolu

#16 Updated by Laurent Flori over 5 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

#17 Updated by Joël Cuissinat over 5 years ago

#18 Updated by Joël Cuissinat over 5 years ago

Also available in: Atom PDF