Migration of the enclosure did not complete

Symptom

You see a message indicating the migration of the enclosure did not complete.

Cause

Migration has occurred but the migration task in HPE OneView does not show completed. This error can appear if an appliance restart occurred during the migration.

Action
  1. View the migration tasks in the Activity view and follow any proposed resolutions.
  2. If the problem persists, refresh the enclosure.
  3. If the problem continues, reset the migration substate by performing the following steps:
    1. View the migration tasks in the Activity view and follow any proposed resolutions.
    2. If the problem persists, refresh the enclosure.

      GET /rest/login-sessions

    3. Enter the following command using the {AUTH} token obtained from step 1:

      curl -ik -X PATCH -H "Content-Type:application/json" -H "X-API-Version:300" -H "auth:${AUTH}" -d '{"op":"replace","path":"/migrationState","value":"NotApplicable"}