<p>I am trying to install Kubeflow on Google Cloud Platform (GCP) and Kubernetes Engine (GKE), following the <a href="https://www.kubeflow.org/docs/gke/deploy/" rel="nofollow noreferrer">GCP deployment guide</a>.</p>

<p>I created a GCP project of which I am the owner, I enabled billing, set up OAuth credentials and enabled the following APIs:</p>

<ul>
<li>Compute Engine API</li>
<li>Kubernetes Engine API</li>
<li>Identity and Access Management (IAM) API</li>
<li>Deployment Manager API</li>
<li>Cloud Resource Manager API</li>
<li>Cloud Filestore API</li>
<li>AI Platform Training &amp; Prediction API</li>
</ul>

<p>However, when I want to <a href="https://www.kubeflow.org/docs/gke/deploy/deploy-ui/" rel="nofollow noreferrer">deploy Kubeflow using the UI</a>, I get the following error:</p>

<p><a href="https://i.stack.imgur.com/SrSjY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SrSjY.png" alt="enter image description here"></a></p>

<p>So I doublechecked and those APIs are already enabled:</p>

<p><a href="https://i.stack.imgur.com/MSdhr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MSdhr.png" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/Fu0Au.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fu0Au.png" alt="enter image description here"></a></p>

<p>The log messages at the bottom of the screen are:</p>

<pre><code>2020-03-0614:14:04.629: Getting enabled services for project &lt;projectname&gt;..
2020-03-0614:14:16.909: Could not configure communication with GCP, exiting
</code></pre>

<p>The <a href="https://github.com/kubeflow/kubeflow/blob/master/components/gcp-click-to-deploy/src/DeployForm.tsx#L695" rel="nofollow noreferrer"><code>Could not configure communication with GCP, exiting</code></a> is triggered when <a href="https://github.com/kubeflow/kubeflow/blob/master/components/gcp-click-to-deploy/src/DeployForm.tsx#L916" rel="nofollow noreferrer"><code>_enableGcpServices()</code></a> fails. </p>

<p>The line <a href="https://github.com/kubeflow/kubeflow/blob/master/components/gcp-click-to-deploy/src/DeployForm.tsx#L922" rel="nofollow noreferrer"><code>Getting enabled services for project ...</code></a> is printed but not the line <a href="https://github.com/kubeflow/kubeflow/blob/master/components/gcp-click-to-deploy/src/DeployForm.tsx#L944" rel="nofollow noreferrer"><code>Proceeding with project number: ...</code></a>, so the error must be triggered somewhere in <a href="https://github.com/kubeflow/kubeflow/blob/master/components/gcp-click-to-deploy/src/DeployForm.tsx#L923-L942" rel="nofollow noreferrer">the block of code between those lines</a>. </p>

<p>The call to <a href="https://github.com/kubeflow/kubeflow/blob/master/components/gcp-click-to-deploy/src/DeployForm.tsx#L928-L929" rel="nofollow noreferrer"><code>Gapi.cloudresourcemanager.getProjectNumber(project)</code></a> has its own try/catch with a slightly different error message and title (only talks about the cloud resource manager API, not the IAM API), so I assume it is the call to <a href="https://github.com/kubeflow/kubeflow/blob/master/components/gcp-click-to-deploy/src/DeployForm.tsx#L923" rel="nofollow noreferrer"><code>Gapi.getSignedInEmail()</code></a> that fails??</p>

BioGeek
<p>I'd suggest having a look at the service management API, IAM service credentials API and cloud identity aware proxy API possibly. I've only used the CLI install tool previously and not run into these problems, but you might require these services for the IAP deployment?</p>
