NOTEThis section is for Boot Orchestration Service (BOS) v2 only.
BOS provides a global service options endpoint for modifying the base configuration of the service itself. These options are available only for the BOS v2 API and only affect v2 functionality.
bss_read_timeoutcfs_read_timeoutcleanup_completed_session_ttlclear_stagecomponent_actual_state_ttldefault_retry_policydisable_components_on_completiondiscovery_frequencyhsm_read_timeoutlogging_levelmax_boot_wait_timemax_component_batch_sizemax_power_off_wait_timemax_power_on_wait_timepcs_read_timeoutpolling_frequencysession_limit_required(ncn-mw#) View the current option values with the following command:
cray bos v2 options list --format json
Example output:
{
"bss_read_timeout": 20,
"cfs_read_timeout": 20,
"cleanup_completed_session_ttl": "7d",
"clear_stage": false,
"component_actual_state_ttl": "4h",
"default_retry_policy": 3,
"disable_components_on_completion": true,
"discovery_frequency": 300,
"hsm_read_timeout": 20,
"logging_level": "INFO",
"max_boot_wait_time": 600,
"max_component_batch_size": 1800,
"max_power_off_wait_time": 180,
"max_power_on_wait_time": 30,
"pcs_read_timeout": 20,
"polling_frequency": 60,
"session_limit_required": false
}
Not all options shown above are available in every patch version of CSM 1.5. For any such options, their entry in the Individual option details section indicates the earliest patch version of CSM 1.5 in which they are available.
(ncn-mw#) The values for all BOS global options can be modified with the cray bos v2 options update command.
For example:
cray bos v2 options update --polling-frequency 12 --format json
Example output:
{
"bss_read_timeout": 20,
"cfs_read_timeout": 20,
"cleanup_completed_session_ttl": "7d",
"clear_stage": false,
"component_actual_state_ttl": "4h",
"default_retry_policy": 3,
"disable_components_on_completion": true,
"discovery_frequency": 300,
"hsm_read_timeout": 20,
"logging_level": "INFO",
"max_boot_wait_time": 600,
"max_component_batch_size": 1800,
"max_power_off_wait_time": 180,
"max_power_on_wait_time": 30,
"pcs_read_timeout": 20,
"polling_frequency": 12,
"session_limit_required": false
}
bss_read_timeoutThis option is added in CSM 1.5.3; in earlier patch versions of CSM 1.5, it is only available as a hotfix.
The amount of time in seconds that BOS will wait for API responses from the Boot Script Service (BSS). After this time, the request will time out. The default is 20 seconds.
cfs_read_timeoutThis option is added in CSM 1.5.3; in earlier patch versions of CSM 1.5, it is only available as a hotfix.
The amount of time in seconds that BOS will wait for API responses from the Configuration Framework Service (CFS). After this time, the request will time out. The default is 20 seconds.
cleanup_completed_session_ttlThe amount of time that a completed BOS session can exist without being
cleaned up by the session-cleanup operator.
The value can either be 0 or else be a non-negative integer following by a character indicating the
units: minutes (mor M), hours (h or H), days (d or D), or weeks (w or W).
For example, 3d means three days.
The cleanup behavior is disabled if the option is set to 0, 0m, 0h, 0d, or 0w.
clear_stageAllows staged information for BOS components to be cleared when the requested staging action has been started. Defaults to false.
For more information on staging, see Stage Changes with BOS.
component_actual_state_ttlThis option defines two things:
actual_state is considered valid; if the actual state was last
updated longer ago than this time, then the actual-state-cleanup operator
will clear the actual state of the component.The value can either be 0 or else be a non-negative integer following by a character indicating the
units: minutes (mor M), hours (h or H), days (d or D), or weeks (w or W).
For example, 3d means three days.
WARNING: Unlike
cleanup_completed_session_ttl, a zero value for this option will not disable the cleanup behavior; instead it will result in undesirable behavior. Specifically, component actual states will be cleared every time theactual-state-cleanupoperator runs, and the BOS reporter will have no pauses between reporting the component status to BOS. This will effectively render BOS unable to properly manage the nodes.To avoid problems, never set this option to a value less than 1 hour.
default_retry_policyThe default maximum number of attempts per node for failed actions.
disable_components_on_completionThis is an experimental feature and is not fully supported. This option is removed in CSM 1.7.
Determines if a component will be marked as disabled after its desired state matches its current state. If false, BOS will continue to maintain the state of the nodes declaratively.
discovery_frequencyThe frequency with which BOS checks the Hardware State Manager (HSM) for new components and adds them to the BOS component database.
hsm_read_timeoutThis option is added in CSM 1.5.3; in earlier patch versions of CSM 1.5, it is only available as a hotfix.
The amount of time in seconds that BOS will wait for API responses from HSM. After this time, the request will time out. The default is 10 seconds.
logging_levelThe logging level for the BOS API server and the BOS Operators.
Valid values for this option are DEBUG, INFO, and WARN.
max_boot_wait_timeHow long BOS will wait for a node to boot into a usable state before rebooting it again (in seconds).
max_component_batch_sizeThis option is added in CSM 1.5.3; in earlier patch versions of CSM 1.5, it is only available as a hotfix.
The maximum number of components that BOS will group together in a single API request it makes. This can be used to limit the load on other services by forcing BOS to break up its requests into smaller chunks.
max_power_off_wait_timeHow long BOS will wait for a node to power off before forcefully powering it off (in seconds).
max_power_on_wait_timeHow long BOS will wait for a node to power on before calling power on again (in seconds).
pcs_read_timeoutThis option is added in CSM 1.5.3; in earlier patch versions of CSM 1.5, it is only available as a hotfix.
The amount of time in seconds that BOS will wait for API responses from the Power Control Service (PCS). After this time, the request will time out. The default is 10 seconds.
polling_frequencyHow frequently the BOS operators check component state for needed actions (in seconds).
session_limit_requiredThis option is added in CSM 1.5.3; in earlier patch versions of CSM 1.5, it is only available as a hotfix.
If enabled, BOS sessions cannot be created without specifying the limit parameter.
This can be helpful in avoiding accidental reboots of more components than intended.
If this option is enabled, it is still possible to effectively create a session with no limit
by specifying * as the limit parameter (if this is done on the command line, it must be
quoted it in order to prevent it from being interpreted by the shell).