Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Solving Chef ERROR: Running exception handlers - 403 Forbidden


Running handlers:
[2018-10-01T11:07:45-05:00] ERROR: Running exception handlers
Running handlers complete
[2018-10-01T11:07:45-05:00] ERROR: Exception handlers complete
Chef Client failed. 33 resources updated in 01 minutes 06 seconds
[2018-10-01T11:07:45-05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2018-10-01T11:07:45-05:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-10-01T11:07:45-05:00] ERROR: 403 "Forbidden"
[2018-10-01T11:07:45-05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)


knife acl bulk add group clients nodes '.*' update,read

This comment has been minimized.

Copy link

vivekraj59 commented Jul 5, 2019

if you are getting above error that means your recipe syntax is wrong. you can check the syntax by below command.

chef exec ruby -c path/recipe_name


This comment has been minimized.

Copy link

tcondit commented Jul 6, 2019

Thank you for this ACL fix!
Also, my ruby syntax is OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.