Troubleshooting Automate

If Automate is not performing as expected, you might need to troubleshoot issues or change settings. For more information about specific settings, see Automate requirements.

Troubleshoot playbook import errors

If importing a playbook JSON file returns an error, ensure that:

  • the target environment has the same prerequisite solutions and content as the environment from which the playbook was exported.

  • your user account is assigned the necessary roles and permissions to view the playbook and associated content.

  • the playbook import file JSON schema definition has not changed, and all expected components are defined.

Troubleshoot playbook validation timeouts

When you save, run, or schedule a playbook, or when you configure a playbook trigger, Automate validates any steps that depend on another Tanium solution, such as Deploy or Connect. If the solution's service does not respond in time, you might see the following error:

Playbook validation timed out. A service required to validate one of the steps might be unavailable. Try again.

This error is retryable and does not mean your playbook is misconfigured. Wait a few moments, then try the action again. If the error persists, Contact Tanium Support to confirm that the required solution's service is running.

Troubleshoot failed playbook runs

Playbook runs that return an error before completion generally return one of the following error types.

Table 1. Playbook error types

Playbook error type

Description

overall playbook processing

The playbook run cannot complete any playbook steps. This generally indicates an issue with Automate starting and running a playbook, such as if an Automate service is not running, or if Automate cannot establish communications with Gateway.

playbook step processing

A specific playbook run step fails to complete. Because step functionality varies, issues can be varied, but might include invalid endpoint targeting, insufficient permissions to access package or sensor content used in a playbook, action timeouts, or other such causes.

Identify a playbook run error type

  1. From the Main menu, go to Automate > Overview.

  2. In the Playbooks section, click Playbook Runs.

  3. Expand the Filters section. Then select Ended with errors from the Status field to view all failed playbook runs.

  4. Select a Playbook Name to view details for a failed playbook run. The Status notes if a playbook run failed on a specific step.

  5. You have the following options:

Troubleshoot Deploy Action step errors

If a Deploy Action step returns an error, review the endpoints targeted by the step, review the action details in the action history, or reissue the action to a test endpoint in the action history.

Note: Before troubleshooting, see Tanium Console User Guide: Action best practices. For more information about action statuses, see Tanium Console User Guide: View action status.

Review endpoints targeted by a Deploy Action step

If the Deploy Action step is running, but endpoints are returning errors, review the step count for specific endpoints with a status of Error.

  1. From the Main menu, go to Automate > Overview.

  2. In the Playbooks section, click Playbook Runs.

  3. Expand the Filters section. Then select Ended with errors from the Status field to view all failed playbook runs.

  4. Select a Playbook Name to view details for a failed playbook run.

  5. Click the Deploy Action step to expand step details.

  6. In the Results section, click Error. Then click View Current Results to view these endpoints.

    Note: The endpoint results after the step completes reflect the action deployment status at the time of step completion. The current results reflect only the endpoints that are currently online.

Review a Deploy Action step action details

If the Deploy Action step is complete and you want to verify the action details, you can view the action history which tracks the actions started from playbook runs. You can review the details of these actions and determine if the Deploy Action step configuration aligns with the actual result.

  1. From the Main menu, go to Administration > Actions > Action History.

  2. Expand the Filters section. Select the Action Name attribute and the contains operator. Then enter Automate - Deploy Action and click Apply check. All platform package actions that originate from Automate have this action name.

  3. Identify the action you want to review based on Package Name, Issuer, and Start Time.

  4. Select an action. Click Show Status to view the action details.

Reissue a Deploy Action step action

If the Deploy Action step is complete but did not produce the desired results, you can reissue the action on a test endpoint. Review the results to ensure that the action completes successfully and performs as expected.

  1. From the Main menu, go to Administration > Actions > Action History.

  2. Expand the Filters section. Select the Action Name attribute and the contains operator. Then enter Automate - Deploy Action and click Apply check. All platform package actions that originated from Automate have this action name.

  3. Identify the action you want to review based on Package Name, Issuer, and Start Time.

  4. Select an action. Click Show Status to view the action details.

  5. Click Reissue.

  6. Select an Action Group that contains only a test endpoint or is otherwise limited to a controlled set of endpoints. Then click Show Preview to Continue.

  7. If the Targeting Criteria does not contain the expected endpoints, select a different Action Group.

  8. Click Reissue Action, then confirm the action.

    If the action does not complete as expected, see Tanium Console User Guide: Troubleshooting Console and Interact.

Troubleshoot action-locked endpoints that show Not Applicable

If a Deploy Action step reports action-locked endpoints as Not Applicable even though the package has Ignore Action Lock selected, the package snapshot in the step might have a different action lock setting than the source package. Automate counts endpoints with a Locked action status as Not Applicable.

To resolve the issue, update the package in the step.

  1. From the Main menu, go to Automate > Overview.

  2. Click a Playbook Name to open the playbook. Then click Edit.

  3. In the warning banner, click Review Step N. If the banner lists more than one step, click Review the playbook and then select each step that has a warning.

  4. In the step, click Update Package. Click Save.

Note: The step keeps using the existing package until you save the playbook.
Note: If Update Package is disabled, you do not have access to the source package. Contact your administrator.

Troubleshoot a package that is out of sync with its source

Playbook steps store their own snapshot of the package. If the source package is updated or deleted, or if the snapshot has a different action lock setting than the source package, a warning banner appears stating that the package is out of sync with its source. The step continues to use its snapshot until you take action.

  1. Open the step that has the warning banner.

    • From the Playbook Details page, click Review Step N in the warning banner.

    • From a schedule or trigger with parameter overrides, click Review this step in the warning banner.

  2. If the source package still exists, click View Source Package to review the current version of the package before you decide what action to take.

  3. If a newer version of the package is available, or the banner in the step states that the package has a different action lock setting than its source package, click Update Package. Parameter values carry over automatically where the parameter name and type match the new version. Review any parameters that were removed or changed.

  4. If the source package is deleted and the step lets you select the package, select a different package for the step.

Troubleshoot Install Patch step errors

If an Install Patch step returns an error, review the corresponding Patch install deployment details, including deployment errors.

Note: For more information about troubleshooting Patch install deployments, see Tanium Patch User Guide: Reference: Common Patch errors.
  1. From the Main menu, go to Modules > Patch > Deployments.

  2. You have the following options:

    • If the deployment is still running, click Active.

    • If the deployment is not running, click Inactive.

  3. Expand the Filters section. Select a deployment name containing Deployment - Tanium Automate. All Patch deployments that originate from Automate have this deployment name.

  4. Expand a deployment to view the details, including the creation time. Based on the playbook start time, click the deployment Name that corresponds to the Install Patch step.

  5. Review the errors in the Deployment Errors section.

Troubleshoot Verify Condition step errors

If the Verify Condition step does not return the expected results, issue the verification question within Tanium Interact as a question.

Note: If you receive specific messages that indicate a problem with returning question results, see Tanium Console User Guide: Troubleshoot Interact issues.
  1. From the Main menu, go to Automate > Overview.

  2. In the Playbooks section, click Playbook Runs.

  3. Expand the Filters section. Then select Ended with errors from the Status field to view all failed playbook runs.

  4. Select a Playbook Name to view details for a failed playbook run.

    The Status notes if a playbook run failed on a specific step.

  5. Click the failed Verify Condition step to expand step details.

  6. Copy the following question template and paste it into a plaintext editor:

    Get [Meet Condition] from [Target Endpoints - Computer Groups] and from all computers with [Target Endpoints - Question Criteria]

  7. Copy the Meet Condition value from the Verify Condition step and paste it into the question template, replacing [Meet Condition].

  8. Copy the If any of the following targets value from the Verify Condition step and paste it into the question template, replacing [Target Endpoints - Computer Groups] with a target computer group and replacing [Target Endpoints - Question Criteria] with target question criteria. Delete any unused clause from the question template.

    Note: Depending on the complexity of your Verify Condition step, you might have to further adjust the question template.
  9. Copy the updated question template and paste it into the quick search bar in the Console header to ask the question. Compare the actual results to your expected results and adjust your configuration as needed.

Troubleshoot other playbook step failures

If playbook runs continue to fail after following troubleshooting information on this page, Contact Tanium Support to review the Automate service logs and diagnose and remediate the root cause.