Hi everyone, trying to setup metaflow locally, get...
# ask-metaflow
r
Hi everyone, trying to setup metaflow locally, getting helm repo error, quick hints appreciated:
Copy code
(venv) f@f:~/w/oss/m/metaflow$ metaflow-dev up
✅ Docker is ready
🔍 Checking if gum is installed...
✅ gum is already installed.
🔧 Setting up Minikube v1.32.0 cluster...
✅ Minikube v1.32.0 cluster is already running
🎉 Minikube v1.32.0 cluster is ready!
✅ Helm is already installed at /snap/bin/helm
🚀 Starting up (may require sudo access)...
📝 Selecting services...
                                                                        
  ______  ________________________________________ __________       __  
  ___   |/  /__  ____/__  __/__    |__  ____/__  / __  __ \_ |     / /  
  __  /|_/ /__  __/  __  /  __  /| |_  /_   __  /  _  / / /_ | /| / /   
  _  /  / / _  /___  _  /   _  ___ |  __/   _  /___/ /_/ /__ |/ |/ /    
  /_/  /_/  /_____/  /_/    /_/  |_/_/      /_____/\____/ ____/|__/     
                                                                        
Select services to deploy (press enter to select all):
✅ Deploying minio, metadata-service, and ui
🚀 Starting Tilt with selected services...

🔥 Next Steps: Use metaflow-dev shell to switch to the development
   environment's shell and start executing your Metaflow flows.

Tilt started on <http://localhost:10350/>
v0.33.11, built 2024-02-15

(space) to open the browser
(s) to stream logs (--stream=true)
(t) to open legacy terminal mode (--legacy=true)
(ctrl-c) to exit
Tilt started on <http://localhost:10350/>
v0.33.11, built 2024-02-15

Initial Build
Loading Tiltfile at: /home/f/w/oss/m/metaflow/devtools/Tiltfile

📦 Components to install:
• minio
• postgresql
• metadata-service
  ↳ requires: postgresql
• ui
  ↳ requires: postgresql, minio
local: grep --include='*.yaml' --include='*.yml' -rEil '\bkind[^\w]+CustomResourceDefinition\s*$' /home/f/snap/code/220/.local/share/tilt-dev/.helm/minio-s3/minio || exit 0
local: helm repo list --output yaml 2>/dev/null || true
local: helm repo update
local: helm search repo minio-s3/minio --output yaml
ERROR: Traceback (most recent call last):
  /home/f/w/oss/m/metaflow/devtools/Tiltfile:112:16: in <toplevel>
  /home/f/snap/code/220/.local/share/tilt-dev/tilt_modules/github.com/tilt-dev/tilt-extensions/helm_remote/Tiltfile:71:28: in helm_remote
  /home/f/snap/code/220/.local/share/tilt-dev/tilt_modules/github.com/tilt-dev/tilt-extensions/helm_remote/Tiltfile:199:16: in helm_remote_yaml
Error in helm: exit status 1
Status:
        machine: minikube
        pid: 3356911
        route: 10.96.0.0/12 -> 192.168.49.2
        minikube: Running
        services: []
    errors: 
                minikube: no errors
                router: no errors
                loadbalancer emulator: no errors
I have done
helm repo update
and this repo seems to exist when I check using
helm
without Tiltfile.
Copy code
f@f:~$ helm repo add minio-s3 <https://charts.min.io/>
"minio-s3" already exists with the same configuration, skipping
f@f:~$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "minio-s3" chart repository
Update Complete. ⎈Happy Helming!⎈
f@f:~$
g
what OS are you using?
r
Distributor ID: Ubuntu Description: Ubuntu 24.04.3 LTS Release: 24.04 Codename: noble
g
I think it's the
snap isolation issue
👀 1
did you tried using a non-snap Helm binary?
might be worth trying out
r
Thanks Luis, it was indeed snap isolation issue.
🙌 1
g
you're welcome, happy to help!