]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/workunits/rbd: preserve devstack configuration files
authorJason Dillaman <dillaman@redhat.com>
Tue, 23 May 2017 20:32:42 +0000 (16:32 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 27 Jun 2017 16:48:11 +0000 (12:48 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
qa/workunits/rbd/run_devstack_tempest.sh

index 30319704806992b849266d7cca10335c4d57ce7f..5cf898b6cb0be05997f6af9880e7c7f88bb52f0d 100755 (executable)
@@ -16,6 +16,11 @@ cleanup() {
   # ensure teuthology can clean up the logs
   [ -d ${STACK_LOG_PATH} ] && chmod -R a+rwx ${STACK_LOG_PATH}
 
+  mkdir ${STACK_LOG_PATH}/etc
+  cp -dpr /etc/cinder ${STACK_LOG_PATH}/etc || true
+  cp -dpr /etc/glance ${STACK_LOG_PATH}/etc || true
+  cp -dpr /etc/nova ${STACK_LOG_PATH}/etc || true
+
   # kill all OpenStack services
   if [ -d ${STACK_OPT_PATH}/devstack ]; then
     cd ${STACK_OPT_PATH}/devstack