crc-org / crc

CRC is a tool to help you run containers. It manages a local OpenShift 4.x cluster, Microshift or a Podman VM optimized for testing and development purposes
https://crc.dev
Apache License 2.0
1.26k stars 242 forks source link

[QE] Azure credentials expired #4377

Closed adrianriobo closed 1 month ago

adrianriobo commented 1 month ago

Running windows-e2e on gh action we are hitting an error while provisioning Windows Desktop

Diagnostics:
  pulumi:pulumi:Stack (windows-desktop-10-22h2-ent-e2e-openshift-stackCreateWindowsDesktop-windows-desktop-10-22h2-ent-e2e-openshift):
    error: an unhandled error occurred: 1 error occurred:
        * error getting the best spot price choice: error getting spot price history: DefaultAzureCredential authentication failed. failed to acquire a token.
    Attempted credentials:
        ClientSecretCredential authentication failed. FromClientSecret(): http call([https://login.microsoftonline.com/***/oauth2/v2.0/token)(POST](https://login.microsoftonline.com/***/oauth2/v2.0/token(POST))) error: reply status code was 401:
    {"error":"invalid_client","error_description":"AADSTS7000222: The provided client secret keys for app '***' are expired. Visit the Azure portal to create new keys for your app: https://aka.ms/NewClientSecret, or consider using certificate credentials for added security: https://aka.ms/certCreds. Trace ID: 9c3ce806-94a0-4cc8-9fde-0482d8779500 Correlation ID: d3c3cb7b-a21a-46d4-b99d-22c35279a410 Timestamp: 2024-09-26 06:09:36Z","error_codes":[7000222],"timestamp":"2024-09-26 06:09:36Z","trace_id":"9c3ce806-94a0-4cc8-9fde-0482d8779500","correlation_id":"d3c3cb7b-a21a-46d4-b99d-22c35279a410","error_uri":"https://login.microsoftonline.com/error?code=7000222"}
    POST https://login.microsoftonline.com/***/oauth2/v2.0/token
    --------------------------------------------------------------------------------
    RESPONSE 401 Unauthorized
adrianriobo commented 1 month ago

New secret has been set valid for 12 months