]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
12 months agomds: set the correct WRLOCK flag always in wrlock_force() 58497/head
Xiubo Li [Thu, 25 Apr 2024 04:06:25 +0000 (12:06 +0800)]
mds: set the correct WRLOCK flag always in wrlock_force()

The wrlock is not like the xlock, which needs to be acquired in
the CInode's auth always, and it is based on the CDir's auths instead.

When a remote_wrlock is acquired and the local MDS will add a lock
item and marks it as REMOTE_WRLOCK. And later when the local MDS try
to force wrlock in the emplace_lock() will just return the existing
lock item without updating the WRLOCK flag. So when cleaning the
requests later it will just release the remote locks and then removes
lock items directly, which will miss releasing the local wrlock
reference.

Fixes: https://tracker.ceph.com/issues/65630
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 9a6f249b96faed085a7dea251b0fd81a28330025)

12 months agoMerge pull request #58489 from zdover23/wip-doc-2024-07-10-backport-58484-to-reef
Zac Dover [Wed, 10 Jul 2024 00:27:03 +0000 (10:27 +1000)]
Merge pull request #58489 from zdover23/wip-doc-2024-07-10-backport-58484-to-reef

reef: doc: Correct link to "Device management"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agoMerge pull request #58469 from zdover23/wip-doc-2024-07-09-backport-58454-to-reef
Zac Dover [Wed, 10 Jul 2024 00:26:42 +0000 (10:26 +1000)]
Merge pull request #58469 from zdover23/wip-doc-2024-07-09-backport-58454-to-reef

reef: doc/cephfs: fix typo

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agodoc: Correct link to "Device management" 58489/head
Matthew Vernon [Tue, 9 Jul 2024 16:02:31 +0000 (17:02 +0100)]
doc: Correct link to "Device management"

The current link goes to `cephadm/services/rados/operations/devices` which is a 404, it instead needs to be `rados/operations/devices/`.

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

12 months agodoc/cephfs: fix typo 58469/head
spdfnet [Mon, 8 Jul 2024 08:03:28 +0000 (09:03 +0100)]
doc/cephfs: fix typo

blanacer -> balancer

Signed-off-by: spdfnet <32593931+spdfnet@users.noreply.github.com>
(cherry picked from commit d94f90b757189e269882523178a401cd4411a946)

12 months agoMerge pull request #58207 from idryomov/wip-66300-reef
Yuri Weinstein [Mon, 8 Jul 2024 19:26:11 +0000 (12:26 -0700)]
Merge pull request #58207 from idryomov/wip-66300-reef

reef: librbd: disallow group snap rollback if memberships don't match

Reviewed-by: Ramana Raja <rraja@redhat.com>
12 months agoMerge pull request #58345 from idryomov/wip-66570-reef
Yuri Weinstein [Mon, 8 Jul 2024 19:25:23 +0000 (12:25 -0700)]
Merge pull request #58345 from idryomov/wip-66570-reef

reef: librbd: make diff-iterate in fast-diff mode aware of encryption

Reviewed-by: Ramana Raja <rraja@redhat.com>
12 months agolibrbd: make diff-iterate in fast-diff mode aware of encryption 58345/head
Ilya Dryomov [Thu, 20 Jun 2024 19:13:56 +0000 (21:13 +0200)]
librbd: make diff-iterate in fast-diff mode aware of encryption

diff-iterate wasn't updated when librbd was being prepared to support
encryption in commit 8d6a47933269 ("librbd: add crypto image dispatch
layer").  This is even noted in [1]:

> The two places I skipped for now are DiffIterate and TrimRequest.

CryptoImageDispatch has since been removed, but diff-iterate in
fast-diff mode is still unaware of encryption and just assumes that all
offsets are raw.  This means that the callback gets invoked with
incorrect image offsets when encryption is loaded.  For example, for
a LUKS1-formatted image with some data at offsets 0 and 20971520,
diff-iterate with encryption loaded reports

  0~4194304
  4194304~4194304
  25165824~4194304

instead of

  0~4194304
  20971520~4194304

as "exists".  For any piece of code that is using diff-iterate to
optimize block-by-block processing (e.g. copy an encrypted source image
to a differently-encrypted destination image), this is fatal: it would
skip processing block 20971520 which has data and instead process block
25165824 which doesn't have any data and was to be skipped, producing
a corrupted destination image.

[1] https://github.com/ceph/ceph/pull/37935#issue-735278403

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

12 months agotest/librbd: extend DiffIterateTest.DiffIterateDeterministic{,PP}
Ilya Dryomov [Fri, 21 Jun 2024 13:56:27 +0000 (15:56 +0200)]
test/librbd: extend DiffIterateTest.DiffIterateDeterministic{,PP}

Currently we are laying data only at the beginning of an object.
Extend the skeletons to write to three different offsets in the middle
and also at the end of the object.

Separately, make C and C++ API test variants slightly different in
terms of offsets being targeted to not go through exactly the same
scenario twice.

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

12 months agotest/librbd: refactor DiffIterateTest.DiffIterateDeterministic{,PP}
Ilya Dryomov [Fri, 21 Jun 2024 13:53:05 +0000 (15:53 +0200)]
test/librbd: refactor DiffIterateTest.DiffIterateDeterministic{,PP}

In preparation for extending coverage, extract test logic into a couple
of parametrized helpers.

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

12 months agoMerge pull request #58211 from idryomov/wip-66418-reef
Yuri Weinstein [Mon, 8 Jul 2024 14:44:18 +0000 (07:44 -0700)]
Merge pull request #58211 from idryomov/wip-66418-reef

reef: librbd: diff-iterate shouldn't crash on an empty byte range

Reviewed-by: Mykola Golub <mgolub@suse.com>
12 months agoMerge pull request #57765 from idryomov/wip-66232-reef
Yuri Weinstein [Mon, 8 Jul 2024 14:43:25 +0000 (07:43 -0700)]
Merge pull request #57765 from idryomov/wip-66232-reef

reef: qa/suites/rbd: override extra_system_packages directly on install task

Reviewed-by: Ramana Raja <rraja@redhat.com>
12 months agoMerge pull request #57603 from ajarr/wip-66116-reef
Yuri Weinstein [Mon, 8 Jul 2024 14:42:41 +0000 (07:42 -0700)]
Merge pull request #57603 from ajarr/wip-66116-reef

reef: librbd: create rbd_trash object during pool initialization and namespace creation

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
12 months agoMerge pull request #57570 from idryomov/wip-65813-reef
Yuri Weinstein [Mon, 8 Jul 2024 14:41:20 +0000 (07:41 -0700)]
Merge pull request #57570 from idryomov/wip-65813-reef

reef: librbd: don't crash on a zero-length read if buffer is NULL

Reviewed-by: Ramana Raja <rraja@redhat.com>
12 months agotest/librbd: avoid caching effects TestGroup.add_snapshot{,PP} 58207/head
Ilya Dryomov [Wed, 26 Jun 2024 16:24:30 +0000 (18:24 +0200)]
test/librbd: avoid caching effects TestGroup.add_snapshot{,PP}

After rollback started being tested in commit b3977c53c930
("test/librbd: make rollback in TestGroup.add_snapshot{,PP}
meaningful"), these tests can fail on comparing post-rollback
data to expected data if run with exclusive lock disabled.
This doesn't occur with exclusive lock enabled because the RBD
cache gets invalidated implicitly before releasing the lock.

While at it, pass LIBRADOS_OP_FLAG_FADVISE_FUA to avoid relying
on any cache settings that happen to be in effect.

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

12 months agotest/librbd: give groups unique names in TestGroup tests
Ilya Dryomov [Wed, 26 Jun 2024 16:15:23 +0000 (18:15 +0200)]
test/librbd: give groups unique names in TestGroup tests

Otherwise, a failing add_snapshot test causes add_snapshotPP test to
fail too, for example.

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

12 months agotest/librbd: drop unused variable in TestGroup.group_create
Ilya Dryomov [Wed, 26 Jun 2024 16:12:33 +0000 (18:12 +0200)]
test/librbd: drop unused variable in TestGroup.group_create

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

12 months agolibrbd: drop unused parameter on group_snap_rollback_by_record()
Ilya Dryomov [Fri, 14 Jun 2024 12:04:53 +0000 (14:04 +0200)]
librbd: drop unused parameter on group_snap_rollback_by_record()

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

12 months agolibrbd: disallow group snap rollback if memberships don't match
Ilya Dryomov [Fri, 14 Jun 2024 12:04:39 +0000 (14:04 +0200)]
librbd: disallow group snap rollback if memberships don't match

Before proceeding with group rollback, ensure that the set of images
that took part in the group snapshot matches the set of images that are
currently part of the group.  Otherwise, because we preserve affected
snapshots when an image is removed from the group, data loss can ensue
where an image gets rolled back while part of another group or not part
of any group but long repurposed for something else.

Similarly, ensure that the group snapshot is complete.

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

Conflicts:
src/test/pybind/test_rbd.py [ commit d7fd66ec9944 ("librbd: add
  rbd_clone4() API to take parent snapshot by ID") not in reef ]

12 months agoMerge pull request #58421 from guits/wip-66831-reef
Guillaume Abrioux [Fri, 5 Jul 2024 08:10:17 +0000 (10:10 +0200)]
Merge pull request #58421 from guits/wip-66831-reef

reef: qa: fix log errors for cephadm tests

12 months agoMerge pull request #58220 from guits/wip-66024-reef
Guillaume Abrioux [Fri, 5 Jul 2024 08:09:17 +0000 (10:09 +0200)]
Merge pull request #58220 from guits/wip-66024-reef

reef: ceph-volume: create LVs when using partitions

12 months agoMerge pull request #58432 from zdover23/wip-doc-2024-07-05-backport-58368-to-reef
Anthony D'Atri [Thu, 4 Jul 2024 20:31:18 +0000 (16:31 -0400)]
Merge pull request #58432 from zdover23/wip-doc-2024-07-05-backport-58368-to-reef

reef: doc/rados: document manually passing search domain

12 months agodoc/rados: document manually passing search domain 58432/head
Zac Dover [Mon, 1 Jul 2024 06:36:02 +0000 (16:36 +1000)]
doc/rados: document manually passing search domain

Document how to manually pass the search domain to "mon_dns_srv_name" in
doc/rados/configuration/mon-lookup-dns.rst.

This commit is made in response to a request by Lander Duncan that was made on the [ceph-users] mailing list, and can be seen here: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/F7V4CWLIYCAJ4JXI2JLNY6QPCFPR4SLA/

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

12 months agoqa: fix log errors for cephadm tests 58421/head
Guillaume Abrioux [Thu, 27 Jun 2024 08:12:10 +0000 (10:12 +0200)]
qa: fix log errors for cephadm tests

This fixes a lot of errors induced by the log scrapper check.

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

12 months agoMerge pull request #57451 from joscollin/wip-65990-reef
Xiubo Li [Thu, 4 Jul 2024 03:49:24 +0000 (11:49 +0800)]
Merge pull request #57451 from joscollin/wip-65990-reef

reef: cephfs_mirror: fix crash in update_fs_mirrors()

12 months agoMerge pull request #58088 from rishabh-d-dave/wip-66502-reef
Xiubo Li [Thu, 4 Jul 2024 03:48:18 +0000 (11:48 +0800)]
Merge pull request #58088 from rishabh-d-dave/wip-66502-reef

reef: cephfs-shell: prints warning, hangs and aborts when launched

12 months agoMerge pull request #58411 from ljflores/wip-tracker-66505
Laura Flores [Wed, 3 Jul 2024 20:06:50 +0000 (15:06 -0500)]
Merge pull request #58411 from ljflores/wip-tracker-66505

qa/suites/upgrade/reef-p2p/reef-p2p-parallel: increment upgrade to 18.2.2

12 months agoqa/suites/upgrade/reef-p2p/reef-p2p-parallel: increment upgrade to 18.2.2 58411/head
Laura Flores [Fri, 14 Jun 2024 21:24:20 +0000 (16:24 -0500)]
qa/suites/upgrade/reef-p2p/reef-p2p-parallel: increment upgrade to 18.2.2

Instead of installing 18.2.0, which still contains the osdmap crc bug tracked
in https://tracker.ceph.com/issues/63389, we should install v18.2.2 since this contains
the fix. Then, we upgrade to reef_latest. In this scenario, we do not expect to see the
crc bug. If we test any upgrade path before that, we will hit the warning and the test will fail.

Fixes: https://tracker.ceph.com/issues/66505
Signed-off-by: Laura Flores <lflores@ibm.com>
12 months agoMerge pull request #58390 from zdover23/wip-doc-2024-07-02-backport-58092-to-reef
Zac Dover [Tue, 2 Jul 2024 13:12:17 +0000 (23:12 +1000)]
Merge pull request #58390 from zdover23/wip-doc-2024-07-02-backport-58092-to-reef

reef: doc/start: remove mention of Centos 8 support

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
12 months agodoc/start: remove mention of Centos 8 support 58390/head
Zac Dover [Mon, 17 Jun 2024 15:09:44 +0000 (01:09 +1000)]
doc/start: remove mention of Centos 8 support

Remove information so that it is clear that Centos 8 will no longer be
supported by Ceph.

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

12 months agoMerge pull request #57932 from cbodley/wip-reef-drop-centos8
Yuri Weinstein [Mon, 1 Jul 2024 22:43:04 +0000 (15:43 -0700)]
Merge pull request #57932 from cbodley/wip-reef-drop-centos8

reef: qa/distros: remove centos 8 from supported distros

Reviewed-by: Adam King adking@redhat.com
12 months agoMerge pull request #57999 from ljflores/wip-tracker-66459
Yuri Weinstein [Mon, 1 Jul 2024 17:12:51 +0000 (10:12 -0700)]
Merge pull request #57999 from ljflores/wip-tracker-66459

reef: qa/suites/rados/thrash-old-clients: update supported releases and distro

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
12 months agotests: make sure nvmetcli and nvme-cli are up to date 57932/head
Guillaume Abrioux [Wed, 26 Jun 2024 10:35:43 +0000 (10:35 +0000)]
tests: make sure nvmetcli and nvme-cli are up to date

Otherwise jobs end up with the following failure:

```
2024-06-25T14:22:18.659 INFO:teuthology.orchestra.run.smithi098.stderr:Failed to write to /dev/nvme-fabrics: Invalid argument
```

Also, the output of nvme list has changed so we have to update
qa/tasks/nvme_loop.py accordingly.

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

12 months agoqa/rgw/upgrade/pacific: remove centos_8.stream.yaml and rely on ubuntu_20.04.yaml
Casey Bodley [Wed, 26 Jun 2024 16:11:10 +0000 (12:11 -0400)]
qa/rgw/upgrade/pacific: remove centos_8.stream.yaml and rely on ubuntu_20.04.yaml

we can't test this pacific->reef upgrade path on centos because pacific doesn't
have centos 9 builds, and reef no longer has centos 8 builds. only test
this upgrade on ubuntu focal which is still supported for both releases

this commit targets the reef branch directly because this rgw/upgrade/pacific
suite no longer exists on main and squid branches

Signed-off-by: Casey Bodley <cbodley@redhat.com>
12 months agoqa/distros: removed rhel 8 from supported distros
Casey Bodley [Wed, 20 Sep 2023 14:19:00 +0000 (10:19 -0400)]
qa/distros: removed rhel 8 from supported distros

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 7a1dce1ebd883741b5003b9e18d4765526cbbb3e)

12 months agoqa/crimson-rados: remove centos 8 symlinks
Adam King [Fri, 14 Jun 2024 15:59:27 +0000 (11:59 -0400)]
qa/crimson-rados: remove centos 8 symlinks

As we're trying to drop centos 8 from the distros we
test on these symlinks are now dead and need to be
cleaned up. In main, there was no replacement for
these symlinks (it just relies on the
crimson-supposted-all-distro dir for its distro)
so I'm just removing them here.

Signed-off-by: Adam King <adking@redhat.com>
12 months agoqa/upgrade: make reef p2p parallel upgrade tests to use centos 9
Adam King [Tue, 11 Jun 2024 14:57:43 +0000 (10:57 -0400)]
qa/upgrade: make reef p2p parallel upgrade tests to use centos 9

Since we're no longer using centos 8 for tests after the removal
of the mirrors

Signed-off-by: Adam King <adking@redhat.com>
12 months agoqa/distros: add ubuntu 22.04 for containerized tests
Adam King [Fri, 7 Jun 2024 17:36:31 +0000 (13:36 -0400)]
qa/distros: add ubuntu 22.04 for containerized tests

Partial backport of 0fa3eb67387eaf403b5a6e716a81582949dcecf1
that adds the symlinks for the containerized tests to use
ubuntu 22.04 but leaves out the part dropping ubuntu 20.04

Signed-off-by: Adam King <adking@redhat.com>
12 months agoqa/distros: add supported-container-hosts for cephadm and upgrade suites
Casey Bodley [Thu, 25 Jan 2024 17:41:39 +0000 (12:41 -0500)]
qa/distros: add supported-container-hosts for cephadm and upgrade suites

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 849a58b0873154a6713b4c8d838634f13b0b806d)

12 months agoqa/workunits/cephadm: enable nodejs:18 on centos 9 stream
Laura Flores [Mon, 22 Jan 2024 20:52:58 +0000 (20:52 +0000)]
qa/workunits/cephadm: enable nodejs:18 on centos 9 stream

Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit a602e5f0e0e48c40fd728ae382502826ca354828)

12 months agoqa/cephadm: fix iscsi pids limit check for centos 9
Adam King [Mon, 11 Dec 2023 20:44:30 +0000 (15:44 -0500)]
qa/cephadm: fix iscsi pids limit check for centos 9

Centos 9 uses cgroups v2 which has a slightly
different file location for the pids.max. This commit
updates the test to also check the new location
so the test can pass on centos 9

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 97efa97c2c72dba32774d0f105ae90462b93ac4e)

12 months agoqa/cephadm: use quincy for add-repo test
Adam King [Mon, 11 Dec 2023 18:59:42 +0000 (13:59 -0500)]
qa/cephadm: use quincy for add-repo test

There are no centos 9 build for octopus, so if we
want to start testing on cnetos 9 as a distro we need
the add-repo test to be done on a newer release
for which there are actual builds

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 80dc6ce72a2c209424698ce31549362e9148022f)

12 months agoqa: remove container hosts install from centos 9 distros
Adam King [Thu, 30 Nov 2023 22:14:59 +0000 (17:14 -0500)]
qa: remove container hosts install from centos 9 distros

We needed the container-hosts version of podman on centos 8,
but there's no need to keep using it in centos 9

Additionally, changes from crun variants to runc variants since
crun is now the default container runtime on centos 9

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit c8873c6591d368e12907669c274fd3d6391e3f68)

12 months agoqa/distos: remove rhel from podman and container-hosts
Casey Bodley [Mon, 9 Oct 2023 21:29:21 +0000 (17:29 -0400)]
qa/distos: remove rhel from podman and container-hosts

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 7193f76a1502de392af0b407db0073266f9bc9c8)

12 months agoqa/suites/fs: workload suite uses centos 9 instead of rhel
Casey Bodley [Mon, 9 Oct 2023 21:28:48 +0000 (17:28 -0400)]
qa/suites/fs: workload suite uses centos 9 instead of rhel

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit b9ba9642fea18055e768c3ddee5ba5e372264ede)

12 months agoqa/distros: bump podman from centos 8 to 9
Casey Bodley [Mon, 9 Oct 2023 21:25:13 +0000 (17:25 -0400)]
qa/distros: bump podman from centos 8 to 9

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 00b3eef5b846dee6e9aae1f1295271c89f2801e5)

12 months agoqa/distros: bump container-hosts from centos 8 to 9
Casey Bodley [Mon, 9 Oct 2023 21:22:10 +0000 (17:22 -0400)]
qa/distros: bump container-hosts from centos 8 to 9

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit bac9e74abf0f5cb60c74640d6c4689169acf7abe)

12 months agoqa/distros: remove a-supported-distro.yaml that pointed to centos 7.2
Casey Bodley [Wed, 20 Sep 2023 19:55:54 +0000 (15:55 -0400)]
qa/distros: remove a-supported-distro.yaml that pointed to centos 7.2

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 3825863893a8577a306d70e171224f051d7e70ee)

12 months agoqa/distros: replace supported-all-distro with supported
Casey Bodley [Wed, 20 Sep 2023 19:55:05 +0000 (15:55 -0400)]
qa/distros: replace supported-all-distro with supported

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 0e5746d44ef44ba1c7e7c0c3c3828fdfc8b14fc2)

12 months agoqa/rgw/upgrade: fix broken links to distro files
Casey Bodley [Wed, 20 Sep 2023 16:03:43 +0000 (12:03 -0400)]
qa/rgw/upgrade: fix broken links to distro files

replace the broken links to qa/distros/supported/*.yaml with links under
qa/distros/all/

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit a60978fc51fa45399fbab5f2ca408f771c607c6d)

12 months agoqa/fs/upgrade: fix broken links to distro files
Casey Bodley [Wed, 20 Sep 2023 16:00:48 +0000 (12:00 -0400)]
qa/fs/upgrade: fix broken links to distro files

replace the broken links to qa/distros/supported/centos_8.stream.yaml
with links under qa/distros/all/

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 7486856ba1259ff2c35f5017d12a21f797c869d1)

12 months agoqa/rgw/notifications: pin to centos_latest
Casey Bodley [Wed, 20 Sep 2023 15:11:37 +0000 (11:11 -0400)]
qa/rgw/notifications: pin to centos_latest

the subsuite had a supported-all-distro$/ subdirectory, but that only
contained centos_8.yaml. qa/tasks/rabbitmq.py is hardcoded to use 'yum'
and rpm packages, so replace supported-all-distro$ with a link to
centos_latest.yaml

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 2d9348ad564f9199ae58062c1d12b7020cba0790)

12 months agoqa/distros: removed centos 8 from supported distros
Casey Bodley [Mon, 18 Sep 2023 18:17:03 +0000 (14:17 -0400)]
qa/distros: removed centos 8 from supported distros

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 449db416aa82df12b349ce10603c9646c88bde83)

12 months agoMerge pull request #58371 from zdover23/wip-doc-2024-07-01-backport-58366-to-reef
Anthony D'Atri [Mon, 1 Jul 2024 15:35:32 +0000 (11:35 -0400)]
Merge pull request #58371 from zdover23/wip-doc-2024-07-01-backport-58366-to-reef

reef: doc/cephfs: update cephfs-shell link

12 months agoMerge pull request #58364 from zdover23/wip-doc-2024-07-01-backport-55577-to-reef
Anthony D'Atri [Mon, 1 Jul 2024 13:12:00 +0000 (09:12 -0400)]
Merge pull request #58364 from zdover23/wip-doc-2024-07-01-backport-55577-to-reef

reef: doc/start: fix wording & syntax

12 months agodoc/cephfs: update cephfs-shell link 58371/head
Zac Dover [Mon, 1 Jul 2024 05:57:40 +0000 (15:57 +1000)]
doc/cephfs: update cephfs-shell link

Repair the link to cephfs-shell.rst in doc/cephfs/cephfs-shell.rst that
was broken in https://github.com/ceph/ceph/pull/41165/ when
doc/cephfs/cephfs-shell.rst was moved to doc/man/8/cephfs-shell.rst.

This commit is made in response to a request by Lander Duncan that was
made on the [ceph-users] mailing list, and can be seen here: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/F7V4CWLIYCAJ4JXI2JLNY6QPCFPR4SLA/

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

12 months agoMerge pull request #58113 from vshankar/wip-66518-reef
Venky Shankar [Mon, 1 Jul 2024 05:35:26 +0000 (11:05 +0530)]
Merge pull request #58113 from vshankar/wip-66518-reef

reef: qa: use centos9 for fs:upgrade

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agodoc/start: fix wording & syntax 58364/head
Piotr Parczewski [Wed, 14 Feb 2024 10:15:09 +0000 (11:15 +0100)]
doc/start: fix wording & syntax

Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
(cherry picked from commit a8b27af84910d324023a37e616f42d6d3faa4ecf)

12 months agoMerge pull request #58360 from zdover23/wip-doc-2024-06-30-backport-58358-to-reef
Anthony D'Atri [Sat, 29 Jun 2024 19:23:17 +0000 (15:23 -0400)]
Merge pull request #58360 from zdover23/wip-doc-2024-06-30-backport-58358-to-reef

reef: doc/cephfs: take Anthony's suggestion

12 months agodoc/cephfs: take Anthony's suggestion 58360/head
Zac Dover [Sat, 29 Jun 2024 12:11:55 +0000 (22:11 +1000)]
doc/cephfs: take Anthony's suggestion

Incorporate Anthony's suggestion in
https://github.com/ceph/ceph/pull/57567#discussion_r1607016050 into
doc/cephfs/fs-volumes.rst.

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

12 months agoqa/cephfs: fs:upgrade:mds_upgrade_sequence uses centos9 58113/head
Venky Shankar [Thu, 27 Jun 2024 09:51:48 +0000 (15:21 +0530)]
qa/cephfs: fs:upgrade:mds_upgrade_sequence uses centos9

Signed-off-by: Venky Shankar <vshankar@redhat.com>
12 months agoqa: upgrade sub-suite upgraded_client from from n-1|n-2 releases
Dhairya Parmar [Tue, 30 Apr 2024 11:09:19 +0000 (16:39 +0530)]
qa: upgrade sub-suite upgraded_client from from n-1|n-2 releases

... and move to centos9.

Fixes: https://tracker.ceph.com/issues/65580
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 76589659480c6e9cd2ad09b3be21deeb6d1686d1)

 Conflicts:
qa/suites/fs/upgrade/upgraded_client/tasks/0-from/nautilus.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/0-install.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/0-install/quincy.yaml

12 months agoqa: upgrade sub-suite nofs from n-1 and n-2 releases
Dhairya Parmar [Thu, 4 Apr 2024 12:25:52 +0000 (17:55 +0530)]
qa: upgrade sub-suite nofs from n-1 and n-2 releases

also adjust the respective upgrade YAMLs and move to
centos9.

For reef release, start upgrade from pacific/quincy.

Fixes: https://tracker.ceph.com/issues/65580
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit f00a69f714dd07d580731a326aff41cacca6d0b6)

12 months agoqa: use supported releases for featureful_client
Venky Shankar [Fri, 7 Jun 2024 05:13:27 +0000 (05:13 +0000)]
qa: use supported releases for featureful_client

... and switch for centos9.

For reef release, start upgrade from pacific/quincy.

Fixes: https://tracker.ceph.com/issues/65580
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 3715ce671de97530dda30d59fe643cebc3ebc508)

12 months agoqa: refactor client upgrade yamls and other minor touchups
Dhairya Parmar [Mon, 6 Nov 2023 14:24:20 +0000 (19:54 +0530)]
qa: refactor client upgrade yamls and other minor touchups

* start testing new_ops and stress_tests with both the drivers(i.e. fuse and kclient)
therefore moved 0-clients/ from tasks/3-workload/new_ops/ to tasks/ and renamed it to
2-clients/

* since new_ops/ and stress_tests/ now share the common upgrade yaml, moved the
tests yamls(in stress_tests/1-tests) directly under 3-workload/stress_tests/

* renamed 1-client-sanity.yaml in new_ops/ to newops.yaml

Fixes: https://tracker.ceph.com/issues/62953
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
(cherry picked from commit c556c7324763332df62f4d382da02314900f1a60)

 Conflicts:
qa/suites/fs/upgrade/upgraded_client/tasks/2-clients/fuse-upgrade.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/2-clients/kclient.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/2-workload/new_ops/0-clients/fuse-upgrade.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/2-workload/new_ops/0-clients/kclient.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/2-workload/new_ops/1-client-sanity.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/2-workload/new_ops/newops.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/2-workload/stress_tests/1-tests/blogbench.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/2-workload/stress_tests/1-tests/dbench.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/2-workload/stress_tests/1-tests/fsstress.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/2-workload/stress_tests/1-tests/iozone.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/2-workload/stress_tests/1-tests/kernel_untar_build.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/2-workload/stress_tests/blogbench.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/2-workload/stress_tests/dbench.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/2-workload/stress_tests/fsstress.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/2-workload/stress_tests/iozone.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/2-workload/stress_tests/kernel_untar_build.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/3-workload/new_ops/0-clients/kclient.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/3-workload/new_ops/1-client-sanity.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/3-workload/stress_tests/1-tests/blogbench.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/3-workload/stress_tests/1-tests/dbench.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/3-workload/stress_tests/1-tests/fsstress.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/3-workload/stress_tests/1-tests/iozone.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/3-workload/stress_tests/1-tests/kernel_untar_build.yaml
qa/suites/rbd/device/workloads/.qa

12 months agoMerge pull request #58308 from zdover23/wip-doc-2024-06-27-backport-58287-to-reef
Anthony D'Atri [Thu, 27 Jun 2024 16:45:29 +0000 (12:45 -0400)]
Merge pull request #58308 from zdover23/wip-doc-2024-06-27-backport-58287-to-reef

reef: doc/rados: update how to install c++ header files

12 months agoMerge pull request #58305 from zdover23/wip-doc-2024-06-27-backport-58299-to-reef
Anthony D'Atri [Thu, 27 Jun 2024 16:45:04 +0000 (12:45 -0400)]
Merge pull request #58305 from zdover23/wip-doc-2024-06-27-backport-58299-to-reef

reef: doc/dev: Fix typos in encoding.rst

12 months agodoc/rados: update how to install c++ header files 58308/head
Pere Diaz Bou [Wed, 26 Jun 2024 13:57:47 +0000 (15:57 +0200)]
doc/rados: update how to install c++ header files

In this example librados2-devel only install C header files on fedora 40,
therefore I added libradospp-devel to the command to include C++ header files.

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
(cherry picked from commit 7e87441601db2379488fab62e900cd834086f26d)

12 months agodoc/dev: Fix typos in encoding.rst 58305/head
N Balachandran [Thu, 27 Jun 2024 07:22:09 +0000 (12:52 +0530)]
doc/dev: Fix typos in encoding.rst

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

12 months agoMerge pull request #58272 from zdover23/wip-doc-2024-06-26-backport-58226-to-reef
Anthony D'Atri [Wed, 26 Jun 2024 12:33:34 +0000 (08:33 -0400)]
Merge pull request #58272 from zdover23/wip-doc-2024-06-26-backport-58226-to-reef

reef: doc/rados: edit troubleshooting-osd.rst

12 months agodoc/rados: edit troubleshooting-osd.rst 58272/head
Zac Dover [Mon, 24 Jun 2024 10:32:30 +0000 (20:32 +1000)]
doc/rados: edit troubleshooting-osd.rst

Make minor changes to the "Debugging Slow Requests" section of
doc/rados/troubleshooting/troubleshooting-osd.rst in preparation
for an expansion of this section in response to a reqeust from Joel
Davidow.

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

12 months agoMerge pull request #58258 from zdover23/wip-doc-2024-06-25-backport-58243-to-reef
Zac Dover [Wed, 26 Jun 2024 05:52:30 +0000 (15:52 +1000)]
Merge pull request #58258 from zdover23/wip-doc-2024-06-25-backport-58243-to-reef

reef: doc/rados: credit Prashant for a procedure

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agodoc/rados: credit Prashant for a procedure 58258/head
Zac Dover [Tue, 25 Jun 2024 04:49:13 +0000 (14:49 +1000)]
doc/rados: credit Prashant for a procedure

Credit Prashant D for creating the stretch-mode workaround procedure for
retrieving the correct size of datacenters.

Follows: https://github.com/ceph/ceph/pull/58109

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

12 months agoceph-volume: create LVs when using partitions 58220/head
Guillaume Abrioux [Mon, 15 Apr 2024 08:28:24 +0000 (08:28 +0000)]
ceph-volume: create LVs when using partitions

commit [1] introduced a behavior change.
`ceph-volume lvm prepare` used to create VGs/LVs when it was passed partitions
for db and/or wal devices. Since commit [1] has been introduced, it made ceph-volume
consume the partition directly, it doesn't create LV anymore. Although this
doesn't prevent from creating OSDs, this is a behavior change.

Fixes: https://tracker.ceph.com/issues/65477
[1] 1e7223281fa044c9653633e305c0b344e4c9b3a4

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

12 months agoMerge pull request #58203 from zdover23/wip-doc-2024-06-23-backport-58200-to-reef
Zac Dover [Mon, 24 Jun 2024 00:32:00 +0000 (10:32 +1000)]
Merge pull request #58203 from zdover23/wip-doc-2024-06-23-backport-58200-to-reef

reef: doc/start: add links to Beginner's Guide

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agotest/librbd: cover empty and invalid snap id ranges for diff-iterate 58211/head
Ilya Dryomov [Tue, 11 Jun 2024 17:02:23 +0000 (19:02 +0200)]
test/librbd: cover empty and invalid snap id ranges for diff-iterate

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

12 months agolibrbd: diff-iterate shouldn't crash on an empty byte range
Ilya Dryomov [Tue, 11 Jun 2024 16:10:47 +0000 (18:10 +0200)]
librbd: diff-iterate shouldn't crash on an empty byte range

Commit 0b5ba5fedf70 ("librbd/object_map: add support for ranged
diff-iterate") introduced a regression for the case when whole_object
parameter is set to true.  Despite DiffRequest being called into and
another DiffIterate potentially being spawned recursively, an empty
byte range previously happened to make it.

Bail on an empty byte range early just like we have always done on an
empty snap id range (i.e. when start and end versions are the same).

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

12 months agolibrbd: assert on m_length in calc_object_diff_range()
Ilya Dryomov [Tue, 11 Jun 2024 14:03:22 +0000 (16:03 +0200)]
librbd: assert on m_length in calc_object_diff_range()

A non-empty byte range is required by both last_period_off calculation
and Striper::file_to_extents().

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

12 months agotest/librados_test_stub: unbreak selfmanaged_snap_rollback()
Ilya Dryomov [Sun, 16 Jun 2024 18:40:31 +0000 (20:40 +0200)]
test/librados_test_stub: unbreak selfmanaged_snap_rollback()

After the rollback assert in TestGroup.add_snapshot{,PP} was made
meaningful in the previous commit, it fails in mock tests which means
that rollback has never been exercised properly...

While I confess to not following file->snap_id == CEPH_NOSNAP branch
especially given how file variable is shadowed, it's pretty clear that
get_snap_read() doesn't belong here -- the snapshot selected for reads
has nothing to do with rollback.  Replacing it with the rollback snap
ID makes sense of the other branches and makes the tests in question
pass.

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

12 months agotest/librbd: make rollback in TestGroup.add_snapshot{,PP} meaningful
Ilya Dryomov [Thu, 13 Jun 2024 14:24:43 +0000 (16:24 +0200)]
test/librbd: make rollback in TestGroup.add_snapshot{,PP} meaningful

The rollback assert doesn't really test anything -- because orig_data
and test_data are written to non-overlapping areas, the test would pass
even if rbd_group_snap_rollback() does nothing (i.e. rollback isn't
performed) as long as the call returns 0.

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

12 months agodoc/start: add links to Beginner's Guide 58203/head
Zac Dover [Sat, 22 Jun 2024 06:28:12 +0000 (16:28 +1000)]
doc/start: add links to Beginner's Guide

Add two links to Sage Weil's overview talks about Ceph.

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

12 months agoMerge pull request #58190 from zdover23/wip-doc-2024-06-21-backport-55675-to-reef
Zac Dover [Sun, 23 Jun 2024 07:19:11 +0000 (17:19 +1000)]
Merge pull request #58190 from zdover23/wip-doc-2024-06-21-backport-55675-to-reef

reef: doc/src: invadvisable is not a word

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agoMerge pull request #58182 from zdover23/wip-doc-2024-06-21-backport-58109-to-reef
Zac Dover [Sat, 22 Jun 2024 06:22:04 +0000 (16:22 +1000)]
Merge pull request #58182 from zdover23/wip-doc-2024-06-21-backport-58109-to-reef

reef: doc/rados: add stretch_rule workaround

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agoMerge pull request #58162 from zdover23/wip-doc-2024-06-20-backport-57156-to-reef
Zac Dover [Sat, 22 Jun 2024 06:20:28 +0000 (16:20 +1000)]
Merge pull request #58162 from zdover23/wip-doc-2024-06-20-backport-57156-to-reef

reef: doc/rados: followup to PR#58057

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agoMerge pull request #58188 from zdover23/wip-doc-2024-06-21-backport-58112-to-reef
Ilya Dryomov [Fri, 21 Jun 2024 21:11:09 +0000 (23:11 +0200)]
Merge pull request #58188 from zdover23/wip-doc-2024-06-21-backport-58112-to-reef

reef: doc/rbd: fix typos in NVMe-oF docs.

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agoMerge pull request #58170 from idryomov/wip-qemu-task-version-reef
Ilya Dryomov [Fri, 21 Jun 2024 16:00:00 +0000 (18:00 +0200)]
Merge pull request #58170 from idryomov/wip-qemu-task-version-reef

reef: qa/tasks/qemu: Fix OS version comparison

Reviewed-by: Ramana Raja <rraja@redhat.com>
12 months agodoc/src: invadvisable is not a word 58190/head
Doug Whitfield [Tue, 20 Feb 2024 21:13:14 +0000 (15:13 -0600)]
doc/src: invadvisable is not a word

changed to inadvisable on line 4997

Signed-off-by: Doug Whitfield <douglasawh@gmail.com>
(cherry picked from commit fb4a5d09e11b75a2f38c42c489af7e6f148916a7)

12 months agodoc/rbd: fix typos in NVMe-oF docs. 58188/head
N Balachandran [Tue, 18 Jun 2024 10:39:51 +0000 (16:09 +0530)]
doc/rbd: fix typos in NVMe-oF docs.

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

12 months agodoc/rados: add stretch_rule workaround 58182/head
Zac Dover [Tue, 18 Jun 2024 05:22:41 +0000 (15:22 +1000)]
doc/rados: add stretch_rule workaround

Add a method for defining a CRUSH rule that returns the actual value of
the total available size.

Fixes: https://tracker.ceph.com/issues/56650
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 007385a3ef05bd92e006fc7d6aba3fbb51792ef7)

13 months agoMerge pull request #57472 from guits/wip-66020-reef
Guillaume Abrioux [Thu, 20 Jun 2024 15:52:37 +0000 (17:52 +0200)]
Merge pull request #57472 from guits/wip-66020-reef

reef: ceph-volume: use os.makedirs for mkdir_p

13 months agoqa/tasks/qemu: Fix OS version comparison 58170/head
Zack Cerza [Fri, 14 Jun 2024 19:37:16 +0000 (13:37 -0600)]
qa/tasks/qemu: Fix OS version comparison

See: https://sentry.ceph.com/share/issue/21ed88d705854238bdafbf6711e795ee/
They're strings, not floats.
This surfaced as a result of https://github.com/ceph/teuthology/pull/1953

Signed-off-by: Zack Cerza <zack@redhat.com>
(cherry picked from commit 260a45a03148ba4d2bbfcac9485bcf9a8743cade)

13 months agoMerge pull request #58005 from zdover23/wip-doc-2024-06-13-backport-57650-to-reef
Guillaume Abrioux [Thu, 20 Jun 2024 13:47:52 +0000 (15:47 +0200)]
Merge pull request #58005 from zdover23/wip-doc-2024-06-13-backport-57650-to-reef

reef: ceph-volume: use importlib from stdlib on Python 3.8 and up

13 months agodoc/rados: followup to PR#58057 58162/head
Zac Dover [Thu, 20 Jun 2024 11:43:53 +0000 (21:43 +1000)]
doc/rados: followup to PR#58057

Incorporate Anthony D'Atri's suggestions in
https://github.com/ceph/ceph/pull/58057

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

13 months agoMerge pull request #58137 from petrutlucian94/wip-66546-reef
Ilya Dryomov [Thu, 20 Jun 2024 06:51:08 +0000 (08:51 +0200)]
Merge pull request #58137 from petrutlucian94/wip-66546-reef

reef: ceph_test_rados_api_misc: adjust LibRadosMiscConnectFailure.ConnectTimeout timeout

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
13 months agoMerge pull request #56929 from adk3798/wip-65512-reef
Avan [Thu, 20 Jun 2024 04:31:09 +0000 (10:01 +0530)]
Merge pull request #56929 from adk3798/wip-65512-reef

reef: mgr/dashboard: fix duplicate grafana panels when on mgr failover

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
13 months agoMerge pull request #58131 from zdover23/wip-doc-2024-06-19-backport-58123-to-reef
Anthony D'Atri [Wed, 19 Jun 2024 14:28:39 +0000 (10:28 -0400)]
Merge pull request #58131 from zdover23/wip-doc-2024-06-19-backport-58123-to-reef

reef: doc: clarify availability vs integrity

13 months agoceph_test_rados_api_misc: adjust LibRadosMiscConnectFailure.ConnectTimeout timeout 58137/head
Lucian Petrut [Mon, 17 Jun 2024 18:37:11 +0000 (18:37 +0000)]
ceph_test_rados_api_misc: adjust LibRadosMiscConnectFailure.ConnectTimeout timeout

The test sets a 2 second connection timeout and asserts that the
attempt takes less than 4 seconds.

Under load, the asserted timeout can be exceeded. In particular,
this affects the Windows CI job, which uses a VM with a reduced
amount of resources.

    [ RUN      ] LibRadosMiscConnectFailure.ConnectTimeout
    /home/ubuntu/ceph/src/test/librados/misc.cc:87: Failure
    Expected: (dur) < (utime_t(4, 0)), actual: 5.987712 vs 4.000000

We'll adjust the timeouts, using a 5s configured timeout, asserting
that the connection attempt doesn't take more than 15s.

Fixes: https://tracker.ceph.com/issues/66534
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
(cherry picked from commit 3a2b4a58898477ae9f62b506bd5be56ff9abacf0)

13 months agodoc: clarify availability vs integrity 58131/head
Gregory O'Neill [Tue, 18 Jun 2024 21:17:00 +0000 (17:17 -0400)]
doc: clarify availability vs integrity

(cherry picked from commit 3888cf77075eceb079b1d5a8ce19092d12fd82bd)

13 months agomgr/dashboard: fix duplicate grafana panels when on mgr failover 56929/head
Avan Thakkar [Tue, 2 Apr 2024 09:45:48 +0000 (15:15 +0530)]
mgr/dashboard: fix duplicate grafana panels when on mgr failover

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

Conflicts:
src/pybind/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2
src/pybind/mgr/cephadm/tests/test_services.py

13 months agoMerge pull request #55857 from lxbsz/wip-64655
Jos Collin [Wed, 19 Jun 2024 04:38:40 +0000 (10:08 +0530)]
Merge pull request #55857 from lxbsz/wip-64655

reef: qa: switch to use the merge fragment for fscrypt

Reviewed-by: Jos Collin <jcollin@redhat.com>