Darko Poljak
f09765a03a
Improve error reporting.
7 years ago
Darko Poljak
b0c5bc793d
Fix "label empty or too long" error #645
7 years ago
Darko Poljak
cf36aece7d
[BETA] bug: error info lost with parallel (option -j) #632
7 years ago
Darko Poljak
4d39b6af51
Add -4 and -6 params to force IPv4, IPv6 addresses respectively.
7 years ago
Darko Poljak
a993e0f5a9
Support disabling saving output streams
7 years ago
Darko Poljak
9703e0f08e
Save output streams.
...
Implementation is 99% based on Steven's initial implementation.
7 years ago
Darko Poljak
764ea49904
Log more data.
7 years ago
Darko Poljak
ac04edc233
Change path removal suitable for integration and normal run.
7 years ago
Darko Poljak
47d72fb83a
Create control path only if needed.
7 years ago
Darko Poljak
08bc38dd0f
Log ERROR to stderr and rest to stdout. ( #576 )
7 years ago
Darko Poljak
1ae5b1732e
Fix missing dirs cleanup.
7 years ago
Darko Poljak
2e4c0d3465
Improve dry run logging.
7 years ago
Darko Poljak
28d3466e9d
Fix logging dry run line.
7 years ago
Darko Poljak
cb38354df3
Run cleanup commands in quiet mode for DEBUG, TRACE.
7 years ago
Darko Poljak
e0a4fc4ea7
verbose -> info
7 years ago
Darko Poljak
dd48c82656
Log 'Processing' line even if dry run.
7 years ago
Darko Poljak
136f2ecd87
Add helpers for cdist config/install integration. ( #551 )
...
Implement simple integration API.
7 years ago
Darko Poljak
bdee7273af
Configfile ( #559 )
...
Add cdist configuration/config file support.
7 years ago
Darko Poljak
f368539447
Some pylint cleaning.
7 years ago
Philippe Gregoire
61b52ac806
Set default remote_cmds_cleanup_pattern
...
Fixes an exception when --remote-copy and --remote-exec are used.
7 years ago
Philippe Gregoire
7b0b3d9415
Fix remote cmds cleanup
...
When --remote-copy and --remote-exec are provided,
args.remote_cmds_cleanup_pattern is not set.
This patches fixes the evaluation of args.remote_cmds_cleanup_pattern
and prevents cdist from throwing an exception when --remote-copy
and --remote-exec are used.
7 years ago
Darko Poljak
75fe3272b3
Add file locking for -j parallel execution.
7 years ago
Darko Poljak
68cb13881f
Add archiving support.
7 years ago
Darko Poljak
0d734c872d
Fix log var assignment.
8 years ago
Darko Poljak
23fbabe303
Further improve parallel execution.
8 years ago
Darko Poljak
d1a044cc23
multiprocessing.Pool -> concurrent.futures.ProcessPoolExecutor
8 years ago
Darko Poljak
7c7a98d083
pep8
8 years ago
Darko Poljak
0af64c01bf
Add -p HOST_MAX argument.
8 years ago
Darko Poljak
e2a1519332
Merge inventory from beta branch.
8 years ago
Darko Poljak
a20b7167cd
pep8
8 years ago
Darko Poljak
126a1812a5
Fix parallel object prepare and run steps. Add nonparallel type marker.
8 years ago
Darko Poljak
9c914308f6
Fix ssh connection multiplexing race condition #542
...
Increase ControlPersist to 2h.
After host run run ssh mux master exit command.
If custom remote exec/copy is specified then do nothing.
8 years ago
Steven Armstrong
9fe2420547
also log start of config run
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
8 years ago
Steven Armstrong
a1d73f7281
log changing object as Processing instead of Updating
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
8 years ago
Steven Armstrong
f6e1174adb
start moving info log messages to verbose
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
8 years ago
Darko Poljak
a37d286d67
Suppress subprocess script output in quiet mode.
8 years ago
Darko Poljak
a722f3c634
3rd iteration of logging cleanup.
8 years ago
Darko Poljak
248656b81f
First iteration of logging cleanup.
8 years ago
Darko Poljak
138705e3dc
Code improvements.
8 years ago
Darko Poljak
2a9bd77550
Merge custom cache path pattern from beta branch.
8 years ago
Steven Armstrong
93ccf925cd
need a way to set remote.base_path from the command line
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
8 years ago
Darko Poljak
29bebc4af4
Shorten ssh control path.
...
On macos the path is too long due to long default TMP dir.
8 years ago
Darko Poljak
e5a6599ccb
Create mp_pool_run helper function for running in parallel.
8 years ago
Darko Poljak
8776a2ee06
concurrent.futures -> multiprocessing
8 years ago
Darko Poljak
e6b9fc90ba
Add log messages.
8 years ago
Darko Poljak
ca3a8ddf67
no clear() in python < 3.3; if only one then do it sequentially
8 years ago
Darko Poljak
1952d43073
Initial try for parallelization.
8 years ago
Darko Poljak
341de216a6
Fix missing vars.
8 years ago
Darko Poljak
6c1b215db8
Begin parallelizing object prepare and run.
8 years ago
Darko Poljak
e6fc74c081
ugly -> bad
8 years ago