Sergey Kizunov
cf2e2daab9
Make auth_timeout
user configurable again
...
There was code that was overriding the value of `auth_timeout` regardless
of what was set in the configuration. It was overriding it to be 5
seconds. Although 5 seconds is sufficient for most cases, in testing, I
have found it insufficient for the following use case (running both
Windows master and minions):
1) Start salt-master
2) Start salt-minion
3) Stop salt-master
4) Start salt-master
The minion reconnect will timeout after step 4. Due to this, we set the
`auth_timeout` to be 15 seconds in our own configuration file. However,
due to this issue, that configuration value was ignored and thus we
fail on reconnects.
`salt/minion.py`:
- Don't hard-code the `auth_timeout` to 5 seconds. Use the user configured
value (or the default value if the user didn't configure a value).
`salt/config/__init__.py`:
- Made the default be 5 seconds for `auth_timeout` instead of 60. Chose 5
seconds because this is the current hard-coded behavior.
Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2016-08-16 12:58:07 -06:00
Nicole Thomas
6df4648765
Merge pull request #35487 from rallytime/merge-2016.3
...
[2016.3] Merge forward from 2015.8 to 2016.3
2016-08-16 12:36:21 -06:00
rallytime
c6c82be1de
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/cloud/deploy/bootstrap-salt.sh
2016-08-16 11:02:05 -06:00
Nicole Thomas
bfe7107a87
Update bootstrap script to latest stable (2016.08.16) ( #35486 )
2016-08-16 10:58:23 -06:00
Thomas S Hatch
240fc12863
Merge pull request #35413 from cachedout/issue_35296
...
Resolve path issues with cp.push
2016-08-16 10:40:39 -06:00
Thomas S Hatch
c3319b2a8b
Merge pull request #35476 from cachedout/issue_35380
...
Fixup SSH bug where sudo without sudo user would break
2016-08-16 09:41:25 -06:00
Mike Place
ee525b11b2
Make salt-client aware of edge-case where saltutil might be broken ( #35446 )
...
* Make salt-client aware of edge-case where saltutil might be broken
Closes #34161
* Remove debugging
* Remove debugging pass
2016-08-16 08:58:43 -06:00
Mike Place
c05fcf33d1
Fixup SSH bug where sudo without sudo user would break
...
Fixes #35380
2016-08-16 12:28:18 +09:00
Mike Place
fb8a12d677
Fix silly error
2016-08-16 11:05:18 +09:00
Mike Place
004778c966
Merge pull request #35471 from terminalmage/issue34479
...
win_pkg: Fix traceback when package is not installed
2016-08-16 11:02:00 +09:00
Mike Place
5c9428c32d
Merge pull request #35448 from isbm/isbm-zypper-106-fix
...
Add ignore_repo_failure option to suppress zypper's exit code 106 on …
2016-08-16 10:39:43 +09:00
Mike Place
f90ecbb15e
Merge pull request #35449 from dkruger/fix-35422
...
aptpkg will specify --install-recommends if enabled by the SLS
2016-08-16 10:38:56 +09:00
Mike Place
1473474b04
Merge pull request #35451 from isbm/isbm-zypper-mod_repo-unchanged
...
Bugfix: zypper mod repo unchanged
2016-08-16 10:38:25 +09:00
Mike Place
a8c4f17f50
Merge pull request #35453 from theothergraham/fix_CacheDisk
...
fixes #34279 - disk cache ttl expiry
2016-08-16 10:34:33 +09:00
Mike Place
d8c35b5260
Merge pull request #35459 from thatch45/shim_fix
...
Ensure that output for salt-ssh gets back
2016-08-16 10:29:16 +09:00
Mike Place
d2dd78e25b
Merge pull request #35467 from rallytime/bp-33518
...
Back-port #33518 to 2016.3
2016-08-16 10:17:01 +09:00
Erik Johnson
e243c63e43
win_pkg: Fix traceback when package is not installed
2016-08-15 19:14:49 -05:00
anthony-shaw
e427815caf
fix clrf
2016-08-15 16:30:58 -06:00
anthony-shaw
be41a400fa
commit fix
2016-08-15 15:53:29 -06:00
anthony-shaw
06530b5461
add a test to check existing functionality is broken
2016-08-15 15:53:05 -06:00
Graham McCullough
ae5b233d51
fixes #34279
2016-08-15 14:34:20 -07:00
Nicole Thomas
5aeb74de63
[2016.3] Update bootstrap script to latest stable (2016.08.15) ( #35461 )
2016-08-15 13:23:34 -06:00
Nicole Thomas
38b60a32e5
[2015.8] Update bootstrap script to latest stable (2016.08.15) ( #35460 )
2016-08-15 13:23:24 -06:00
Nicole Thomas
9b2c075611
Merge pull request #35456 from rallytime/merge-2016.3
...
[2016.3] Merge forward from 2015.8 to 2016.3
2016-08-15 13:16:22 -06:00
Thomas S Hatch
10037b00cb
Some environments refuse to return the command output
...
This results in the output from salt-ssh being empty,
this fix ensures that the output is always there
2016-08-15 12:57:58 -06:00
rallytime
6a86a12294
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/modules/cp.py
2016-08-15 11:23:44 -06:00
Mike Place
d75005c519
Fix cp.push_dir pushing empty dirs ( #35442 )
...
Fixes #35010
2016-08-15 11:00:54 -06:00
Nicolas Delaby
49af330492
Docker 1.12 reports tags as null ( #35447 )
...
Add support for this new value.
2016-08-15 10:58:50 -06:00
Mike Place
09925ba353
Minor doc fixup ( #35436 )
...
* Minor doc fixup
Refs #35387
* Include reload_grains
2016-08-15 09:53:56 -06:00
Bo Maryniuk
8790197d86
Fix Unit test for suppressing the exception removal on non-modified repos
2016-08-15 17:35:25 +02:00
Bo Maryniuk
3f00c6997a
Remove zypper's raise exception if mod_repo has no arguments and/or no changes
2016-08-15 17:35:01 +02:00
Bo Maryniuk
dd82e6a848
Add ignore_repo_failure option to suppress zypper's exit code 106 on unavailable repos
2016-08-15 15:03:53 +02:00
Mike Place
a0b128a85a
Merge pull request #35132 from sjorge/2015.8-35121
...
fixes , causing lots of mayham (onchange) with 2016.3.2 for me
2016-08-15 16:11:22 +09:00
Mike Place
be644a58e1
Correct errant call to argspec from master. Fix ext_job_cache. ( #35427 )
...
We were passing a string to the argpsec checker when it expects the actual func.
2016-08-14 10:58:03 -06:00
Mike Place
a53cdc1971
Resolve stacktrace logged by highstate outputter if sls cannot be found ( #35428 )
...
Simply return an empty string instead of a None.
Fixes #35423
2016-08-14 10:54:15 -06:00
Mike Place
607169a01b
Merge pull request #35412 from s0undt3ch/2016.3
...
Only allow one sync read to happen at a time.
2016-08-13 08:57:29 +09:00
david kruger
f54bf445b5
aptpkg will specify --install-recommends if enabled by the SLS
...
This is to resolve #35422 . The "install_recommends" flag in the SLS file
would apply --no-install-recommends to false, but if set to True it
would not enforce --install-recommends. It should not be assumed that
apt will install the recommends packages, since that can be disabled
globally.
https://github.com/saltstack/salt/issues/35422
2016-08-12 17:40:08 -04:00
Nicole Thomas
2ef596673f
Provide links to the renderers in the template docs ( #35406 )
...
* Provide links to the renderers in the template docs
Follow-up for #35360 , also references #35336
* Whitespace fix
2016-08-12 12:27:44 -06:00
Mike Place
b3e9e98b40
Merge pull request #35393 from deniszh/2016.3_fix35350
...
No need to run ddns update every time
2016-08-12 21:40:36 +09:00
Mike Place
a5fe05b7f9
Merge pull request #35407 from hu-dabao/fix-35094
...
[Fix-35094] None will not be added to grains which generate [none]
2016-08-12 21:34:05 +09:00
Mike Place
4dc776ffbf
Merge pull request #35411 from eliasp/2016.3-modules.event-handle-file_client-opt
...
modules.event.send(): Prevent backtrace for masterless Minions
2016-08-12 21:29:01 +09:00
Pedro Algarvio
f54b3cc514
Only allow one sync read to happen at a time.
2016-08-12 12:19:09 +01:00
Mike Place
3646cf1afa
Additional checks on master and integration test
2016-08-12 20:06:20 +09:00
Elias Probst
8d7244bdd9
modules.event.send(): Also check for file_client
and use_master_when_local
opts
2016-08-12 12:27:02 +02:00
Mike Place
09efde7634
Splat the list into os.path.join
2016-08-12 19:08:43 +09:00
Mike Place
fc0d5878bc
Set file_recv on test master
2016-08-12 19:08:27 +09:00
Mike Place
81c4d136c5
Transition file push paths to lists
...
To support multiple platforms, it will be difficult to try to account
for various path seperators and drive lettering schemes on the receiving
end of a file push. Instead, transition to an interface wherein the file
path is first split and seperators removed prior to it being sent from
the minion to the master.
2016-08-12 18:33:20 +09:00
Hengyang Hu
a23108f795
None will not be added to grains which generate [none]
2016-08-11 16:20:37 -07:00
Nicole Thomas
c032506e6b
Merge pull request #35395 from rallytime/merge-2016.3
...
[2016.3] Merge forward from 2015.8 to 2016.3
2016-08-11 14:59:37 -06:00
rallytime
0d1aa630f1
Lint fix
2016-08-11 13:13:51 -06:00