puppetlabs-peadm icon indicating copy to clipboard operation
puppetlabs-peadm copied to clipboard

Check for a valid RBAC token

Open 16c7x opened this issue 2 years ago • 0 comments

Use Case

I ran an upgrade plan on the an x-large infrastructure, it failed with the error #<Net::HTTPForbidden:0x0000000001645220 which isn't very clear. The error is a result of an expired RBAC token, this could be tested before running the plan.

Describe the Solution You Would Like

A task to check the RBAC token is valid which can be included in plans to catch this error and a clearer indication as to what has gone wrong.

Describe Alternatives You've Considered

An alternative would be to highlight on the documentation to check the token or a section on troubleshooting, but it would be better to just catch this with a task.

Additional Context

16c7x avatar Mar 01 '23 10:03 16c7x