dragonresearch / rpki.net

Dragon Research Labs rpki.net RPKI toolkit
54 stars 26 forks source link

ca.rg.net (ripe child) rcynic ValueError #842

Closed sraustein closed 8 years ago

sraustein commented 8 years ago

getting this every rcynic run

{{{ From: root@ca.rg.net (Cron Daemon) Subject: Cron rpki@ca exec /usr/bin/rcynic-cron To: root@ca.rg.net Date: Tue, 28 Jun 2016 10:18:01 +0000

Traceback (most recent call last): File "/usr/bin/rcynic", line 1493, in main() File "/usr/bin/rcynic", line 1408, in main cfg.add_logging_arguments() File "/usr/lib/python2.7/dist-packages/rpki/config.py", line 340, in add_logging_arguments help = "how verbosely to log") File "/usr/lib/python2.7/dist-packages/rpki/config.py", line 299, in _add_logging_argument name, default, kwargs = self._get_argument_default(names, kwargs) File "/usr/lib/python2.7/dist-packages/rpki/config.py", line 229, in _get_argument_default raise ValueError ValueError Program /usr/bin/rcynic exited with status 1 }}}

Trac ticket #836 component rcynic priority major, owner None, created by randy on 2016-06-29T05:34:13Z, last modified 2016-07-02T02:24:31Z

sraustein commented 8 years ago

Report could (obviously) be better, but I'm pretty sure that's trying to tell you that rpki.conf has one of the log level control variables set to an illegal value. Legal values for that are keywords, --help for rcynicng or any of the daemons will list them.

Trac comment by sra on 2016-06-29T14:29:17Z

sraustein commented 8 years ago

{{{ ca.rg.net:/root# rcynicng --help rcynicng: command not found }}}

{{{ ca.rg.net:/root# rcynic --help
Traceback (most recent call last): File "/usr/bin/rcynic", line 1493, in main() File "/usr/bin/rcynic", line 1408, in main cfg.add_logging_arguments() File "/usr/lib/python2.7/dist-packages/rpki/config.py", line 340, in add_logging_arguments help = "how verbosely to log") File "/usr/lib/python2.7/dist-packages/rpki/config.py", line 299, in _add_logging_argument name, default, kwargs = self._get_argument_default(names, kwargs) File "/usr/lib/python2.7/dist-packages/rpki/config.py", line 229, in _get_argument_default raise ValueError ValueError }}}

but i s/warn/warning/ and it seems to be happier

thanks

Trac comment by randy on 2016-06-29T17:16:41Z

sraustein commented 8 years ago

Closed with resolution fixed