File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
tools/ovn_migration/tripleo_environment
playbooks/roles/recovery-backup/tasks Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,12 @@ Perform the following steps in the undercloud
155
155
server that will be used as a NFS server to store the backup.
156
156
Default: 192.168.24.1
157
157
158
+ * BACKUP_MIGRATION_CTL_PLANE_CIDRS - Only used if CREATE_BACKUP is enabled.
159
+ A comma separated string of control plane subnets in CIDR notation for the
160
+ controllers being backed up. The specified subnets will be used to enable
161
+ NFS remote clients connections.
162
+ Default: 192.168.24.0/24
163
+
158
164
.. warning ::
159
165
160
166
Please note that VALIDATE_MIGRATION requires enough quota (2
Original file line number Diff line number Diff line change 42
42
: ${VALIDATE_MIGRATION:= False}
43
43
: ${DHCP_RENEWAL_TIME:= 30}
44
44
: ${CREATE_BACKUP:= True}
45
- : ${BACKUP_MIGRATION_IP:= 192.168.24.1} # TODO: Document this new var
45
+ : ${BACKUP_MIGRATION_IP:= 192.168.24.1}
46
+ : ${BACKUP_MIGRATION_CTL_PLANE_CIDRS:= 192.168.24.0/ 24}
46
47
47
48
48
49
check_for_necessary_files () {
@@ -328,6 +329,7 @@ start_migration() {
328
329
-e overcloudrc=$OVERCLOUDRC_FILE \
329
330
-e stackrc=$STACKRC_FILE \
330
331
-e backup_migration_ip=$BACKUP_MIGRATION_IP \
332
+ -e backup_migration_ctl_plane_cidrs=$BACKUP_MIGRATION_CTL_PLANE_CIDRS \
331
333
-e create_backup=$CREATE_BACKUP \
332
334
-e ansible_inventory=$inventory_file \
333
335
-e validate_migration=$VALIDATE_MIGRATION $*
Original file line number Diff line number Diff line change 36
36
--setup-nfs \
37
37
--extra-vars '{
38
38
"tripleo_backup_and_restore_server": {{ backup_migration_ip }},
39
+ "tripleo_backup_and_restore_clients_nets": {{ backup_migration_ctl_plane_cidrs.split(',') }},
39
40
"nfs_server_group_name": {{ revert_preparation_server_name }}
40
41
}'
41
42
You can’t perform that action at this time.
0 commit comments