From acfd0f337eafde1350af98677d84ab5fda2efedd Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Tue, 21 Jan 2020 20:27:27 +0200 Subject: [PATCH] Store ganesha logs and configs Change-Id: I087286f66f21ba8960a948b8a6fcf4ea5261c6cf --- .../post.yaml | 13 +++++++++++++ .../post.yaml | 13 +++++++++++++ .../post.yaml | 13 +++++++++++++ 3 files changed, 39 insertions(+) diff --git a/playbooks/legacy/manila-tempest-minimal-dsvm-cephfs-nfs-centos-7/post.yaml b/playbooks/legacy/manila-tempest-minimal-dsvm-cephfs-nfs-centos-7/post.yaml index e07f5510ae..514af465bd 100644 --- a/playbooks/legacy/manila-tempest-minimal-dsvm-cephfs-nfs-centos-7/post.yaml +++ b/playbooks/legacy/manila-tempest-minimal-dsvm-cephfs-nfs-centos-7/post.yaml @@ -13,3 +13,16 @@ - --include=*/ - --exclude=* - --prune-empty-dirs + + - name: Copy ganesha config and logs + synchronize: + src: '{{ item.src }}' + dest: '{{ zuul.executor.log_root }}/{{ item.dest }}' + mode: pull + copy_links: true + verify_host: true + with_items: + - src: /etc/ganesha + dest: logs/etc/ + - src: /var/log/ganesha + dest: logs/ diff --git a/playbooks/legacy/manila-tempest-minimal-dsvm-cephfs-nfs/post.yaml b/playbooks/legacy/manila-tempest-minimal-dsvm-cephfs-nfs/post.yaml index e07f5510ae..514af465bd 100644 --- a/playbooks/legacy/manila-tempest-minimal-dsvm-cephfs-nfs/post.yaml +++ b/playbooks/legacy/manila-tempest-minimal-dsvm-cephfs-nfs/post.yaml @@ -13,3 +13,16 @@ - --include=*/ - --exclude=* - --prune-empty-dirs + + - name: Copy ganesha config and logs + synchronize: + src: '{{ item.src }}' + dest: '{{ zuul.executor.log_root }}/{{ item.dest }}' + mode: pull + copy_links: true + verify_host: true + with_items: + - src: /etc/ganesha + dest: logs/etc/ + - src: /var/log/ganesha + dest: logs/ diff --git a/playbooks/legacy/manila-tempest-minimal-py35-dsvm-cephfs-nfs-centos-7/post.yaml b/playbooks/legacy/manila-tempest-minimal-py35-dsvm-cephfs-nfs-centos-7/post.yaml index e07f5510ae..514af465bd 100644 --- a/playbooks/legacy/manila-tempest-minimal-py35-dsvm-cephfs-nfs-centos-7/post.yaml +++ b/playbooks/legacy/manila-tempest-minimal-py35-dsvm-cephfs-nfs-centos-7/post.yaml @@ -13,3 +13,16 @@ - --include=*/ - --exclude=* - --prune-empty-dirs + + - name: Copy ganesha config and logs + synchronize: + src: '{{ item.src }}' + dest: '{{ zuul.executor.log_root }}/{{ item.dest }}' + mode: pull + copy_links: true + verify_host: true + with_items: + - src: /etc/ganesha + dest: logs/etc/ + - src: /var/log/ganesha + dest: logs/