t***@garena.com
8 years ago
Hello everyone~
This is the first time I post in this forum :D I have a question about salt
may need your help to advice.
So I plan to upgrade my windows salt minions version, and because there are
quite a few windows minions there, I want to do the installation using
salt.
I managed to put the salt installation packages & install_minion.bat on the
salt minions (Directory C:\upgrade_salt_minion), and then I plan to install
this bat using salt state function. The command I used on salt master is: *salt
'N74' state.sls DeploySaltUpdate. *
However, it seems not working and after waiting for a while it return:
*N74:*
* Minion did not return. [Not connected]*
Checking on the windows minions itself now, found that salt minion service
is stopped and the salt version is not updated. But when I try to run the
bat file on my window server itself, it is working well and salt version is
updated accordingly.
I found this is really wired and would like to seek if anyone have any
alternative ways to do this. Appreciate the kind help in advance!
Attached is the files I mentioned in case you can spot any errors in them*
:)*
*install_minion.bat:*
@echo off
C:\upgrade_salt_minion\Salt-Minion-2016.11.7-AMD64-Setup.exe /S /master=XXX
/minion-name=N74 /start-service=1
exit
pause
*DeploySaltUpdate.sls:*
deploy:
cmd.run:
- name: 'C:\upgrade_salt_minion\install_minions.bat'
This is the first time I post in this forum :D I have a question about salt
may need your help to advice.
So I plan to upgrade my windows salt minions version, and because there are
quite a few windows minions there, I want to do the installation using
salt.
I managed to put the salt installation packages & install_minion.bat on the
salt minions (Directory C:\upgrade_salt_minion), and then I plan to install
this bat using salt state function. The command I used on salt master is: *salt
'N74' state.sls DeploySaltUpdate. *
However, it seems not working and after waiting for a while it return:
*N74:*
* Minion did not return. [Not connected]*
Checking on the windows minions itself now, found that salt minion service
is stopped and the salt version is not updated. But when I try to run the
bat file on my window server itself, it is working well and salt version is
updated accordingly.
I found this is really wired and would like to seek if anyone have any
alternative ways to do this. Appreciate the kind help in advance!
Attached is the files I mentioned in case you can spot any errors in them*
:)*
*install_minion.bat:*
@echo off
C:\upgrade_salt_minion\Salt-Minion-2016.11.7-AMD64-Setup.exe /S /master=XXX
/minion-name=N74 /start-service=1
exit
pause
*DeploySaltUpdate.sls:*
deploy:
cmd.run:
- name: 'C:\upgrade_salt_minion\install_minions.bat'
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/c67a3423-e161-4e89-879c-c91585eebedf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/c67a3423-e161-4e89-879c-c91585eebedf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.