X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4f3739a4967959db6783408d8aad2137b9ebdab5..37eb070f55b5ae0c622fb4bf0a946c9dd49b2752:/doc/api/methods/container_request_lifecycle.svg diff --git a/doc/api/methods/container_request_lifecycle.svg b/doc/api/methods/container_request_lifecycle.svg new file mode 100644 index 0000000000..06215aaf27 --- /dev/null +++ b/doc/api/methods/container_request_lifecycle.svg @@ -0,0 +1,182 @@ + + + + + + +%3 + + + +invisiblestart + + + + +uncommitted + +container request: +   state=Uncommitted + + + +invisiblestart->uncommitted + + +   user creates container request + + + +committed + +container request: +   state=Committed +   priority>0 + + + +uncommitted->committed + + +   user updates to +      state=Committed, priority>0 + + + +reused + +container request: +   state=Final +container: +   state=Complete +(reused existing container) + + + +committed->reused + + +Arvados selects an existing container + + + +queued + +container request: +   state=Committed +   priority>0 +container: +   state=Queued + + + +committed->queued + + +   Arvados creates a new container + + + +latecancelled + +container request: +   state=Final +container: +   state=Cancelled + + + + +locked + +container request: +   state=Committed +   priority>0 +container: +   state=Locked + + + +queued->locked + + +   Arvados is ready to dispatch the container + + + +queued->latecancelled + + +user updates to priority=0 + + + +locked->latecancelled + + +user updates to priority=0 + + + +running + +container request: +   state=Committed +   priority>0 +container: +   state=Running + + + +locked->running + + +   Arvados starts the container process + + + +containerfailed + +container request: +   state=Final +container: +   state=Complete +   exit_code≠0 + + + + +running->latecancelled + + +user updates to priority=0 + + + +running->containerfailed + + +container process fails + + + +containerfinished + +container request: +   state=Final +container: +   state=Complete +   exit_code=0 + + + +running->containerfinished + + +   container process succeeds + + +