Project

General

Profile

Actions

Idea #9618

closed

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

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

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Target version:
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 #1

Updated by Brett Smith over 7 years ago

  • Target version set to Arvados Future Sprints
Actions #2

Updated by Brett Smith over 7 years ago

  • Subject changed from [Crunch2] [API] Reject ContainerRequests that don't specify ram when no default is set to [Crunch2] [API] Reject ContainerRequests that don't specify valid ram constraint
  • Description updated (diff)
  • Category set to API
Actions #3

Updated by Brett Smith over 7 years ago

  • Description updated (diff)
Actions #4

Updated by Brett Smith over 7 years ago

  • Story points set to 0.5
Actions #5

Updated by Lucas Di Pentima over 7 years ago

  • Assigned To set to Lucas Di Pentima
  • Target version changed from Arvados Future Sprints to 2016-08-03 sprint
Actions #6

Updated by Lucas Di Pentima over 7 years ago

  • Status changed from New to In Progress
Actions #7

Updated by Lucas Di Pentima over 7 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:8fc5b6595fd1d544b5812d0807e9747c6eab5f8d.

Actions

Also available in: Atom PDF