Configuration-based installation of OpenShift and Cloud Pak for Data/Integration/Watson AIOps on various private and public cloud infrastructure providers. Deployment attempts to achieve the end-state defined in the configuration. If something fails along the way, you only need to restart the process to continue the deployment.
Describe the bug
When installing CP4D 4.6 and the watsonx_data cartridge is in the configuration, the following error is thrown:
TASK [cp4d-variables : set_fact] ***********************************************
Wednesday 06 September 2023 21:09:24 +0000 (0:00:00.188) 0:01:36.746 ***
fatal: [localhost]: FAILED! =>
msg: |-
The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'Component_name'
The error appears to be in '/cloud-pak-deployer/automation-roles/50-install-cloud-pak/cp4d/cp4d-variables/tasks/main.yml': line 79, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- set_fact:
^ here
Workaround:
Remove the watsonx_data from the cp4d resource in the yaml file and re-run deployer.
Describe the bug When installing CP4D 4.6 and the watsonx_data cartridge is in the configuration, the following error is thrown:
Workaround: Remove the watsonx_data from the cp4d resource in the yaml file and re-run deployer.