cloudera-labs / cloudera.exe

cloudera.exe -- an Ansible collection enabling runlevel management of CDP Public Cloud deployments as well as numerous utilities for deployments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Undefined run__dw_dbc_configs causes runtime deployment to fail

asdaraujo opened this issue · comments

if run__dw_dbc_configs is empty, run__dw_vw_configs is never set in Construct CDP DW Data Catalog configurations, which causes Check CDP DW Virtual Warehouse tags to fail.

TASK [cloudera.exe.runtime : Check CDP DW Virtual Warehouse tags] ************************************************************************************************************************************************************
task path: /opt/cldr-runner/collections/ansible_collections/cloudera/exe/roles/runtime/tasks/initialize_base.yml:229
Friday 23 December 2022  09:11:49 +0000 (0:00:00.035)       0:01:47.025 *******
The conditional check '__dw_vw_config.tags | length > 0' failed. The error was: error while evaluating conditional (__dw_vw_config.tags | length > 0): '__dw_vw_config' is undefined

The error appears to be in '/opt/cldr-runner/collections/ansible_collections/cloudera/exe/roles/runtime/tasks/initialize_base.yml': line 229, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


    - name: Check CDP DW Virtual Warehouse tags
      ^ here
fatal: [localhost]: FAILED! => {
    "msg": "'run__dw_vw_configs' is undefined"
}