问题
salt-master 执行返回到mysql存储,安装mysql-python 发现yum install MYSQL-python 已经安装
但是执行会报错,如下
[ERROR ] Message timed out
Salt request timed out. The master is not responding. You may need to run your command with--async
in order to bypass the congested event bus. With--async
, the CLI tool will print the job id (jid) and exit immediately without listening for responses. You can then usesalt-run jobs.lookup_jid
to look up the results of the job in the job cache later.
pip3 install --target=/usr/lib/python3.6/site-packages/ mysqlclient systemctl restart salt-master