Skip to content

Commit fa349a2

Browse files
committed
Merge branch 'migrate-rdbms' into devel
2 parents 6ef8492 + e3040d6 commit fa349a2

File tree

42 files changed

+108
-1096
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+108
-1096
lines changed

builder/requirements.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
# Copyright 2023 Cloudera, Inc. All Rights Reserved.
2+
# Copyright 2024 Cloudera, Inc. All Rights Reserved.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -16,11 +16,3 @@
1616
collections:
1717
- source: .
1818
type: dir
19-
20-
roles:
21-
- name: geerlingguy.postgresql
22-
version: 2.2.0
23-
24-
# geerlingguy.mysql with fix for issue #332
25-
- src: https://github.com/dbeech/ansible-role-mysql
26-
version: master

galaxy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
namespace: cloudera
1818
name: cluster
19-
version: 4.3.0
19+
version: 4.3.0-dev
2020
readme: README.md
2121
authors: []
2222

@@ -35,7 +35,7 @@ tags:
3535

3636
dependencies:
3737
'ansible.posix': '1.3.0'
38-
'community.crypto': '2.2.1'
38+
'community.crypto': '2.17.1'
3939
'community.general': '4.5.0'
4040

4141
repository: https://github.com/cloudera-labs/cloudera.cluster

requirements.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
# Copyright 2023 Cloudera, Inc.
3+
# Copyright 2024 Cloudera, Inc.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -14,24 +14,17 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
roles:
18-
- name: geerlingguy.postgresql
19-
version: 2.2.0
20-
21-
# geerlingguy.mysql with fix for issue #332
22-
- src: https://github.com/dbeech/ansible-role-mysql
23-
version: master
2417

2518
collections:
2619
- name: ansible.posix
2720
version: 1.3.0
2821
- name: community.crypto
29-
version: 2.2.1
22+
version: 2.17.1
3023
- name: community.general
3124
version: 4.5.0
3225
- name: community.mysql
33-
version: 3.1.0
26+
version: 3.8.0
3427
- name: community.postgresql
35-
version: 1.6.1
28+
version: 3.3.0
3629
- name: freeipa.ansible_freeipa
3730
version: 1.11.1

roles/config/cluster/base/templates/configs/tls-7.1.0.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ LIVY:
109109
ssl_server_keystore_location: {{ tls_keystore_path_generic }}
110110
ssl_server_keystore_password: {{ tls_keystore_password }}
111111
OZONE:
112-
DATANODE:
112+
OZONE_DATANODE:
113113
ssl_client_truststore_location: {{ tls_truststore_path }}
114114
ssl_client_truststore_password: {{ tls_truststore_password }}
115115
ssl_enabled: true
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
OZONE:
3+
SERVICEWIDE:
4+
hdds.grpc.tls.enabled: true

roles/config/cluster/base/templates/configs/tls-cm-7.j2

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ LIVY:
104104
ssl_enabled: true
105105
ssl_server_keystore_location: {{ tls_keystore_path_generic }}
106106
ssl_server_keystore_password: {{ tls_keystore_password }}
107-
OZONE:
108-
DATANODE:
107+
OZONE_DATANODE:
109108
ssl_client_truststore_location: {{ tls_truststore_path }}
110109
ssl_client_truststore_password: {{ tls_truststore_password }}
111110
ssl_enabled: true
@@ -143,6 +142,13 @@ OZONE:
143142
ssl_server_keystore_keypassword: {{ tls_keystore_password }}
144143
ssl_server_keystore_location: {{ tls_keystore_path_generic }}
145144
ssl_server_keystore_password: {{ tls_keystore_password }}
145+
HTTPFS_GATEWAY:
146+
ssl_client_truststore_location: {{ tls_truststore_path }}
147+
ssl_client_truststore_password: {{ tls_truststore_password }}
148+
ssl_enabled: true
149+
ssl_server_keystore_keypassword: {{ tls_keystore_password }}
150+
ssl_server_keystore_location: {{ tls_keystore_path_generic }}
151+
ssl_server_keystore_password: {{ tls_keystore_password }}
146152
NIFI:
147153
NIFI_NODE:
148154
ssl_enabled: true

roles/config/cluster/base/vars/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,12 @@ custom_config_templates:
6464
condition: "{{ cluster.security.tls | default(False) and cloudera_runtime_version is version('7.1.0','>=') }}"
6565
- template: configs/tls-7.1.4.j2
6666
condition: "{{ cluster.security.tls | default(False) and cloudera_runtime_version is version('7.1.4','>=') and (cloudera_runtime_pre_upgrade is undefined or cloudera_runtime_pre_upgrade is version('7.1.4','>=')) }}"
67+
- template: configs/tls-7.1.7.j2
68+
condition: "{{ cluster.security.tls | default(False) and cloudera_runtime_version is version('7.1.7','>=') }}"
6769
- template: configs/tls-7.3.1.j2
6870
condition: "{{ cluster.security.tls | default(False) and cloudera_manager_version is version('7.3.1', '>=') }}"
6971
- template: configs/tls-cm-7.j2
70-
condition: "{{ cluster.security.tls | default(False) and cloudera_manager_version is version('7.1.0','>=') }}"
72+
condition: "{{ cluster.security.tls | default(False) and cloudera_manager_version is version('7.1.0','>=') }}"
7173
# Custom configurations for Cloudera Streams Processing components on CDH 6.x
7274
- template: configs/schemaregistry.j2
7375
condition: >-

roles/config/cluster/ecs/tasks/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
# This variable is used by other roles
1818
# please take care when changing it
1919
- set_fact:
20-
databases: "{{ database_defaults | combine(cluster.databases | default({}), recursive=True) }}"
21-
20+
# databases: "{{ database_defaults | combine(cluster.databases | default({}), recursive=True) }}"
21+
databases: []
22+
2223
- name: Retrieve repository metadata
2324
include_role:
2425
name: cloudera.cluster.deployment.repometa

roles/deployment/definition/defaults/main.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Cloudera, Inc.
1+
# Copyright 2024 Cloudera, Inc.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -24,12 +24,15 @@ default_database_versions:
2424
postgresql:
2525
'7': 10
2626
'8': 12
27+
'9': 14
2728
mariadb:
2829
'7': 10.2
29-
'8': 10.2
30+
'8': 10.6
31+
'9': 10.6
3032
mysql:
3133
'7': 5.7
32-
'8': 8.0
34+
'8': 8.0
35+
'9': 8.0
3336

3437
# Located in cloudera.cluster.infrastructure.krb5_common
3538
#krb5_realm: CLOUDERA.LOCAL
@@ -125,7 +128,7 @@ database_defaults:
125128
QUEUEMANAGER:
126129
host: "{{ database_host }}"
127130
port: "{{ database_type | cloudera.cluster.default_database_port }}"
128-
type: postgresql
131+
type: "{{ database_type }}"
129132
name: queuemanager
130133
user: queuemanager
131134
password: "{{ database_default_password }}"

roles/infrastructure/krb5_client/tasks/freeipa.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,12 @@
6767
when:
6868
- krb5_kdc_type == 'Red Hat IPA'
6969
- "'cluster' in group_names or 'cloudera_manager' in group_names"
70+
71+
- name: Remove ipa includedir directive
72+
lineinfile:
73+
path: /etc/krb5.conf
74+
regexp: "^includedir /etc/krb5.conf.d/"
75+
state: absent
76+
when:
77+
- krb5_kdc_type == 'Red Hat IPA'
78+
- "'cluster' in group_names or 'cloudera_manager' in group_names"

0 commit comments

Comments
 (0)