Resuming or retrying a service instance

You can resume or retry a service instance that is in error state.

About this task

Resume and Retry actions are the redeployments of a service instance from the point of failure. However, Retry action destroys partially completed resources before proceeding with the deployment.

Note: If Managed services orchestration has multiple templates and a template fails in the workflow, then all subsequent templates are also not considered for deployment.

Example scenarios for a service that is defined to create two virtual machines:

  • The deployment fails after it creates the first virtual machine. The Resume and Retry actions do not re-create the first virtual machine instead proceeds only with the second virtual machine.
  • The deployment fails after it creates the first virtual machine and partially creates the second virtual machine. The Resume action resumes from the exact point of failure but Retry action destroys the partially created virtual machine and then proceeds with the redeployment.

Resume

Resume action works only with Terraform template. Only for Terraform template, it does plan and apply. For other activities, it performs retry action.

  1. Navigate to the deployed instances page, by using one of these methods:

    • In the navigation bar, click Deployed instances > Services tab.
    • Alternatively, any operational user can access the instances page through the service library. From the IBM Cloud Pak for AIOps console, click Automate Infrastructure > Library. The Instances tab shows the deployed instances.
  2. In the service instances list, click the Actions overflow menu of an error instance that you want to resume. The action list is displayed.

  3. Click Resume. A Resume service instance confirmation box is displayed.

  4. Click Resume. A Resume service instance page is displayed.

  5. Select True to resume all the activities with updated values including those that are executed successfully. Select False to resume with values provided during the original deployment for the successfully executed activities and use the updated values from the point of failure.

  6. Click Resume instance.

  7. From the list of deployed instances, click View details for this record from the overflow menu. In the Overview page of the service instance, the status changes to "In Progress", and after successful resume operation, the status changes to "Active" state. If the deployment of the service instance fails, then an error message informing about the failure is displayed.

    Note: If you get a 401 error during resume operation, then clean the cache and retry.

Retry

  1. In the navigation bar, click Deployed instances > Services.
  2. In the service instance list, click the Actions overflow menu of an error instance that you want to retry. The action list is displayed.
  3. Click Retry. A Retry service instance confirmation box is displayed.
  4. Click Retry. A Retry service instance page is displayed.
  5. Select True to retry all the activities with updated values. Select False to retry with values provided during original deployment for the successfully executed activities and use the updated values from the point of failed activity.
  6. Click Retry instance.
  7. From the list of deployed instances, click View details for this record from the overflow menu. In the Overview page of the service instance, the status changes to "In Progress", and after successful retry operation, the status changes to "Active" state. If the deployment of the service instance fails, then an error message informing about the failure is displayed.