-
Type:
Bug
-
Status: Open
-
Priority:
High
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Promise type: files
-
Labels:None
failsafe.cf:
<pre>
"$(sys.inputdir)"
copy_from => u_scp("$(masterfiles_dir_remote)"),
depth_search => u_recurse("inf"),
classes => repaired("got_policy");
[...]
body classes repaired
{
promise_repaired =>
;
repair_failed =>
;
}
</pre>
However the class got_policy_failed is not set even when it fails in the first file, right after the OPENDIR command.
Excerpts from debug log on the agent:
<pre>
verbose: P: BEGIN promise 'cfe_internal_bootstrap_update_files_sys_workdir_inputs_shortcut' of type "files" (pass 1)
verbose: Entering directory 'masterfiles'
debug: SendTransaction data: OPENDIR masterfiles
[ ... SUCCESS ... ]
debug: SendTransaction data: SYNCH 1435860806 STAT masterfiles/templates
[ ... SUCCESS ... ]
debug: SendTransaction data: SYNCH 1435860806 STAT masterfiles\templates
debug: ReceiveTransaction data: BAD: Unspecified server refusal (see verbose server output)
verbose: Server returned error: Unspecified server refusal (see verbose server output)
verbose: Can't stat 'masterfiles\templates'. (cf_stat: The operation completed successfully.)
[ ... STATing every other file in masterfiles, half failing in the same manner ... ]
verbose: A: Promise was KEPT
</pre>