-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 - windows minion cannot do anything #33927
Comments
@phil123456 i'm not able to replicate this behavior. Can you point me to which package you installed and how you installed the minion? Thanks! |
Hi there. The same problem on windows platform. Tried both packages : Salt-Minion-2016.3.0-x86-Setup.exe and Salt-Minion-2016.3.0-AMD64-Setup.exe - using gui or quiet installation. Tested on WS2008/R2, WS2012. Traceback: |
the minion is installed on windows, so I use the available installer on saltstack website it's a bit annoying for debugging stuffs on windows, but so far, configs are pushed correctly from the master... only minion cli seems to cause issues. one cannot run any command I use windows 7 Pro SP1 64. tell me if you need more info |
Hmm, is the When running salt commands on Windows, I typically use |
salt-call does not pause problem, to restart the minion I go to windows services and restart it |
ok and is the exe updated ? |
Description of Issue/Question
all salt interaction bring this errors on windows 7 (64)
let me know what info you need to investigate this
C:\salt>salt-minion restart
[INFO ] Setting up the Salt Minion "phil"
[ERROR ] An un-handled exception was caught by salt's global exception handler:
AttributeError: 'module' object has no attribute 'getppid'
Traceback (most recent call last):
File "C:\salt\bin\Scripts\salt-minion", line 26, in
salt_minion()
File "C:\salt\bin\lib\site-packages\salt\scripts.py", line 112, in salt_minion
minion.start()
File "C:\salt\bin\lib\site-packages\salt\cli\daemons.py", line 344, in start
super(Minion, self).start()
File "C:\salt\bin\lib\site-packages\salt\utils\parsers.py", line 932, in start
self.prepare()
File "C:\salt\bin\lib\site-packages\salt\cli\daemons.py", line 307, in prepare
if self.check_running():
File "C:\salt\bin\lib\site-packages\salt\utils\parsers.py", line 915, in check_running
if self.check_pidfile() and self.is_daemonized(pid) and not os.getppid() == pid:
AttributeError: 'module' object has no attribute 'getppid'
Traceback (most recent call last):
File "C:\salt\bin\Scripts\salt-minion", line 26, in
salt_minion()
File "C:\salt\bin\lib\site-packages\salt\scripts.py", line 112, in salt_minion
minion.start()
File "C:\salt\bin\lib\site-packages\salt\cli\daemons.py", line 344, in start
super(Minion, self).start()
File "C:\salt\bin\lib\site-packages\salt\utils\parsers.py", line 932, in start
self.prepare()
File "C:\salt\bin\lib\site-packages\salt\cli\daemons.py", line 307, in prepare
if self.check_running():
File "C:\salt\bin\lib\site-packages\salt\utils\parsers.py", line 915, in check_running
if self.check_pidfile() and self.is_daemonized(pid) and not os.getppid() == pid:
AttributeError: 'module' object has no attribute 'getppid'
Setup
steps : https://docs.saltstack.com/en/latest/topics/installation/windows.html
Steps to Reproduce Issue
steps : https://docs.saltstack.com/en/latest/topics/installation/windows.html
Versions Report
...
The text was updated successfully, but these errors were encountered: