Hello all. I'm attempting to use flytectl 0.5.25 o...
# announcements
r
Hello all. I'm attempting to use flytectl 0.5.25 on Centos7. I am trying to create a project. I keep getting the attached SIGSEGV, similar to (but not exactly) the issue here: https://github.com/flyteorg/flyte/issues/1320. What am I doing wrong here?
👀 1
e
@Ruksana Kabealo, a few questions to help in the investigation: 1. can you share the exact stack trace you're seeing? 2. Do you see this with any workflow you attempt to register? 3. Can you say more about your flyte deployment ? (In other words, are you seeing this in a sandbox, eks, gcp) ?
r
Hi @Eduardo Apolinario (eapolinario)! Thank you for the questions. Here are some answers to the best of my ability. I'm new to Flyte and am picking up this task from someone else, so my apologies in advance if I'm missing something obvious. 1. The attached cmdline.txt is the output I get when I run the command "flytectl create project --name test --id test --description "test" --labels app=test". Is there something more I need to attach?
2. I'm attempting to create a project first before registering any workflows - so I've only seen this when trying to create a project so far. Sorry - i'm very new to Flyte so if I'm performing tasks out of order please let me know!!
3. I have a single local Kubernetes cluster with a single node where Flyte was deployed to it using a Helm chart. Not single Docker container sandbox, but not cloud
e
@Ruksana Kabealo, no need to apologize, this should have worked. A couple more questions: 1. Did you mean to attach a file? 2. When you say you're running a single local k8s cluster, is it using minikube (or some other single node k8s) or you set up the machinery (i.e. kubelet, certificates, etc) yourself?
Also, can you confirm how you created the config file used by flytectl?
r
@Eduardo Apolinario (eapolinario) I have attached it here let me know if it's visible!
2. I used kubeadm to create the cluster. Similar to here: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/
3. I did not create a config for flytectl. From the documentation I was assuming I could input everything as command line parameters?
p
Hi @Ruksana Kabealo, this might point to your config endpoint being empty. Did you run
flytectl config init --host=<http://flyte.myexample.com|flyte.myexample.com>
Seems you don’t have any config setup and exposes a bug . Do you mind opening an issue for it. If you have your config set with endpoint details then it wont have thrown this trace. This is due to recent change. cc : @Kevin Su
166 Views