File tree Expand file tree Collapse file tree 3 files changed +16
-12
lines changed
infrared/tripleo-ovn-migration Expand file tree Collapse file tree 3 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ adjustments, prepare the environment for the procedure.
21
21
22
22
Subsequent steps start the migration via Ansible.
23
23
24
- Plan for a 24-hour wait after the setup-mtu -t1 step to allow VMs to catch up
25
- with the new MTU size. The default neutron ML2/OVS configuration has a
26
- dhcp_lease_duration of 86400 seconds (24h).
24
+ Plan for a 24-hour wait after the reduce-dhcp -t1 step to allow VMs to catch up
25
+ with the new MTU size from the DHCP server . The default neutron ML2/OVS
26
+ configuration has a dhcp_lease_duration of 86400 seconds (24h).
27
27
28
28
Also, if there are instances using static IP assignment, the administrator
29
29
should be ready to update the MTU of those instances to the new value of 8
@@ -182,11 +182,11 @@ Perform the following steps in the undercloud
182
182
with the migration playbooks.
183
183
184
184
185
- 6. Run ``ovn_migration.sh setup-mtu -t1 ``
185
+ 6. Run ``ovn_migration.sh reduce-dhcp -t1 ``
186
186
187
187
.. code-block :: console
188
188
189
- $ ovn_migration.sh setup-mtu -t1
189
+ $ ovn_migration.sh reduce-dhcp -t1
190
190
191
191
192
192
This lowers the T1 parameter
Original file line number Diff line number Diff line change 166
166
set -o pipefail &&
167
167
{{ ovn_migration_working_dir }}/start-ovn-migration.sh generate-inventory 2>&1 > {{ ovn_migration_working_dir}}/generate-inventory.log
168
168
169
- - name : Set MTU T1
169
+ - name : Set DHCP T1 timer
170
170
shell :
171
171
set -o pipefail &&
172
- {{ ovn_migration_working_dir }}/start-ovn-migration.sh setup-mtu -t1 2>&1 > {{ ovn_migration_working_dir}}/setup-mtu -t1.log
172
+ {{ ovn_migration_working_dir }}/start-ovn-migration.sh reduce-dhcp -t1 2>&1 > {{ ovn_migration_working_dir}}/reduce-dhcp -t1.log
173
173
174
174
- name : Reduce mtu of the pre migration networks
175
175
shell :
Original file line number Diff line number Diff line change 238
238
cat hosts_for_migration
239
239
echo " ***************************************"
240
240
echo " Generated the inventory file - hosts_for_migration"
241
- echo " Please review the file before running the next command - setup-mtu -t1"
241
+ echo " Please review the file before running the next command - reduce-dhcp -t1"
242
242
}
243
243
244
244
# Check if source inventory exists
@@ -283,7 +283,7 @@ oc_check_network_mtu() {
283
283
return $?
284
284
}
285
285
286
- setup_mtu_t1 () {
286
+ reduce_dhcp_t1 () {
287
287
# Run the ansible playbook to reduce the DHCP T1 parameter in
288
288
# dhcp_agent.ini in all the overcloud nodes where dhcp agent is running.
289
289
ansible-playbook -vv $OPT_WORKDIR /playbooks/reduce-dhcp-renewal-time.yml \
@@ -349,7 +349,7 @@ complete details. This script needs to be run in 5 steps.
349
349
350
350
Generates the inventory file
351
351
352
- Step 2 -> ovn_migration.sh setup-mtu-t1
352
+ Step 2 -> ovn_migration.sh reduce-dhcp-t1 (deprecated name setup-mtu-t1)
353
353
354
354
Sets the DHCP renewal T1 to 30 seconds. After this step you will
355
355
need to wait at least 24h for the change to be propagated to all
@@ -386,9 +386,13 @@ case $command in
386
386
ret_val=$?
387
387
;;
388
388
389
- setup-mtu-t1)
389
+ reduce-dhcp-t1 | setup-mtu-t1)
390
+ if [[ $command = ' setup-mtu-t1' ]]; then
391
+ echo -e " Warning: setup-mtu-t1 argument was renamed." \
392
+ " Use reduce-dhcp-t1 argument instead."
393
+ fi
390
394
check_for_necessary_files
391
- setup_mtu_t1
395
+ reduce_dhcp_t1
392
396
ret_val=$? ;;
393
397
394
398
reduce-mtu)
You can’t perform that action at this time.
0 commit comments