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.
TASK [cp4d-cluster-delete : set_fact] ******************************************
Saturday 23 September 2023 14:30:22 +0000 (0:00:00.042) 0:29:51.611 ****
fatal: [localhost]: FAILED! =>
msg: |-
The task includes an option with an undefined variable. The error was: [?name=='{{ _previous_cp4d_cluster.openshift_cluster_name }}']: 'dict object' has no attribute 'openshift_cluster_name'
The error appears to be in '/cloud-pak-deployer/automation-roles/50-install-cloud-pak/cp4d/cp4d-cluster-delete/tasks/cp4d-cluster-delete.yml': line 6, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- set_fact:
^ here
This happens when there is a cp4d config in the sample-all-config vault secret but no cp4d resource has been specified in any of the deployer yaml files.
Describe the bug
This happens when there is a cp4d config in the sample-all-config vault secret but no cp4d resource has been specified in any of the deployer yaml files.