X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e59b78c774872e33b9c69acc196989a0f565bdf4..ae92d144610446849eb568247a44f02ae985c281:/doc/api/methods/containers.html.textile.liquid diff --git a/doc/api/methods/containers.html.textile.liquid b/doc/api/methods/containers.html.textile.liquid index f0ce8e362f..18fb4f0133 100644 --- a/doc/api/methods/containers.html.textile.liquid +++ b/doc/api/methods/containers.html.textile.liquid @@ -57,6 +57,9 @@ Generally this will contain additional keys that are not present in any correspo |auth_uuid|string|UUID of a token to be passed into the container itself, used to access Keep-backed mounts, etc. Automatically assigned.|Null if state∉{"Locked","Running"} or if @runtime_token@ was provided.| |locked_by_uuid|string|UUID of a token, indicating which dispatch process changed state to Locked. If null, any token can be used to lock. If not null, only the indicated token can modify this container.|Null if state∉{"Locked","Running"}| |runtime_token|string|A v2 token to be passed into the container itself, used to access Keep-backed mounts, etc.|Not returned in API responses. Reset to null when state is "Complete" or "Cancelled".| +|gateway_address|string|Address (host:port) of gateway server.|Internal use only.| +|interactive_session_started|boolean|Indicates whether @arvados-client shell@ has been used to run commands in the container, which may have altered the container's behavior and output.|| +|output_storage_classes|array of strings|The storage classes that will be used for the log and output collections of this container|| h2(#container_states). Container states @@ -65,9 +68,11 @@ table(table table-bordered table-condensed). |Queued|Waiting for a dispatcher to lock it and try to run the container.|Locked, Cancelled| |Locked|A dispatcher has "taken" the container and is allocating resources for it. The container has not started yet.|Queued, Running, Cancelled| |Running|Resources have been allocated and the contained process has been started (or is about to start). Crunch-run _must_ set state to Running _before_ there is any possibility that user code will run in the container.|Complete, Cancelled| -|Complete|Container was running, and the contained process/command has exited.|-| +|Complete|Container was running, and the contained process/command has exited.|Cancelled| |Cancelled|The container did not run long enough to produce an exit code. This includes cases where the container didn't even start, cases where the container was interrupted/killed before it exited by itself (e.g., priority changed to 0), and cases where some problem prevented the system from capturing the contained process's exit status (exit code and output).|-| +See "Controlling container reuse":{{site.baseurl}}/admin/controlling-container-reuse.html for details about changing state from @Complete@ to @Cancelled@ + h2(#mount_types). {% include 'mount_types' %} h2(#runtime_constraints). {% include 'container_runtime_constraints' %} @@ -83,8 +88,8 @@ table(table table-bordered table-condensed). |error|string|The existance of this key indicates the container will definitely fail, or has already failed.|Optional.| |warning|string|Indicates something unusual happened or is currently happening, but isn't considered fatal.|Optional.| |activity|string|A message for the end user about what state the container is currently in.|Optional.| -|errorDetails|string|Additional structured error details.|Optional.| -|warningDetails|string|Additional structured warning details.|Optional.| +|errorDetail|string|Additional structured error details.|Optional.| +|warningDetail|string|Additional structured warning details.|Optional.| h2(#scheduling_parameters). {% include 'container_scheduling_parameters' %} @@ -108,7 +113,9 @@ table(table table-bordered table-condensed). h3. delete -Delete an existing Container. +Delete a Container. + +This API requires admin privileges. In normal operation, it should not be used at all. API clients like Workbench might not work correctly when a container request references a container that has been deleted. Arguments: @@ -132,8 +139,6 @@ List containers. See "common resource list method.":{{site.baseurl}}/api/methods.html#index -See the create method documentation for more information about Container-specific filters. - h3. update Update attributes of an existing Container.