-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: "no workflow definition in file" using standard installation and Hello World workflow #5380
Comments
The node status did not paste correctly. Here it is again. Calico process is running. IPv4 BGP status IPv6 BGP status |
How did you submit? |
The command I used is argo submit -n argo --watch whalesay.yaml --serviceaccount argo The error I am getting is: FATA[2021-03-15T16:00:44.392Z] unknown (get workflows.argoproj.io) Note, this is a slightly different error than originally reported. In the first case, I was using the namespace install manifest, in the second, I was using the standard install manifest. the result of
is error: a container name must be specified for pod whalesay-pb57m-2963895809, choose one of: [wait main] UPDATE: I am able to make my workflow run by using the kubectl administrator account. Question: Is there a way to use a restricted RBAC or is that the function of the serviceaccount? Perhaps this is a good addition to the docs? Since my workflows are working again, I am closing this thread. Thank you! |
This is the role you are looking for: https://github.com/argoproj/argo-workflows/blob/master/manifests/quick-start/base/workflow-role.yaml |
Summary
I had been successfully using the Argo Quickstart manifest and am now trying to install the secure manifest (https://raw.githubusercontent.com/argoproj/argo-workflows/master/manifests/namespace-install.yaml), but am getting
the error "no workflow definition in file" when trying to run the Hello World example (https://argoproj.github.io/argo-workflows/examples/#hello-world). This is the GitHub Fix that I think I may be running into(?) #1487
Diagnostics
describe the server pod:
describe the workflow controller pod:
What Kubernetes provider are you using?
I am using a tested baremetal installation of Kubernetes with Calico. Here are the pods:
Here are the nodes:
What version of Argo Workflows are you running?
https://raw.githubusercontent.com/argoproj/argo-workflows/master/manifests/namespace-install.yaml
Paste a workflow that reproduces the bug, including status:
https://argoproj.github.io/argo-workflows/examples/#hello-world
Paste the logs from the workflow controller:$(kubectl get pods -l app=workflow-controller -n argo -o name) | grep $ {workflow}
kubectl logs -n argo
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
The text was updated successfully, but these errors were encountered: