Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-48520

Installer fails to gather node logs for failed GCP deployments using short-lived credential formats

XMLWordPrintable

    • None
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • In Progress

      The logs of a failed cluster deployed using short-lived credentials shows that the must-gather was not able to extract the logs from the nodes. Based on the error message, it is likely that may be related to the installer code being unable to handle the form of authentication that we're using here, as has been seen in a previous bug OCPBUGS-37821.

      time="2025-01-09T15:40:06Z" level=info msg="Failed to gather VM console logs: Get \"https://compute.googleapis.com/compute/v1/projects/ts-platforms-poc/aggregated/instances?alt=json&filter=name+%3D+a8n2f2r8g4p1j6n-hg4hj-%2A&prettyPrint=false\": oauth2/google: unable to generate access token: Post \"https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/osd-deployer-t3s8@ts-platforms-poc.iam.gserviceaccount.com:generateAccessToken\": context canceled" 

      Node logs should be gathered for failed cluster deployments that use short-lived credentials to authenticate with GCP.

              Unassigned Unassigned
              rcampos2020 Renan Campos
              Jianli Wei Jianli Wei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: