You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ nomad status batch-test
Error querying search with id: "Unexpected response code: 500 (alloc lookup failed: index error: Input (without hyphens) must be even length)"
Reproduction steps
$ cat batch-test.json
{
"Job": {
"Region": "global",
"ID": "batch-test",
"Name": "batch-test",
"Type": "batch",
"Priority": 50,
"Datacenters": [
"dc1"
],
"TaskGroups": [
{
"Name": "batch-test-group",
"RestartPolicy": {
"Attempts": 0,
"Mode": "fail"
},
"Tasks": [
{
"Name": "leader",
"Driver": "docker",
"Config": {
"image": "alpine:latest",
"command": "/bin/sleep",
"args": ["20"]
},
"Resources": {
"CPU": 20,
"MemoryMB": 256,
"DiskMB": 10,
"IOPS": 0
},
"LogConfig": {
"MaxFiles": 10,
"MaxFileSizeMB": 10
}
}
]
}
]
}
}
$ curl -XPOST -d@batch-test.json $NOMAD_ADDR/v1/jobs
{"EvalID":"5cf50ee7-7cb0-09ef-f2b3-b8f5cf6a5e10","EvalCreateIndex":216,"JobModifyIndex":215,"Warnings":"","Index":216,"LastContact":0,"KnownLeader":false}
$ nomad status
ID Type Priority Status Submit Date
batch-test batch 50 pending 09/14/17 12:51:05 UTC
$ nomad status batch-test
Error querying search with id: "Unexpected response code: 500 (alloc lookup failed: index error: Input (without hyphens) must be even length)
The text was updated successfully, but these errors were encountered:
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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Nomad version
Nomad v0.6.3
Operating system and Environment details
docker-for-mac/alpine 17.06.2
Issue
$ nomad status batch-test Error querying search with id: "Unexpected response code: 500 (alloc lookup failed: index error: Input (without hyphens) must be even length)"
Reproduction steps
The text was updated successfully, but these errors were encountered: