Project

General

Profile

Tâche #14589

Distribution EOLE - Scénario #14473: Traitement express (01-03)

migration des variables 2.3 renommés dans la version de destination

Added by Emmanuel GARETTE over 7 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
01/11/2016
Due date:
% Done:

100%

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

Description

Si un amonecole 2.5.2 on fait :

cp /mnt/eole-ci-tests/configuration/etb3.amonecole/default-2.3/etc/eole/config.ini /etc/eole/config.eol

La migration ne se fait pas dans gen_config.

Associated revisions

Revision aa4b893f (diff)
Added by Emmanuel GARETTE over 7 years ago

upgrade*.py : gestion des variables 2.3 dont la variable est renommé dans la version de destination

Ref: #14589 [Backport 2.5.1]

Cherry-picked from 4e1d3459c119c33e9b7d85ab6c217e08e4b6443c

Revision 0dad27a5 (diff)
Added by Joël Cuissinat over 7 years ago

Test uniraire validant la migration des variables 2.3 renommées

  • tests/configs/amon23.eol : fichier à migrer
  • tests/test_upgrade.py : ajout du test "test_upgrade_amon23()"

Ref: #14589 @45m

History

#1 Updated by Emmanuel GARETTE over 7 years ago

  • % Done changed from 0 to 100
  • Estimated time set to 4.00 h
  • Remaining (hours) set to 0.25

#2 Updated by Emmanuel GARETTE over 7 years ago

  • Parent task set to #14473

#3 Updated by Emmanuel GARETTE over 7 years ago

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

#4 Updated by Scrum Master over 7 years ago

  • Status changed from En cours to Résolu

#5 Updated by Bruno Boiget over 7 years ago

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

testé sur amon ecole 2.5.2 avec les valeurs suivantes dans config.eol (2.3) :

[activer_courier]
valdefault = []
valprec = []
val = ['non']
[nom_domaine_wpad_exclude]
valdefault = []
valprec = []
val = ['wpad.ac-toto.fr']
...
[nom_interface_wpad_exclude]
valdefault = []
valprec = []
val = ['1']

Récupération des valeurs OK (activer_recuperation_courriel -> non , proxy_bypass_domain_eth1 -> wpad.ac-toto.fr)

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

  • Status changed from Fermé to En cours

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

La modification est à backporter en 2.5.1

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

  • Status changed from En cours to Résolu

#9 Updated by Bruno Boiget over 7 years ago

  • Status changed from Résolu to Fermé

test sur les exclusions wpad ok sur amon 2.5.1

Also available in: Atom PDF