Skip to content

Commit 40e2aff

Browse files
Merge pull request openstack-k8s-operators#962 from holser/uniquepodnames_true
Use uniquePodNames for cinder and glance pods
2 parents 5df0350 + 8ccdb49 commit 40e2aff

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

tests/roles/backend_services/defaults/main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ heat_stack_domain_admin_password: ''
1818
swift_password: ''
1919
dns_lb_ip: 192.168.122.80
2020
dns_server_ip: 192.168.122.1
21+
enable_unique_pod_names: false
2122

2223
dpa_dir: "../.."
2324
dpa_tests_dir: "{{ dpa_dir }}/tests"

tests/roles/backend_services/templates/openstack_control_plane.j2

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ spec:
1414
barbicanKeystoneListener: {}
1515

1616
cinder:
17+
{% if enable_unique_pod_names %}
18+
uniquePodNames: true
19+
{% endif %}
1720
enabled: false
1821
template:
1922
cinderAPI: {}
@@ -39,6 +42,9 @@ spec:
3942
replicas: 1
4043

4144
glance:
45+
{% if enable_unique_pod_names %}
46+
uniquePodNames: true
47+
{% endif %}
4248
enabled: false
4349
template:
4450
glanceAPIs: {}

tests/vars.sample.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ install_yamls_path: ~/install_yamls #CUSTOMIZE_THIS
44
# This flag signifies if TLS Everywhere is enabled on the source cloud
55
enable_tlse: false
66

7+
# This flag enables unique pod names for the adopted OpenStack services.
8+
enable_unique_pod_names: false
9+
710
# Source MariaDB Galera cluster members {name:IP} pairs of addresses on internal_api network (also in additional cells) for pre-adoption checks.
811
# Defaults provided for a single-cell case. Complete the lists for an HA multi-cell adoption.
912
source_galera_members:

0 commit comments

Comments
 (0)