Use copy-links when collecting logs

--safe-links was used, which breaks openstack service collection on
the metal /etc paths, because they are symlinked into the venv like:
/etc/neutron -> ../openstack/venvs/neutron-19.1.0.dev12/etc/neutron

Instead we can use --copy-links which will resolve the symlink and
copy the data.

Change-Id: I40905d79efa1bef9ae6a7678515fd07fde1bdd00
This commit is contained in:
Logan V 2019-03-23 12:33:10 -04:00
parent 9ef40798e9
commit ff417d17d3
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ export RUN_ARA=${RUN_ARA:-false}
export TESTING_HOME=${TESTING_HOME:-$HOME}
export TS=$(date +"%H-%M-%S")
export RSYNC_CMD="rsync --archive --safe-links --ignore-errors --quiet --no-perms --no-owner --no-group --whole-file --inplace"
export RSYNC_CMD="rsync --archive --copy-links --ignore-errors --quiet --no-perms --no-owner --no-group --whole-file --inplace"
# NOTE(cloudnull): This is a very simple list of common directories in /etc we
# wish to search for when storing gate artifacts. When adding