Action Chains

You can create action chains-or grouped actions-for example, in the Main Menu  Software  Packages or Software  Packages subtabs on a system details page (see: SD Patches or: SD Packages) or in the Configuration  Deploy Files subtab on a system details page (see Deploy Files).

The following list of actions may be added to an action chain. These actions are supported on both traditional clients and Salt clients. Schedulable actions are located under a systems, System Details page on the following subtabs.

Chainable Actions
  • System Details  Remote Command

  • System Details  Schedule System Reboot

  • System Details  States  Highstate

  • System Details  Software  Packages  List/Remove

  • System Details  Software  Packages  Install

  • System Details  Software  Packages  Upgrade

  • System Details  Software  Patches

  • System Details  Software  Software Channels

  • System Details  Configuration

  • Main Menu  Images  Build

schedule action chains

In the Action Chain List you can click the label to view or edit an Action Chain. In the top right corner is the delete action chain link. To add actions to an existing chain, pick up a “chainable” action (such as running a remote command) from a system details page (see: System Details).

Then check Add to Action Chain and select an action chain from the drop-down box. Confirm with Schedule.

To create a new action chain, configure the first action, then select Add to Action Chain instead of Schedule no sooner than. Click the drop-down box, enter a name, and click Schedule to save the chain. Then proceed to the next action and add it to the new chain.

Action chains can be edited via the Main Menu  Schedule  Action Chains page. Click a chain name to see the actions in the order they will be performed. The following tasks can be carried out here:

  • Change the order of actions by dragging the respective action to the right position and dropping it.

  • Delete actions from the chain by clicking the delete action link.

  • Inspect the list of systems on which an action is run by clicking the + sign.

  • Delete a single system from an action chain by clicking the delete system link.

  • Delete the complete action chain with the delete action chain link in the top-left corner.

  • Change an action chain label by clicking it.

  • Schedule an action chain for execution on a certain date by clicking the Save and Schedule button.

Unsaved Changes

If you leave the page without clicking either Save or Save and Schedule all unsaved changes will be discarded. In this case, a confirmation dialog will pop up.

Currently you cannot add an action to an action chain from the Edit section of the action chain details page. When a Chain is scheduled, the actions it contains will be displayed under Schedule on the appropriate pages: Pending Actions, Failed Actions, or Completed Actions depending on the status. If one action fails on a system no other actions from the same chain will be executed on that systems. Because of technical limitations it is not possible to reuse Action Chains.

Actions List

On each action page, each row in the list represents a single scheduled event or action that might affect multiple systems and involve various packages. The list contains several columns of information:

  • Filter by Action — Enter a term to filter the listed actions or use the check boxes in this column to select actions. Then either add them to your selection list or archive them by clicking Archive Actions . If you archive a pending action, it is not canceled, but the action item moves from the Pending Actions list to the Archived Actions list.

  • Action — Type of action to perform such as Patches or Package Install. Clicking an action name shows its Action Details page. Refer to Action Details for more information.

  • Scheduled Time — The earliest day and time the action will be performed.

  • Succeeded — Number of systems on which this action was successfully carried out.

  • Failed — Number of systems on which this action has been tried and failed.

  • In Progress — Number of systems on which this action is taking place.

  • Total — Total number of systems on which this action has been scheduled.

Action Details

If you click the name of an action, the Action Details page appears. This page is split into the following tabs.

Details

General information about the action. This is the first tab you see when you click an action. It displays the action type, scheduling administrator, earliest execution, and notes.

Patch Advisory

Clicking the Patch Advisory takes you to the Patch Details page. The Patch Advisory appears only if the action is a patch. Refer to: Patch Details for more information.

Completed Systems

List of systems on which the action has been successfully performed. Clicking a system name displays its System Details page. Refer to: System Details for more information.

In Progress Systems

List of systems on which the action is now being carried out. To cancel an action, select the system by marking the appropriate check box and click the Unschedule Action button. Clicking a system name shows its System Details page. Refer to: System Details for more information.

Failed Systems

List of systems on which the action has failed. It can be rescheduled here. Clicking a system name takes you to its System Details page. Refer to: System Details for more information.

Package List

List of packages are associated with this action. The tab appears only if the action is package related (installation, removal, etc.).