Getting an Execution's Log Details for a Fleet

Get the execution logs and details of resources for a job corresponding to a fleet in Fleet Application Management.

    1. On the Executions list page, select the runbook execution that you want to work with. If you need help finding the list page or the execution, see Listing Executions.
    2. On the details page of the execution, select the Execution 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 task-wise or based on 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 and under each task, the resources on which the task is run are displayed. Under each resource, the targets where the task execution is applicable are displayed.
      2. To reset the view resource-wise, turn off Show step view.
      3. To run a failed task, from the Actions menu (Actions Menu) for the task, select Retry.
      4. To resume a paused task, from the Actions menu (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.