From 550cb60732b33a4625c6aef80f7d9f1315a03492 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 2679c2345401b..06dc8eb748229 100644 --- a/qa/tasks/ceph.conf.template +++ b/qa/tasks/ceph.conf.template @@ -91,6 +91,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