invoke-SCVOVAMigration fails with access denied error
Applies to
- SnapCenter Plug-in for VMware vSphere (SCV) 4.3 or later
- Migration from Windows SCV to Virtual Appliance SCV
Issue
invoke-SCVOVAMigration
fails after changing MySQL password in Virtual Appliance SCV.SnapManagerWeb_<JobID>.log
reports errors:
2021-08-24T19:19:18.4025618+00:00 DEBUG SnapManagerWeb_<JobID> PID=[6888] TID=[39] Error occured in OVA migration. Error: Access denied for user 'root'@'<SnapCenter Server>' (using password: YES)
2021-08-24T19:19:18.4025618+00:00 ERROR SnapManagerWeb_<JobID> PID=[6888] TID=[39] ErrorCode (-1), ErrorMessage (Access denied for user 'root'@'<SnapCenter Server>' (using password: YES))
2021-08-24T19:19:18.4025618+00:00 INFO SnapManagerWeb_<JobID> PID=[6888] TID=[39] Exit MigrateToScvOva
2021-08-24T19:19:18.4025618+00:00 ERROR SnapManagerWeb_<JobID> PID=[6888] TID=[39] ErrorCode (-1), ErrorMessage (Access denied for user 'root'@'<SnapCenter Server>' (using password: YES))
2021-08-24T19:19:29.7491005+00:00 DEBUG SnapManagerWeb_<JobID> PID=[6888] TID=[87] OVA nsm Restore Successful.
2021-08-24T19:19:29.7491005+00:00 ERROR SnapManagerWeb_<JobID> PID=[6888] TID=[39] ErrorCode (-1), ErrorMessage (The virtual appliance database is restored back to original state.)