diff options
author | 2018-03-21 09:07:09 +0000 | |
---|---|---|
committer | 2018-03-22 16:29:52 +0000 | |
commit | 1ce7e1ea03559533419106003bd292e4e165d472 (patch) | |
tree | 53ab6d135e818ff52c6ba581006ee37f2da078de /xci/files | |
parent | 613d9d5631fa4f7fbc6b565e35620fdb5dd3561e (diff) |
xci: osa: Configure the ARA callback plugin on OPNFV host
The OSA deployment is driven by the OPNFV host so we need to install
and configure the ARA plugin there as well.
Change-Id: Ib583f5771a8c2da7531f0a42612d7c0b34fb4898
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/files')
-rw-r--r-- | xci/files/install-lib.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xci/files/install-lib.sh b/xci/files/install-lib.sh index ce52ff4b..2679233d 100644 --- a/xci/files/install-lib.sh +++ b/xci/files/install-lib.sh @@ -179,8 +179,13 @@ collect_xci_logs() { echo "----------------------------------" # Create the ARA log directory and store the sqlite source database - mkdir -p ${LOG_PATH}/ara/ + mkdir -p ${LOG_PATH}/ara/ ${LOG_PATH}/opnfv/ara + rsync -q -a "${HOME}/.ara/ansible.sqlite" "${LOG_PATH}/ara/" + rsync -q -a root@${OPNFV_HOST_IP}:releng-xci/${LOG_PATH#$XCI_PATH/}/ ${LOG_PATH}/opnfv/ || true + rsync -q -a root@${OPNFV_HOST_IP}:.ara/ansible.sqlite ${LOG_PATH}/opnfv/ara/ || true + + sudo -H -E bash -c 'chown ${SUDO_UID}:${SUDO_GID} -R ${LOG_PATH}/' } # vim: set ts=4 sw=4 expandtab: |