cluster/wait-filter¶
API filter string to set for the 'cluster-wait-for-members' Task to wait on.
The Task cluster-wait-for-members requires a filter condition to match
a Machine object against to determine which Machines release the wait.
By default the filter wait condition is set to:
Or(Runnable=Eq(false),WorkflowComplete=Eq(true))
A Machine matching the filter has not necessarily succeeded -- a failed
Machine matches too, and that is how a failure releases the wait -- so
each released Machine is judged on its state: it counts as finished when
WorkflowComplete is true, and a not-runnable Machine is treated as
failed only when its current job failed. In particular a Machine that
rebooted into an OS installer is Runnable: false for the length of the
installation without anything having failed, and it is simply waited on.
OS-installable Pipelines therefore need no filter adjustment.
A Machine that is not runnable because it stalled or is deliberately
held -- its job did not fail -- is waited on until
cluster/provision-timeout expires rather than failing fast.
Note
A custom filter that matches only finished Machines (for example,
one that keys on the final chained workflow) can never catch a
failed Machine; the wait then holds to cluster/provision-timeout.
The default already detects failures, so prefer it.
Objects that Reference cluster/wait-filter¶
- tasks cluster-wait-for-members in Core Task Library as part of Templates.[0].Contents (used)
- profiles universal-application-drp-server-cluster in Universal Workflow Content as part of Params (declared)
Objects used by cluster/wait-filter¶
Not used in current content packs