Projet

Général

Profil

Tâche #33727

Scénario #33643: Evaluation des changements EOLE 2.9.0

Revoir le script 01-fix-home-fstab

Ajouté par Emmanuel GARETTE il y a environ 2 ans. Mis à jour il y a environ 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
17/01/2022
Echéance:
% réalisé:

100%

Restant à faire (heures):
0.0

Description

Vu sur https://dev-eole.ac-dijon.fr/jenkins/job/2.9.0/job/test-instance-acadc1-2.9.0-amd64/3/console :

00:03:33.646             run-parts: executing /usr/share/eole/pretemplate/01-fix-home-fstab instance
00:03:38.649             AUTOMATE : Traceback dans la sortie console!
00:03:38.649             Traceback (most recent call last):
00:03:38.649               File "/usr/share/eole/pretemplate/01-fix-home-fstab", line 130, in <module>
00:03:38.649             MONITOR: traceback action:$TRACEBACK
00:03:38.649                 main()
00:03:38.649               File "/usr/share/eole/pretemplate/01-fix-home-fstab", line 122, in main
00:03:38.649                 if not add_fstab_options('/home', home_options):
00:03:38.649               File "/usr/share/eole/pretemplate/01-fix-home-fstab", line 50, in add_fstab_options
00:03:38.649                 print(message_string.format(plural,
00:03:38.649             AttributeError: 'bytes' object has no attribute 'format'
00:03:38.649             run-parts: /usr/share/eole/pretemplate/01-fix-home-fstab exited with return code 1
00:03:38.649             Erreur : pretemplate

Révisions associées

Révision 49b18030 (diff)
Ajouté par Emmanuel GARETTE il y a environ 2 ans

correction script 01-fix-home-fstab (ref #33727)

Révision 0a90b513 (diff)
Ajouté par Emmanuel GARETTE il y a environ 2 ans

mise à jour du fichier rules (ref #33727)

Révision 01a33a2d (diff)
Ajouté par Emmanuel GARETTE il y a environ 2 ans

correction script 01-fix-home-fstab (ref #33727)

Révision a510126b (diff)
Ajouté par Emmanuel GARETTE il y a environ 2 ans

correction script 01-fix-home-fstab (ref #33727)

Historique

#1 Mis à jour par Emmanuel GARETTE il y a environ 2 ans

  • Statut changé de Nouveau à En cours

#2 Mis à jour par Emmanuel GARETTE il y a environ 2 ans

  • % réalisé changé de 0 à 100

#3 Mis à jour par Emmanuel GARETTE il y a environ 2 ans

  • Statut changé de En cours à À valider
  • Assigné à mis à Emmanuel GARETTE

#4 Mis à jour par Emmanuel GARETTE il y a environ 2 ans

  • Statut changé de À valider à Résolu

#5 Mis à jour par Joël Cuissinat il y a environ 2 ans

  • Sujet changé de Revoir le script 01-fix-home-fsta à Revoir le script 01-fix-home-fstab
  • Statut changé de Résolu à En cours

En réalité, le problème impacte également la 2.8 mais on doit le voir uniquement avec un partitionnement non standard !

J'ai réussi à le reproduire de la façon suivante :
  • aca.eolebase-2.8.0-Daily + ajout d'une seconde interface sur "academie"
  • apt-eole install eole-web # pour les dépôts envole
  • Maj-Auto -C
  • apt-eole install eole-scribe-all
  • ./mount.eole-ci-tests
  • cp -f /mnt/eole-ci-tests/configuration/aca.scribe/default-2.8.0/etc/eole/config.eol /etc/eole/config.eol
  • instance

=> la correction est à reporter jusqu'en 2.8.0. Attention, ce script est également dans eole-fichier

#6 Mis à jour par Emmanuel GARETTE il y a environ 2 ans

  • Statut changé de En cours à Résolu

#7 Mis à jour par Joël Cuissinat il y a environ 2 ans

eole-fichier$ git branch -r --contains a510126b  
  origin/2.8.0/master
  origin/2.8.1/master
  origin/HEAD -> origin/master
  origin/dist/eole/2.8.0/master
  origin/dist/eole/2.8.1/master
  origin/dist/eole/2.9.0/master
  origin/master

#8 Mis à jour par Joël Cuissinat il y a environ 2 ans

eole-ad-dc$ git branch -r --contains 01a33a2d  
  origin/2.8.1/master
  origin/dist/eole/2.8.1/master

Le script a été intégré à partir d'EOLE 2.8.1 : #32096

#9 Mis à jour par Joël Cuissinat il y a environ 2 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) mis à 0.0

Formats disponibles : Atom PDF