- 环境
centos7
python 3.6
Salt: 3002.5 -
问题
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. - 问题查找
-
- 问题解决
百度谷歌一大堆,好久都没发现。最后无意中发现一个,https://www.cnblogs.com/venicid/p/11958498.html
废话不多说直接搞,两步搞定pip3 install --target=/usr/lib/python3.6/site-packages/ mysqlclient systemctl restart salt-master
- 问题解决