/var/log/raas/raas log on raas node, there is "Failed to save updated minion cache from master" error as below:2024-06-18 20:55:05,749 [raas.utils.rpc ][ERROR :216 ][Webserver:150466] Failed to save updated minion cache from master <master node FQDN>Traceback (most recent call last): File "sqlalchemy/engine/base.py", line 1256, in _execute_context self.dialect.do_executemany( File "sqlalchemy/dialects/postgresql/psycopg2.py", line 912, in do_executemany cursor.executemany(statement, parameters)psycopg2.errors.InvalidTextRepresentation: invalid input syntax for type byteaCONTEXT: PL/pgSQL function minion_cache_grains_sign() line 3 at assignment
Aria Automation Config 8.17.x
Adjust "sseapi_max_minion_grains_payload" in /etc/salt/master.d/raas.conf on salt master node can resolve the problem.
The procedure is:
cp /etc/salt/master.d/raas.conf /tmp/raas.conf
/etc/salt/master.d/raas.conf:
#" before "sseapi_max_minion_grains_payload" if it exists to make sure the configuration is not commented out.sseapi_max_minion_grains_payload" to 100systemctl restart raas
systemctl restart salt-master