FFU: change transfer parameters for database resync

Configure tripleo_transfer's flags to mimick the way a galera SST
transfers the entire database between two nodes: in-place copy,
no delta-transfer, no compression, selective file copy.

Tested by running an FFU from Queens to Train on an composable
HA overcloud.

Change-Id: I557962e77d6558281603b40d0adf01b912e8c2f9
Closes-Bug: #1925260
This commit is contained in:
Damien Ciabrini 2021-04-21 09:59:24 +02:00
parent 34775b8efa
commit 5ef7f9330a

View File

@ -647,3 +647,19 @@ outputs:
tripleo_transfer_dest_dir: /var/lib/mysql
tripleo_transfer_dest_host: "{{hostvars[groups['overcloud'][0]]['mysql_short_bootstrap_node_name']}}"
tripleo_transfer_flag_file: /var/lib/tripleo/transfer-flags/var-lib-mysql
# inline copy of galera database
tripleo_transfer_sync_options:
--whole-file
--ignore-times
--inplace
--archive
--delete
# include innodb files and dirs (schemas)
tripleo_transfer_include:
- '/ibdata*'
- '/ib_lru_dump'
- '/ib_logfile[0-9]*'
- '/undo*'
- '/*/'
# exclude everything else
tripleo_transfer_exclude: '/*'