From: Casey Bodley Date: Thu, 12 Sep 2019 17:02:36 +0000 (-0400) Subject: qa/keystone: save keystone config to archive dir X-Git-Tag: v15.1.0~1525^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=392d7461419d7819eebda71d1ec47d321ee93306;p=ceph.git qa/keystone: save keystone config to archive dir Signed-off-by: Casey Bodley --- diff --git a/qa/tasks/keystone.py b/qa/tasks/keystone.py index 07a858887fbd5..a86137e970403 100644 --- a/qa/tasks/keystone.py +++ b/qa/tasks/keystone.py @@ -184,6 +184,11 @@ def configure_instance(ctx, config): '-e', 's^#log_file =.*^log_file = {}^'.format(log_file), '-i', 'etc/keystone.conf' ]) + # copy the config to archive + run_in_keystone_dir(ctx, client, [ + 'cp', 'etc/keystone.conf', + '{}/archive/keystone.{}.conf'.format(teuthology.get_testdir(ctx), client) + ]) # prepare key repository for Fetnet token authenticator run_in_keystone_dir(ctx, client, [ 'mkdir', '-p', keyrepo_dir ])