Actions
Bug #10386
closedForeman docker CLI errors are not being reported correctly
Difficulty:
Triaged:
Bugzilla link:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1218409
Description of problem:
When I try to create a container twice, I get "Error: 422 Unprocessable Entity" but it doesn't tell me the actual validation error. The API is using the error template in foreman so I am not sure why the error isn't being displayed in the CLI.
$ hammer docker container create --name container1 --compute-resource-id 1 --repository-name redis --tag latest --command bash
Sucssefully created container.
$ hammer docker container create --name container1 --compute-resource-id 1 --repository-name redis --tag latest --command bash
Could not create the container:
Error: 422 Unprocessable Entity
Actions