-
Bug
-
Resolution: Done-Errata
-
Undefined
-
2.5.4
If the destination storage class doesn't have storage profile configured, the migration will fail while building the PVC. However, the logs doesn't have much information to identify the reason of failure.
The plan only have the error below:
error: phase: CreateDataVolumes reasons: - couldn't build the PVC
The forklift-controller also doesn't provide any info on the failure:
{"level":"info","ts":"2024-02-09 15:49:20.598","logger":"plan|k27tv","msg":"Migration [FAILED]","plan":"openshift-mtv/newrhvplan","migration":"openshift-mtv/newrhvplan-1707493706760"} {"level":"info","ts":"2024-02-09 15:49:20.660","logger":"plan|k27tv","msg":"Snapshot condition copied to plan.","plan":"openshift-mtv/newrhvplan","condition":{"type":"Failed","status":"True","category":"Advisory","message":"The plan execution has FAILED.","lastTransitionTime":"2024-02-09T15:49:20Z","durable":true}}
Please provide the package NVR for which bug is seen:
Migration Toolkit for Virtualization Operator 2.5.4
How reproducible:
100%
Steps to reproduce
- Create a migration plan specifying the destination storage class whose storage profile is not configured.
- Start the plan and wait for it to fail.
- Check the events, forklift-controller log, plan and migration CR status. The only error reported is "couldn't build the PVC".
Expected results
Provide proper message if the forklift failed to build the PVC.
Actual results
No proper error message if it fails creating the PVC which makes troubleshooting hard.