https://flyte.org logo
#announcements
Title
# announcements
m

Matheus Moreno

05/10/2022, 3:06 PM
Hi, everyone! Any tips to help debugging Helm errors when trying to start the new sandbox lite? I can only see
Copy code
Starting Docker daemon...
Done.
Starting k3s cluster...
Done.
Deploying Flyte...
"flyteorg" has been added to your repositories
Release "flyte" does not exist. Installing it now.
Error: timed out waiting for the condition
y

Yuvraj

05/10/2022, 3:07 PM
which sandbox are you using ?
sandbox or demo
m

Matheus Moreno

05/10/2022, 3:07 PM
I'm using demo, and starting it using Docker, not flytectl
Here's my Docker command:
Copy code
docker run -d --name flyte-sandbox --privileged --mount type=bind,src=.,dst=/root -p 30080-30082:30080-30082 -p 30084:30084 -p 30086:30086 -p 30088:30088 -p 30089:30089 <http://cr.flyte.org/flyteorg/flyte-sandbox-lite:sha-5570eff6bd636e07e40b22c79319e46f927519a3|cr.flyte.org/flyteorg/flyte-sandbox-lite:sha-5570eff6bd636e07e40b22c79319e46f927519a3>
y

Yuvraj

05/10/2022, 3:11 PM
Can you give me your k8s state while running demo sandbox ?
Copy code
docker exec -it flyte-sandbox /bin/sh
k3s kubectl get pods -n flyte
m

Matheus Moreno

05/10/2022, 3:16 PM
one sec, will do!
I don't know if this is relevant, but I'm trying to run the sandbox on Windows. The old image,
flyte-sandbox
, started normally, but I'm having trouble with sandbox-lite
y

Yuvraj

05/10/2022, 3:23 PM
Not sure but we can check. Can you post the log here ?
m

Matheus Moreno

05/10/2022, 4:23 PM
sorry for taking so long
message has been deleted
y

Yuvraj

05/10/2022, 4:31 PM
Can you check why are you getting ImagePullBackOff in k8s-dashboard ?
m

Matheus Moreno

05/10/2022, 5:19 PM
i think its just taking a bizarre amount of time
4min to pull the postgres image, while on a linux machine it takes 1min30
so a timeout happens
y

Yuvraj

05/10/2022, 5:27 PM
cc: @Haytham Abuelfutuh
m

Matheus Moreno

05/10/2022, 8:05 PM
hey, just an update: it really was a timeout. we "fixed" it by injecting the --timeout flag at the entrypoint of the sandbox:
Copy code
sed -i "/^helm upgrade/ s/$/ --timeout 20m0s/" /flyteorg/bin/flyte-entrypoint.sh && tini flyte-entrypoint.sh
y

Yuvraj

05/11/2022, 2:24 AM
That’s Great but it’s strange that image pull is taking a lot of time on Windows
m

Matheus Moreno

05/11/2022, 2:04 PM
Docker on Windows is very unstable... The other day, we were unable to start a task because there was no resources available. After some debugging, we found out that there's a bug on WSL2 that makes it so that it doesn't free resources; WSL2 was using 12Gb of RAM and not freeing up any of it...
👍 1
4 Views