IBM / cloud-pak-deployer

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.
https://ibm.github.io/cloud-pak-deployer/
Apache License 2.0
131 stars 66 forks source link

Deployer fails to create Db2 instance on CP4D 4.6.4 #559

Closed fketelaars closed 9 months ago

fketelaars commented 9 months ago

Describe the bug

When deploying CP4D 4.6.4, the following error is issued on creation of the Db2 OLTP instance.

TASK [cp4d-instance-db2oltp : set_fact] ****************************************
Tuesday 17 October 2023  17:37:01 +0000 (0:00:00.043)       0:17:05.074 *******
fatal: [localhost]: FAILED! =>
  msg: |-
    The task includes an option with an undefined variable. The error was: No first item, sequence was empty.

    The error appears to be in '/cloud-pak-deployer/automation-roles/60-configure-cloud-pak/cp4d/cp4d-instance-db2oltp/tasks/provision_db2_instance.yml': line 72, column 5, but may
    be elsewhere in the file depending on the exact syntax problem.

    The offending line appears to be:

      - set_fact:
        ^ here