[arvados] updated: 2.5.0-65-gf196aa21e
git repository hosting
git at public.arvados.org
Thu Feb 2 16:32:28 UTC 2023
Summary of changes:
doc/api/methods/container_request_lifecycle.svg | 268 ++++++++++-----------
.../methods/container_requests.html.textile.liquid | 64 ++---
2 files changed, 167 insertions(+), 165 deletions(-)
via f196aa21e83d75d8fb2e77c9119a650034cb5cac (commit)
from e6da4efc43f0b913964eb570c0f52336573abbe8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit f196aa21e83d75d8fb2e77c9119a650034cb5cac
Author: Brett Smith <brett.smith at curii.com>
Date: Thu Feb 2 11:31:36 2023 -0500
19624: Layout container request lifecycle in two columns
Provide a more readable layout. Normal full lifecycle on the left, early
end states on the right.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith at curii.com>
diff --git a/doc/api/methods/container_request_lifecycle.svg b/doc/api/methods/container_request_lifecycle.svg
index 285cebb53..06215aaf2 100644
--- a/doc/api/methods/container_request_lifecycle.svg
+++ b/doc/api/methods/container_request_lifecycle.svg
@@ -1,186 +1,182 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><!-- Generated by graphviz version 2.40.1 (20161225.0304)
- --><!-- Title: %0 Pages: 1 --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="671pt" height="971pt" viewBox="0.00 0.00 671.08 971.20">
-<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 967.2)">
-<title>%0</title>
-<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-967.2 667.0838,-967.2 667.0838,4 -4,4"/>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<!-- Generated by graphviz version 2.43.0 (0)
+ -->
+<!-- Title: %3 Pages: 1 -->
+<svg width="748pt" height="818pt"
+ viewBox="0.00 0.00 747.50 818.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 814)">
+<title>%3</title>
+<polygon fill="white" stroke="transparent" points="-4,4 -4,-814 743.5,-814 743.5,4 -4,4"/>
<!-- invisiblestart -->
<g id="node1" class="node">
<title>invisiblestart</title>
-<ellipse fill="none" stroke="#ffffff" cx="68.5192" cy="-945.2" rx="27" ry="18"/>
+<ellipse fill="none" stroke="white" cx="88" cy="-792" rx="27" ry="18"/>
</g>
<!-- uncommitted -->
<g id="node2" class="node">
<title>uncommitted</title>
-<polygon fill="#d3d3d3" stroke="#000000" points="137.0576,-874.2019 -.0192,-874.2019 -.0192,-832.9981 137.0576,-832.9981 137.0576,-874.2019"/>
-<text text-anchor="start" x="8" y="-857.8" font-family="Times,serif" font-size="14.00" fill="#000000">container request:</text>
-<text text-anchor="start" x="8" y="-841" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Uncommitted</text>
+<polygon fill="lightgrey" stroke="black" points="176,-723 0,-723 0,-685 176,-685 176,-723"/>
+<text text-anchor="start" x="8" y="-707.8" font-family="Times,serif" font-size="14.00">container request:</text>
+<text text-anchor="start" x="8" y="-692.8" font-family="Times,serif" font-size="14.00"> state=Uncommitted</text>
</g>
<!-- invisiblestart->uncommitted -->
<g id="edge1" class="edge">
-<title>invisiblestart->uncommitted</title>
-<path fill="none" stroke="#000080" d="M68.5192,-927.1028C68.5192,-914.9708 68.5192,-898.6846 68.5192,-884.526"/>
-<polygon fill="#000080" stroke="#000080" points="72.0193,-884.2174 68.5192,-874.2175 65.0193,-884.2175 72.0193,-884.2174"/>
-<text text-anchor="middle" x="151.1115" y="-896.6" font-family="Times,serif" font-size="14.00" fill="#000080">user creates container request</text>
+<title>invisiblestart->uncommitted</title>
+<path fill="none" stroke="navy" d="M88,-773.6C88,-762.06 88,-746.65 88,-733.36"/>
+<polygon fill="navy" stroke="navy" points="91.5,-733.27 88,-723.27 84.5,-733.27 91.5,-733.27"/>
+<text text-anchor="start" x="88" y="-744.8" font-family="Times,serif" font-size="14.00" fill="navy"> user creates container request</text>
</g>
<!-- committed -->
<g id="node3" class="node">
<title>committed</title>
-<polygon fill="#ffffff" stroke="#000000" points="276.073,-763.4014 152.9654,-763.4014 152.9654,-704.5986 276.073,-704.5986 276.073,-763.4014"/>
-<text text-anchor="start" x="160.9923" y="-746.6" font-family="Times,serif" font-size="14.00" fill="#000000">container request:</text>
-<text text-anchor="start" x="160.9923" y="-729.8" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Committed</text>
-<text text-anchor="start" x="160.9923" y="-713" font-family="Times,serif" font-size="14.00" fill="#000000"> priority>0</text>
+<polygon fill="white" stroke="black" points="167,-604 9,-604 9,-551 167,-551 167,-604"/>
+<text text-anchor="start" x="17" y="-588.8" font-family="Times,serif" font-size="14.00">container request:</text>
+<text text-anchor="start" x="17" y="-573.8" font-family="Times,serif" font-size="14.00"> state=Committed</text>
+<text text-anchor="start" x="17" y="-558.8" font-family="Times,serif" font-size="14.00"> priority>0</text>
</g>
<!-- uncommitted->committed -->
<g id="edge2" class="edge">
-<title>uncommitted->committed</title>
-<path fill="none" stroke="#000080" d="M93.9505,-832.7673C115.1083,-815.4352 145.7089,-790.3679 170.7868,-769.8246"/>
-<polygon fill="#000080" stroke="#000080" points="173.1981,-772.3738 178.716,-763.3292 168.7622,-766.9587 173.1981,-772.3738"/>
-<text text-anchor="start" x="155.5192" y="-802.2" font-family="Times,serif" font-size="14.00" fill="#000080">user updates to</text>
-<text text-anchor="start" x="155.5192" y="-785.4" font-family="Times,serif" font-size="14.00" fill="#000080">state=Committed, priority>0</text>
+<title>uncommitted->committed</title>
+<path fill="none" stroke="navy" d="M88,-684.9C88,-666.53 88,-637.61 88,-614.55"/>
+<polygon fill="navy" stroke="navy" points="91.5,-614.43 88,-604.43 84.5,-614.43 91.5,-614.43"/>
+<text text-anchor="start" x="88" y="-655.8" font-family="Times,serif" font-size="14.00" fill="navy"> user updates to</text>
+<text text-anchor="start" x="88" y="-640.8" font-family="Times,serif" font-size="14.00" fill="navy"> state=Committed, priority>0</text>
</g>
-<!-- latecancelled -->
-<g id="node8" class="node">
-<title>latecancelled</title>
-<polygon fill="#add8e6" stroke="#000000" points="287.545,-83.7003 171.4934,-83.7003 171.4934,-8.2997 287.545,-8.2997 287.545,-83.7003"/>
-<text text-anchor="start" x="179.5063" y="-67" font-family="Times,serif" font-size="14.00" fill="#000000">container request:</text>
-<text text-anchor="start" x="179.5063" y="-50.2" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Final</text>
-<text text-anchor="start" x="179.5063" y="-33.4" font-family="Times,serif" font-size="14.00" fill="#000000">container:</text>
-<text text-anchor="start" x="179.5063" y="-16.6" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Cancelled</text>
+<!-- reused -->
+<g id="node4" class="node">
+<title>reused</title>
+<polygon fill="lightblue" stroke="black" points="739.5,-619 530.5,-619 530.5,-536 739.5,-536 739.5,-619"/>
+<text text-anchor="start" x="538.5" y="-603.8" font-family="Times,serif" font-size="14.00">container request:</text>
+<text text-anchor="start" x="538.5" y="-588.8" font-family="Times,serif" font-size="14.00"> state=Final</text>
+<text text-anchor="start" x="538.5" y="-573.8" font-family="Times,serif" font-size="14.00">container:</text>
+<text text-anchor="start" x="538.5" y="-558.8" font-family="Times,serif" font-size="14.00"> state=Complete</text>
+<text text-anchor="start" x="538.5" y="-543.8" font-family="Times,serif" font-size="14.00">(reused existing container)</text>
+</g>
+<!-- committed->reused -->
+<g id="edge6" class="edge">
+<title>committed->reused</title>
+<path fill="none" stroke="black" d="M167.25,-577.5C260.04,-577.5 414.48,-577.5 520.34,-577.5"/>
+<polygon fill="black" stroke="black" points="520.43,-581 530.43,-577.5 520.43,-574 520.43,-581"/>
+<text text-anchor="middle" x="348.75" y="-584.3" font-family="Times,serif" font-size="14.00">Arvados selects an existing container</text>
</g>
-<!-- uncommitted->latecancelled -->
<!-- queued -->
-<g id="node4" class="node">
+<g id="node5" class="node">
<title>queued</title>
-<polygon fill="#ffffff" stroke="#000000" points="340.073,-635.2 216.9654,-635.2 216.9654,-543.2 340.073,-543.2 340.073,-635.2"/>
-<text text-anchor="start" x="224.9923" y="-618.6" font-family="Times,serif" font-size="14.00" fill="#000000">container request:</text>
-<text text-anchor="start" x="224.9923" y="-601.8" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Committed</text>
-<text text-anchor="start" x="224.9923" y="-585" font-family="Times,serif" font-size="14.00" fill="#000000"> priority>0</text>
-<text text-anchor="start" x="224.9923" y="-568.2" font-family="Times,serif" font-size="14.00" fill="#000000">container:</text>
-<text text-anchor="start" x="224.9923" y="-551.4" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Queued</text>
+<polygon fill="white" stroke="black" points="167,-485 9,-485 9,-402 167,-402 167,-485"/>
+<text text-anchor="start" x="17" y="-469.8" font-family="Times,serif" font-size="14.00">container request:</text>
+<text text-anchor="start" x="17" y="-454.8" font-family="Times,serif" font-size="14.00"> state=Committed</text>
+<text text-anchor="start" x="17" y="-439.8" font-family="Times,serif" font-size="14.00"> priority>0</text>
+<text text-anchor="start" x="17" y="-424.8" font-family="Times,serif" font-size="14.00">container:</text>
+<text text-anchor="start" x="17" y="-409.8" font-family="Times,serif" font-size="14.00"> state=Queued</text>
</g>
<!-- committed->queued -->
<g id="edge3" class="edge">
-<title>committed->queued</title>
-<path fill="none" stroke="#000000" d="M244.5448,-704.713C249.0836,-699.1171 253.3122,-693.0447 256.5192,-686.8 263.0322,-674.118 267.6303,-659.5353 270.8719,-645.5743"/>
-<polygon fill="#000000" stroke="#000000" points="274.346,-646.0636 273.0006,-635.5545 267.4988,-644.6089 274.346,-646.0636"/>
-<text text-anchor="start" x="269.5192" y="-674.2" font-family="Times,serif" font-size="14.00" fill="#000000">Arvados creates</text>
-<text text-anchor="start" x="269.5192" y="-657.4" font-family="Times,serif" font-size="14.00" fill="#000000">a new container</text>
+<title>committed->queued</title>
+<path fill="none" stroke="black" d="M88,-550.74C88,-534.9 88,-514.07 88,-495.05"/>
+<polygon fill="black" stroke="black" points="91.5,-495.01 88,-485.01 84.5,-495.01 91.5,-495.01"/>
+<text text-anchor="start" x="88" y="-506.8" font-family="Times,serif" font-size="14.00"> Arvados creates a new container</text>
</g>
-<!-- reused -->
+<!-- latecancelled -->
<g id="node7" class="node">
-<title>reused</title>
-<polygon fill="#add8e6" stroke="#000000" points="233.2916,-525.2 67.7468,-525.2 67.7468,-433.2 233.2916,-433.2 233.2916,-525.2"/>
-<text text-anchor="start" x="75.8831" y="-508.6" font-family="Times,serif" font-size="14.00" fill="#000000">container request:</text>
-<text text-anchor="start" x="75.8831" y="-491.8" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Final</text>
-<text text-anchor="start" x="75.8831" y="-475" font-family="Times,serif" font-size="14.00" fill="#000000">container:</text>
-<text text-anchor="start" x="75.8831" y="-458.2" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Complete</text>
-<text text-anchor="start" x="75.8831" y="-441.4" font-family="Times,serif" font-size="14.00" fill="#000000">(reused existing container)</text>
-</g>
-<!-- committed->reused -->
-<g id="edge6" class="edge">
-<title>committed->reused</title>
-<path fill="none" stroke="#000000" d="M161.5309,-704.6546C155.9369,-699.4355 151.0339,-693.4916 147.564,-686.8 123.3185,-640.0437 127.7131,-579.0294 135.9526,-535.2657"/>
-<polygon fill="#000000" stroke="#000000" points="139.4029,-535.8606 137.9363,-525.3677 132.5394,-534.485 139.4029,-535.8606"/>
-<text text-anchor="start" x="148.5192" y="-674.2" font-family="Times,serif" font-size="14.00" fill="#000000">Arvados selects an</text>
-<text text-anchor="start" x="148.5192" y="-657.4" font-family="Times,serif" font-size="14.00" fill="#000000">existing container</text>
+<title>latecancelled</title>
+<polygon fill="lightblue" stroke="black" points="709,-343.5 561,-343.5 561,-275.5 709,-275.5 709,-343.5"/>
+<text text-anchor="start" x="569" y="-328.3" font-family="Times,serif" font-size="14.00">container request:</text>
+<text text-anchor="start" x="569" y="-313.3" font-family="Times,serif" font-size="14.00"> state=Final</text>
+<text text-anchor="start" x="569" y="-298.3" font-family="Times,serif" font-size="14.00">container:</text>
+<text text-anchor="start" x="569" y="-283.3" font-family="Times,serif" font-size="14.00"> state=Cancelled</text>
</g>
-<!-- containerfinished -->
-<g id="node9" class="node">
-<title>containerfinished</title>
-<polygon fill="#add8e6" stroke="#000000" points="506.4204,-92 390.618,-92 390.618,0 506.4204,0 506.4204,-92"/>
-<text text-anchor="start" x="398.5686" y="-75.4" font-family="Times,serif" font-size="14.00" fill="#000000">container request:</text>
-<text text-anchor="start" x="398.5686" y="-58.6" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Final</text>
-<text text-anchor="start" x="398.5686" y="-41.8" font-family="Times,serif" font-size="14.00" fill="#000000">container:</text>
-<text text-anchor="start" x="398.5686" y="-25" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Complete</text>
-<text text-anchor="start" x="398.5686" y="-8.2" font-family="Times,serif" font-size="14.00" fill="#000000"> exit_code=0</text>
-</g>
-<!-- committed->containerfinished -->
+<!-- reused->latecancelled -->
<!-- locked -->
-<g id="node5" class="node">
+<g id="node6" class="node">
<title>locked</title>
-<polygon fill="#ffffff" stroke="#000000" points="390.073,-415.2 266.9654,-415.2 266.9654,-323.2 390.073,-323.2 390.073,-415.2"/>
-<text text-anchor="start" x="274.9923" y="-398.6" font-family="Times,serif" font-size="14.00" fill="#000000">container request:</text>
-<text text-anchor="start" x="274.9923" y="-381.8" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Committed</text>
-<text text-anchor="start" x="274.9923" y="-365" font-family="Times,serif" font-size="14.00" fill="#000000"> priority>0</text>
-<text text-anchor="start" x="274.9923" y="-348.2" font-family="Times,serif" font-size="14.00" fill="#000000">container:</text>
-<text text-anchor="start" x="274.9923" y="-331.4" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Locked</text>
+<polygon fill="white" stroke="black" points="167,-351 9,-351 9,-268 167,-268 167,-351"/>
+<text text-anchor="start" x="17" y="-335.8" font-family="Times,serif" font-size="14.00">container request:</text>
+<text text-anchor="start" x="17" y="-320.8" font-family="Times,serif" font-size="14.00"> state=Committed</text>
+<text text-anchor="start" x="17" y="-305.8" font-family="Times,serif" font-size="14.00"> priority>0</text>
+<text text-anchor="start" x="17" y="-290.8" font-family="Times,serif" font-size="14.00">container:</text>
+<text text-anchor="start" x="17" y="-275.8" font-family="Times,serif" font-size="14.00"> state=Locked</text>
</g>
<!-- queued->locked -->
<g id="edge4" class="edge">
-<title>queued->locked</title>
-<path fill="none" stroke="#000000" d="M289.0008,-543.0808C296.801,-508.7601 307.4868,-461.7427 315.7801,-425.2522"/>
-<polygon fill="#000000" stroke="#000000" points="319.248,-425.7855 318.0514,-415.2585 312.4221,-424.2341 319.248,-425.7855"/>
-<text text-anchor="start" x="314.5192" y="-483.4" font-family="Times,serif" font-size="14.00" fill="#000000">Arvados is ready</text>
-<text text-anchor="start" x="314.5192" y="-466.6" font-family="Times,serif" font-size="14.00" fill="#000000">to dispatch the container</text>
+<title>queued->locked</title>
+<path fill="none" stroke="black" d="M88,-401.82C88,-389.02 88,-374.73 88,-361.32"/>
+<polygon fill="black" stroke="black" points="91.5,-361.27 88,-351.27 84.5,-361.27 91.5,-361.27"/>
+<text text-anchor="start" x="88" y="-372.8" font-family="Times,serif" font-size="14.00"> Arvados is ready to dispatch the container</text>
</g>
<!-- queued->latecancelled -->
<g id="edge7" class="edge">
-<title>queued->latecancelled</title>
-<path fill="none" stroke="#000080" d="M267.3574,-542.8197C254.5187,-486.8824 234.2232,-389.8132 226.5444,-305.2 225.1947,-290.3278 226.4459,-286.533 226.5444,-271.6 226.9481,-210.3694 227.968,-139.7969 228.701,-94.123"/>
-<polygon fill="#000080" stroke="#000080" points="232.2038,-93.9747 228.8667,-83.9192 225.2047,-93.861 232.2038,-93.9747"/>
-<text text-anchor="start" x="227.5192" y="-292.6" font-family="Times,serif" font-size="14.00" fill="#000080">user updates to</text>
-<text text-anchor="start" x="227.5192" y="-275.8" font-family="Times,serif" font-size="14.00" fill="#000080">priority=0</text>
+<title>queued->latecancelled</title>
+<path fill="none" stroke="navy" d="M167.18,-436.67C233.02,-429.8 328.19,-415.07 406,-384 417.33,-379.47 417.89,-374.06 429,-369 467.51,-351.46 512.51,-337.95 550.6,-328.36"/>
+<polygon fill="navy" stroke="navy" points="551.77,-331.68 560.64,-325.88 550.09,-324.88 551.77,-331.68"/>
+<text text-anchor="middle" x="525" y="-372.8" font-family="Times,serif" font-size="14.00" fill="navy">user updates to priority=0</text>
+</g>
+<!-- locked->latecancelled -->
+<g id="edge8" class="edge">
+<title>locked->latecancelled</title>
+<path fill="none" stroke="navy" d="M167.25,-309.5C269.4,-309.5 446.28,-309.5 550.79,-309.5"/>
+<polygon fill="navy" stroke="navy" points="550.98,-313 560.98,-309.5 550.98,-306 550.98,-313"/>
+<text text-anchor="middle" x="364" y="-316.3" font-family="Times,serif" font-size="14.00" fill="navy">user updates to priority=0</text>
</g>
<!-- running -->
-<g id="node6" class="node">
+<g id="node8" class="node">
<title>running</title>
-<polygon fill="#ffffff" stroke="#000000" points="527.073,-253.6 403.9654,-253.6 403.9654,-161.6 527.073,-161.6 527.073,-253.6"/>
-<text text-anchor="start" x="411.9923" y="-237" font-family="Times,serif" font-size="14.00" fill="#000000">container request:</text>
-<text text-anchor="start" x="411.9923" y="-220.2" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Committed</text>
-<text text-anchor="start" x="411.9923" y="-203.4" font-family="Times,serif" font-size="14.00" fill="#000000"> priority>0</text>
-<text text-anchor="start" x="411.9923" y="-186.6" font-family="Times,serif" font-size="14.00" fill="#000000">container:</text>
-<text text-anchor="start" x="411.9923" y="-169.8" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Running</text>
+<polygon fill="white" stroke="black" points="167,-217 9,-217 9,-134 167,-134 167,-217"/>
+<text text-anchor="start" x="17" y="-201.8" font-family="Times,serif" font-size="14.00">container request:</text>
+<text text-anchor="start" x="17" y="-186.8" font-family="Times,serif" font-size="14.00"> state=Committed</text>
+<text text-anchor="start" x="17" y="-171.8" font-family="Times,serif" font-size="14.00"> priority>0</text>
+<text text-anchor="start" x="17" y="-156.8" font-family="Times,serif" font-size="14.00">container:</text>
+<text text-anchor="start" x="17" y="-141.8" font-family="Times,serif" font-size="14.00"> state=Running</text>
</g>
<!-- locked->running -->
<g id="edge5" class="edge">
-<title>locked->running</title>
-<path fill="none" stroke="#000000" d="M367.7779,-322.8919C384.042,-303.7074 403.0136,-281.3293 419.8921,-261.42"/>
-<polygon fill="#000000" stroke="#000000" points="422.6949,-263.5264 426.4918,-253.6353 417.3554,-258.9997 422.6949,-263.5264"/>
-<text text-anchor="start" x="409.5192" y="-292.6" font-family="Times,serif" font-size="14.00" fill="#000000">Arvados starts the</text>
-<text text-anchor="start" x="409.5192" y="-275.8" font-family="Times,serif" font-size="14.00" fill="#000000">container process</text>
-</g>
-<!-- locked->latecancelled -->
-<g id="edge8" class="edge">
-<title>locked->latecancelled</title>
-<path fill="none" stroke="#000080" d="M324.0027,-323.113C321.8451,-306.6992 318.7774,-288.1798 314.5192,-271.6 298.2378,-208.2067 270.1309,-138.0815 250.7207,-93.103"/>
-<polygon fill="#000080" stroke="#000080" points="253.9156,-91.673 246.7182,-83.8982 247.4962,-94.4644 253.9156,-91.673"/>
-<text text-anchor="start" x="309.5192" y="-211.8" font-family="Times,serif" font-size="14.00" fill="#000080">user updates to</text>
-<text text-anchor="start" x="309.5192" y="-195" font-family="Times,serif" font-size="14.00" fill="#000080">priority=0</text>
+<title>locked->running</title>
+<path fill="none" stroke="black" d="M88,-267.82C88,-255.02 88,-240.73 88,-227.32"/>
+<polygon fill="black" stroke="black" points="91.5,-227.27 88,-217.27 84.5,-227.27 91.5,-227.27"/>
+<text text-anchor="start" x="88" y="-238.8" font-family="Times,serif" font-size="14.00"> Arvados starts the container process</text>
</g>
+<!-- containerfailed -->
+<g id="node9" class="node">
+<title>containerfailed</title>
+<polygon fill="lightblue" stroke="black" points="709,-217 561,-217 561,-134 709,-134 709,-217"/>
+<text text-anchor="start" x="569" y="-201.8" font-family="Times,serif" font-size="14.00">container request:</text>
+<text text-anchor="start" x="569" y="-186.8" font-family="Times,serif" font-size="14.00"> state=Final</text>
+<text text-anchor="start" x="569" y="-171.8" font-family="Times,serif" font-size="14.00">container:</text>
+<text text-anchor="start" x="569" y="-156.8" font-family="Times,serif" font-size="14.00"> state=Complete</text>
+<text text-anchor="start" x="569" y="-141.8" font-family="Times,serif" font-size="14.00"> exit_code≠0</text>
+</g>
+<!-- latecancelled->containerfailed -->
<!-- running->latecancelled -->
<g id="edge9" class="edge">
-<title>running->latecancelled</title>
-<path fill="none" stroke="#000080" d="M403.9268,-169.8339C399.0748,-167.008 394.2309,-164.2342 389.5192,-161.6 374.2599,-153.0688 369.1603,-153.1918 354.5444,-143.6 334.8403,-130.669 332.0122,-124.6106 313.5192,-110 305.1484,-103.3866 296.2433,-96.4732 287.4791,-89.7377"/>
-<polygon fill="#000080" stroke="#000080" points="289.5559,-86.9197 279.4893,-83.6159 285.2984,-92.4762 289.5559,-86.9197"/>
-<text text-anchor="start" x="355.5192" y="-131" font-family="Times,serif" font-size="14.00" fill="#000080">user updates to</text>
-<text text-anchor="start" x="355.5192" y="-114.2" font-family="Times,serif" font-size="14.00" fill="#000080">priority=0</text>
+<title>running->latecancelled</title>
+<path fill="none" stroke="navy" d="M167.03,-191.54C223.51,-202.63 301.19,-218.59 369,-235 430.25,-249.82 498.77,-268.81 550.93,-283.78"/>
+<polygon fill="navy" stroke="navy" points="550.23,-287.22 560.81,-286.62 552.16,-280.49 550.23,-287.22"/>
+<text text-anchor="middle" x="523" y="-238.8" font-family="Times,serif" font-size="14.00" fill="navy">user updates to priority=0</text>
</g>
-<!-- running->containerfinished -->
-<g id="edge11" class="edge">
-<title>running->containerfinished</title>
-<path fill="none" stroke="#000000" d="M448.0423,-161.56C446.3599,-155.5907 444.922,-149.5009 443.9546,-143.6 441.7896,-130.3941 441.3924,-116.0587 441.8791,-102.5441"/>
-<polygon fill="#000000" stroke="#000000" points="445.3824,-102.5706 442.4089,-92.4016 438.3919,-102.2054 445.3824,-102.5706"/>
-<text text-anchor="start" x="444.5192" y="-131" font-family="Times,serif" font-size="14.00" fill="#000000">container process</text>
-<text text-anchor="start" x="444.5192" y="-114.2" font-family="Times,serif" font-size="14.00" fill="#000000">succeeds</text>
+<!-- running->containerfailed -->
+<g id="edge10" class="edge">
+<title>running->containerfailed</title>
+<path fill="none" stroke="black" d="M167.25,-175.5C269.4,-175.5 446.28,-175.5 550.79,-175.5"/>
+<polygon fill="black" stroke="black" points="550.98,-179 560.98,-175.5 550.98,-172 550.98,-179"/>
+<text text-anchor="middle" x="364" y="-182.3" font-family="Times,serif" font-size="14.00">container process fails</text>
</g>
-<!-- containerfailed -->
+<!-- containerfinished -->
<g id="node10" class="node">
-<title>containerfailed</title>
-<polygon fill="#add8e6" stroke="#000000" points="646.4204,-92 530.618,-92 530.618,0 646.4204,0 646.4204,-92"/>
-<text text-anchor="start" x="538.5686" y="-75.4" font-family="Times,serif" font-size="14.00" fill="#000000">container request:</text>
-<text text-anchor="start" x="538.5686" y="-58.6" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Final</text>
-<text text-anchor="start" x="538.5686" y="-41.8" font-family="Times,serif" font-size="14.00" fill="#000000">container:</text>
-<text text-anchor="start" x="538.5686" y="-25" font-family="Times,serif" font-size="14.00" fill="#000000"> state=Complete</text>
-<text text-anchor="start" x="538.5686" y="-8.2" font-family="Times,serif" font-size="14.00" fill="#000000"> exit_code≠0</text>
+<title>containerfinished</title>
+<polygon fill="lightblue" stroke="black" points="162,-83 14,-83 14,0 162,0 162,-83"/>
+<text text-anchor="start" x="22" y="-67.8" font-family="Times,serif" font-size="14.00">container request:</text>
+<text text-anchor="start" x="22" y="-52.8" font-family="Times,serif" font-size="14.00"> state=Final</text>
+<text text-anchor="start" x="22" y="-37.8" font-family="Times,serif" font-size="14.00">container:</text>
+<text text-anchor="start" x="22" y="-22.8" font-family="Times,serif" font-size="14.00"> state=Complete</text>
+<text text-anchor="start" x="22" y="-7.8" font-family="Times,serif" font-size="14.00"> exit_code=0</text>
</g>
-<!-- running->containerfailed -->
-<g id="edge10" class="edge">
-<title>running->containerfailed</title>
-<path fill="none" stroke="#000000" d="M527.0464,-164.5372C534.1382,-158.0268 540.8477,-150.9952 546.5192,-143.6 556.0963,-131.1122 563.9546,-116.1085 570.1761,-101.6525"/>
-<polygon fill="#000000" stroke="#000000" points="573.4704,-102.8439 574.0298,-92.2639 566.9947,-100.1858 573.4704,-102.8439"/>
-<text text-anchor="start" x="565.5192" y="-131" font-family="Times,serif" font-size="14.00" fill="#000000">container process</text>
-<text text-anchor="start" x="565.5192" y="-114.2" font-family="Times,serif" font-size="14.00" fill="#000000">fails</text>
+<!-- running->containerfinished -->
+<g id="edge11" class="edge">
+<title>running->containerfinished</title>
+<path fill="none" stroke="black" d="M88,-133.82C88,-121.02 88,-106.73 88,-93.32"/>
+<polygon fill="black" stroke="black" points="91.5,-93.27 88,-83.27 84.5,-93.27 91.5,-93.27"/>
+<text text-anchor="start" x="88" y="-104.8" font-family="Times,serif" font-size="14.00"> container process succeeds</text>
</g>
-<!-- reused->latecancelled -->
</g>
-</svg>
\ No newline at end of file
+</svg>
diff --git a/doc/api/methods/container_requests.html.textile.liquid b/doc/api/methods/container_requests.html.textile.liquid
index 869e22d85..5e15df5ba 100644
--- a/doc/api/methods/container_requests.html.textile.liquid
+++ b/doc/api/methods/container_requests.html.textile.liquid
@@ -72,42 +72,48 @@ Once a request is in the Committed state, Arvados locates a suitable existing co
A client may cancel a committed request early (before the assigned container finishes) by setting the request priority to zero.
-!{max-width:40em;max-height:70em}{{site.baseurl}}/api/methods/container_request_lifecycle.svg!
+!{max-width:60em;}{{site.baseurl}}/api/methods/container_request_lifecycle.svg!
{% comment %}
-# svg generated using https://dreampuf.github.io/
+# svg generated using `graphviz -Tsvg -O`
digraph {
- graph [nojustify=true] [labeljust=l];
+ graph [nojustify=true] [labeljust=l]
- invisiblestart [label = ""] [color=white];
+ invisiblestart [label = ""] [color=white] [group=lifecycle];
node [color=black] [fillcolor=white] [style=filled] [shape=box] [nojustify=true];
- uncommitted [label = "container request:\l state=Uncommitted\l"] [fillcolor=lightgrey];
- committed [label = "container request:\l state=Committed\l priority>0\l"];
- invisiblestart -> uncommitted [label = "user creates container request"] [color=navy] [fontcolor=navy];
- uncommitted -> committed [label = "user updates to\lstate=Committed, priority>0\l"] [color=navy] [fontcolor=navy];
- queued [label = "container request:\l state=Committed\l priority>0\lcontainer:\l state=Queued\l"];
- committed -> queued [label = "Arvados creates\la new container\l"];
- locked [label = "container request:\l state=Committed\l priority>0\lcontainer:\l state=Locked\l"];
- queued -> locked [label = "Arvados is ready\lto dispatch the container\l"];
- running [label = "container request:\l state=Committed\l priority>0\lcontainer:\l state=Running\l"];
- locked -> running [label = "Arvados starts the\lcontainer process\l"];
-
- node [color=black] [fillcolor=lightblue] [style=filled] [shape=box];
- reused [label = "container request:\l state=Final\lcontainer:\l state=Complete\l(reused existing container)\l"];
- latecancelled [label = "container request:\l state=Final\lcontainer:\l state=Cancelled\l"];
- containerfinished [label = "container request:\l state=Final\lcontainer:\l state=Complete\l exit_code=0\l"];
- containerfailed [label = "container request:\l state=Final\lcontainer:\l state=Complete\l exit_code≠0\l"];
-
- committed -> reused [label = "Arvados selects an\lexisting container\l"];
- queued -> latecancelled [label = "user updates to\lpriority=0\l"] [color=navy] [fontcolor=navy];
- locked -> latecancelled [label = "user updates to\lpriority=0\l"] [color=navy] [fontcolor=navy];
- running -> latecancelled [label = "user updates to\lpriority=0\l"] [color=navy] [fontcolor=navy];
- running -> containerfailed [label = "container process\lfails\l"];
- running -> containerfinished [label = "container process\lsucceeds\l"];
+ uncommitted [label = "container request:\l state=Uncommitted\l"] [fillcolor=lightgrey] [group=lifecycle];
+ {
+ rank=same;
+ committed [label = "container request:\l state=Committed\l priority>0\l"] [group=lifecycle];
+ reused [label = "container request:\l state=Final\lcontainer:\l state=Complete\l(reused existing container)\l"] [fillcolor=lightblue] [group=endstate];
+ }
+ invisiblestart -> uncommitted [label = " user creates container request\l"] [color=navy] [fontcolor=navy];
+ uncommitted -> committed [label = " user updates to\l state=Committed, priority>0\l"] [color=navy] [fontcolor=navy];
+ queued [label = "container request:\l state=Committed\l priority>0\lcontainer:\l state=Queued\l"] [group=lifecycle];
+ committed -> queued [label = " Arvados creates a new container\l"];
+ {
+ rank=same;
+ locked [label = "container request:\l state=Committed\l priority>0\lcontainer:\l state=Locked\l"] [group=lifecycle];
+ latecancelled [label = "container request:\l state=Final\lcontainer:\l state=Cancelled\l"] [fillcolor=lightblue] [group=endstate];
+ }
+ queued -> locked [label = " Arvados is ready to dispatch the container\l"];
+ {
+ rank=same;
+ running [label = "container request:\l state=Committed\l priority>0\lcontainer:\l state=Running\l"] [group=lifecycle];
+ containerfailed [label = "container request:\l state=Final\lcontainer:\l state=Complete\l exit_code≠0\l"] [fillcolor=lightblue] [group=endstate];
+ }
+ locked -> running [label = " Arvados starts the container process\l"];
+ containerfinished [label = "container request:\l state=Final\lcontainer:\l state=Complete\l exit_code=0\l"] [fillcolor=lightblue] [group=lifecycle];
+
+ committed -> reused [label = "Arvados selects an existing container"] [constraint=false] [labeldistance=0.5];
+ queued -> latecancelled [label = "user updates to priority=0"] [color=navy] [fontcolor=navy];
+ locked -> latecancelled [label = "user updates to priority=0"] [color=navy] [fontcolor=navy] [constraint=false];
+ running -> latecancelled [label = "user updates to priority=0"] [color=navy] [fontcolor=navy] [constraint=false];
+ running -> containerfailed [label = "container process fails"];
+ running -> containerfinished [label = " container process succeeds\l"];
# layout hacks
- committed -> containerfinished [style=invis];
- uncommitted -> latecancelled [style=invis];
reused -> latecancelled [style=invis];
+ latecancelled -> containerfailed [style=invis];
}
{% endcomment %}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list