Tâche #9212
Distribution EOLE - Scénario #9238: Demandes critiques 2.4.1
La mise à jour en fin d'instance n'est plus du tout verbeuse ! (et en plus elle a planté...)
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Remaining (hours):
0.0
Description
Je suis tombé dessus grâce au test squash : SC-T01-005 Lancer instance sur un serveur fraichement installé et configuré
Une mise à jour est recommandée Voulez-vous effectuer une mise à jour via le réseau maintenant ? [oui/non] [oui] : oui Exécution de apt-eole -z --container current --json --log-level info update pour le conteneur bdd impossible root@amonecole:~#
Related issues
Associated revisions
Recharger le cache apt uniquement si c'est possible
- pyeole/pkg.py (EolePkgApt().update) : tester si le cache est initialisé
Ref: #9212 @30m
Ré-affichage des étapes dans instance + maj
- creole/reconfigure.py
- (main) : déclaration d'un logger spécifique pour pyeole.pkg
- (update_server) : suppression "update" superflu
Fixes: #9212 @1.5h
History
#1 Updated by Joël Cuissinat almost 9 years ago
Lancée dans le conteneur, la commande renvoie 1 mais je ne sais pas pourquoi :
root@bdd:~# apt-eole --container current --json --log-level info update Atteint http://eole.ac-dijon.fr precise Release.gpg Atteint http://eole.ac-dijon.fr precise-security Release.gpg [ ... ] Ign http://eole.ac-dijon.fr eole-2.4.1-updates/main Translation-fr_FR.UTF-8 Ign http://eole.ac-dijon.fr eole-2.4.1-updates/main Translation-en Lecture des listes de paquets... root@bdd:~# echo $? 1
Dans ce même conteneur apt-get update renvoie 0 ...
#2 Updated by Joël Cuissinat almost 9 years ago
- % Done changed from 0 to 30
Indice en mode débug : apt-eole - 'NoneType' object has no attribute 'open'
=> le cache n'est pas utilisé dans les conteneurs
#3 Updated by Joël Cuissinat almost 9 years ago
- Status changed from Nouveau to En cours
- Assigned To set to Joël Cuissinat
#4 Updated by Joël Cuissinat almost 9 years ago
- Status changed from En cours to Résolu
- % Done changed from 30 to 100
Appliqué par commit 671877b0b78a37abcd0d3351fa00a3bab2258e51.
#5 Updated by Joël Cuissinat almost 9 years ago
- Start date changed from 10/09/2014 to 10/10/2014
- Remaining (hours) changed from 2.5 to 0.16
#6 Updated by Joël Cuissinat almost 9 years ago
- Parent task changed from #9167 to #9238
#7 Updated by Benjamin Bohard almost 9 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.16 to 0.0