Project

General

Profile

Tâche #14817

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

Upgrade Amon 2.4.2 vers 2.5.1 : Traceback

Added by Fabrice Barconnière over 4 years ago. Updated over 4 years ago.

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

100%

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

Description

Pour reproduire:

  • Avoir un Zéphir 2.5.2
  • Avoir un Amon 2.3 enregistré sur Zéphir
  • Faire un upgrade de l’Amon en 2.4.2
  • Faire un upgrade de l’Amon en 2.5.1
Installation terminée, sans erreur.
run-parts: executing /tmp/Upgrade-Auto/post_upgrade/99-unlock
run-parts: executing /tmp/Upgrade-Auto/post_upgrade/99-upgrade_eole
-----------------------------------------------------------------------------------------------------------------------------------------------------------
                                               Mise à jour des informations dans l'application Zéphir ...                                                
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/zephir/scripts/upgrade_distrib.py", line 401, in <module>
    res = upgrade()
  File "/usr/share/zephir/scripts/upgrade_distrib.py", line 105, in upgrade
    creole_vars.reload_config()
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 466, in reload_config
    return self.request('/reload_config')
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 356, in request
    reply['status'], reply['response']))
creole.client.CreoleClientError: Erreur creole 3 : OK

History

#1 Updated by Daniel Dehennin over 4 years ago

  • Description updated (diff)

#2 Updated by Scrum Master over 4 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Scrum Master over 4 years ago

  • Assigned To set to Daniel Dehennin

#4 Updated by Daniel Dehennin over 4 years ago

Je ne reproduit pas le problème en partant directement d’un 2.4.2.

Il me reste à tester en partant d’un 2.3.

#5 Updated by Daniel Dehennin over 4 years ago

  • Remaining (hours) changed from 3.0 to 2.5

#6 Updated by Daniel Dehennin over 4 years ago

J’ai une autre erreur:

Cette fonctionnalité nécessite un compte ayant les permissions suivantes
dans l'application Zéphir gérant ce serveur (zephir.ac-test.fr) :

- Lecture
- Actions sur les clients (avec ou sans modification de configuration) ou enregistrement
- Ecriture sur les serveurs et les modules (ou Migration de serveur + Ecriture (modules))

Entrez votre login zephir (rien pour sortir) : admin_zephir
Mot de passe zephir pour admin_zephir :

Attention ! La configuration de migration n'a pas été préparée sur le serveur Zéphir

Veuillez sélectionner une variante parmi celles proposées :

** liste des variantes de ce module **

98 * standard

variante (98 par défaut):
Traceback (most recent call last):
  File "/usr/share/zephir/scripts/upgrade_distrib.py", line 401, in <module>
    res = upgrade()
  File "/usr/share/zephir/scripts/upgrade_distrib.py", line 200, in upgrade
    code, res = convert(proxy.serveurs.migrate_serveur(id_serveur, {}, id_new_mod, id_variante, True))
  File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/dist-packages/zephir/eolerpclib.py", line 99, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1273, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1306, in single_request
    return self.parse_response(response)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1482, in parse_response
    return u.close()
  File "/usr/lib/python2.7/xmlrpclib.py", line 794, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 8002: "Can't serialize output: cannot marshal None unless allow_none is enabled">

#7 Updated by Daniel Dehennin over 4 years ago

Daniel Dehennin a écrit :

J’ai une autre erreur:

[...]

Côté Zéphir 2.5.2:

2016-01-29T14:10:08.992548+01:00 zephir.ac-test.lan zephir_backend: [-] #011Traceback (most recent call last):
2016-01-29T14:10:08.992723+01:00 zephir.ac-test.lan zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop
2016-01-29T14:10:08.992861+01:00 zephir.ac-test.lan zephir_backend: [-] #011    self.runUntilCurrent()
2016-01-29T14:10:08.992972+01:00 zephir.ac-test.lan zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 797, in runUntilCurrent
2016-01-29T14:10:08.993076+01:00 zephir.ac-test.lan zephir_backend: [-] #011    f(*a, **kw)
2016-01-29T14:10:08.993179+01:00 zephir.ac-test.lan zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 382, in callback
2016-01-29T14:10:08.993280+01:00 zephir.ac-test.lan zephir_backend: [-] #011    self._startRunCallbacks(result)
2016-01-29T14:10:08.993380+01:00 zephir.ac-test.lan zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 490, in _startRunCallbacks
2016-01-29T14:10:08.993479+01:00 zephir.ac-test.lan zephir_backend: [-] #011    self._runCallbacks()
2016-01-29T14:10:08.993577+01:00 zephir.ac-test.lan zephir_backend: [-] #011--- <exception caught here> ---
2016-01-29T14:10:08.993676+01:00 zephir.ac-test.lan zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 577, in _runCallbacks
2016-01-29T14:10:08.993775+01:00 zephir.ac-test.lan zephir_backend: [-] #011    current.result = callback(current.result, *args, **kw)
2016-01-29T14:10:08.993877+01:00 zephir.ac-test.lan zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/zephir/backend/serveurs_rpc.py", line 345, in _backup_serveur_data
2016-01-29T14:10:08.993978+01:00 zephir.ac-test.lan zephir_backend: [-] #011    if migrate and prev_migration_var == int(serv.variante_migration()):
2016-01-29T14:10:08.994077+01:00 zephir.ac-test.lan zephir_backend: [-] #011exceptions.ValueError: invalid literal for int() with base 10: ''

#8 Updated by Daniel Dehennin over 4 years ago

J’ai ouvert #14862 mais je ne reproduis pas le traceback originel.

#9 Updated by Scrum Master over 4 years ago

  • Status changed from En cours to Fermé
  • Remaining (hours) changed from 2.5 to 0.0

#10 Updated by Daniel Dehennin over 4 years ago

  • % Done changed from 0 to 100

Also available in: Atom PDF