Azure / OpenShift

Azure Red Hat OpenShift
https://docs.microsoft.com/azure/openshift/intro-openshift
MIT License
113 stars 37 forks source link

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

Open Neeta777 opened 1 year ago

Neeta777 commented 1 year ago

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

jboutaud commented 1 year ago

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