Skip to content

Commit 3ddebbe

Browse files
committed
dt-dcn: Make VM's names of DCN compute grouos not to be substring of each other.
The reason is to workaround a bug in neutron
1 parent f1882e4 commit 3ddebbe

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

playbooks/dcn.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@
6868
ansible.builtin.set_fact:
6969
az_to_group_map:
7070
az0: computes
71-
az1: dcn1-computes
72-
az2: dcn2-computes
71+
az1: dcn1-compute-az1s
72+
az2: dcn2-compute-az2s
7373

7474
- name: Scaledown the DCN site
7575
vars:

roles/reproducer/tasks/libvirt_layout.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@
9999
(compute.key in (groups['computes'] | default([]))) or
100100
(compute.key in (groups['cephs'] | default([]))) or
101101
(compute.key in (groups['networkers'] | default([]))) or
102-
(compute.key in (groups['dcn1-computes'] | default([]))) or
103-
(compute.key in (groups['dcn2-computes'] | default([]))) or
102+
(compute.key in (groups['dcn1-compute-az1s'] | default([]))) or
103+
(compute.key in (groups['dcn2-compute-az2s'] | default([]))) or
104104
(compute.key is match('^r[0-9]-compute-.*')) or
105105
(compute.key is match('^r[0-9]-networker-.*'))
106106
vars:

scenarios/reproducers/dt-dcn.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ cifmw_libvirt_manager_configuration:
142142
nets:
143143
- ocpbm
144144
- osp_trunk
145-
dcn1-compute:
145+
dcn1-compute-az1:
146146
uefi: "{{ cifmw_use_uefi }}"
147147
root_part_id: "{{ cifmw_root_partition_id }}"
148148
amount: "{{ [cifmw_libvirt_manager_compute_amount|int, 3] | max }}"
@@ -158,7 +158,7 @@ cifmw_libvirt_manager_configuration:
158158
nets:
159159
- dcn1_pb
160160
- dcn1_tr
161-
dcn2-compute:
161+
dcn2-compute-az2:
162162
uefi: "{{ cifmw_use_uefi }}"
163163
root_part_id: "{{ cifmw_root_partition_id }}"
164164
amount: "{{ [cifmw_libvirt_manager_compute_amount|int, 3] | max }}"
@@ -470,7 +470,7 @@ cifmw_networking_definition:
470470
trunk-parent: ctlplane
471471
storagemgmt:
472472
trunk-parent: ctlplane
473-
dcn1-computes:
473+
dcn1-compute-az1s:
474474
network-template:
475475
range:
476476
start: 111
@@ -485,7 +485,7 @@ cifmw_networking_definition:
485485
trunk-parent: ctlplanedcn1
486486
storagemgmtdcn1:
487487
trunk-parent: ctlplanedcn1
488-
dcn2-computes:
488+
dcn2-compute-az2s:
489489
network-template:
490490
range:
491491
start: 121

0 commit comments

Comments
 (0)