From 7cafa1652f7ffee9198c4ea8c7fef06d0ff93a4e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 5 Apr 2021 13:08:30 -0500 Subject: [PATCH] qa/tasks/ceph.conf: shorten cephx TTL for testing Rotate tickets frequently to exercise those code paths during testing. Signed-off-by: Sage Weil (cherry picked from commit 94df76244798cdc0bafd74c9e5197adb5aa990c0) --- qa/tasks/ceph.conf.template | 4 ++++ qa/tasks/cephadm.conf | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/qa/tasks/ceph.conf.template b/qa/tasks/ceph.conf.template index 8619817cf75bd..d6826c39f8440 100644 --- a/qa/tasks/ceph.conf.template +++ b/qa/tasks/ceph.conf.template @@ -90,6 +90,10 @@ mon osd prime pg temp = true mon reweight min bytes per osd = 10 + # rotate auth tickets quickly to exercise renewal paths + auth mon ticket ttl = 660 # 11m + auth service ticket ttl = 240 # 4m + [client] rgw cache enabled = true rgw enable ops log = true diff --git a/qa/tasks/cephadm.conf b/qa/tasks/cephadm.conf index a6cbb28c0eb0a..fe394cbfe6e8d 100644 --- a/qa/tasks/cephadm.conf +++ b/qa/tasks/cephadm.conf @@ -73,6 +73,10 @@ mon osd reporter subtree level = osd mon osd prime pg temp = true mon reweight min bytes per osd = 10 +# rotate auth tickets quickly to exercise renewal paths +auth mon ticket ttl = 660 # 11m +auth service ticket ttl = 240 # 4m + [client.rgw] rgw cache enabled = true rgw enable ops log = true -- 2.39.5