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-run broken in 2015.8? #27130
Comments
@githubcdr, thanks for the report. |
I cannot replicate this at all. Can you provide additional information on how you installed your minion? |
Installed from repo.saltstack.com
I completely purged salt from my system, even moved /var/salt/cache, but that didn't fix the problem. Any suggestions on how to further debug this issue? Could it be related to the python installation itself? Or a configuration option? (Will try to reproduce this in a container) |
After a long docker debug-compare session I discovered that this issue seems related to the following master.conf setting; cython_enable: True After disabling this setting salt-run works again! Really have no clue why how or what, but still feels this is a bug and might cause a lot of trouble for others in the same situation. |
I can't replicate this even with this option turned on. Do you have custom cython salt modules that you're using on your system? |
I really have no idea, but I guess a RPM maintained version of cython vs a local pip installed cython caused this problem. After removing the pip installed version and the RPM things worked again, reinstalling the Cython via yum caused this problem again. I will leave this option disabled to prevent this issue. |
Just reproduced on Arch. |
@DmitryKuzmenko What was your installation method? |
@cachedout python 2.7 in virtualenv, salt in git repo fetched by tag v2015.8.0 and PYTHONPATH appended with
|
Wow, interesting. OK. |
@cachedout can I continue or you'd like to bring this up? |
I'm working on other things this morning but if you have time and want to investigate this, that would be great. |
I'll. Thank you. |
The issue appear because LazyLoader object imports module Fix: load pyximport into a global variable. |
@githubcdr thank you! You've caught two bugs at once. |
@DmitryKuzmenko took some time to debug, but at least it was worth it |
I've done here. Found 2 more unneeded deepcopy. The second PR could be merged too. |
Hi,
I noticed some strange errors using various salt-runners, it looks like salt-run;
I have this same bug confirmed on a Ubuntu 14.04 pip based Salstack installation.
Any help appreciated.
~~
Version information
CentOS6.7 patched
python --version
Python 2.6.6
The text was updated successfully, but these errors were encountered: