NetDocuments-Archive / ad-join-cookbook

Chef cookbook to join windows computer to AD
Apache License 2.0
14 stars 12 forks source link

idle_time property is only valid for tasks that run on_idle #34

Open spuder opened 6 years ago

spuder commented 6 years ago

Getting this error on chef 13

10.254.130.120 Recipe: nd-ad-join::default
10.254.130.120   * domain_join[default] action join[2018-02-20T21:16:17+00:00] INFO: Processing domain_join[default] action join (nd-ad-join::default line
42)
10.254.130.120 [2018-02-20T21:16:17+00:00] INFO: Processing domain_join[default] action join (nd-ad-join::default line 42)
10.254.130.120
10.254.130.120
10.254.130.120     ================================================================================
10.254.130.120     Error executing action `join` on resource 'domain_join[default]'
10.254.130.120     ================================================================================
10.254.130.120
10.254.130.120     ArgumentError
10.254.130.120     -------------
10.254.130.120     idle_time property is only valid for tasks that run on_idle
xxxxxx
10.254.130.120     System Info:
10.254.130.120     ------------
10.254.130.120     chef_version=13.7.16
10.254.130.120     platform=windows
10.254.130.120     platform_version=10.0.14393
10.254.130.120     ruby=ruby 2.4.3p205 (2017-12-14 revision 61247) [x64-mingw32]
10.254.130.120     program_name=C:/opscode/chef/bin/chef-client
10.254.130.120     executable=C:/opscode/chef/bin/chef-client
10.254.130.120
10.254.130.120
10.254.130.120 [2018-02-20T21:16:17+00:00] INFO: Running queued delayed notifications before re-raising exception
10.254.130.120 [2018-02-20T21:16:17+00:00] INFO: Running queued delayed notifications before re-raising exception
10.254.130.120
10.254.130.120 Running handlers:
10.254.130.120 [2018-02-20T21:16:17+00:00] ERROR: Running exception handlers
10.254.130.120 [2018-02-20T21:16:17+00:00] ERROR: Running exception handlers
10.254.130.120   - Chef::Handler::Slack
10.254.130.120 Running handlers complete
10.254.130.120 [2018-02-20T21:16:17+00:00] ERROR: Exception handlers complete
10.254.130.120 [2018-02-20T21:16:17+00:00] ERROR: Exception handlers complete
10.254.130.120 Chef Client failed. 5 resources updated in 01 minutes 09 seconds
10.254.130.120 [2018-02-20T21:16:17+00:00] INFO: Sending resource update report (run-id: 957dbd93-4437-426e-b6c1-49d43d874fc2)
10.254.130.120 [2018-02-20T21:16:17+00:00] INFO: Sending resource update report (run-id: 957dbd93-4437-426e-b6c1-49d43d874fc2)
10.254.130.120 [2018-02-20T21:16:18+00:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out
10.254.130.120 [2018-02-20T21:16:18+00:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out
10.254.130.120 [2018-02-20T21:16:18+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
10.254.130.120 [2018-02-20T21:16:18+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
10.254.130.120 [2018-02-20T21:16:18+00:00] FATAL: ArgumentError: domain_join[default] (nd-ad-join::default line 42) had an error: ArgumentError: idle_time
property is only valid for tasks that run on_idle
10.254.130.120 [2018-02-20T21:16:18+00:00] FATAL: ArgumentError: domain_join[default] (nd-ad-join::default line 42) had an error: ArgumentError: idle_time
property is only valid for tasks that run on_idle
ERROR: Failed to execute command on 10.254.130.120 return code 1
ERROR: Bootstrap command returned 1
spuder commented 6 years ago

Known bug in chef 13. Come on now! Chef 13 is a year old, why do scheduled tasks still not work?

https://github.com/chef/chef/issues/6824