Symptoms
Provider cannot migrate VPS in POA Control Panel, corresponding background task to migrate VPS fails with the following error message:
Internal error: could not find data for operation OPERATION_ID, possibly dst HN does not exists
where OPERATION_ID is the ID of the VPS migration task which may be seen in POA Provider Control Panel at Service Director > Virtuozzo Manager > Migration Tasks.
Cause
The migration task (not background task) was deleted, so background task cannot find the required data in POA database.
There two kind of POA tasks related to VPS migration:
- Migration task, may be seen in POA Provider CP at Service Director > Virtuozzo Manager > Migration Tasks
- Background task 'Migrate VPS', may be seen in POA Provider CP at System Director > Task Manager
The following steps could lead to the problem:
- Provider initiated VPS migration
- Corresponding migration task was added to Service Director > Virtuozzo Manager > Migration Tasks
- Task Manager created background task to migrate VPS
- Background task failed to migrate VPS from the first attempt due to whatever reason
- Provider removed migration task (not background task) at Service Director > Virtuozzo Manager > Migration Tasks
- Background task was re-scheduled and failed because migration task was removed
Resolution
Cancel the failed background task and schedule the new migration task.