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

GCP XPN Installs fail when authenticating with CLI

    XMLWordPrintable

Details

    • Important
    • Sprint 242
    • 1
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      When authenticating openshift-install with the gcloud cli, rather than using a service account key file, the installer will throw an error because https://github.com/openshift/installer/blob/master/pkg/asset/machines/gcp/machines.go#L170-L178 ALWAYS expects to extract a service account to passthrough to nodes in XPN installs. 
      
      An alternative approach would be to handle the lack of service account without error, and allow the required service accounts to passed in through another mechanism.

      Version-Release number of selected component (if applicable):

       

      How reproducible:

       

      Steps to Reproduce:

      1.Create install config for gcp xpn install
      2.Authenticate installer without service account key file (either gcloud cli auth or through a VM).
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

      Attachments

        Issue Links

          Activity

            People

              sdasu@redhat.com Sandhya Dasu
              sdasu@redhat.com Sandhya Dasu
              Jianli Wei Jianli Wei
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: