Project

General

Profile

Anomalie #8551

Plantage creole.upgrade sur Amon en cas de nom court dans "nom_host_dns"

Added by Joël Cuissinat over 5 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
Due date:
07/04/2014
% Done:

100%

Estimated time:
1.00 h
Spent time:
Distribution:
EOLE 2.4

Description

>>> from eolegenconfig import lib
>>> id_='tmp'
>>> lib.load_config(id_, '/tmp/kls.eol')
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/creole/loader.py", line 238, in load_config_eol
    store_dico, version = upgrade(config, configfile)
  File "/usr/lib/python2.7/dist-packages/creole/upgrade.py", line 129, in upgrade
    upgrade23to24(dico)
  File "/usr/lib/python2.7/dist-packages/creole/upgrade.py", line 432, in upgrade23to24
    tmp_long_name.append(host + '.' + eval(dico.get_val('nom_domaine_local', '')))
TypeError: cannot concatenate 'str' and 'list' objects
fichier de configuration invalide 2.2 ou 2.3: /tmp/kls.eol : cannot concatenate 'str' and 'list' objects

kls.eol (40.7 KB) Joël Cuissinat, 07/04/2014 03:56 PM


Related issues

Related to eole-dns - Evolution #2795: Fusionner les variables nom_host_dns et ip_host_dns dans celles fournies par eole-common [2.4] Fermé 01/31/2012 04/04/2014

Associated revisions

Revision b535f73d (diff)
Added by Joël Cuissinat over 5 years ago

Correction sur la migration de "nom_host_dns"

Fixes #8551 @45m

History

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

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

  • Status changed from Accepté to Résolu
  • % Done changed from 0 to 100

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

  • Distribution changed from EOLE 2.3 to EOLE 2.4

#4 Updated by Benjamin Bohard over 5 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF