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

linkerd check hangs if identity is unavailable #2651

Open
adleong opened this issue Apr 5, 2019 · 3 comments
Open

linkerd check hangs if identity is unavailable #2651

adleong opened this issue Apr 5, 2019 · 3 comments

Comments

@adleong
Copy link
Member

adleong commented Apr 5, 2019

If using the edge-19.4.1 Linkerd CLI with an older Linkerd installed such as edge-19.3.2 which does not include the linkerd-identity deployment, linkerd check will hang forever waiting for linkerd-identity pods to become ready. This also prevents the use of other commands such as linkerd dashboard.

Steps to reproduce:

  1. Install Linkerd edge-19.3.2 to a cluster
  2. Use edge-19.4.1 CLI to run linkerd check
@adleong adleong changed the title linkerd check hangs if identity is disabled linkerd check hangs if identity is unavailable Apr 5, 2019
@siggy
Copy link
Member

siggy commented Apr 8, 2019

The linkerd check command should timeout after 5 minutes. The primary symptom users will observe is if they upgrade their cli and then run linkerd check, the missing identity deployment will exhibit this behavior. We should call out this case in the docs.

@siggy siggy added the area/docs label Apr 8, 2019
@adleong
Copy link
Member Author

adleong commented Apr 8, 2019

Can we improve this behavior by skipping the check for the identity pod if we know it won't be there? e.g. if the server version is too old? or if the identity deployment doesn't exist?

@siggy
Copy link
Member

siggy commented Apr 8, 2019

Skipping a check for the identity pod would solve this particular issue. This should probably motivate a larger discussion around how version-aware we want to make linkerd check, and also priority for such work.

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

No branches or pull requests

2 participants