Closed HirossxD closed 1 year ago
I have found out this file
/opt/cldr-runner/collections/ansible_collections/cloudera/cluster/roles/config/cluster/common/defaults/main.yml
https://github.com/cloudera-labs/cloudera.cluster/blob/main/roles/config/cluster/common/defaults/main.yml
Should I edit this file directly or are there any better configuration options ?
Added tag sdx
in
/opt/cldr-runner/collections/ansible_collections/cloudera/cluster/roles/deployment/cluster/tasks/main.yml
as following:
- name: Create base cluster data contexts (SDX)
include_tasks: create_data_context.yml
loop: "{{ definition.clusters }}"
loop_control:
loop_var: _cluster
vars:
cluster: "{{ default_cluster_base | combine(_cluster) }}"
when:
- cluster.type | default(default_cluster_type) == 'base'
- cloudera_manager_version is version('6.2.0','>=')
tags:
- sdx
with this modification, SDX is skipable via addin --skip-tags sdx
to the ansible-playbook
command
when running the cloudera deploy playbook (tags=default_cluster,kerberos), in the last tasks , i can see this, I also have added when it is triggered, from:
TASK [cloudera.cluster.cluster : Create base cluster data contexts (SDX)]
when running the playbook twice (for example with unset proxy, import cluster template fails when downloading parcels, after manual proxy set-up in the CM UI, playbook deploys cluster successfully on the second run, but with NO SDX!)
Cluster is always deployed successfully, in the green state, however, when I click on the Basic Cluster in the CM, instead of CMS I am seeing SDX which is not configured...