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-master not functional under 0.17.1 with order_masters: True #8134
Comments
Can you test this on the latest |
I did some test. Here, in the payload, ID is None, that crashed later part. |
Right, that's why I suspect it's related to the ID guessing bug -- ID shouldn't be None in the |
Thanks guys, after set id inside configuration files, this issue not happen again. |
@basepi Yes, I saw that code changes in develop branch. In case other people found the same problem, I listed that code changes below. Here's the code in 0.17 if opts['id'] is None and minion_id:
opts['id'], using_ip_for_id = get_id(opts['root_dir']) minion_id is always False (default value), so get_id never be called if opts['id'] is None:
opts['id'], using_ip_for_id = get_id(opts['root_dir'],
minion_id=minion_id) Solution
|
Awesome. I'm going to close this one, keep us posted if it crops up again. |
I am just in the process of releasing 0.17.1 myself and ran into this bug. I went ahead and cherry picked (952975e) the "fix" but i'm still getting the stack traces. I then went and added an id to the minion config and I'm still getting stack traces, are there other commits to fix this issue that I should pull down? Or are we close enough to the next release that I should just hold on. Update: nevermind-- i'm a liar. I forgot to restart our module sync process which was still running the old version. |
Cool. For the record, the next release is probably a week off. You can decide if that's "close enough". =) |
Hi guys.
here is the my salt-master with "order_masters: True", seem new version 0.17.1 have bug to handle this mode. btw syndic, minion also with this version.
# salt-master --versions-report Salt: 0.17.1 Python: 2.7.3 (default, Aug 1 2012, 05:14:39) Jinja2: 2.6 M2Crypto: 0.21.1 msgpack-python: 0.1.10 msgpack-pure: Not Installed pycrypto: 2.4.1 PyYAML: 3.10 PyZMQ: 13.0.0 ZMQ: 3.2.2
bellow is the information when start with salt-master -l debug
if start salt-master with /etc/init.d/salt-master , will spot out these zombie process.
Please kindly help.
Thanks
-Ryan
The text was updated successfully, but these errors were encountered: