Project

General

Profile

Actions

Feature #15345

closed

[arvados-dispatch-cloud] kill container (management API)

Added by Tom Clegg almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
1.0
Release relationship:
Auto

Description

Described at Dispatching containers to cloud VMs:

POST /arvados/v1/dispatch/containers/kill?container_uuid=X terminates a container immediately.
  • a single attempt is made to send SIGTERM to the container
  • container state/priority fields are not affected
  • assuming SIGTERM works, the container record will end up with state "Cancelled"

Currently (without this API) an admin can use the controller API to update the container's priority to 0, with similar results. This API is a bit more direct: it works even if the dispatcher isn't syncing with the controller properly/quickly, and it bypasses the TimeoutSignal config that rate-limits SIGTERM attempts per container.


Subtasks 1 (0 open1 closed)

Task #15384: Review 15345-kill-container-apiResolvedEric Biagiotti06/19/2019Actions

Related issues

Blocks Arvados - Idea #13908: [Epic] Replace SLURM for cloud job scheduling/dispatchingResolvedActions
Actions #1

Updated by Tom Clegg almost 5 years ago

  • Blocks Idea #13908: [Epic] Replace SLURM for cloud job scheduling/dispatching added
Actions #2

Updated by Tom Morris almost 5 years ago

  • Target version changed from To Be Groomed to Arvados Future Sprints
  • Story points set to 1.0
Actions #3

Updated by Tom Clegg almost 5 years ago

  • Status changed from New to In Progress
  • Assigned To set to Tom Clegg
Actions #4

Updated by Tom Clegg almost 5 years ago

  • Description updated (diff)
Actions #6

Updated by Tom Morris almost 5 years ago

  • Target version changed from Arvados Future Sprints to 2019-07-03 Sprint
Actions #7

Updated by Eric Biagiotti almost 5 years ago

Tom Clegg wrote:

15345-kill-container-api @ 49717fb59156c2b276ccc2fde0b9f2de71e812a6 -- https://ci.curoverse.com/view/Developer/job/developer-run-tests/1326/

This LGTM, if the tests are rerun and they pass. Thanks!

Actions #9

Updated by Tom Clegg almost 5 years ago

  • Status changed from In Progress to Resolved
Actions #10

Updated by Peter Amstutz over 4 years ago

  • Release set to 22
Actions

Also available in: Atom PDF