Project

General

Profile

Tâche #33727

Scénario #33643: Evaluation des changements EOLE 2.9.0

Revoir le script 01-fix-home-fstab

Added by Emmanuel GARETTE about 2 years ago. Updated about 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
01/17/2022
Due date:
% Done:

100%

Remaining (hours):
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

Associated revisions

Revision 49b18030 (diff)
Added by Emmanuel GARETTE about 2 years ago

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

Revision 0a90b513 (diff)
Added by Emmanuel GARETTE about 2 years ago

mise à jour du fichier rules (ref #33727)

Revision 01a33a2d (diff)
Added by Emmanuel GARETTE about 2 years ago

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

Revision a510126b (diff)
Added by Emmanuel GARETTE about 2 years ago

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

History

#1 Updated by Emmanuel GARETTE about 2 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Emmanuel GARETTE about 2 years ago

  • % Done changed from 0 to 100

#3 Updated by Emmanuel GARETTE about 2 years ago

  • Status changed from En cours to À valider
  • Assigned To set to Emmanuel GARETTE

#4 Updated by Emmanuel GARETTE about 2 years ago

  • Status changed from À valider to Résolu

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

  • Subject changed from Revoir le script 01-fix-home-fsta to Revoir le script 01-fix-home-fstab
  • Status changed from Résolu to 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 Updated by Emmanuel GARETTE about 2 years ago

  • Status changed from En cours to Résolu

#7 Updated by Joël Cuissinat about 2 years ago

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 Updated by Joël Cuissinat about 2 years ago

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 Updated by Joël Cuissinat about 2 years ago

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

Also available in: Atom PDF