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
Updated by Martin Bacovsky about 10 years ago
- Category set to CLI
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/hammer_cli_foreman_docker/pull/11 added
- Pull request deleted (
)
Updated by Martin Bacovsky about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
PR was merged
Actions