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

Wrong Task Summary #10338

Open
fredwangwang opened this issue Apr 8, 2021 · 3 comments
Open

Wrong Task Summary #10338

fredwangwang opened this issue Apr 8, 2021 · 3 comments
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/job-summary type/bug

Comments

@fredwangwang
Copy link
Contributor

Nomad version

v1.0.4

Operating system and Environment details

linux

Issue

In the task summary page, we have 10 desired instance, and 10 actually are running. However it still shows 9 starting (not transient, it has always been that way since we noticed it), which looks like reporting wrong information.
image

Reproduction steps

not sure exactly how it gets into this situation. But this nomad cluster has experienced some network issue in the past and went through multiple upgrade/restart cycles.

@shoenig
Copy link
Contributor

shoenig commented Apr 9, 2021

Hi @fredwangwang thanks for reporting! Just so we can narrow down whether that number is actually reported data from the API vs. maybe a UI bug, do you see the same thing from the CLI? e.g.

nomad job status <job>

And we're looking for the Summary block. Thanks!

@shoenig shoenig self-assigned this Apr 9, 2021
@shoenig shoenig added stage/waiting-reply theme/api HTTP API and SDK issues labels Apr 9, 2021
@fredwangwang
Copy link
Contributor Author

Here is the response from cli, it is consistent with UI.

ID            = job
Name          = job
Submit Date   = 2021-04-05T09:28:47-06:00
Type          = service
Priority      = 50
Datacenters   = dev
Namespace     = default
Status        = running
Periodic      = false
Parameterized = false

Summary
Task Group           Queued  Starting  Running  Failed  Complete  Lost
api-group            0       9         10       350     204       8
processing-group     0       0         0        0       58        0
processing-v1-group  0       6         15       572     260       12
processing-v2-group  0       2         3        140     55        3
redis-group          0       1         1        39      33        1

Latest Deployment
ID          = f0621234
Status      = successful
Description = Deployment completed successfully

Deployed
Task Group           Auto Revert  Desired  Placed  Healthy  Unhealthy  Progress Deadline
api-group            true         10       10      10       0          2021-04-08T20:21:36Z
processing-v1-group  true         15       15      15       0          2021-04-08T20:21:36Z
processing-v2-group  true         3        3       3        0          2021-04-08T20:21:36Z
redis-group          true         1        1       1        0          2021-04-08T20:21:35Z

@tgross
Copy link
Member

tgross commented Jul 25, 2022

Some other issues that look related to this one: #13519 #4731 #10222 #13897.

@tgross tgross added stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/job-summary and removed stage/needs-investigation theme/api HTTP API and SDK issues labels Jul 25, 2022
@tgross tgross moved this to Needs Roadmapping in Nomad - Community Issues Triage Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/job-summary type/bug
Projects
Status: Needs Roadmapping
Development

No branches or pull requests

3 participants