]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
13 months agorbd-wnbd: wait for the disk cleanup to complete 57803/head
Lucian Petrut [Fri, 24 May 2024 10:03:11 +0000 (10:03 +0000)]
rbd-wnbd: wait for the disk cleanup to complete

The WNBD disk removal workflow is asynchronous, which is why we'll
need to wait for the cleanup to complete when stopping the service.

The "disconnect_all_mappings" function is moved to
RbdMappingDispatcher::stop, allowing us to access the mapping list
more easily and reject new mappings after a stop has been requested.

While at it, we'll log service stop requests.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
(cherry picked from commit 9136cbdecb520def4fdfbbf696e1802037cac510)

13 months agoMerge pull request #57791 from zdover23/wip-doc-2024-05-30-backport-57790-to-squid
Anthony D'Atri [Fri, 31 May 2024 01:24:31 +0000 (21:24 -0400)]
Merge pull request #57791 from zdover23/wip-doc-2024-05-30-backport-57790-to-squid

squid: doc/cephfs: edit front matter in mantle.rst

13 months agoMerge pull request #57466 from soumyakoduri/wip-skoduri-squid
Casey Bodley [Thu, 30 May 2024 13:55:08 +0000 (14:55 +0100)]
Merge pull request #57466 from soumyakoduri/wip-skoduri-squid

[Squid]rgw/cloud-transition: fix the crash with publish_commit

Reviewed-by: Casey Bodley <cbodley@redhat.com>
13 months agoMerge pull request #57376 from cbodley/wip-65888-squid
Casey Bodley [Thu, 30 May 2024 13:54:51 +0000 (14:54 +0100)]
Merge pull request #57376 from cbodley/wip-65888-squid

squid: rgw/beast: fix crash observed in SSL stream.async_shutdown()

Reviewed-by: Mark Kogan <mkogan@redhat.com>
13 months agoMerge pull request #57470 from yuvalif/wip-65996-squid
Casey Bodley [Thu, 30 May 2024 13:54:17 +0000 (14:54 +0100)]
Merge pull request #57470 from yuvalif/wip-65996-squid

squid: rgw/notification: start/stop endpoint managers in notification manager

Reviewed-by: Casey Bodley <cbodley@redhat.com>
13 months agodoc/cephfs: edit front matter in mantle.rst 57791/head
Zac Dover [Thu, 30 May 2024 13:28:56 +0000 (23:28 +1000)]
doc/cephfs: edit front matter in mantle.rst

Improve the structure and grammar of the front matter in the
doc/cephfs/mantle.rst file.

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

13 months agoMerge PR #57730 into squid
Patrick Donnelly [Thu, 30 May 2024 13:08:04 +0000 (09:08 -0400)]
Merge PR #57730 into squid

* refs/pull/57730/head:
squid: mds: remove unnecssary quiesce finisher variable
squid: mds: attach quiesce_path mdr to finisher at creation not dispatch
squid: mds/quiesce: disable quiesce root debug parameters by default
squid: mds/quiesce-agt: never send a synchronous ack
squid: mds/quiesce-agt: add test for a rapid async ack
squid: mds/quiesce: always abort fragmenting asynchronously to prevent reentrancy
squid: mds/quiesce: overdrive an export if it hasn't frozen the tree yet
squid: mds/quiesce: quiesce_inode should not hold on to remote auth pins
squid: qa/cephfs: check that a completed quiesce doesn't hold remote auth pins
squid: mds: add `--lifetime` parameter to the `lock path` asok command
squid: mds/quiesce: accept a regular file as the quiesce root
squid: mds: command_quiesce_path: rename `--wait` to `--await` for consistency
squid: mds: command_quiesce_path: do not block the asok thread and return an adequate rc
squid: mds/quiesce: drop remote authpins before waiting for the quiesce lock
squid: qa/cephfs/test_quiesce: test proper handling of remote authpins
squid: mds: don't clear `AUTHPIN_FROZEN` until `FROZEN` in rename_prep
squid: mds: enhance the `lock path` asok command
squid: mds/quiesce: overdrive fragmenting that's still freezing
squid: revert: mds: provide a mechanism to authpin while freezing
squid: qa/cephfs/test_quiesce: enhance the fragmentation test
squid: mds/queisce-db: collect acks while bootstrapping
squid: mds/quiesce-db: optimize peer updates
squid: mds/quiesce-db: track db epoch separately from the membership epoch
squid: mds/quiesce-db: test that a peer on a newer membership epoch can ack a root
squid: mds: don't stall the asok thread for flush commands
squid: qa/quiescer: relax some timing requirements in the quiescer
squid: qa/tasks/quiescer: dump ops in parallel
squid: qa/suites/fs: add quiescer to the fs suite
squid: qa/tasks: the quiescer task and a waiter task to test it
squid: qa/tasks/cephfs: don't create a new CephManager if there is one in the context
squid: qa/tasks: vstart_runner: introduce --config-mode
squid: qa/tasks: introduce ThrasherGreenlet
squid: qa: update quiesce tests to expect ipolicy lock
squid: mds: add missing policylock to test F_QUIESCE_BLOCK

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agoMerge pull request #57657 from rhcs-dashboard/wip-65994-squid
Avan [Thu, 30 May 2024 10:00:07 +0000 (15:30 +0530)]
Merge pull request #57657 from rhcs-dashboard/wip-65994-squid

squid: exporter: fix regex for rgw sync metrics

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
13 months agoMerge pull request #57757 from zdover23/wip-doc-2024-05-29-backport-57753-to-squid
Zac Dover [Wed, 29 May 2024 13:49:50 +0000 (23:49 +1000)]
Merge pull request #57757 from zdover23/wip-doc-2024-05-29-backport-57753-to-squid

squid: doc/dev: add note about intro of perf counters

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agosquid: mds: remove unnecssary quiesce finisher variable 57730/head
Patrick Donnelly [Wed, 27 Mar 2024 16:05:44 +0000 (12:05 -0400)]
squid: mds: remove unnecssary quiesce finisher variable

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit ed519f63f632e49fcb6f45bcf03e1022e17378b9)

13 months agosquid: mds: attach quiesce_path mdr to finisher at creation not dispatch
Patrick Donnelly [Wed, 27 Mar 2024 16:04:57 +0000 (12:04 -0400)]
squid: mds: attach quiesce_path mdr to finisher at creation not dispatch

No functional difference but this is cleaner.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 612b0957ee4eeda4f3b17ca5c3c2ca2346e8ec3d)

13 months agodoc/dev: add note about intro of perf counters 57757/head
Zac Dover [Tue, 28 May 2024 16:27:53 +0000 (02:27 +1000)]
doc/dev: add note about intro of perf counters

Add a note to the "perf counter" section of doc/dev/perf_counters.rst
that explains that this feature was introduced in the Reef release of
Ceph. This note will prevent us from accidentally backporting
perf-counter-related PRs to Quincy.

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

13 months agosquid: mds/quiesce: disable quiesce root debug parameters by default
Leonid Usov [Sun, 26 May 2024 11:33:55 +0000 (14:33 +0300)]
squid: mds/quiesce: disable quiesce root debug parameters by default

Fixes: https://tracker.ceph.com/issues/66225
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit a9cb3a581a309a99b72997ae5ddb88084f5484c9)
Fixes: https://tracker.ceph.com/issues/66255
13 months agosquid: mds/quiesce-agt: never send a synchronous ack
Leonid Usov [Sun, 26 May 2024 08:16:48 +0000 (11:16 +0300)]
squid: mds/quiesce-agt: never send a synchronous ack

Defer to the agent thread to perform all acking.
This avoids race conditions between the updating thread
and the acking thread.

Fixes: https://tracker.ceph.com/issues/66219
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 9a4c5853d1c2a353f72cd6358bbdedd93c4cc209)
Fixes: https://tracker.ceph.com/issues/66256
13 months agosquid: mds/quiesce-agt: add test for a rapid async ack
Leonid Usov [Sat, 25 May 2024 13:35:31 +0000 (16:35 +0300)]
squid: mds/quiesce-agt: add test for a rapid async ack

In this scenario, the agent thread is able to run and generate an ack
before the db_update call returns to the caller.

Fixes: https://tracker.ceph.com/issues/66219
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 4ab40ea0d3a366e3e2cb7bd7da8da9463b27eb25)
Fixes: https://tracker.ceph.com/issues/66256
13 months agosquid: mds/quiesce: always abort fragmenting asynchronously to prevent reentrancy
Leonid Usov [Thu, 23 May 2024 13:45:13 +0000 (16:45 +0300)]
squid: mds/quiesce: always abort fragmenting asynchronously to prevent reentrancy

Fixes: https://tracker.ceph.com/issues/66208
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit f24c0dca62590ddaf553ecae9405a52aa27ed613)
Fixes: https://tracker.ceph.com/issues/66257
13 months agosquid: mds/quiesce: overdrive an export if it hasn't frozen the tree yet
Leonid Usov [Mon, 20 May 2024 16:17:04 +0000 (19:17 +0300)]
squid: mds/quiesce: overdrive an export if it hasn't frozen the tree yet

Just like with the fragmenting, we should abort an ongoing export
if a quiesce is attempted for the directory.

To minimize the stress for the system, we only allow the abort
if the export hasn't yet managed to freeze the tree. If that is the case,
then quiesce will have to wait for the export to finish.

Fixes: https://tracker.ceph.com/issues/66123
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit da5c263b8e7797eac6c9d13d5b6a6b292d9c5def)
Fixes: https://tracker.ceph.com/issues/66259
13 months agosquid: mds/quiesce: quiesce_inode should not hold on to remote auth pins
Leonid Usov [Mon, 20 May 2024 22:03:15 +0000 (01:03 +0300)]
squid: mds/quiesce: quiesce_inode should not hold on to remote auth pins

1. avoid taking a remote authpin for the quiesce lock
2. drop remote authpins that were taken because of other locks

We should not be forcing a mustpin when taking quiesce lock.
This creates unnecessary overhead due to the distributed nature
of the quiesce: all ranks will execute quiesce_inode, including
the auth rank, which will authpin the inode.

Auth pinning on the auth rank is important to synchronize quiesce
with operations that are managed by the auth, like fragmenting
and exporting.

If we let a remote quiesce process take a foreign authpin then
it may block freezing on the auth, which will stall quiesce locally.
This wouldn't be a problem if the quiesce that is blocked on the auth
and the quiesce that's holding a remote authpin from the replica side
were unrelated, but in our case it may be the same logical quiesce
that effectively steps on its own toes. This creates an opportunity
for a deadlock.

Fixes: https://tracker.ceph.com/issues/66152
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit b1cb6d985622c6164d99d3fd79b6eeaf6530894c)
Fixes: https://tracker.ceph.com/issues/66258
13 months agosquid: qa/cephfs: check that a completed quiesce doesn't hold remote auth pins
Leonid Usov [Wed, 22 May 2024 11:46:50 +0000 (14:46 +0300)]
squid: qa/cephfs: check that a completed quiesce doesn't hold remote auth pins

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit e32fb12b8ea105cef82cf5b9304c28bc4dc8e7a5)
Fixes: https://tracker.ceph.com/issues/66258
13 months agosquid: mds: add `--lifetime` parameter to the `lock path` asok command
Leonid Usov [Wed, 22 May 2024 08:00:13 +0000 (11:00 +0300)]
squid: mds: add `--lifetime` parameter to the `lock path` asok command

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit c395c78e09f9b41088801dcea1fab1cd10b0ba00)
Fixes: https://tracker.ceph.com/issues/66258
13 months agosquid: mds/quiesce: accept a regular file as the quiesce root
Leonid Usov [Wed, 22 May 2024 09:19:08 +0000 (12:19 +0300)]
squid: mds/quiesce: accept a regular file as the quiesce root

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit f706ae8c2d1993ba11fe32f6cfa87154c7d2b39b)
Fixes: https://tracker.ceph.com/issues/66258
13 months agosquid: mds: command_quiesce_path: rename `--wait` to `--await` for consistency
Leonid Usov [Wed, 22 May 2024 18:35:51 +0000 (21:35 +0300)]
squid: mds: command_quiesce_path: rename `--wait` to `--await` for consistency

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit c20221574e4600d22dd3c0238647cc5671c8b43c)
Fixes: https://tracker.ceph.com/issues/66258
13 months agosquid: mds: command_quiesce_path: do not block the asok thread and return an adequate rc
Leonid Usov [Wed, 22 May 2024 11:45:09 +0000 (14:45 +0300)]
squid: mds: command_quiesce_path: do not block the asok thread and return an adequate rc

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit df546a4fba0d3851644ce1607340484409a3677d)
Fixes: https://tracker.ceph.com/issues/66258
13 months agoMerge pull request #57749 from zdover23/wip-doc-2024-05-29-backport-57732-to-squid
Zac Dover [Tue, 28 May 2024 16:20:56 +0000 (02:20 +1000)]
Merge pull request #57749 from zdover23/wip-doc-2024-05-29-backport-57732-to-squid

squid: doc/developer_guide: update doc about installing teuthology

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57742 from zdover23/wip-doc-2024-05-28-backport-57720-to-squid
Zac Dover [Tue, 28 May 2024 16:19:43 +0000 (02:19 +1000)]
Merge pull request #57742 from zdover23/wip-doc-2024-05-28-backport-57720-to-squid

squid: doc/cephfs: s/subvolumegroups/subvolume groups

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agosquid: mds/quiesce: drop remote authpins before waiting for the quiesce lock
Leonid Usov [Thu, 16 May 2024 14:11:19 +0000 (17:11 +0300)]
squid: mds/quiesce: drop remote authpins before waiting for the quiesce lock

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Fixes: https://tracker.ceph.com/issues/65802
(cherry picked from commit 5692f7f55ee44e0ab5a576909845549201d6c986)
Fixes: https://tracker.ceph.com/issues/66153
13 months agosquid: qa/cephfs/test_quiesce: test proper handling of remote authpins
Leonid Usov [Thu, 16 May 2024 13:52:14 +0000 (16:52 +0300)]
squid: qa/cephfs/test_quiesce: test proper handling of remote authpins

When a request is blocked on the quiesce lock, it should release
all remote authpins, especially those that make an inode AUTHPIN_FROZEN

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit bed8a47b802acc56d7953bb8781165cd1068ab83)
Fixes: https://tracker.ceph.com/issues/66154
13 months agosquid: mds: don't clear `AUTHPIN_FROZEN` until `FROZEN` in rename_prep
Leonid Usov [Sun, 12 May 2024 00:36:32 +0000 (03:36 +0300)]
squid: mds: don't clear `AUTHPIN_FROZEN` until `FROZEN` in rename_prep

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 86d6533351606a86978e117f127d29d63ea588ce)
Fixes: https://tracker.ceph.com/issues/66154
13 months agosquid: mds: enhance the `lock path` asok command
Leonid Usov [Sat, 11 May 2024 14:00:21 +0000 (17:00 +0300)]
squid: mds: enhance the `lock path` asok command

* when the quiesce lock is taken by this op, don't consider the inode `quiesced`
* drop all locks taken during traversal
* drop all local authpins after the locks are taken
* add --await functionality that will block the command until locks are taken or an error is encountered
* return the RC that represents the operation result. 0 if the operation was scheduled and hasn't failed so far
* add authpin control flags
** --ap-freeze - to auth_pin_freeze the target inode
** --ap-dont-block - to pass auth_pin_nonblocking when acquiring the target inode locks

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 3552fc5a9ea17c173a18be41fa15fbbae8d77edf)
Fixes: https://tracker.ceph.com/issues/66154
13 months agosquid: mds/quiesce: overdrive fragmenting that's still freezing
Leonid Usov [Thu, 9 May 2024 01:39:12 +0000 (04:39 +0300)]
squid: mds/quiesce: overdrive fragmenting that's still freezing

Quiesce requires revocation of capabilities,
which is not working for a freezing/frozen nodes.
Since it is best effort, abort an ongoing fragmenting
for the sake of a faster quiesce.

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Fixes: https://tracker.ceph.com/issues/65716
(cherry picked from commit 8b6440652d501644d641c1c8b3255c3720738ec6)
Fixes: https://tracker.ceph.com/issues/66154
13 months agosquid: revert: mds: provide a mechanism to authpin while freezing
Leonid Usov [Sun, 12 May 2024 16:19:34 +0000 (19:19 +0300)]
squid: revert: mds: provide a mechanism to authpin while freezing

This is a functional revert of a9964a7ccc4394f923fb0f1c76eb8fa03fe8733d
git revert was giving too many conflicts, as the code has changed
too much since the original commit.

The bypass freezing mechanism lead us into several deadlocks,
and when we found out that a freezing inode defers reclaiming
client caps, we realized that we needed to try a different approach.
This commit removes the bypass freezing related changes to clear way
for a different approach to resolving the conflict between quiesce
and freezing.

Fixes: https://tracker.ceph.com/issues/65716
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit bf760602a4f02cc07072db2da5cb987e3072afce)
Fixes: https://tracker.ceph.com/issues/66154
13 months agosquid: qa/cephfs/test_quiesce: enhance the fragmentation test
Leonid Usov [Thu, 2 May 2024 20:10:12 +0000 (23:10 +0300)]
squid: qa/cephfs/test_quiesce: enhance the fragmentation test

Repeatedly quiesce under a heavy balancer load

Fixes: https://tracker.ceph.com/issues/65716
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 2b2af17ae45d34eeddb2d31f791ed4f0af77672a)
Fixes: https://tracker.ceph.com/issues/66154
13 months agosquid: mds/queisce-db: collect acks while bootstrapping
Leonid Usov [Sun, 19 May 2024 21:54:59 +0000 (00:54 +0300)]
squid: mds/queisce-db: collect acks while bootstrapping

Keeping the acks that come in will allow processing them
immediately after the bootstrap is over, avoiding unnecessary
set state transitions.

Fixes: https://tracker.ceph.com/issues/66119
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit d6fb8755ca839ef5c1f94c3bc92a0e799c8f2d85)
Fixes: https://tracker.ceph.com/issues/66155
13 months agosquid: mds/quiesce-db: optimize peer updates
Leonid Usov [Mon, 13 May 2024 22:40:21 +0000 (01:40 +0300)]
squid: mds/quiesce-db: optimize peer updates

Prevent sending of the same version to the same peer more than once a second

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit eebf597b2193fd15ff80892570ebbe670acf0f53)
Fixes: https://tracker.ceph.com/issues/66070
13 months agosquid: mds/quiesce-db: track db epoch separately from the membership epoch
Leonid Usov [Mon, 13 May 2024 21:10:04 +0000 (00:10 +0300)]
squid: mds/quiesce-db: track db epoch separately from the membership epoch

Tracking the db epoch separately will make sure that replicas
only follow leader's epoch choice, even if they are already on
the new membership epoch. This eliminates races due to the
random order of mdsmap updates.

Fixes: https://tracker.ceph.com/issues/65977
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 379ef7196b61142dc7753992f897ad91b37f048f)
Fixes: https://tracker.ceph.com/issues/66070
13 months agosquid: mds/quiesce-db: test that a peer on a newer membership epoch can ack a root
Leonid Usov [Mon, 13 May 2024 15:14:32 +0000 (18:14 +0300)]
squid: mds/quiesce-db: test that a peer on a newer membership epoch can ack a root

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit f58f63c4aecc867dfe4fd68f04629e8e45f3e864)
Fixes: https://tracker.ceph.com/issues/66070
13 months agosquid: mds: don't stall the asok thread for flush commands
Leonid Usov [Mon, 6 May 2024 16:57:53 +0000 (19:57 +0300)]
squid: mds: don't stall the asok thread for flush commands

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Fixes: https://tracker.ceph.com/issues/65803
(cherry picked from commit a4dc88140071f9cdfe5654402067434728fee469)
Fixes: https://tracker.ceph.com/issues/66103
13 months agosquid: qa/quiescer: relax some timing requirements in the quiescer
Leonid Usov [Mon, 6 May 2024 16:57:32 +0000 (19:57 +0300)]
squid: qa/quiescer: relax some timing requirements in the quiescer

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Fixes: https://tracker.ceph.com/issues/65803
(cherry picked from commit ae6b388dd9c2ce389563c02a7acb1e369dd82bef)
Fixes: https://tracker.ceph.com/issues/66103
13 months agosquid: qa/tasks/quiescer: dump ops in parallel
Patrick Donnelly [Mon, 6 May 2024 18:02:02 +0000 (14:02 -0400)]
squid: qa/tasks/quiescer: dump ops in parallel

Since this --flags=locks takes the mds_lock and dumps thousands of ops, this
may take a long time to complete for each individual MDS. The entire quiesce
set may timeout (and all q ops killed) before we finish dumping ops.

Fixes: https://tracker.ceph.com/issues/65823
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 15f734ec6291bf918d704d7d3e6330b5606c47e3)
Fixes: https://tracker.ceph.com/issues/66103
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agosquid: qa/suites/fs: add quiescer to the fs suite
Leonid Usov [Sat, 23 Mar 2024 15:29:28 +0000 (08:29 -0700)]
squid: qa/suites/fs: add quiescer to the fs suite

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit d6f8d65423ff2d8167836152dddadce1a94134be)
Fixes: https://tracker.ceph.com/issues/66103
13 months agosquid: qa/tasks: the quiescer task and a waiter task to test it
Leonid Usov [Sat, 16 Mar 2024 15:42:11 +0000 (11:42 -0400)]
squid: qa/tasks: the quiescer task and a waiter task to test it

Fixes: https://tracker.ceph.com/issues/63669
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 7773c5db6312064b4247ac0311572e7bcd752140)
Fixes: https://tracker.ceph.com/issues/66103
13 months agosquid: qa/tasks/cephfs: don't create a new CephManager if there is one in the context
Leonid Usov [Thu, 25 Apr 2024 16:41:57 +0000 (19:41 +0300)]
squid: qa/tasks/cephfs: don't create a new CephManager if there is one in the context

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 329edd3c56baff81cb76c5008ac2eaf7c110f9e1)
Fixes: https://tracker.ceph.com/issues/66103
13 months agosquid: qa/tasks: vstart_runner: introduce --config-mode
Leonid Usov [Sat, 16 Mar 2024 15:41:47 +0000 (11:41 -0400)]
squid: qa/tasks: vstart_runner: introduce --config-mode

The new mode of the vstart_runner allows for passing
paths to yaml configs that will be merged and then
run just as the teuthology would do it.
Building on the standard run method we can even
pass "-" as the config name and provide one on the stdin like

    python3 ../qa/tasks/vstart_runner.py --config-mode "-" << END
    tasks:
      - quiescer:
          quiesce_factor: 0.5
          min_quiesce: 10
          max_quiesce: 10
          initial_delay: 5
          cancelations_cap: 2
          paths:
            - a
            - b
            - c
      - waiter:
          on_exit: 100
    END

This commit does the minimum to allow testing of the quiescer,
but it also lays the groundwork for running arbitrary configs.

The cornerstone of the approach is to inject our local implementations
of the main fs suite classes. To be able to do that, some minor
refactoring was required in the corresponding modules:
the standard classes were renamed to have a *Base suffix, and the
former class name without the suffix is made a module level variable
initialized with the *Base implementation. This refactoring
is meant to be backward compatible.

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 274849e544dd1f77158a2c80a4c654cb0363f71d)
Fixes: https://tracker.ceph.com/issues/66103
13 months agosquid: qa/tasks: introduce ThrasherGreenlet
Leonid Usov [Sat, 16 Mar 2024 15:39:51 +0000 (11:39 -0400)]
squid: qa/tasks: introduce ThrasherGreenlet

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit ed6e3f8a34f3e314d87a1fe38446d0176bc55aba)
Fixes: https://tracker.ceph.com/issues/66103
13 months agosquid: qa: update quiesce tests to expect ipolicy lock
Patrick Donnelly [Fri, 19 Apr 2024 23:32:27 +0000 (19:32 -0400)]
squid: qa: update quiesce tests to expect ipolicy lock

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 579b14c8675bd0eaff498320efe1b7001141e54e)
Fixes: https://tracker.ceph.com/issues/65740
13 months agosquid: mds: add missing policylock to test F_QUIESCE_BLOCK
Patrick Donnelly [Fri, 19 Apr 2024 23:29:44 +0000 (19:29 -0400)]
squid: mds: add missing policylock to test F_QUIESCE_BLOCK

In order to check an inode's F_QUIESCE_BLOCK, the quiesce_inode op must acquire
the policylock. Furthermore, to ensure the F_QUIESCE_BLOCK is not changed
during quiesce, the lock must be held for the duration of the op's lifetime.

Fixes: https://tracker.ceph.com/issues/65595
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 50613b5562469ad24ed0fc547cafcfdeef5be604)
Fixes: https://tracker.ceph.com/issues/65740
13 months agodoc/developer_guide: update doc about installing teuthology 57749/head
Rishabh Dave [Mon, 27 May 2024 19:37:35 +0000 (01:07 +0530)]
doc/developer_guide: update doc about installing teuthology

There are 2 more ways to install teuthology. Approach with boostrap
script is easier and more convenient while other approach is more
elaborate but manual, document both of them. Don't delete the currently
documented approach because it lets users install teuthology
conveniently in a custom virtual environment. So, keep all three.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 899c481d4006a1231354de6633fd2806aa4bd5d2)

13 months agodoc/cephfs: s/subvolumegroups/subvolume groups 57742/head
Zac Dover [Mon, 27 May 2024 11:09:40 +0000 (21:09 +1000)]
doc/cephfs: s/subvolumegroups/subvolume groups

Use the term "subvolume groups" instead of "subvolumegroups" where the
term appears in plain English. The string "subvolumegroups" is correct
in commands, and remains unchanged.

Also add formatting to command output, to make clearer that the output
is indeed output.

Fixes: https://github.com/ceph/ceph/pull/57574#discussion_r1606988766
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit b303417f653d149852e163bf3e2e3edf5c6b71a0)

13 months agoMerge pull request #57512 from Matan-B/wip-57088-squid
Matan Breizman [Tue, 28 May 2024 09:07:57 +0000 (12:07 +0300)]
Merge pull request #57512 from Matan-B/wip-57088-squid

squid: crimson/os/seastore: only update onode sizes when necessary

Reviewed-by: Samuel Just <sjust@redhat.com>
13 months agoMerge pull request #57719 from Matan-B/wip-56892-squid
Matan Breizman [Tue, 28 May 2024 08:14:12 +0000 (11:14 +0300)]
Merge pull request #57719 from Matan-B/wip-56892-squid

squid: crimson/osd/osd_operations/client_request: retrieve the correct version for objects to be recovered urgently

Reviewed-by: Samuel Just <sjust@redhat.com>
13 months agoMerge pull request #57661 from Matan-B/wip-57128-squid
Matan Breizman [Tue, 28 May 2024 08:13:34 +0000 (11:13 +0300)]
Merge pull request #57661 from Matan-B/wip-57128-squid

squid: crimson/os/seastore: misc cleanups and fixes

Reviewed-by: Samuel Just <sjust@redhat.com>
13 months agoMerge pull request #57660 from Matan-B/wip-57135-squid
Matan Breizman [Tue, 28 May 2024 08:13:08 +0000 (11:13 +0300)]
Merge pull request #57660 from Matan-B/wip-57135-squid

squid: crimson/os/seastore/transaction_manager: remove incorrect assertions

Reviewed-by: Samuel Just <sjust@redhat.com>
13 months agoMerge pull request #57728 from idryomov/wip-labeler-rbd-squid
Ilya Dryomov [Tue, 28 May 2024 07:25:53 +0000 (09:25 +0200)]
Merge pull request #57728 from idryomov/wip-labeler-rbd-squid

squid: .github: sync the list of paths for rbd label, expand tests label to qa/*

Reviewed-by: Ramana Raja <rraja@redhat.com>
13 months agoMerge pull request #57714 from rhcs-dashboard/dashboard-releasenotes-squid
Nizamudeen A [Tue, 28 May 2024 06:39:51 +0000 (12:09 +0530)]
Merge pull request #57714 from rhcs-dashboard/dashboard-releasenotes-squid

squid: doc: Update pendingreleasenotes for dashboard

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
13 months agoMerge pull request #57723 from zdover23/wip-doc-2024-05-27-backport-57628-to-squid
Anthony D'Atri [Mon, 27 May 2024 22:07:18 +0000 (18:07 -0400)]
Merge pull request #57723 from zdover23/wip-doc-2024-05-27-backport-57628-to-squid

squid: doc: document metrics exported by CephFS

13 months ago.github: expand tests label to all files under qa 57728/head
Ilya Dryomov [Thu, 23 May 2024 16:15:08 +0000 (18:15 +0200)]
.github: expand tests label to all files under qa

The test job definition under qa/suites is an integral part of almost
any test.  Often, the test logic is split between the task or workunit
and respective snippet(s) under qa/suites.

Other files under qa are less used, but still related to nothing but
testing, so just add the label on all of it.

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

13 months ago.github: sync the list of paths for rbd label with CODEOWNERS
Ilya Dryomov [Tue, 23 Apr 2024 11:00:08 +0000 (13:00 +0200)]
.github: sync the list of paths for rbd label with CODEOWNERS

With https://github.com/actions/labeler/issues/483 still pending, do it
manually.

A couple of entries matching both files and directories were expanded
since, unlike fnmatch(3), minimatch treats slashes specially:

- src/include/rbd* -> src/include/rbd* src/include/rbd/**
- src/rbd*         -> src/rbd* src/rbd*/**
- src/test/rbd*    -> src/test/rbd* src/test/rbd*/**

A bunch of entries under src/tools were combined into:

- src/tools/rbd*/**

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

13 months agoCODEOWNERS: assign ceph-rbd-mirror systemd service to RBD
Ilya Dryomov [Tue, 23 Apr 2024 10:57:49 +0000 (12:57 +0200)]
CODEOWNERS: assign ceph-rbd-mirror systemd service to RBD

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

13 months agodoc: document metrics exported by CephFS 57723/head
Jos Collin [Wed, 22 May 2024 12:40:24 +0000 (18:10 +0530)]
doc: document metrics exported by CephFS

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

13 months agoMerge pull request #57706 from zdover23/wip-doc-2024-05-26-backport-57393-to-squid
Zac Dover [Mon, 27 May 2024 11:00:34 +0000 (21:00 +1000)]
Merge pull request #57706 from zdover23/wip-doc-2024-05-26-backport-57393-to-squid

squid: doc/man: add missing long option switches

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agocrimson/osd/replicated_recovery_backend: assert that the object to be pulled has... 57719/head
Xuehan Xu [Mon, 15 Apr 2024 13:58:02 +0000 (21:58 +0800)]
crimson/osd/replicated_recovery_backend: assert that the object to be pulled has a valid recovery source

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
(cherry picked from commit 453db346383936e4d4640fce6c1f0bf132cb7992)

13 months agocrimson/osd/osd_operations/client_request: retrieve the correct version
Xuehan Xu [Mon, 15 Apr 2024 13:30:07 +0000 (21:30 +0800)]
crimson/osd/osd_operations/client_request: retrieve the correct version
for objects to be recovered urgently

PG::is_unreadable_object() can't guarantee that it'll set the parameter
"v", so CommonClientRequest::do_recover_missing() has to retrieve it by
itself

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
(cherry picked from commit 7743d33136e7e2431cca1c3929adba6cd386e773)

13 months agoMerge pull request #57600 from Matan-B/wip-56998-squid
Matan Breizman [Mon, 27 May 2024 10:17:19 +0000 (13:17 +0300)]
Merge pull request #57600 from Matan-B/wip-56998-squid

squid: crimson/osd/pg: only kick off snap trimming when PGs are clean

Reviewed-by: Samuel Just <sjust@redhat.com>
13 months agoMerge pull request #57596 from Matan-B/wip-56916-squid
Matan Breizman [Mon, 27 May 2024 10:15:18 +0000 (13:15 +0300)]
Merge pull request #57596 from Matan-B/wip-56916-squid

squid: crimson/osd/replicated_backend: misc fixes

Reviewed-by: Samuel Just <sjust@redhat.com>
13 months agodoc: Update pendingreleasenotes for dashboard 57714/head
Nizamudeen A [Tue, 21 May 2024 05:11:26 +0000 (10:41 +0530)]
doc: Update pendingreleasenotes for dashboard

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

13 months agoMerge pull request #57636 from rhcs-dashboard/wip-66174-squid
Avan [Sun, 26 May 2024 19:26:59 +0000 (00:56 +0530)]
Merge pull request #57636 from rhcs-dashboard/wip-66174-squid

squid: mgr/dashboard: add absolute path validation for pseudo path of nfs export

Reviewed-by: afreen23 <NOT@FOUND>
13 months agoexporter: fix regex for rgw sync metrics 57657/head
Avan Thakkar [Fri, 22 Mar 2024 21:52:53 +0000 (03:22 +0530)]
exporter: fix regex for rgw sync metrics

Fixes: https://tracker.ceph.com/issues/65091
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit d9d8cbeed5cb92a15727795ac5f63338e93d47a3)

13 months agoMerge pull request #57703 from zdover23/wip-doc-2024-05-26-backport-57701-to-squid
Anthony D'Atri [Sun, 26 May 2024 14:37:44 +0000 (10:37 -0400)]
Merge pull request #57703 from zdover23/wip-doc-2024-05-26-backport-57701-to-squid

squid: doc/cephfs: disambiguate two sentences

13 months agodoc/man: add missing long option switches 57706/head
Patrick Donnelly [Fri, 10 May 2024 14:09:16 +0000 (10:09 -0400)]
doc/man: add missing long option switches

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit ad710c1f9395917310046a810176fca37b286fab)

13 months agodoc/cephfs: disambiguate two sentences 57703/head
Zac Dover [Sat, 25 May 2024 08:41:03 +0000 (18:41 +1000)]
doc/cephfs: disambiguate two sentences

Rewrite two sentences so that they are unambgiuously in the indicative
mood and not, as they previously seemed, in the imperative mood.

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

13 months agoMerge pull request #57668 from zdover23/wip-doc-2024-05-24-backport-57554-to-squid
Zac Dover [Sat, 25 May 2024 07:16:28 +0000 (17:16 +1000)]
Merge pull request #57668 from zdover23/wip-doc-2024-05-24-backport-57554-to-squid

squid: doc/cephfs: separate commands into sections

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57665 from zdover23/wip-doc-2024-05-24-backport-57567-to-squid
Zac Dover [Sat, 25 May 2024 07:12:52 +0000 (17:12 +1000)]
Merge pull request #57665 from zdover23/wip-doc-2024-05-24-backport-57567-to-squid

squid: doc/cephfs: edit "Cloning Snapshots" in fs-volumes.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57662 from zdover23/wip-doc-2024-05-24-backport-57574-to-squid
Zac Dover [Sat, 25 May 2024 07:08:07 +0000 (17:08 +1000)]
Merge pull request #57662 from zdover23/wip-doc-2024-05-24-backport-57574-to-squid

squid: doc/cephfs: edit "Pinning Subvolumes..."

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57646 from zdover23/wip-doc-2024-05-23-backport-57633-to-squid
Zac Dover [Sat, 25 May 2024 07:07:18 +0000 (17:07 +1000)]
Merge pull request #57646 from zdover23/wip-doc-2024-05-23-backport-57633-to-squid

squid: doc: clarify use of location: in host spec

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Adam King <adking@redhat.com>
13 months agoMerge pull request #57653 from petrutlucian94/wip-66204-squid
Ilya Dryomov [Thu, 23 May 2024 20:14:57 +0000 (22:14 +0200)]
Merge pull request #57653 from petrutlucian94/wip-66204-squid

squid: qa: add ceph-rbd windows service restart test

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
13 months agoMerge pull request #57643 from zdover23/wip-doc-2024-05-23-backport-57642-to-squid
Zac Dover [Thu, 23 May 2024 15:05:46 +0000 (01:05 +1000)]
Merge pull request #57643 from zdover23/wip-doc-2024-05-23-backport-57642-to-squid

squid: doc/dev/release-process.rst: note new 'project' arguments

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agodoc/cephfs: separate commands into sections 57668/head
Zac Dover [Mon, 20 May 2024 06:29:44 +0000 (16:29 +1000)]
doc/cephfs: separate commands into sections

Separate commands so that each command has its own subsection in the
section "FS Subvolumes" in the file doc/cephfs/fs-volumes.rst.
Previously, the list of commands for manipulating subvolumes was one
long, unbroken list and the beginning of one section could easily be
mistaken for the end of the previous section.

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

13 months agodoc/cephfs: edit "Cloning Snapshots" in fs-volumes.rst 57665/head
Zac Dover [Mon, 20 May 2024 11:55:16 +0000 (21:55 +1000)]
doc/cephfs: edit "Cloning Snapshots" in fs-volumes.rst

Edit the "Cloning Snapshots" section in doc/cephfs/fs-volumes.rst. This
commit represents only a grammar pass. A future commit (and future PR)
will separate this section into subsections by command.

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

13 months agodoc/cephfs: edit "Pinning Subvolumes..." 57662/head
Zac Dover [Mon, 20 May 2024 15:07:14 +0000 (01:07 +1000)]
doc/cephfs: edit "Pinning Subvolumes..."

Edit the section "Pinning Subvolumes and Subvolume Groups" in
doc/cephfs/fs-volumes.rst. This is merely a grammar edit.

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

13 months agocrimson/os/seastore: drop the impossible error eagain 57661/head
Yingxin Cheng [Mon, 29 Apr 2024 03:39:44 +0000 (11:39 +0800)]
crimson/os/seastore: drop the impossible error eagain

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
(cherry picked from commit 2a4b2e7d1401da185f59e2f73bf7b52fb8094a89)

13 months agocrimson/os/seastore/extent_placement_manager: make reserve and block atomic
Yingxin Cheng [Mon, 29 Apr 2024 03:03:02 +0000 (11:03 +0800)]
crimson/os/seastore/extent_placement_manager: make reserve and block atomic

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
(cherry picked from commit 71461dafdfb59df8e385f9b276576564cfeddb02)

13 months agocrimson/os/seastore: improve seastore_t logs
Yingxin Cheng [Mon, 29 Apr 2024 02:46:11 +0000 (10:46 +0800)]
crimson/os/seastore: improve seastore_t logs

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
(cherry picked from commit 72472625e40e10558ab5f1a6d43ceb3d41edfcfd)

13 months agocrimson/os/seastore: add logs for background
Yingxin Cheng [Fri, 26 Apr 2024 07:59:55 +0000 (15:59 +0800)]
crimson/os/seastore: add logs for background

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
(cherry picked from commit 86041f1a3f639a4779c476aee1e32c0d35800c8e)

13 months agotest/crimson/gtest_seastar: add logs
Yingxin Cheng [Fri, 26 Apr 2024 06:23:28 +0000 (14:23 +0800)]
test/crimson/gtest_seastar: add logs

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
(cherry picked from commit f9352acca26872abe90039f5444386e704b68a90)

13 months agotest/crimson/gtest_seastar: cleanups
Yingxin Cheng [Fri, 26 Apr 2024 06:21:38 +0000 (14:21 +0800)]
test/crimson/gtest_seastar: cleanups

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
(cherry picked from commit 49cd76bebb8cd883476ebe3c665bef9f64a6fc4c)

13 months agocrimson/os/seastore/transaction_manager: remove incorrect assertions 57660/head
Xuehan Xu [Mon, 29 Apr 2024 08:56:09 +0000 (16:56 +0800)]
crimson/os/seastore/transaction_manager: remove incorrect assertions

Indirect mappings always hold the checksums of the corresponding intermediate
mappings, which may have non-zero

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
(cherry picked from commit fca8efca527f44db63df068751f9e6c8bdc939e2)

13 months agoMerge pull request #57599 from Matan-B/wip-55449-squid
Matan Breizman [Thu, 23 May 2024 14:07:26 +0000 (17:07 +0300)]
Merge pull request #57599 from Matan-B/wip-55449-squid

squid: crimson/os/seastore: support extent checksum verification

Reviewed-by: Samuel Just <sjust@redhat.com>
13 months agoMerge pull request #57515 from Matan-B/wip-56806-squid
Matan Breizman [Thu, 23 May 2024 14:06:36 +0000 (17:06 +0300)]
Merge pull request #57515 from Matan-B/wip-56806-squid

squid: crimson/osd/pg_recovery: backoff if the recovery/backfill is deferred

Reviewed-by: Samuel Just <sjust@redhat.com>
13 months agoMerge pull request #57598 from Matan-B/wip-57035-squid
Matan Breizman [Thu, 23 May 2024 10:32:56 +0000 (13:32 +0300)]
Merge pull request #57598 from Matan-B/wip-57035-squid

squid: test/crimson/seastore/test_object_data_handler: remap pins through the transaction that created the pins

Reviewed-by: Samuel Just <sjust@redhat.com>
13 months agoMerge pull request #57597 from Matan-B/wip-56025-squid
Matan Breizman [Thu, 23 May 2024 10:32:40 +0000 (13:32 +0300)]
Merge pull request #57597 from Matan-B/wip-56025-squid

squid: crimson/osd/osd_operations/client_requests: we don't support rados locator keys

Reviewed-by: Samuel Just <sjust@redhat.com>
13 months agoqa: update rbd-wnbd test, using MBR instead of GPT 57653/head
Lucian Petrut [Wed, 2 Aug 2023 13:08:01 +0000 (13:08 +0000)]
qa: update rbd-wnbd test, using MBR instead of GPT

We're getting the following error while initializing 64MB disks
on WS 2019: "The disk is not large enough to support a GPT
partition style.".

For this reason, we'll use MBR instead.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
(cherry picked from commit 8d294f948a78d7f98392fe2a3bf123f583eb9757)

13 months agoqa: add ceph-rbd windows service restart test
Lucian Petrut [Thu, 12 Jan 2023 10:55:06 +0000 (12:55 +0200)]
qa: add ceph-rbd windows service restart test

We're adding a test that:

* maps a configurable number of images
* runs a specified test - we're reusing the ones from stress_test,
  making just a few minor changes to allow running the same test
  multiple times
* restarts the ceph-rbd Windows service
* waits for the images to be reconnected and refreshes the mount
  information
* reruns the test
* repeats the above workflow for a specified number of times,
  reusing the same images

This test ensures that:

* mounted images are still available after a service restart
* drive letters are retained
* the image content is retained
* there are no race conditions when connecting or disconnecting
  a large number of images in parallel
* the driver is capable of mapping a specified number of images
  simultaneously

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
(cherry picked from commit d6d36b535c86618aa754298f724854a6fde31140)

13 months agoqa: reorganize Windows python test
Lucian Petrut [Tue, 10 Jan 2023 14:50:04 +0000 (16:50 +0200)]
qa: reorganize Windows python test

We're splitting the rbd-wnbd python test into separate files so
that the common code may easily be reused by other tests. This
also makes the code easier to read and maintain.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
(cherry picked from commit 808d42d575c97b6d0db0e6c6d88ee5fda97fe1b1)

13 months agodoc: clarify use of location: in host spec 57646/head
Matthew Vernon [Wed, 22 May 2024 15:31:33 +0000 (16:31 +0100)]
doc: clarify use of location: in host spec

It wasn't clear that you can specify more than one element of the CRUSH hierarchy in a spec file, nor that it might be useful to do so (e.g. to ensure the host ends up beneath the default root).

So update the text to make it clearer, and similarly the example.

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
(cherry picked from commit 2366391ccec0fb6d8a1c159d6e3cdf5ff4f1d603)

13 months agodoc/dev/release-process.rst: note new 'project' arguments 57643/head
Dan Mick [Wed, 22 May 2024 22:25:51 +0000 (15:25 -0700)]
doc/dev/release-process.rst: note new 'project' arguments

Support added to the release scripts (from ceph-build.git) to
work for ceph-iscsi, so 'project' must be passed to these scripts,
and will appear in the prerelease pathnames.  See also
https://github.com/ceph/ceph-build/pull/2243 and
https://github.com/ceph/ceph-container/pull/2210

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 7e64c6386e3571c657e0889ef12449e5b43f751a)

13 months agoMerge PR #57342 into squid
Patrick Donnelly [Thu, 23 May 2024 00:58:23 +0000 (20:58 -0400)]
Merge PR #57342 into squid

* refs/pull/57342/head:
PendingReleaseNotes: add note on the client incompatibility health warning and feature bit
doc/cephfs: add client_mds_auth_caps client feature bit
doc/cephfs: add missing client feature bits
doc/cephfs: document MDS_CLIENTS_BROKEN_ROOTSQUASH health error
qa: add tests for MDS_CLIENTS_BROKEN_ROOTSQUASH
mds: raise health warning if client lacks feature for root_squash
mon/MDSMonitor: add note about missing metadata inclusion
mds: check relevant caps for fs include root_squash
mds: refactor out fs_name match in MDSAuthCaps
qa: test for root_squash with multiple caps
qa: pass kwargs to mount from remount
qa: simplify update_attrs and only update relevant keys
client: allow overriding client features

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
13 months agoMerge PR #57340 into squid
Patrick Donnelly [Wed, 22 May 2024 18:22:01 +0000 (14:22 -0400)]
Merge PR #57340 into squid

* refs/pull/57340/head:
qa: make quiesce ops dump world readable
qa: use specific ops/cache dump file names

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
13 months agoMerge PR #57179 into squid
Patrick Donnelly [Wed, 22 May 2024 18:21:18 +0000 (14:21 -0400)]
Merge PR #57179 into squid

* refs/pull/57179/head:
mds: encode flags for all inode types
qa: test file inode with F_QUIESCE_BLOCK is replicated

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
13 months agoMerge PR #57176 into squid
Patrick Donnelly [Wed, 22 May 2024 18:20:46 +0000 (14:20 -0400)]
Merge PR #57176 into squid

* refs/pull/57176/head:
mds: move drop_locks to directly after rdonly check
qa: test quiesce.block is replicated
qa: test that ceph.dir.subvolume is replicated properly
mds: add debug "lock path" command
qa: move reqid_tostr helper
qa: return run_shell process for waiters

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
13 months agoMerge PR #57175 into squid
Patrick Donnelly [Wed, 22 May 2024 18:20:19 +0000 (14:20 -0400)]
Merge PR #57175 into squid

* refs/pull/57175/head:
qa: extend rank 1 lockup for test_quiesce_authpin_wait

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>