artefactory / one-click-mlflow

A tool to deploy a mostly serverless MLflow tracking server on a GCP project with one command
GNU Lesser General Public License v3.0
66 stars 21 forks source link

Error: Failed to get existing workspaces #81

Open ConsciousML opened 1 year ago

ConsciousML commented 1 year ago

Hi there,

Describe the bug When running make one-click-mlflow, I get the following error:

Error: Failed to get existing workspaces: querying Cloud Storage failed: storage: bucket doesn't exist

It seems that Terraform is unable to get my workspace.

To Reproduce

> terraform version
Terraform v1.4.2
on linux_amd64
  1. Create a project and make sure you project is part of an organization
  2. Run make one-click-mlflow
  3. See the error

Expected behavior Terraform should recognize my workspace.

ConsciousML commented 1 year ago

I found a workaround that made it work:

gcloud auth application-default login --project $PROJECT

Apparently, this makes the script recognize the workspace.

Should we add it to the documentation ?