Skip to content

Undefined run__dw_dbc_configs causes runtime deployment to fail #135

@asdaraujo

Description

@asdaraujo

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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions