View the State of a Work Request

This topic describes how to view the state of work requests associated with managing sources and migrations.

Note

The Classic Migration Service does not use the common Work Requests API to support work request operations. Instead, Classic Migration Service work requests are supported by the application migration API. See Using the Console to View Work Requests for information on viewing work requests for other services.

Many of the Classic Migration Service requests do not take effect immediately. In these cases, the request spawns an asynchronous workflow for fulfillment. To provide visibility for in-progress workflows, the Classic Migration Service creates a work request object. Because some operations depend on the completion of other operations, you must monitor each operation’s work request and confirm it has succeeded before proceeding to the next operation. For example, if you want to configure a migration, you first must create a migration. After the operation to create a migration completes, you can configure the migration. You can monitor the work request to create a migration to determine when that workflow is complete, and then configure the migration.

Work Request States

The work request states are:

  • Accepted: The request is in the work request queue for processing.
  • In Progress: The work request is being processed.
  • Succeeded: The work request processed successfully.
  • Failed: The work request did not process successfully. You can look at the work request logs to identify the issues and then troubleshoot, accordingly.
  • Canceling: The work request is being canceled.
  • Canceled: The work request has been canceled successfully.

Work Requests Associated with Sources

The following work requests are associated with sources:

  • Create Source: This work request is created when you create a source. When this request is being processed, the source is in the Creating state. Classic Migration Service attempts to connect to the source environment using the information you provide. If the connection is successful, then the status of the source changes to Active and the service fetches the list of applications in the source environment that can be migrated. If the service is unable to connect to the source environment, then the status of the Create Source work request changes to Failed and the status of the source changes to Inactive.
  • Update Source: This work request is created when you click Authorize to update the authorization details for a source. Classic Migration Service attempts to connect to the source environment using the information you provide. When this request is being processed, the source is in the Updating state. When the work request is processed successfully, the state of the source changes to Active. Classic Migration Service fetches the list of applications in the source environment that can be migrated. If the service is unable to connect to the source environment, then the status of the work request changes to Failed and the state of the source changes to Inactive.
  • Delete Source: This work request is created when you delete a source.
  • Change Source Compartment: This work request is created when you move a source into a different compartment within the same tenancy.

Work Requests Associated with Migrations

The following work requests are associated with migrations:

  • Create Migration: This work request is created when you create a migration. When the work request is in the Accepted state, the status of the migration is Creating. When the work request is in the In Progress state, the status of the migration is Discovering. When the work request is processed successfully, the status of the migration changes from Discovering to Missing Config Field.
  • Discover Application: Classic Migration Service connects to the application with the supplied credentials and exports the domain configuration. When this request is processed successfully, the status of the migration changes from Discovering to Missing Config Field.
  • Update Migration: This work request is created when you use the Configure Migration wizard to specify information about the target environment. When this request is processed successfully, the state of the migration changes from Missing Config Field to Ready.
  • Migrate Application: This work request is created when you start a migration. Classic Migration Service migrates the specified application from the source environment to Oracle Cloud Infrastructure. If this work request completes successfully, then the state of the migration changes from Ready to Migration Succeeded. If the migration fails, then the status of the migration changes to Migration Failed.
  • Delete Migration: This work request is created when you delete a migration.
  • Change Migration Compartment: This work request is created when you move a migration into a different compartment within the same tenancy.

Required IAM Policy

To use Oracle Cloud Infrastructure, you must be given the required type of access in a policy written by an administrator, whether you are using the Console or the REST API with an SDK, CLI, or other tool. If you try to perform an action and get a message that you do not have permission or are unauthorized, then confirm with your administrator the type of access you have and in which you should work.

If you are new to policies, then see Getting Started with Policies and Common Policies. If you want to dig deeper into writing policies for Classic Migration Service API resources, then see Manage Service Access and Security.

To view work requests

  1. Open the navigation menu on the Oracle Cloud Infrastructure Console, click OCI Classic Services, and then click either Sources or Migrations in the Classic Migration section to display either the Sources in compartment or Migrations in compartment page and a list of sources or migrations in the compartment.
  2. Choose a compartment from the Compartment drop-down in which you have permission to work. The page updates to display only the resources in that compartment. If you are not sure which compartment to use, then contact an administrator. For more information, see Access Control.
  3. Click the name of the resource for which you want to view work requests to display the details page for that resource.
  4. In the Resources section, click Work Requests to display a list of work requests and their statuses.
  5. Click a work request to view log messages and other details about the work request.
  6. In the Resources section, click Errors to view error messages, if any.
    You can use this information to troubleshoot issues, if any.