Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: CSM Authorization doesn't write the status code on error for csi-powerscale #787

Closed
atye opened this issue Apr 28, 2023 · 1 comment
Assignees
Labels
area/csi-powerscale Issue pertains to the CSI Driver for Dell EMC PowerScale area/csm-authorization Issue pertains to the CSM Authorization module type/bug Something isn't working. This is the default label associated with a bug issue.
Milestone

Comments

@atye
Copy link
Contributor

atye commented Apr 28, 2023

Bug Description

When an error is returned from Authorization to csi-powerscale, the appropriate status code isn't written causing the driver to crash because the Authorization sidecar doesn't receive the 401 status code and doesn't refresh the access token.

Logs

NA

Screenshots

No response

Additional Environment Information

No response

Steps to Reproduce

Deploy csi-powerscale with Authorization and use an expired access token.

Expected Behavior

Authorization sidecar should refresh the access token.

CSM Driver(s)

CSI Driver for PowerScale

Installation Type

No response

Container Storage Modules Enabled

No response

Container Orchestrator

NA

Operating System

NA

@atye atye added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. labels Apr 28, 2023
@atye atye self-assigned this Apr 28, 2023
@atye atye added area/csm-authorization Issue pertains to the CSM Authorization module area/csi-powerscale Issue pertains to the CSI Driver for Dell EMC PowerScale and removed needs-triage Issue requires triage. labels Apr 28, 2023
@atye
Copy link
Contributor Author

atye commented Apr 28, 2023

/sync

@atye atye changed the title [BUG]: CSM Authorization doesn't write the status code on error in for csi-powerscale [BUG]: CSM Authorization doesn't write the status code on error for csi-powerscale Apr 28, 2023
@atye atye closed this as completed Apr 28, 2023
@shaynafinocchiaro shaynafinocchiaro added this to the v1.7.0 milestone May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/csi-powerscale Issue pertains to the CSI Driver for Dell EMC PowerScale area/csm-authorization Issue pertains to the CSM Authorization module type/bug Something isn't working. This is the default label associated with a bug issue.
Projects
None yet
Development

No branches or pull requests

2 participants