Project

General

Profile

Actions

Idea #9618

closed

[Crunch2] [API] Reject ContainerRequests that don't specify valid ram constraint

Added by Brett Smith over 8 years ago. Updated over 8 years ago.

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."


Subtasks 1 (0 open1 closed)

Task #9643: ReviewClosedRadhika Chippada08/03/2016Actions
Actions

Also available in: Atom PDF