Unable to revert job in web UI
- Dominant language
- Go
- Stars
- 17k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 105
Description
### Nomad version
`v1.4.7`
### Issue
Unable to revert job with setup using Consul + ACL
Likely related to https://github.com/hashicorp/nomad/issues/15964
### Reproduction steps
- In web UI, go to the `Versions` tab in a job and click `Revert Version` button.
#### Expected Result
- Job will redeploy previous job version
#### Actual Result

### Browser logs
HTTP Debugger:
```
Request URI: /v1/job/myservice/revert
Request Method: POST
Request Headers:
x-consul-token: xxxx
x-nomad-token: xxxx
Status Code: 500
Payload:
{
"JobID": "myservice",
"JobVersion": 337
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Versions tab's Revert Version action and trace the POST request to /v1/job/myservice/revert, using the Consul and Nomad ACL headers shown in the browser logs. Compare the behavior with the related issue #15964. Done means reverting through the web UI successfully redeploys the selected previous job version.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100