Migration_controller installation failed while deploying CAM operator on openshift-4.x cluster.
Issue
- Installed cluster application migration tool from operator hub catalog and creation of Migration_controller resource gets failed.
- Not able to create a
Migration_Controller
resource on the openshift-4 cluster. - Initialization of Migration controller resource from the migration operator pod is failing with below error:-
u001b[0m\n\r\nTASK [migrationcontroller : set_fact] ******************************************\r\n\u001b[1;30mtask path: /opt/ansible/roles/migrationcontroller/tasks/main.yml:62\u001b[0m\n\u001b[0;31mfatal: [localhost]: FAILED! => {\"msg\": \"The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'metadata'\\n\\nThe error appears to be in '/opt/ansible/roles/migrationcontroller/tasks/main.yml': line 62, column 7, but may\\nbe elsewhere in the file depending on the exact syntax problem.\\n\\nThe offending line appears to be:\\n\\n\\n - set_fact:\\n ^ here\\n\"}\u001b[0m\n\r\nTASK [migrationcontroller : k8s_status]
Environment
- OpenShift Container Platform-4.3
- Cluster application migration-1.2.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.