Project

General

Profile

Evolution #6060

Plantage CreoleLint sur rsyslog-ca.tmpl et agregation.conf

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

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
09/23/2013
Due date:
09/27/2013
% Done:

100%

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

Description

Sur un Amon-2.4 non configuré :

Traceback (most recent call last):
  File "/usr/bin/CreoleLint", line 96, in <module>
    main()
  File "/usr/bin/CreoleLint", line 94, in main
    validate(keyword, ansi, tmpl, dico, conffile, dtddir)
  File "/usr/lib/python2.7/dist-packages/creole/lint/creolelint.py", line 1011, in validate
    ansi.process(cl)
  File "/usr/lib/python2.7/dist-packages/creole/lint/ansiwriter.py", line 38, in process
    checks = linter.check()
  File "/usr/lib/python2.7/dist-packages/creole/lint/creolelint.py", line 982, in check
    parse_templates(glob('/usr/share/eole/creole/distrib/*'))
  File "/usr/lib/python2.7/dist-packages/creole/lint/parsetemplate.py", line 426, in parse_templates
    ctmpl.check_template()
  File "/usr/lib/python2.7/dist-packages/creole/lint/parsetemplate.py", line 407, in check_template
    self.test_all_values()
  File "/usr/lib/python2.7/dist-packages/creole/lint/parsetemplate.py", line 385, in test_all_values
    raise Exception(msg)
Exception: ('/usr/share/eole/creole/distrib/rsyslog-ca.tmpl', ':', 
ValueError("valeur invalide  pour l'option adresse_ip_eth0 : invalid literal for int() with base 10: ''",))
Traceback (most recent call last):
  File "/usr/bin/CreoleLint", line 96, in <module>
    main()
  File "/usr/bin/CreoleLint", line 94, in main
    validate(keyword, ansi, tmpl, dico, conffile, dtddir)
  File "/usr/lib/python2.7/dist-packages/creole/lint/creolelint.py", line 1011, in validate
    ansi.process(cl)
  File "/usr/lib/python2.7/dist-packages/creole/lint/ansiwriter.py", line 38, in process
    checks = linter.check()
  File "/usr/lib/python2.7/dist-packages/creole/lint/creolelint.py", line 982, in check
    parse_templates(glob('/usr/share/eole/creole/distrib/*'))
  File "/usr/lib/python2.7/dist-packages/creole/lint/parsetemplate.py", line 426, in parse_templates
    ctmpl.check_template()
  File "/usr/lib/python2.7/dist-packages/creole/lint/parsetemplate.py", line 407, in check_template
    self.test_all_values()
  File "/usr/lib/python2.7/dist-packages/creole/lint/parsetemplate.py", line 385, in test_all_values
    raise Exception(msg)
Exception: ('/usr/share/eole/creole/distrib/agregation.conf', ':', 
ValueError("valeur invalide  pour l'option adresse_netmask_eth0 : invalid literal for int() with base 10: ''",))

Related issues

Related to creole - Anomalie #6106: auto_eth et auto_netmask retourne des valeurs vides Fermé 09/23/2013 09/27/2013

History

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

Erreur semblable avec :
  • /usr/share/eole/creole/distrib/00_proxy.fw sur Amon

#2 Updated by Emmanuel GARETTE over 6 years ago

  • Status changed from Nouveau to En attente d'informations

Je ne reproduit pas sur mon module, si tu as un serveur avec ces erreurs je suis intéressé.

#3 Updated by Emmanuel GARETTE over 6 years ago

Cette erreur arrive si adresse_ip_eth0 est en dhcp/pppoe sans que la machine n'est de valeur.

#4 Updated by Emmanuel GARETTE over 6 years ago

  • Start date set to 09/23/2013
  • % Done changed from 0 to 100

Demande liée corrigé, plus de problème CreoleLint.

#5 Updated by Emmanuel GARETTE over 6 years ago

  • Status changed from En attente d'informations to Résolu

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

  • Due date set to 09/27/2013
  • Status changed from Résolu to Fermé

OK avec **

root@eolebase:~# CreoleLint
   [ ... ]
======++> /usr/share/eole/creole/distrib/firewall.stop
======++> /usr/share/eole/creole/distrib/agregation.conf
reload with ['ag_mode', 'ag_weight_eth0', 'ag_weight_eth0_0']
======++> /usr/share/eole/creole/distrib/agregation.conf
======++> /usr/share/eole/creole/distrib/static-routes
   [ ... ]
======++> /usr/share/eole/creole/distrib/lightsquid.cfg
======++> /usr/share/eole/creole/distrib/rsyslog-ca.tmpl
======++> /usr/share/eole/creole/distrib/00_root_sso.fw

Also available in: Atom PDF