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

Nomad job inspect showing incorrect job status #24957

Open
mismithhisler opened this issue Jan 27, 2025 · 0 comments · May be fixed by #24974
Open

Nomad job inspect showing incorrect job status #24957

mismithhisler opened this issue Jan 27, 2025 · 0 comments · May be fixed by #24974
Assignees
Labels

Comments

@mismithhisler
Copy link
Member

Nomad version

Output from nomad version

1.9.6-dev

Operating system and Environment details

Ubuntu

Issue

The nomad state store is persisting an incorrect job status field for job versions when stopping a job and reverting a job.

Reproduction steps

  1. Run a simple job (version 0)
  2. Stop job (version 1)
  3. Revert job to version 0 (version 2)

Inspect the job states via nomad job inspect -version

Expected Result

Version 1 should have status dead and version 2 should have status running

Actual Result

Version 1 has status running and version 2 has status dead

Job file (if appropriate)

Nomad Server logs (if appropriate)

Nomad Client logs (if appropriate)

@mismithhisler mismithhisler self-assigned this Jan 29, 2025
@mismithhisler mismithhisler linked a pull request Jan 29, 2025 that will close this issue
6 tasks
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.

1 participant