[Fixed] Seeing many stack traces in st2workflowengine.log

Anyone know what might be causing these? Seeing a bunch of them in st2workflowengine.log

2020-03-02 18:36:17,642 139637726349584 ERROR traceback [-] Traceback (most recent call last):

2020-03-02 18:36:17,643 139637726349584 ERROR traceback [-]   File "/usr/lib64/python2.7/logging/__init__.py", line 851, in emit

2020-03-02 18:36:17,643 139637726349584 ERROR traceback [-]     msg = self.format(record)

2020-03-02 18:36:17,643 139637726349584 ERROR traceback [-]   File "/usr/lib64/python2.7/logging/__init__.py", line 724, in format

2020-03-02 18:36:17,643 139637726349584 ERROR traceback [-]     return fmt.format(record)

2020-03-02 18:36:17,643 139637726349584 ERROR traceback [-]   File "/opt/stackstorm/st2/lib/python2.7/site-packages/st2common/logging/formatters.py", line 181, in format

2020-03-02 18:36:17,643 139637726349584 ERROR traceback [-]     msg = super(ConsoleLogFormatter, self).format(record)

2020-03-02 18:36:17,643 139637726349584 ERROR traceback [-]   File "/usr/lib64/python2.7/logging/__init__.py", line 464, in format

2020-03-02 18:36:17,644 139637726349584 ERROR traceback [-]     record.message = record.getMessage()

2020-03-02 18:36:17,644 139637726349584 ERROR traceback [-]   File "/usr/lib64/python2.7/logging/__init__.py", line 328, in getMessage

2020-03-02 18:36:17,644 139637726349584 ERROR traceback [-]     msg = msg % self.args

2020-03-02 18:36:17,644 139637726349584 ERROR traceback [-] TypeError: not enough arguments for format string

2020-03-02 18:36:17,644 139637726349584 ERROR workflows [-] Logged from file workflows.py, line 156

2020-03-02 18:36:17,644 139637726349584 ERROR traceback [-] Traceback (most recent call last):

2020-03-02 18:36:17,644 139637726349584 ERROR traceback [-]   File "/usr/lib64/python2.7/logging/__init__.py", line 851, in emit

2020-03-02 18:36:17,644 139637726349584 ERROR traceback [-]     msg = self.format(record)

2020-03-02 18:36:17,645 139637726349584 ERROR traceback [-]   File "/usr/lib64/python2.7/logging/__init__.py", line 724, in format

2020-03-02 18:36:17,645 139637726349584 ERROR traceback [-]     return fmt.format(record)

2020-03-02 18:36:17,645 139637726349584 ERROR traceback [-]   File "/opt/stackstorm/st2/lib/python2.7/site-packages/st2common/logging/formatters.py", line 181, in format

2020-03-02 18:36:17,645 139637726349584 ERROR traceback [-]     msg = super(ConsoleLogFormatter, self).format(record)

2020-03-02 18:36:17,645 139637726349584 ERROR traceback [-]   File "/usr/lib64/python2.7/logging/__init__.py", line 464, in format

2020-03-02 18:36:17,645 139637726349584 ERROR traceback [-]     record.message = record.getMessage()

2020-03-02 18:36:17,645 139637726349584 ERROR traceback [-]   File "/usr/lib64/python2.7/logging/__init__.py", line 328, in getMessage

2020-03-02 18:36:17,645 139637726349584 ERROR traceback [-]     msg = msg % self.args

2020-03-02 18:36:17,646 139637726349584 ERROR traceback [-] TypeError: not enough arguments for format string

This still happening after a sudo st2ctl restart ? Seems weird like either mongo or rabbit isn’t running?

Fix is here:
https://github.com/StackStorm/st2/pull/4877

1 Like

Thanks for this @guzzijones