]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 months agomgr/dashboard: fix NVMeoF API 55685/head
Ernesto Puerta [Wed, 13 Mar 2024 13:06:10 +0000 (14:06 +0100)]
mgr/dashboard: fix NVMeoF API

* Update NVMe-oF gRPC Proto to 1.0.0
* Error handling,
* Missing PATCH for certain namespace ops (resize, set QoS, set balance
  groups),
* Stop bypassing gRPC payloads and validate those in the back-end,
* Fix incorrect HTTP 1.1 semantics for some POST/DELETE and URIs.
* Catch errors/exceptions.
* Clean-up EndpointDoc Params
* Run Black linter.
* Remove most of NVMeoFClient glue code between gRPC and controller.
* Fix namespace delete endpoint by exposing trsvcid
* nvmeof io_stats support

Fixes: https://tracker.ceph.com/issues/64890
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit 4adf48998d97f8199bcb86c8d8994bb5989c198a)

15 months agomgr/dashboard: fix nvmeof api documentation
Nizamudeen A [Tue, 5 Mar 2024 10:39:25 +0000 (16:09 +0530)]
mgr/dashboard: fix nvmeof api documentation

From Aviv:
POST /api/nvmeof/hosts - the description of the command it wrong IMO. It is not about creating a host. It is about allowing a host X to access subsystem Y.
GET /api/nvmeof/hosts/{subsystem_nqn} - also the description is not accurate. The command lists all hosts that are allowed to access this subsystem.
DELETE /api/nvmeof/hosts/{subsystem_nqn}/{host_nqn} - again the description should be changed as above.
POST /api/nvmeof/namespace - bad formatting of the description
GET /api/nvmeof/subsystem - the description is wrong, should say - "List all NVMeoF subsystems". And it shouldn't get any param.
POST /api/nvmeof/subsystem - few issues here. The serial_number, and max_namespaces are optional (we need to mention that). Also it is missing the --enable-ha argument that is also optional.
Some commands are missing: log_level, connection.i

Fixes: https://tracker.ceph.com/issues/64714
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit e87a9f15af52925d8988805b65a9b12c2a88b164)

15 months agomgr/dashboard: listener addr is always none
Nizamudeen A [Wed, 28 Feb 2024 06:21:22 +0000 (11:51 +0530)]
mgr/dashboard: listener addr is always none

Even if the traddr is passed from the API, it gets overriden by the None
hard-coded in the code.

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 226117a5ac99486fda8208e6a49db097c6667264)

15 months agomgr/dashboard: update nvmeof protoc to 1.0.0
Nizamudeen A [Mon, 12 Feb 2024 06:11:32 +0000 (11:41 +0530)]
mgr/dashboard: update nvmeof protoc to 1.0.0

Fixes: https://tracker.ceph.com/issues/64384
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 3f067b480dcb9f783907ab938bf0f83b5fba5af2)

15 months agoMerge pull request #56018 from vshankar/wip-64755-squid
Venky Shankar [Mon, 25 Mar 2024 04:40:51 +0000 (10:10 +0530)]
Merge pull request #56018 from vshankar/wip-64755-squid

squid: qa: ignore container checkpoint/restore related selinux denials for centos9

Reviewed-by: Yuri Weinstein <yuriw@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
15 months agoMerge pull request #56418 from rhcs-dashboard/wip-65077-squid
Nizamudeen A [Mon, 25 Mar 2024 04:39:18 +0000 (10:09 +0530)]
Merge pull request #56418 from rhcs-dashboard/wip-65077-squid

squid: Snapshot schedule show subvolume path

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
15 months agoMerge pull request #56425 from zdover23/wip-doc-2024-08-24-backport-56367-to-squid
Anthony D'Atri [Sun, 24 Mar 2024 13:27:16 +0000 (09:27 -0400)]
Merge pull request #56425 from zdover23/wip-doc-2024-08-24-backport-56367-to-squid

squid: doc/start: improve MDS explanation

15 months agoMerge pull request #56409 from zdover23/wip-doc-2024-03-23-backport-56377-to-squid
Zac Dover [Sun, 24 Mar 2024 07:32:06 +0000 (17:32 +1000)]
Merge pull request #56409 from zdover23/wip-doc-2024-03-23-backport-56377-to-squid

squid: doc/start: link to mon map command

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
15 months agodoc/start: improve MDS explanation 56425/head
Zac Dover [Thu, 21 Mar 2024 12:48:10 +0000 (22:48 +1000)]
doc/start: improve MDS explanation

Remove a prolix "on behalf of" and streamline some sentences explaining
the benefits of MDS.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 2da1812a1de7e32395cb95c2e0ebeea689c1b810)

15 months agomgr/dashboard: show full subvol path snap schedule 56418/head
Ivo Almeida [Wed, 20 Mar 2024 10:35:52 +0000 (10:35 +0000)]
mgr/dashboard: show full subvol path snap schedule

Show full subvolume path when adding snap schedule

Fixes: https://tracker.ceph.com/issues/65000
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
(cherry picked from commit b6dbf0f24d189d5b75148f07f1dc7f332d23b64a)

15 months agoMerge pull request #56388 from rhcs-dashboard/wip-64960-squid
Ivo Almeida [Fri, 22 Mar 2024 19:30:24 +0000 (19:30 +0000)]
Merge pull request #56388 from rhcs-dashboard/wip-64960-squid

squid: mgr/dashboard: fixed nfs attach command

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
15 months agodoc/start: link to mon map command 56409/head
Zac Dover [Thu, 21 Mar 2024 22:12:16 +0000 (08:12 +1000)]
doc/start: link to mon map command

Link to the "ceph mon stat" command when "Intro to Ceph" document first
mentions Monitor Maps.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 5d300db825316db25706111bbe577d41d41ab4b3)

15 months agoMerge pull request #56214 from rhcs-dashboard/applitools-disable-squid
Nizamudeen A [Fri, 22 Mar 2024 16:11:22 +0000 (21:41 +0530)]
Merge pull request #56214 from rhcs-dashboard/applitools-disable-squid

squid: mgr/dashboard: disable applitools e2e

Reviewed-by: ivoalmeida <NOT@FOUND>
15 months agoMerge PR #56202 into squid
Patrick Donnelly [Fri, 22 Mar 2024 15:36:40 +0000 (11:36 -0400)]
Merge PR #56202 into squid

* refs/pull/56202/head:
mds/quiesce-db: keep the db thread alive until shutdown
mds/quiesce-db: incorporate review comments
mds/quiesce: declare QuiesceDbPeerListing and QuiesceDbPeerAck
mds/quiesce: resolve the quiesce cluster at the mds monitor
include/types: add an I/O helper for std::unordered_map
messages: avoid using mutable members in MMDSQuiesce*
mds/quiesce-db: incorporate review comments
doc/cephfs/fs-volumes: doc fixes and updates
pybind/mgr: correct type hints for `get_quiesce_leader_info`
mds/quiesce: only use ACTIVE daemons for the quiesce cluster
mds,messages: quiesce db inter-rank messaging
mds/quiesce: MDSRankQuiesce - integration of the quiesce db manager
doc/cephfs/fs-volumes: Add info about the quiesce command
doc: fixes for local dev builds
mgr/volumes: support for `fs subvolume quiesce`
mgr/volumes: use `volume_exception_to_retval` as a decorator
pybind/mgr: add a `one-shot` parameter to send_command
mds/quiesce: QuiesceAgent implementation and unit tests
mds/quiesce: QuiesceDb.h and QuiesceDbManager with tests
common/Timer.cc: improve debug messages from the timer_thread
mds: MDSRank.cc: return status from `send_message_mds`
encoding: add emplace variants for map dencoders
common/Cond: make C_SaferCond private members protected to facilitate inheritance
qa/tasks/cephfs: give the tests more time to run heavy fs workloads

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
15 months agomgr/dashboard: fixed nfs attach command 56388/head
Ivo Almeida [Thu, 14 Mar 2024 16:14:25 +0000 (16:14 +0000)]
mgr/dashboard: fixed nfs attach command

Fixes: https://tracker.ceph.com/issues/64933
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
(cherry picked from commit db724a8fef183f6f5200bc0e93428a19c69d1342)

15 months agoMerge pull request #56365 from rhcs-dashboard/wip-65037-squid
Nizamudeen A [Fri, 22 Mar 2024 10:14:11 +0000 (15:44 +0530)]
Merge pull request #56365 from rhcs-dashboard/wip-65037-squid

squid: mgr/dashboard: fix M retention frequency display

Reviewed-by: Nizamudeen A <nia@redhat.com>
15 months agoMerge pull request #56371 from rhcs-dashboard/wip-65047-squid
Ivo Almeida [Fri, 22 Mar 2024 09:41:11 +0000 (09:41 +0000)]
Merge pull request #56371 from rhcs-dashboard/wip-65047-squid

squid: mgr/dashboard: fix retention add for subvolume

Reviewed-by: afreen23 <NOT@FOUND>
16 months agomgr/dashboard: fix retention add for subvolume 56371/head
Ivo Almeida [Wed, 21 Feb 2024 13:02:19 +0000 (13:02 +0000)]
mgr/dashboard: fix retention add for subvolume

- Added parameters for subvolume and subvolume group when adding a new
snap schedule.
- Added call to remove retention policies when removing a snap schedule
  in case it is the last one with same path

Fixes: https://tracker.ceph.com/issues/64524
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
(cherry picked from commit 80e1207f4b536fe6edbc81e61cbf951e135eba54)

16 months agomgr/dashboard: fix M retention frequency display 56365/head
Ivo Almeida [Tue, 19 Mar 2024 13:13:17 +0000 (13:13 +0000)]
mgr/dashboard: fix M retention frequency display

Fix snap schedule list monthly retention frequency display

Fixes: https://tracker.ceph.com/issues/64982
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
(cherry picked from commit 0bd8d3b6bc8ecbe99e22545549a63de3444e5f75)

16 months agoMerge pull request #56339 from zdover23/wip-doc-2024-03-20-backport-56333-to-squid
Zac Dover [Thu, 21 Mar 2024 02:03:17 +0000 (12:03 +1000)]
Merge pull request #56339 from zdover23/wip-doc-2024-03-20-backport-56333-to-squid

squid: doc/cephfs: fix architecture link to correct relative path

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
16 months agoMerge pull request #56267 from zdover23/wip-doc-2024-08-19-backport-56240-to-squid
Zac Dover [Thu, 21 Mar 2024 02:02:53 +0000 (12:02 +1000)]
Merge pull request #56267 from zdover23/wip-doc-2024-08-19-backport-56240-to-squid

squid: doc/rados: update common.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
16 months agoMerge pull request #56210 from joscollin/wip-64918-squid
Yuri Weinstein [Wed, 20 Mar 2024 15:55:46 +0000 (08:55 -0700)]
Merge pull request #56210 from joscollin/wip-64918-squid

squid: qa: enhance labeled perf counters test for cephfs-mirror

Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agoMerge pull request #56051 from lxbsz/wip-64585
Yuri Weinstein [Wed, 20 Mar 2024 15:54:03 +0000 (08:54 -0700)]
Merge pull request #56051 from lxbsz/wip-64585

squid: mds: allow lock state to be LOCK_MIX_SYNC in replica for filelock

Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agoMerge pull request #56030 from vshankar/wip-64617-squid
Yuri Weinstein [Wed, 20 Mar 2024 15:51:18 +0000 (08:51 -0700)]
Merge pull request #56030 from vshankar/wip-64617-squid

squid: mds: check file layout in mknod

Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agoMerge pull request #56017 from vshankar/wip-64758-squid
Yuri Weinstein [Wed, 20 Mar 2024 15:46:49 +0000 (08:46 -0700)]
Merge pull request #56017 from vshankar/wip-64758-squid

squid: mds: relax certain asserts in mdlog replay thread

Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agoMerge pull request #55997 from dparmar18/wip-64741-squid
Yuri Weinstein [Wed, 20 Mar 2024 15:46:08 +0000 (08:46 -0700)]
Merge pull request #55997 from dparmar18/wip-64741-squid

squid: client: do not proceed with I/O if filehandle is invalid

Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agoMerge pull request #55989 from joscollin/wip-64744-squid
Yuri Weinstein [Wed, 20 Mar 2024 15:45:32 +0000 (08:45 -0700)]
Merge pull request #55989 from joscollin/wip-64744-squid

squid: mds: fix `dump dir` indicate dir is not cached

Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agoMerge pull request #55940 from neesingh-rh/wip-64701-squid
Yuri Weinstein [Wed, 20 Mar 2024 15:44:50 +0000 (08:44 -0700)]
Merge pull request #55940 from neesingh-rh/wip-64701-squid

squid: mgr/volumes: support to reject CephFS clones if cloner threads are not available

Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agoMerge pull request #55830 from kotreshhr/wip-64583-squid
Yuri Weinstein [Wed, 20 Mar 2024 15:24:13 +0000 (08:24 -0700)]
Merge pull request #55830 from kotreshhr/wip-64583-squid

squid: qa: Fix fs/full suite

Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agoMerge pull request #55805 from anoopcs9/wip-64566-squid
Yuri Weinstein [Wed, 20 Mar 2024 15:23:28 +0000 (08:23 -0700)]
Merge pull request #55805 from anoopcs9/wip-64566-squid

squid: client: Fix return in removexattr for xattrs from `system.` namespace

Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agodoc/cephfs: fix architecture link to correct relative path 56339/head
molpako [Wed, 20 Mar 2024 09:43:42 +0000 (18:43 +0900)]
doc/cephfs: fix architecture link to correct relative path

Signed-off-by: molpako <35787116+molpako@users.noreply.github.com>
(cherry picked from commit ceeb1ca4b38dc307e493b04a59d5d07fed23971f)

16 months agoMerge pull request #56253 from rhcs-dashboard/wip-64929-squid
Pedro Gonzalez Gomez [Wed, 20 Mar 2024 07:47:25 +0000 (08:47 +0100)]
Merge pull request #56253 from rhcs-dashboard/wip-64929-squid

squid: mgr/dashboard: ceph authenticate user from fs

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
16 months agoMerge pull request #56229 from adk3798/squid-docs-typo-replace-osd
Adam King [Tue, 19 Mar 2024 20:55:36 +0000 (16:55 -0400)]
Merge pull request #56229 from adk3798/squid-docs-typo-replace-osd

squid: doc: cephadm/services/osd: fix typo

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
16 months agoMerge pull request #55927 from ajarr/wip-64669-squid
Ilya Dryomov [Tue, 19 Mar 2024 13:47:57 +0000 (14:47 +0100)]
Merge pull request #55927 from ajarr/wip-64669-squid

squid: qa: add diff-continuous and compare-mirror-image tests to rbd and krbd suites respectively

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
16 months agoMerge pull request #56194 from vshankar/wip-64924-squid
Venky Shankar [Tue, 19 Mar 2024 13:21:28 +0000 (18:51 +0530)]
Merge pull request #56194 from vshankar/wip-64924-squid

squid: mds: disable `defer_client_eviction_on_laggy_osds' by default

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
16 months agoqa/suites: add diff-continuous and compare-mirror-image tests 55927/head
Ramana Raja [Thu, 29 Feb 2024 17:12:19 +0000 (12:12 -0500)]
qa/suites: add diff-continuous and compare-mirror-image tests

... to rbd and krbd suites respectively.

This allows the compare-mirror-image tests introduced in ea3a567
to be run against various kernel branches, e.g., testing branch.
And allows diff_continuous test in rbd_suite to run against distro
kernel.

Fixes: https://tracker.ceph.com/issues/64574
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 92b254138dd43755490392ffcf5ebca04872e116)

16 months agoqa/suites/rbd: rename nbd folder to device folder
Ramana Raja [Thu, 29 Feb 2024 16:55:08 +0000 (11:55 -0500)]
qa/suites/rbd: rename nbd folder to device folder

Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit af43f6162464a20625319a2783a104f7032ba21e)

16 months agodoc/rados: update common.rst 56267/head
Zac Dover [Sun, 17 Mar 2024 09:27:11 +0000 (19:27 +1000)]
doc/rados: update common.rst

Clarify some overwritten paragraphs in
doc/rados/configuration/common.rst. Cf.
https://github.com/ceph/ceph/pull/50795/files#r1153897231.

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 233b670704d15c3a69b8d91885b60f3fb101ec58)

16 months agoMerge pull request #56261 from zdover23/wip-doc-2024-03-19-backport-56247-to-squid
Zac Dover [Mon, 18 Mar 2024 17:39:03 +0000 (03:39 +1000)]
Merge pull request #56261 from zdover23/wip-doc-2024-03-19-backport-56247-to-squid

squid: docs/rbd: fix typo in arg name

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
16 months agodocs/rbd: fix typo in arg name 56261/head
N Balachandran [Mon, 18 Mar 2024 04:02:39 +0000 (09:32 +0530)]
docs/rbd: fix typo in arg name

Replace "{image-}" with "{image-id}" in the "rbd trash rm"
command description.

Signed-off-by: N Balachandran <nibalach@redhat.com>
(cherry picked from commit f3eb489520fd4fae057e61275d16c6c8fd596f3f)

docs/rbd: replace introspect with inspect

Replace "introspect" with "inspect" in the rbd basic commands
description.

Signed-off-by: N Balachandran <nibalach@redhat.com>
(cherry picked from commit ebf2f60f784728c04d8ec59015d666bafcef8218)

docs/rbd: typo in "retrieving image information"

Replace "for the image" with "of the image".

Signed-off-by: N Balachandran <nibalach@redhat.com>
(cherry picked from commit 4fd5c134536d652ae1f9e05ecf52cb81adb3b850)

16 months agoMerge pull request #56255 from zdover23/wip-doc-2024-03-18-backport-56248-to-squid
Anthony D'Atri [Mon, 18 Mar 2024 14:05:49 +0000 (10:05 -0400)]
Merge pull request #56255 from zdover23/wip-doc-2024-03-18-backport-56248-to-squid

squid: doc/rbd: minor changes to the rbd man page

16 months agodoc/rbd: minor changes to the rbd man page 56255/head
N Balachandran [Mon, 18 Mar 2024 12:22:47 +0000 (17:52 +0530)]
doc/rbd: minor changes to the rbd man page

Fixes typos and grammar for some commands. Adds
additional details for some commandds.

Signed-off-by: N Balachandran <nibalach@redhat.com>
(cherry picked from commit 5dcff6a4b8d835fc55e454af977dc5ebad99d37f)

16 months agoMerge pull request #56251 from guits/wip-64931-squid
Guillaume Abrioux [Mon, 18 Mar 2024 10:38:23 +0000 (11:38 +0100)]
Merge pull request #56251 from guits/wip-64931-squid

squid: node-proxy: fix RedFishClient.logout() method

16 months agomgr/dashboard: ceph authenticate user from fs 56253/head
Pedro Gonzalez Gomez [Fri, 1 Mar 2024 12:43:12 +0000 (13:43 +0100)]
mgr/dashboard: ceph authenticate user from fs

Fixes: https://tracker.ceph.com/issues/64660
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 19a9f79b5f218d8cb757579bf8c0f5d610dde3a8)

16 months agonode-proxy: support more Location value formats 56251/head
Guillaume Abrioux [Fri, 15 Mar 2024 14:20:29 +0000 (14:20 +0000)]
node-proxy: support more Location value formats

After some tests, it turns out that depending on the hardware,
the header 'Location' which is returned by the server after logged can be different.
I could notice the following:

either:

Location: scheme://address:port/redfish/v1/SessionService/Session

or

Location: /redfish/v1/SessionService/Session

a previous tracker [1] was opened because I thought only the first one existed, which is wrong.

Fixes: https://tracker.ceph.com/issues/64951
[1] https://tracker.ceph.com/issues/64894

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit d7ccf26983c41344a12f33b2a30fc79b65cc548f)

16 months agonode-proxy: fix RedFishClient.logout() method
Guillaume Abrioux [Wed, 13 Mar 2024 13:32:59 +0000 (13:32 +0000)]
node-proxy: fix RedFishClient.logout() method

the endpoint passed down to util.query() is wrong:
is passes the full url (scheme://addr:port/path) where it should only
pass the path. The cause is that RedFishClient.login() basically stores
the value of the Location header in `self.location`.

The consequence of this is that it makes the client unable to properly logout.

Fixes: https://tracker.ceph.com/issues/64894
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit b1d828d1d2f31c02f225bb375d915353582d158a)

16 months agoMerge pull request #56125 from cbodley/wip-64834-squid
Casey Bodley [Sun, 17 Mar 2024 14:34:57 +0000 (14:34 +0000)]
Merge pull request #56125 from cbodley/wip-64834-squid

squid: RGW - Swift retarget needs bucket set on object

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
16 months agoMerge pull request #56144 from cbodley/wip-64876-squid
Casey Bodley [Sun, 17 Mar 2024 14:34:32 +0000 (14:34 +0000)]
Merge pull request #56144 from cbodley/wip-64876-squid

squid: rgw_lc:  replace strftime w/fmt and chrono:calendar

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
16 months agoMerge pull request #56156 from yuvalif/wip-64887-squid
Casey Bodley [Sun, 17 Mar 2024 14:34:08 +0000 (14:34 +0000)]
Merge pull request #56156 from yuvalif/wip-64887-squid

squid: rgw/kafka: set message timeout to 5 seconds

Reviewed-by: Casey Bodley <cbodley@redhat.com>
16 months agoMerge pull request #56181 from ivancich/wip-64909-squid
Casey Bodley [Sun, 17 Mar 2024 14:33:47 +0000 (14:33 +0000)]
Merge pull request #56181 from ivancich/wip-64909-squid

squid: rgw: rgw-restore-bucket-index -- sort uses specified temp dir

Reviewed-by: Michael Kidd <linuxkidd@gmail.com>
16 months agoMerge pull request #56216 from idryomov/wip-63770-squid
Ilya Dryomov [Sat, 16 Mar 2024 18:41:57 +0000 (19:41 +0100)]
Merge pull request #56216 from idryomov/wip-63770-squid

squid: librbd: account for discards that truncate in ObjectListSnapsRequest

Reviewed-by: Ramana Raja <rraja@redhat.com>
16 months agoMerge pull request #55761 from ajarr/wip-64553-squid
Ilya Dryomov [Sat, 16 Mar 2024 18:07:05 +0000 (19:07 +0100)]
Merge pull request #55761 from ajarr/wip-64553-squid

squid: qa: Add tests to validate synced images on rbd-mirror

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
16 months agoMerge pull request #56234 from zdover23/wip-doc-2024-03-16-backport-56182-to-squid
Anthony D'Atri [Sat, 16 Mar 2024 01:32:47 +0000 (21:32 -0400)]
Merge pull request #56234 from zdover23/wip-doc-2024-03-16-backport-56182-to-squid

squid: doc/glossary: add "librados" entry

16 months agodoc/glossary: add "librados" entry 56234/head
Zac Dover [Thu, 14 Mar 2024 06:29:09 +0000 (16:29 +1000)]
doc/glossary: add "librados" entry

Add a "librados" entry to the glossary.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 2a93a8e837a42559f8a81c6fd9274b24f4fdf7f6)

16 months agodoc: cephadm/services/osd: fix typo 56229/head
Lorenz Bausch [Wed, 13 Mar 2024 16:26:51 +0000 (17:26 +0100)]
doc: cephadm/services/osd: fix typo

Signed-off-by: Lorenz Bausch <info@lorenzbausch.de>
(cherry picked from commit d513f1ca69d38f0d7eb40a2d68275caed322cc68)

16 months agoMerge pull request #55715 from cbodley/wip-64541-squid
Casey Bodley [Fri, 15 Mar 2024 14:27:23 +0000 (14:27 +0000)]
Merge pull request #55715 from cbodley/wip-64541-squid

squid: rgw: RGWSI_SysObj_Cache::remove() invalidates after successful delete

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
16 months agorgwlc: implement Filter size limit checks 56144/head
Matt Benjamin [Tue, 24 Oct 2023 21:59:34 +0000 (17:59 -0400)]
rgwlc: implement Filter size limit checks

i.e., this implements ObjectSizeGreaterThan and ObjectSizeLessThan
for supported expiration and transition actions.

Fixes: https://tracker.ceph.com/issues/63304
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit c9b19be15362c63526e92f4d968f942a40cab150)

16 months agorgwlc: implement NewerNoncurrentVersions
Matt Benjamin [Mon, 23 Oct 2023 18:57:33 +0000 (14:57 -0400)]
rgwlc: implement NewerNoncurrentVersions

Per AWS doc, this value controls "how many noncurrent versions
Amazon S3 will retain." [1]  We understand this to mean, retain
NewerNoncurrentVersions of any object, regardless of expiration.

Removed unused RGWLifecycleConfiguration::has_same_action() (cleanup)

[1] https://docs.aws.amazon.com/AmazonS3/latest/API/API_NoncurrentVersionExpiration.html.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit a4313e77a31c5165254068b53dfac3d277b0a6a8)

16 months agoMerge pull request #56207 from zdover23/wip-doc-2024-03-15-backport-56188-to-squid
Zac Dover [Fri, 15 Mar 2024 11:03:48 +0000 (21:03 +1000)]
Merge pull request #56207 from zdover23/wip-doc-2024-03-15-backport-56188-to-squid

squid: doc/rbd: add clone mapping command

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
16 months agomgr/dashboard: disable applitools e2e 56214/head
Nizamudeen A [Thu, 7 Mar 2024 08:43:54 +0000 (14:13 +0530)]
mgr/dashboard: disable applitools e2e

Temporarily disabling this so the CI could turn green. Meanwhile I'll
research for a proper way to handle the applitools e2es which I'll track
on https://tracker.ceph.com/issues/64783

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 09c50063a3763fc5d29f604a9daeb844252a31da)

16 months agotest/librbd: add DiffIterateTruncate and DiffIterateWriteAndTruncate 56216/head
Ilya Dryomov [Tue, 5 Mar 2024 20:05:22 +0000 (21:05 +0100)]
test/librbd: add DiffIterateTruncate and DiffIterateWriteAndTruncate

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit d84485ec534ccf42327242a9141906f4881c030e)

16 months agolibrbd: don't clip expanded diff on truncate in ObjectListSnapsRequest
Ilya Dryomov [Wed, 28 Feb 2024 13:20:16 +0000 (14:20 +0100)]
librbd: don't clip expanded diff on truncate in ObjectListSnapsRequest

If the diff was expanded due to LIST_SNAPS_FLAG_WHOLE_OBJECT, clipping
it when handling a truncate is wrong -- when subtracting that interval,
we either split the expanded extent into two or chop off a piece of it.
However the point of LIST_SNAPS_FLAG_WHOLE_OBJECT is to report a single
extent covering the entire object.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 0ebca5fe22d976f1a17f8078f20a47c49a057edb)

16 months agolibrados/snap_set_diff: ignore truncates above size at start
Ilya Dryomov [Sun, 18 Feb 2024 10:46:15 +0000 (11:46 +0100)]
librados/snap_set_diff: ignore truncates above size at start

Because currently calc_snap_set_diff() only ever appends to the running
diff, an excessive (either too large or completely bogus) zero extent
is reported in cases where an object is first expanded (with a snapshot
taken at that point) and then truncated but still above the size of the
object as of the starting snapshot.

Fixes: https://tracker.ceph.com/issues/63770
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 5b11fb314abefea390c5663c33e9e1ace6179974)

16 months agoMerge pull request #56155 from rhcs-dashboard/wip-64884-squid
Ivo Almeida [Fri, 15 Mar 2024 10:03:08 +0000 (10:03 +0000)]
Merge pull request #56155 from rhcs-dashboard/wip-64884-squid

squid: mgr/dashboard: fix snap schedule time format

Reviewed-by: Nizamudeen A <nia@redhat.com>
16 months agomgr/vol: don't import IndexException since it's unused 55940/head
Rishabh Dave [Mon, 4 Mar 2024 11:41:21 +0000 (17:11 +0530)]
mgr/vol: don't import IndexException since it's unused

Introduced-by: 079f722c37ef6cc8bd3cc26c49ae119dd83431f9
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit b4c1d552aa4066efdda3493192927cb780693469)

16 months agodoc/rbd: add clone mapping command 56207/head
Zac Dover [Thu, 14 Mar 2024 08:37:23 +0000 (18:37 +1000)]
doc/rbd: add clone mapping command

Add a command that explains how to map a formatted clone when the parent
image and the formatted clone have different encryption types.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit d34c1879c8886ec7f19c7a93490c4736ae9a6d20)

16 months agoMerge pull request #56185 from zdover23/wip-doc-2024-03-14-backport-56160-to-squid
Zac Dover [Thu, 14 Mar 2024 19:44:55 +0000 (05:44 +1000)]
Merge pull request #56185 from zdover23/wip-doc-2024-03-14-backport-56160-to-squid

squid: doc/rbd: add map information for clone images to rbd-encryption.rst

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
16 months agomds/quiesce-db: keep the db thread alive until shutdown 56202/head
Leonid Usov [Wed, 6 Mar 2024 16:06:50 +0000 (18:06 +0200)]
mds/quiesce-db: keep the db thread alive until shutdown

With the change we can now avoid having to join it during the membership update, preventing potential deadlocks

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 8b896a9e145796119f0451201dc4d53ddac97db0)

16 months agomds/quiesce-db: incorporate review comments
Leonid Usov [Sun, 3 Mar 2024 22:45:07 +0000 (00:45 +0200)]
mds/quiesce-db: incorporate review comments

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 3e012f7ba5b8871d1bcf74d402c58553e18835dd)

16 months agomds/quiesce: declare QuiesceDbPeerListing and QuiesceDbPeerAck
Leonid Usov [Thu, 29 Feb 2024 12:08:18 +0000 (14:08 +0200)]
mds/quiesce: declare QuiesceDbPeerListing and QuiesceDbPeerAck

With these dedicated structs we can fully defer to QuiesceDbEncoding
when encoding/decoding quiesce db messages

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 205fd3388ef0ed3011bb21384e79b34b6a6611ec)

16 months agomds/quiesce: resolve the quiesce cluster at the mds monitor
Leonid Usov [Wed, 28 Feb 2024 13:11:17 +0000 (15:11 +0200)]
mds/quiesce: resolve the quiesce cluster at the mds monitor

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 759925748e8be355a743f6edd106052d5a026dfd)

16 months agoinclude/types: add an I/O helper for std::unordered_map
Leonid Usov [Wed, 28 Feb 2024 12:41:13 +0000 (14:41 +0200)]
include/types: add an I/O helper for std::unordered_map

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 42a5fb3b7562dac09dbf4575558820297317965e)

16 months agomessages: avoid using mutable members in MMDSQuiesce*
Leonid Usov [Tue, 27 Feb 2024 21:25:20 +0000 (23:25 +0200)]
messages: avoid using mutable members in MMDSQuiesce*

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 2fbe40e72e8352a3bf47190d7bc8c80bb60eb7bd)

16 months agomds/quiesce-db: incorporate review comments
Leonid Usov [Tue, 27 Feb 2024 11:36:16 +0000 (13:36 +0200)]
mds/quiesce-db: incorporate review comments

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 9846d35a2ca0fc68c0464657616d259b19273b79)

16 months agodoc/cephfs/fs-volumes: doc fixes and updates
Leonid Usov [Mon, 26 Feb 2024 11:33:18 +0000 (13:33 +0200)]
doc/cephfs/fs-volumes: doc fixes and updates

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 629ffe1d317558a85d59d09e59f0ff117d71338e)

16 months agopybind/mgr: correct type hints for `get_quiesce_leader_info`
Leonid Usov [Thu, 15 Feb 2024 17:16:53 +0000 (19:16 +0200)]
pybind/mgr: correct type hints for `get_quiesce_leader_info`

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 12d687bd4447687f34a43f637f16af72131189da)

16 months agomds/quiesce: only use ACTIVE daemons for the quiesce cluster
Leonid Usov [Thu, 15 Feb 2024 13:15:09 +0000 (15:15 +0200)]
mds/quiesce: only use ACTIVE daemons for the quiesce cluster

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 7e42824478ea24f588dabfaa8e317a99a0cee8cc)

16 months agomds,messages: quiesce db inter-rank messaging
Leonid Usov [Thu, 8 Feb 2024 12:07:28 +0000 (14:07 +0200)]
mds,messages: quiesce db inter-rank messaging

Fixes: https://tracker.ceph.com/issues/63708
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 82f3dbc3ef7b577219f8e1cfaeae4009a809029e)

16 months agomds/quiesce: MDSRankQuiesce - integration of the quiesce db manager
Leonid Usov [Thu, 30 Nov 2023 14:42:22 +0000 (16:42 +0200)]
mds/quiesce: MDSRankQuiesce - integration of the quiesce db manager

* create an instance of the QuiesceDbManager in the rank
* update membership with a new mdsmap
* add an admin socket command for sending requests to the manager

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit edf4bce948477ebd57eaeb9eecdd4beae6a2c6a7)

16 months agodoc/cephfs/fs-volumes: Add info about the quiesce command
Leonid Usov [Mon, 8 Jan 2024 13:08:26 +0000 (15:08 +0200)]
doc/cephfs/fs-volumes: Add info about the quiesce command

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 09e08ac6a43005b09598d936b1faccd15be85067)

16 months agodoc: fixes for local dev builds
Leonid Usov [Mon, 8 Jan 2024 15:37:20 +0000 (17:37 +0200)]
doc: fixes for local dev builds

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 88fb668938f051b723c518a7faa6aa759bc39829)

16 months agomgr/volumes: support for `fs subvolume quiesce`
Leonid Usov [Thu, 4 Jan 2024 17:52:44 +0000 (19:52 +0200)]
mgr/volumes: support for `fs subvolume quiesce`

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit d151876d5bf34bbd7aff2cd8ce6dd2e1dffbc414)

16 months agomgr/volumes: use `volume_exception_to_retval` as a decorator
Leonid Usov [Thu, 4 Jan 2024 17:51:32 +0000 (19:51 +0200)]
mgr/volumes: use `volume_exception_to_retval` as a decorator

When used as a decorator, it saves one indented try-catch block inside the decorated method.
This can be applied to most of the methods in the file, subject to a separate refactoring commit

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 78afc6136118e14e2cf6a5651bfe11777c9881a4)

16 months agopybind/mgr: add a `one-shot` parameter to send_command
Leonid Usov [Sun, 21 Jan 2024 17:37:52 +0000 (19:37 +0200)]
pybind/mgr: add a `one-shot` parameter to send_command

with the parameter set, the message won't be held on to when the remote end resets
or fails to reconnect.

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 9907efd0132197feed4b7cc4e7c17a7ec9104a47)

16 months agomds/quiesce: QuiesceAgent implementation and unit tests
Leonid Usov [Sun, 26 Nov 2023 11:29:11 +0000 (13:29 +0200)]
mds/quiesce: QuiesceAgent implementation and unit tests

QuiesceAgent is the layer that converts updates from the QuiesceDb
into calls to the QuiesceProtocol APIs, and then sends async acks
back to the db manager following the quiesce protocol events.

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 3de0882ad36d4f08f2f171b1ffd263da5a78f00f)

16 months agomds/quiesce: QuiesceDb.h and QuiesceDbManager with tests
Leonid Usov [Tue, 31 Oct 2023 12:46:55 +0000 (14:46 +0200)]
mds/quiesce: QuiesceDb.h and QuiesceDbManager with tests

Quiesce DB is one of the components of the "Consistent Snapshots" epic.
The solution is discussed in a slide deck available for viewing to @redhat users:
https://docs.google.com/presentation/d/1wE3-e9AAme7Q3qmeshUSthJoQGw7-fKTrtS9PsdAIVo/edit?usp=sharing

This commit is focusing on the replicated quiesce database maintained by the MDS rank cluster.
One of the major goals was to design the component in a way that can be easily tested
outside of the MDS infrastructure, which is why the communication layer
has been asbtracted out by introducing just two communication callbacks
that will need to be implemented by the infrastructure.

The most of the component code is delivered in a single coherent commit, along with the uint tests.
Other commits will be dedicated to integration with the MDS infrastructure and other changes
that can't be attributed to the core quiesce db code or its tests.

The quiesce db component is composed of the following major parts/actors:

* QuiesceDbManager is the main actor, implementing both the leader and the replica roles.
  Normally, there will be an instance of the manager per MDS rank, although given the
  decoupling of the infrastructure and the manager, one can run any number of instances
  on a single node, which is how test are working.
* The manager interfaces to the infrastructure via two main APIs with the infrastructure
  that provides communication and cluster configuration (actor 2) and the quiesce db
  client that is responsible for the quiescing of the roots (actor 3)
** ClusterMembership is how manager is configured to be part of a (virtual) cluster.
   This structure will deliver information about other peers, the leader and provide
   two communication APIs: send_listing_to for db replication from the leader to replicas
   and send_ack for reporting quiesce success from the agents.
** Client Interface consists of a QuisceMap notify callback and a dedicated manager
   method to submit asynchronous acks following the agent (rank) quiesce progress.

The API of the quiesce db is described in the slide deck mentioned above. The full scope
of capabilities are encapsulated in a single QuiesceDbRequest structure. This should
simplify the implementation of other components that will have to propagate the functionality
to the administrator user of the volumes plugin.

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 0e61c44238ef5ec1d2b0406600a4ce981b07f87a)

16 months agocommon/Timer.cc: improve debug messages from the timer_thread
Leonid Usov [Mon, 22 Jan 2024 12:37:44 +0000 (14:37 +0200)]
common/Timer.cc: improve debug messages from the timer_thread

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit c1c884212f45b387ba54215b6f12545572066ce2)

16 months agomds: MDSRank.cc: return status from `send_message_mds`
Leonid Usov [Thu, 8 Feb 2024 12:06:30 +0000 (14:06 +0200)]
mds: MDSRank.cc: return status from `send_message_mds`

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 60cd6d117163ffc635ebe9577bf4748d757efcee)

16 months agoencoding: add emplace variants for map dencoders
Leonid Usov [Thu, 8 Feb 2024 11:39:31 +0000 (13:39 +0200)]
encoding: add emplace variants for map dencoders

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 641279c4d0feb1fd18fe0544e40c86c4b0ada38a)

16 months agocommon/Cond: make C_SaferCond private members protected to facilitate inheritance
Leonid Usov [Sun, 3 Dec 2023 08:49:19 +0000 (10:49 +0200)]
common/Cond: make C_SaferCond private members protected to facilitate inheritance

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 71f12805055996d01599023f1caa09a2c95cedc8)

16 months agoqa/tasks/cephfs: give the tests more time to run heavy fs workloads
Leonid Usov [Tue, 24 Oct 2023 13:13:43 +0000 (16:13 +0300)]
qa/tasks/cephfs: give the tests more time to run heavy fs workloads

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit eff0a1d2aeab269e57b2bcf9e9bef48ffa6b5d07)

16 months agomds: disable `defer_client_eviction_on_laggy_osds' by default 56194/head
Venky Shankar [Mon, 4 Mar 2024 13:23:53 +0000 (18:53 +0530)]
mds: disable `defer_client_eviction_on_laggy_osds' by default

This config can result in a single client holding up mds to service
other clients since once a client is deferred from eviction due to
laggy OSD(s), a new clients cap acquire request can be possibly
blocked until the other laggy client resumes operation, i.e., when
the laggy OSD is considered non-laggy anymore.

Disable the config by default till the issue is fixed.

Fixes: http://tracker.ceph.com/issues/64685
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 109de8bdab86e1adaad580d9e7322c18fa01bc09)

16 months agoqa: enhance labeled perf counters test for cephfs-mirror 56210/head
Jos Collin [Thu, 29 Feb 2024 10:50:03 +0000 (16:20 +0530)]
qa: enhance labeled perf counters test for cephfs-mirror

Implements checks for labeled perf counters in the appropriate tests.
This patch verifies snaps_synced, snaps_renamed, snaps_deleted and sync_failures metrics are
updated correctly based on the tests.

Fixes: https://tracker.ceph.com/issues/64486
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 7b7e5d4221389ce077780450d78a4a1e6a3d0a43)

16 months agodoc/rbd: add map information for clone images to rbd-encryption.rst 56185/head
N Balachandran [Wed, 13 Mar 2024 11:57:49 +0000 (17:27 +0530)]
doc/rbd: add map information for clone images to rbd-encryption.rst

Add information on the arguments required when mapping the
formatted clone of an encrypted parent image.

Co-authored-by: Zac Dover <zac.dover@proton.me>
Signed-off-by: N Balachandran <nibalach@redhat.com>
(cherry picked from commit 7a2e324a6e1c3e145d3b1e04e6f006defbe0e0b4)

16 months agorgw: rgw-restore-bucket-index -- sort uses specified temp dir 56181/head
J. Eric Ivancich [Mon, 11 Mar 2024 21:19:40 +0000 (17:19 -0400)]
rgw: rgw-restore-bucket-index -- sort uses specified temp dir

The sort command sometimes makes use of temporary files. When the user
specifies a directory to be used for temp files, have the sort command
use that same directory.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit a14dad152c651ab8048f9e10898d4d2cc61b0d42)

16 months agorgw/kafka: set message timeout to 5 seconds 56156/head
Yuval Lifshitz [Tue, 5 Mar 2024 10:14:06 +0000 (10:14 +0000)]
rgw/kafka: set message timeout to 5 seconds

also increase the idle timeout to 30 seconds.
test instructions:
https://gist.github.com/yuvalif/33487bff19883e3409caa8a843a0b353

Fixes: https://tracker.ceph.com/issues/64710
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit 1c13850f24dbb90c33a12c6da338956c2e83811b)

16 months agomgr/dashboard: fix snap schedule time format 56155/head
Ivo Almeida [Mon, 11 Mar 2024 15:09:57 +0000 (15:09 +0000)]
mgr/dashboard: fix snap schedule time format

Fixes: https://tracker.ceph.com/issues/64831
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
(cherry picked from commit a2942f01ae9bde76c6d562374a0bd8aceeee317e)

16 months agoMerge pull request #56116 from rhcs-dashboard/wip-64825-squid
Nizamudeen A [Wed, 13 Mar 2024 06:21:50 +0000 (11:51 +0530)]
Merge pull request #56116 from rhcs-dashboard/wip-64825-squid

squid: mgr/dashboard: fix snap schedule list toggle cols

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
16 months agoMerge pull request #56043 from cbodley/wip-64795-squid
Casey Bodley [Wed, 13 Mar 2024 01:49:22 +0000 (01:49 +0000)]
Merge pull request #56043 from cbodley/wip-64795-squid

squid: rgw: compatibility issues on BucketPublicAccessBlock

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
16 months agorgw_lc: replace strftime w/fmt and chrono:calendar
Matt Benjamin [Mon, 19 Feb 2024 14:01:48 +0000 (09:01 -0500)]
rgw_lc:  replace strftime w/fmt and chrono:calendar

It's reliably claimed that std::strftime is not
mt-safe, and this would be a likely root cause of
intermittent scrambled expiration header output cases
that have been reported.

Fixes: https://tracker.ceph.com/issues/63973
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 96a5cbb9aa47ed1a2b51e720475ebc08012cb4cc)