Project

General

Profile

Tâche #14863

Scénario #14728: Corriger les problèmes remontés sur Upgrade-Auto lors du sprint précédent

La sauvegarde pre-Upgrade de la configuration d’enregistrement Zéphir ne fonctionne pas

Added by Daniel Dehennin over 4 years ago. Updated over 4 years ago.

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

100%

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

Description

L’Upgrade-Auto 2.4.2 → 2.5.1 affiche:

run-parts: executing /tmp/Upgrade-Auto/pre_download/03-zephir-client
cp: impossible d'évaluer «/usr/lib/python2.6/dist-packages/zephir/zephir_conf/zephir_conf.py»: Aucun fichier ou dossier de ce type

Le chemin n’est pas le bon, il faut utiliser la version 2.7 de python:

root@amon:~# cat /usr/lib/python2.7/dist-packages/zephir/zephir_conf/zephir_conf.py
#!/usr/bin/env python
id_serveur=187
adresse_zephir="zephir.ac-test.fr" 

if __name__ == "__main__":
    print adresse_zephir

Associated revisions

Revision 10a57bbe (diff)
Added by Daniel Dehennin over 4 years ago

Correction de la sauvegarde d’enregistrement_zephir

  • upgrade/pre_download/03-zephir-client: Utilisation de « python2.7 »

Ref: #14863

History

#1 Updated by Daniel Dehennin over 4 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.0 to 0.1

Paquet 2.4.2-18 en eole-2.4.2-proposed-updates

#2 Updated by Daniel Dehennin over 4 years ago

  • Assigned To set to Daniel Dehennin

#3 Updated by Scrum Master over 4 years ago

  • Status changed from Nouveau to En cours

#4 Updated by Scrum Master over 4 years ago

  • Status changed from En cours to Résolu

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

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.1 to 0.0
run-parts: executing /tmp/Upgrade-Auto/pre_download/01-horus
run-parts: executing /tmp/Upgrade-Auto/pre_download/03-zephir-client
run-parts: executing /tmp/Upgrade-Auto/pre_download/10-rsyslog

root@amonecole:~# cat /var/lib/zephir_backup/zephir_conf.py 
#!/usr/bin/env python
id_serveur=341
adresse_zephir="zephir.ac-test.fr" 

if __name__ == "__main__":
    print adresse_zephir

Also available in: Atom PDF