Getting Runbook Process Log Details for a Fleet

View the logs and resource details for a job in a fleet using Fleet Application Management.

    1. On the Runbook processes list page, select the runbook process you want to work with. If you need help finding the list page or the runbook process, see Listing Runbook Processes.
    2. On the details page of the runbook process, select the Runbook process log tab.
      By default, the log information is presented with resource-wise grouping in the pane on the left side.
    3. Perform the following steps in the pane on the left side:
      1. To view the status by task or by runbook tasks associated with a fleet, switch on Show step view.
        All runbook tasks that are part of the fleet's runbook are displayed. Expand a task to view the resources where the task runs. Under each resource, you can see the targets where the task applies.
      2. To reset the view resource-wise, turn off Show step view.
      3. To run a failed task, from the Actions menu for the task, select Retry.
      4. To resume a paused task, from the Actions menu for the task, select Resume.
    4. Select the checkbox next to a specific task to view its detailed log on the pane on the right side.
      For example, in provisioning, the log details provide information about the catalog items used for the deployment, the interpreted variables and values, the Resource Manager stack created, Resource Manager job details, and the outcome of the lifecycle details. These can be used to trace and debug the failure.

      To trace a failed provision, navigate to the deployment list page under Provisioning, and select the failed deployment. From the deployment details page, view the deployment log details to find the error.

    5. To download the log of a failed task, select Download log.
  • Use the oci fleet-apps-management fleet-apps-management-operations job-activity get command and required parameters to get activity details of a job:

    oci fleet-apps-management fleet-apps-management-operations job-activity get --job-activity-id <job_activity_OCID> --scheduler-job-id <scheduler_job_OCID> [OPTIONS]

    Use the oci fleet-apps-management fleet-apps-management-operations scheduler-job manage-job-execution command and required parameters to retry or pause a task:

    oci fleet-apps-management fleet-apps-management-operations scheduler-job manage-job-execution --action-details <json_file_or_string> --scheduler-job-id <scheduler_job_OCID> [OPTIONS]

    For a complete list of flags and variable options for Fleet Application Management CLI commands, see the CLI for Fleet Application Management.

  • Run the GetJobActivity operation to get activity details of a lifecycle management operations job.

    Run the ManageJobExecution operation to retry or pause a task.