Skip to content
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

argo list does not show workflows from all instances or accept --instanceid #2780

Closed
3 of 4 tasks
benabineri opened this issue Apr 22, 2020 · 3 comments · Fixed by #2786
Closed
3 of 4 tasks

argo list does not show workflows from all instances or accept --instanceid #2780

benabineri opened this issue Apr 22, 2020 · 3 comments · Fixed by #2786
Assignees
Labels
Milestone

Comments

@benabineri
Copy link

Checklist:

  • I've included the version.
  • I've included reproduction steps.
  • I've included the workflow YAML.
  • I've included the logs. (N/A - can do if necessary.)

What happened:
We have deployed an argo 2.7.3 workflow controller with an instance ID in the configmap alongside a 2.3.0 controller.

argo list only shows workflows from the controller with no instance ID (2.3.0) and I can't work out how to get it to show the other workflows (see reproduction steps below.)

kubectl get workflows functions as expected.

What you expected to happen:

argo list could show all workflows, or support the --instanceid argument.

How to reproduce it (as minimally and precisely as possible):

! ~ $ argo submit --instanceid 27 https://raw.githubusercontent.com/argoproj/argo/master/examples/hello-world.yaml
Name:                hello-world-c29t6
Namespace:           whatever-dev
ServiceAccount:      default
Status:              Pending
Created:             Wed Apr 22 16:18:05 +0100 (now)
! ~ $ argo submit https://raw.githubusercontent.com/argoproj/argo/master/examples/hello-world.yaml
Name:                hello-world-xbb22
Namespace:           whatever-dev
ServiceAccount:      default
Status:              Pending
Created:             Wed Apr 22 16:18:14 +0100 (now)
! ~ $ argo list | grep hello-world
hello-world-xbb22      Running     3s     3s         0
hello-world-mbg4n      Succeeded   1d     5s         0
hello-world-jpfbf      Succeeded   142d   18s        0
! ~ $ argo list --instanceid 27
Error: unknown flag: --instanceid

Anything else we need to know?:

Environment:

  • Argo version: 2.7.3
$ argo version
  • Kubernetes version :
v1.14.9-eks-502bfb

Message from the maintainers:

If you are impacted by this bug please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

@alexec
Copy link
Contributor

alexec commented Apr 22, 2020

Are you connecting to the Argo Server - if so you will not see any workflows that the server cannot see.

@benabineri
Copy link
Author

I don't think so, I tried with that and get connection closed, but it's going through a k8s ingress so that might be something off in our setup:

! ~ $ argo --argo-server argo27.xyz.xyz.xyz:443 list
FATA[0000] rpc error: code = Unavailable desc = connection closed 

@alexec
Copy link
Contributor

alexec commented Apr 22, 2020

Ok - we don't support #2764 yet for the CLI. This most likely means you're using the CLI in "classic" mode and there is a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants