![]() When running fetch with become, the slurp module will also be used to fetch the contents of the file for determining the remote checksum. This effectively doubles the transfer size [0] and shows up as a MemoryError when the file size is large enough. In TripleO this is problematic in large & old deployments when transferring the /var/lib/mysql folder. This patch switches to using rsync directly between the src and dst hosts to transfer the data. This is advantageous not only for solving the above-mentioned bug, but is also faster. A simpler implementation using synchronize was attempted [1], but there were issues with the mistral container which prevented that approach from being successful. [0] https://docs.ansible.com/ansible/latest/collections/ansible/builtin/fetch_module.html#notes [1] https://review.opendev.org/c/openstack/tripleo-ansible/+/776565/11 Closes-Bug: #1908425 Closes-Bug: rhbz#1904681 Closes-Bug: rhbz#1916162 Depends-On: https://review.opendev.org/778456 Change-Id: Ifc03f9eb1cb4ca3faec194569f4cb2dace93323f |
||
---|---|---|
.. | ||
main.yml |