- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Client execution time out
- Date: Thu, 7 Aug 2014 08:22:23 -0700
On Thursday, August 7, 2014 at 7:57 AM, Carlos Camacho wrote:
>
Hello, I'm having some timeouts when unzipping files, this process can
>
take some ours and its giving me this error:
>
>
[2014-08-07T14:49:19+00:00] FATAL: Mixlib::ShellOut::CommandTimeout:
>
batch[unzip_san] (frontiers_custom::populator line
>
129) had an error: Mixlib::ShellOut::CommandTimeout: command timed out:
>
---- Begin output of "cmd.exe" /c
>
"C:/Users/ADMINI~1/AppData/Local/Temp/2/chef-script20140807-2520-1fskyqe.bat"
>
----
>
STDOUT: C:\>7zG x -y C:\san\*.7z -oC:\san\
>
STDERR:
>
---- End output of "cmd.exe" /c
>
"C:/Users/ADMINI~1/AppData/Local/Temp/2/chef-script20140807-2520-1fskyqe.bat"
>
----
>
>
>
There is a way to extend this time? The recipe works fine when i unzip
>
a few files but when i have a case with a lot of files i got the
>
timeout error.
>
>
>
Cheers!
If I remember correctly, the `batch` resource should be a derivative of
`script`, so it should support the timeout parameter, as documented here:
http://docs.getchef.com/resource_script.html
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.