Project

General

Profile

Tâche #19813

Scénario #19832: La migration de configuration Creole devrait forcer certaines valeurs chargées depuis EOLE < 2.4

Passer half_closed_clients à off lors d'une migration d'un Amon < 2.4

Added by Olivier FEBWIN over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/21/2017
Due date:
% Done:

100%

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

Description

Passer half_closed_clients à off lors d'une migration d'un Amon < 2.4
Voir http://eole.orion.education.fr/listes/arc/amon-sphynx/2017-03/msg00041.html

Associated revisions

Revision 3cd8f465 (diff)
Added by Joël Cuissinat over 6 years ago

Réinitialisation de la variable "half_closed_clients" à l'upgrade

Ref: #19813 @1h

Revision e0d32249 (diff)
Added by Joël Cuissinat over 6 years ago

Test unitaire : valeur de half_closed_clients après migration

Ref: #19813 @15m

History

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

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

#2 Updated by Olivier FEBWIN over 6 years ago

De notre côté, nous avons passé cette variable à off sur nos Amon 2.2 encore en production afin de ne pas causer de problème après leur migration en 2.5

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

  • Status changed from Nouveau to En cours

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

  • Subject changed from Passer half_closed_clients à off lors d'une migration d'un Amon < 2.4 to Passer half_closed_clients à off lors d'une migration d'un Amon < 2.4
  • Description updated (diff)
  • Assigned To set to Joël Cuissinat

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

NB : le test unitaire que je souhaite enrichir n'est présent qu'à partir d'EOLE 2.5.1 (0dad27a5) !

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

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 2.0 to 0.25
  • Paquets 2.5.0 à 2.6.1 + merge dans master
  • Test unitaire ajouté pour Amon >= 2.6.1
  • mise à jour des changelog

Pour tester, il est possible d'importer le fichier configuration/etb1.amon/default-2.3/etc/eole/config.ini et de vérifier que la variable experte Squid -> Half_closed_clients est bien à la valeur par défaut du module (affichée en bleu).

#7 Updated by Scrum Master over 6 years ago

  • Status changed from En cours to Résolu

#8 Updated by Fabrice Barconnière over 6 years ago

  • Remaining (hours) changed from 0.25 to 0.0

#9 Updated by Fabrice Barconnière over 6 years ago

  • Vu dans gen_config, la variable est bien à off en bleu.
  • Paquet en 2.6.1 était manquant -> creole 2.6.1-108
  • Tests unitaires OK sur Amon 2.6.1 :
    root@amon:/usr/share/creole/tests# py.test -k test_upgrade_amon23
    ========================================================= test session starts =========================================================
    platform linux2 -- Python 2.7.12, pytest-2.8.7, py-1.4.31, pluggy-0.3.1
    rootdir: /usr/share/creole/tests, inifile: 
    collected 1969 items 
    
    test_upgrade.py .
    
    ========================================== 1968 tests deselected by '-ktest_upgrade_amon23' ===========================================
    ============================================= 1 passed, 1968 deselected in 12.93 seconds ==============================================
    

#10 Updated by Laurent Flori over 6 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF