OpenShift icon indicating copy to clipboard operation
OpenShift copied to clipboard

Failed to provision volume with StorageClass "managed-premium": Open Shift

Open Neeta777 opened this issue 2 years ago • 1 comments

I have verified that the client id and secret are valid and not expired.

Zookeeper is unable to provision the pods on Open Shift : The client id / secret has been configured in the secrets. It is able to pick up the client id correctly The client id secret is valid not expired.

Seeing this issue : Failed to provision volume with StorageClass "managed-premium": Retriable: false, RetryAfter: 0s, HTTPStatusCode: 401, RawError: Retriable: false, RetryAfter: 0s, HTTPStatusCode: 401, RawError: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions//resourceGroups//providers/Microsoft.Compute/disks/?api-version=2019-11-01: StatusCode=401 -- Original Error: adal: Refresh request failed. Status Code = '401'. Response body: {"error":"invalid_client","error_description":"AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app ''.\r\nTrace ID: \r\nCorrelation ID: \r\nTimestamp: 2022-11-02 16:46:19Z","error_codes":[7000215],"timestamp":"2022-11-02 16:46:19Z","trace_id":"","correlation_id":"","error_uri":"https://login.microsoftonline.com/error?code=7000215"} Endpoint https://login.microsoftonline.com//oauth2/token

Neeta777 avatar Nov 02 '22 17:11 Neeta777

Hi @Neeta777, Thanks for putting your issue here. I recommend that you open a support ticket with this issue so that we can look into it in more details. Thanks, Jerome

jboutaud avatar Jan 10 '23 23:01 jboutaud