-
Notifications
You must be signed in to change notification settings - Fork 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
cannot get status for jobs with a dash in job ID #3141
Comments
Hey this has been fixed and will be out in 0.6.3. In the meantime please use |
@dadgar the problem still happens with nomad 0.6.3.
Can you reopen the ticket? |
This PR fixes: * UUID lookup with hyphens and odd length. The math was wrong. There is now a test that ranges over all possible values. * Fixes an unreported issue that could be hit when a job has more than 4 hyphens in it as UUID lookup doesn't allow that. Fixes #3141
@fho Sorry about that. Added tests to cover all possible values and have fixed this. |
This PR fixes: * UUID lookup with hyphens and odd length. The math was wrong. There is now a test that ranges over all possible values. * Fixes an unreported issue that could be hit when a job has more than 4 hyphens in it as UUID lookup doesn't allow that. Fixes #3141
I'm still seeing this in both 0.6.3 and 0.7.0-beta:
Rolling my binary back to 0.5.6 works fine. |
@metroidprototype I believe you may have just upgraded the CLI binary and not the servers/clients as well. I just tried with the job name you gave on 0.7.0-beta1 and it worked correctly. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
Nomad v0.6.1
Nomad v0.6.2
Operating system and Environment details
Linux 4.4.0-62-generic #83-Ubuntu SMP x86_64 GNU/Linux
Issue
Starting from nomad 0.6.1 I am not able to get the status for a job via the cli if that job has a dash in its name.
Reproduction steps
nomad agent -dev
without any additional confignomad status foo-bar
output:
expected output (the same as when querying for a job ID without a dash):
Nomad Server logs (if appropriate)
The text was updated successfully, but these errors were encountered: