Skip to content

Check for a valid RBAC token #340

@16c7x

Description

@16c7x

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions