Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

salt-api稳定性问题 #12

Open
fmnisme opened this issue Feb 19, 2016 · 2 comments
Open

salt-api稳定性问题 #12

fmnisme opened this issue Feb 19, 2016 · 2 comments

Comments

@fmnisme
Copy link
Contributor

fmnisme commented Feb 19, 2016

  1. 现在使用的是是client是local,建议换成local_async,使用轮询的方式获取结果这样不会出现超时问题。
  2. 由于salt job的生成机制,不管salt-minion是否在线都会生成一个job id,不在线的minon永远获取不到结果。解决的办法是在每次发送命令前,通过salt-api调用wheel模块minions.connected来判断minon是否在线。
@net592
Copy link
Contributor

net592 commented Apr 12, 2016

赞,学习中
WIndows环境 Salt CPU 较高 4核,瞬间已经80%。。。

@zhangdavids
Copy link

学习了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants