Hi, When I restart the demo cluster (flytectl demo...
# flyte-deployment
n
Hi, When I restart the demo cluster (flytectl demo start), sometimes I am getting an error which says "Connection refused". So please clarify on why we get this error ?
v
Thanks for reporting! https://flyte-org.slack.com/archives/CNMKCU6FR/p1661980868829449 There was an error which was causing the connection error, but with the latest version, this should be fixed. Can you let us know the version of flyte-ctl you are running?
n
I'm using 1.2.0b0
Hi All, I'm still getting this error even when trying to setup flyte on an EC2 instance : Error: Get "https://127.0.0.1:30086/api/v1/nodes": dial tcp 127.0.0.130086 connect: connection refused {"json":{},"level":"error","msg":"Get \"https://127.0.0.1:30086/api/v1/nodes\": dial tcp 127.0.0.130086 connect: connection refused","ts":"2022-09-06T054822Z"} And I've tried it with both the 1.1.0 & 1.2.0b0 versions.
v
@tall-lock-23197 could there any other specific reason related to configuration of cluster information?
t
flytectl demo start --version=v1.1.0
works for me. @glamorous-carpet-83516 @icy-agent-73298, any idea why this error might be cropping up?
n
Regarding the above error, if I rerun "flytectl demo start" repeatedly, I'm getting this:
t
Oh, but it should work the first time as well.
n
After setting this up, when I run
pyflyte run --remote --image <http://ghcr.io/flyteorg/flytecookbook:pima_diabetes-latest|ghcr.io/flyteorg/flytecookbook:pima_diabetes-latest> diabetes.py diabetes_xgboost_model
I'm getting this error:
Yes, you're right. I'm not sure why it isn't working the first time.
t
You’ll need to install the requirements locally first. Can you run
pip install -r requirements.txt
in your pima_diabetes directory?
i
@nice-judge-43061 next time it happen can you check the o/p of docker ps and check the exit status of flyte container . Also you can do an inspect on the container on why it failed.
👍 1
n
@icy-agent-73298 Sure, I'll check it. Thanks
👍 1
167 Views