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

GCP XPN Installs fail when authenticating with CLI

XMLWordPrintable

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

      None

      Show
      None

      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:

       

              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

                Created:
                Updated:
                Resolved: