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
service.running fails on sle11 sp3 and sp4 #31617
Comments
The real bug is ... the service state assumes that all provider implement a enabled method. Which is not true for modules/service.py. I have a local patch that makes sles11 use the modules/rh_service.py again. |
potential fix here openSUSE/salt@openSUSE-2015.8.7...darix:fix-services-sles |
@darix, you're welcome to submit your changes to 2015.8. |
I also ran into this issue with the following test case: using salt-ssh /srv/salt/test-state.sls:
This was working in 2015.8.3 so I did a git bisect. Here is the git bisect:
|
didnt test develop if it is also affected. |
also wondering if salt/modules/service.py should be enhanced to be usable with service state |
@darix, all modules that provide |
@tampakrap and @Ch3LL Can you give the fix in #31629 a try and confirm if this is fixed? |
confirmed thanks! |
fixing init system detection on sles 11, refs #31617
Description of Issue/Question
service.running state fails on SLE11 SP3 and SP4 machines. It happened in the past as well, where the SLE11 machines were falsely using systemd, see baf238f
salt minion log from the SLE11SP3 box:
salt minion log from the SLE11SP4 box:
Setup
Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).
useful grains:
Versions Report
Provided by running
salt --versions-report
The text was updated successfully, but these errors were encountered: