Constant salt/minion log messages

Subject of the issue

Error messages to the salt/minion log file every few seconds

Your environment

Release 2020.05.27

Steps to reproduce

Not sure how to reproduce.

Expected behaviour

No error messages.

Actual behaviour

These messages appear sporadically, from every few seconds to every minute.

2020-09-28 23:51:49,123 [messaging :206 ][ERROR ][813] Recurring exception (86 times) in worker thread ‘pid_logger_3_0sec’ while running workflow for message: {‘filter’: ‘alternating_readout’, ‘handler’: ‘query’, ‘returner’: ‘cloud’, ‘args’: [‘ENGINE_LOAD’], ‘kwargs’: {‘force’: True}}
Traceback (most recent call last):
File “/var/cache/salt/minion/extmods/utils/messaging.py”, line 162, in do_work
self._call_hook_for(message, “workflow”, message)
File “/var/cache/salt/minion/extmods/utils/messaging.py”, line 433, in _call_hook_for
return True, func(*args, **kwargs)
File “/var/cache/salt/minion/extmods/utils/messaging.py”, line 317, in extended_workflow
_, result = self._call_hook_for(message, “handler”, *args, **kwargs)
File “/var/cache/salt/minion/extmods/utils/messaging.py”, line 433, in _call_hook_for
return True, func(*args, **kwargs)
File “/var/cache/salt/minion/extmods/utils/messaging.py”, line 522, in synchronizer
return func(*args, **kwargs)
File “/var/cache/salt/minion/extmods/engines/obd_manager.py”, line 148, in query_handler
conn.ensure_protocol(protocol, baudrate=baudrate, verify=verify)
File “/var/cache/salt/minion/extmods/utils/obd_conn.py”, line 27, in decorator
return func(self, *args, **kwargs)
File “/var/cache/salt/minion/extmods/utils/obd_conn.py”, line 255, in ensure_protocol
self.change_protocol.undecorated(self, ident, baudrate=baudrate, verify=verify) # No need to call the ‘ensure_open’ decorator again
File “/var/cache/salt/minion/extmods/utils/obd_conn.py”, line 212, in change_protocol
self._obd.change_protocol(ident, baudrate=baudrate, verify=verify)
File “/usr/local/lib/python2.7/dist-packages/obd/obd.py”, line 200, in change_protocol
ret = self.interface.set_protocol(protocol, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/obd/interfaces/stn11xx.py”, line 266, in set_protocol
ret = super(STN11XX, self).set_protocol(ident, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/obd/interfaces/elm327.py”, line 471, in set_protocol
self._protocol = self._auto_protocol(**kwargs)
File “/usr/local/lib/python2.7/dist-packages/obd/interfaces/elm327.py”, line 893, in _auto_protocol
res_0100 = self._verify_protocol(“auto”, test=not verify)
File “/usr/local/lib/python2.7/dist-packages/obd/interfaces/elm327.py”, line 845, in _verify_protocol
raise ELM327Error(msg, code=line)
ELM327Error: Unable to verify connectivity of protocol ‘auto’: Unable to connect because no supported protocol found

Output of power.status command

Alas, the vehicle is not nearby this week, so I can’t run power.status over local.autopi.io.

Do’s & dont’s

  • Do not write your unit-id anywhere.