Actions
Idea #9618
closed[Crunch2] [API] Reject ContainerRequests that don't specify valid ram constraint
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Target version:
Start date:
08/03/2016
Due date:
Story points:
0.5
Release:
Release relationship:
Auto
Description
The runtime_constraints of a ContainerRequest must include a ram
field. ram
is a number of bytes, so it must be a positive integer. The API server must validate this on every create and update of a ContainerRequest when its state is Committed. If a request tries to set ram
to an unacceptable value, the server must reject the request with HTTP error code 422, and the response JSON should include an error message close to "runtime_constraints ram must be a positive integer."
Actions