]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 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 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 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>
13 months agoqa: switch to use the merge fragment for fscrypt 55857/head
Xiubo Li [Wed, 29 Mar 2023 05:04:47 +0000 (13:04 +0800)]
qa: switch to use the merge fragment for fscrypt

Currently only the upstream kclient supports fscrypt feature.

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

13 months agoqa: switch to use .qa/cephfs/mount/ instead
Xiubo Li [Wed, 29 Mar 2023 04:59:27 +0000 (12:59 +0800)]
qa: switch to use .qa/cephfs/mount/ instead

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

13 months agoqa: remove the FuseMount/KernelMount check in test_fscrypt.py
Xiubo Li [Wed, 29 Mar 2023 04:51:44 +0000 (12:51 +0800)]
qa: remove the FuseMount/KernelMount check in test_fscrypt.py

Will use the postmerge fragment to check this.

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

13 months agoMerge pull request #53628 from lxbsz/wip-62866
Jos Collin [Tue, 18 Jun 2024 11:07:57 +0000 (16:37 +0530)]
Merge pull request #53628 from lxbsz/wip-62866

reef: qa: increase the http postBuffer size and disable sslVerify

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #56415 from batrick/wip-65088-reef
Jos Collin [Tue, 18 Jun 2024 08:54:25 +0000 (14:24 +0530)]
Merge pull request #56415 from batrick/wip-65088-reef

reef: qa/cephfs: add mgr debugging

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #57162 from batrick/i63782-v2
Jos Collin [Tue, 18 Jun 2024 08:52:38 +0000 (14:22 +0530)]
Merge pull request #57162 from batrick/i63782-v2

reef: qa: add support/qa for cephfs-shell on CentOS 9 / RHEL9

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #56666 from batrick/wip-65105-reef
Jos Collin [Tue, 18 Jun 2024 08:44:03 +0000 (14:14 +0530)]
Merge pull request #56666 from batrick/wip-65105-reef

reef: qa/cephfs: add probabilistic ignorelist for pg_health

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #56664 from batrick/wip-65274-reef
Jos Collin [Tue, 18 Jun 2024 08:41:24 +0000 (14:11 +0530)]
Merge pull request #56664 from batrick/wip-65274-reef

reef:  mds: some request errors come from errno.h rather than fs_types.h

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #56886 from dparmar18/wip-65315-reef
Jos Collin [Tue, 18 Jun 2024 08:39:13 +0000 (14:09 +0530)]
Merge pull request #56886 from dparmar18/wip-65315-reef

reef: mds: CInode::item_caps used in two different lists

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #56955 from batrick/wip-65325-reef
Jos Collin [Tue, 18 Jun 2024 08:36:12 +0000 (14:06 +0530)]
Merge pull request #56955 from batrick/wip-65325-reef

reef: client: log debug message when requesting unmount

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
13 months agoMerge pull request #56953 from batrick/wip-65365-reef
Jos Collin [Tue, 18 Jun 2024 08:33:49 +0000 (14:03 +0530)]
Merge pull request #56953 from batrick/wip-65365-reef

reef: qa: test test_kill_mdstable for all mount types

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #56836 from rishabh-d-dave/wip-65440-reef
Jos Collin [Tue, 18 Jun 2024 08:30:03 +0000 (14:00 +0530)]
Merge pull request #56836 from rishabh-d-dave/wip-65440-reef

reef: qa/cephfs: CephFSTestCase.create_client() must keyring

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #56895 from chrisphoffman/wip-65488-reef
Jos Collin [Tue, 18 Jun 2024 08:26:51 +0000 (13:56 +0530)]
Merge pull request #56895 from chrisphoffman/wip-65488-reef

reef: mds: Add fragment to scrub

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #57834 from rishabh-d-dave/wip-65921-reef
Jos Collin [Tue, 18 Jun 2024 08:23:38 +0000 (13:53 +0530)]
Merge pull request #57834 from rishabh-d-dave/wip-65921-reef

reef: mds: don't add counters in warning for standby-replay MDS

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #56747 from lxbsz/wip-65321
Jos Collin [Tue, 18 Jun 2024 08:16:15 +0000 (13:46 +0530)]
Merge pull request #56747 from lxbsz/wip-65321

 reef: mds: defer trim() until after the last cache_rejoin ack being received

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #56701 from joscollin/wip-65319-reef
Jos Collin [Tue, 18 Jun 2024 06:29:22 +0000 (11:59 +0530)]
Merge pull request #56701 from joscollin/wip-65319-reef

reef: cephfs-mirror: use monotonic clock

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
13 months agomds: defer trim() until after the last cache_rejoin ack being received 56747/head
Xiubo Li [Wed, 26 Jul 2023 06:34:01 +0000 (14:34 +0800)]
mds: defer trim() until after the last cache_rejoin ack being received

Just before the last cache_rejoin ack being received the entire
subtree, together with the inode subtree root belongs to, were
trimmed the isolated_inodes list couldn't be correctly erased. We
should defer calling the trim() until the last cache_rejoin ack
being received.

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

13 months agoMerge pull request #58106 from zdover23/wip-doc-2024-06-18-backport-58901-to-reef
Anthony D'Atri [Tue, 18 Jun 2024 03:55:16 +0000 (23:55 -0400)]
Merge pull request #58106 from zdover23/wip-doc-2024-06-18-backport-58901-to-reef

reef: doc/dev: link to ceph.io leads list

13 months agoMerge pull request #56019 from vshankar/wip-64756-reef
Jos Collin [Tue, 18 Jun 2024 03:43:18 +0000 (09:13 +0530)]
Merge pull request #56019 from vshankar/wip-64756-reef

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

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agodoc/dev: link to ceph.io leads list 58106/head
Zac Dover [Mon, 17 Jun 2024 14:39:10 +0000 (00:39 +1000)]
doc/dev: link to ceph.io leads list

Remove the docs.ceph.com list of team leads, and link to the list of
leads on ceph.io.

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

13 months agoMerge pull request #57437 from joscollin/wip-65980-reef
Jos Collin [Mon, 17 Jun 2024 15:08:27 +0000 (20:38 +0530)]
Merge pull request #57437 from joscollin/wip-65980-reef

reef: cephfs_mirror: increment sync_failures when sync_perms() and sync_snaps() fails

Reviewed-by: Venky Shankar <vshankar@redhat.com>
13 months agoMerge pull request #57441 from joscollin/wip-65983-reef
Jos Collin [Mon, 17 Jun 2024 15:05:24 +0000 (20:35 +0530)]
Merge pull request #57441 from joscollin/wip-65983-reef

reef: mgr/stats: initialize mx_last_updated in FSPerfStats

Reviewed-by: Venky Shankar <vshankar@redhat.com>
13 months agoMerge pull request #57763 from joscollin/wip-66271-reef
Jos Collin [Mon, 17 Jun 2024 15:03:55 +0000 (20:33 +0530)]
Merge pull request #57763 from joscollin/wip-66271-reef

reef: pybind/mgr/mirroring: Fix KeyError: 'directory_count' in daemon status

Reviewed-by: Venky Shankar <vshankar@redhat.com>
13 months agoMerge pull request #57115 from lxbsz/wip-65676
Jos Collin [Mon, 17 Jun 2024 15:01:14 +0000 (20:31 +0530)]
Merge pull request #57115 from lxbsz/wip-65676

reef: mds: fix the description for inotable testing only options

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57227 from kotreshhr/wip-65405-reef
Jos Collin [Mon, 17 Jun 2024 14:43:19 +0000 (20:13 +0530)]
Merge pull request #57227 from kotreshhr/wip-65405-reef

reef: mds: log at a lower level when stopping

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #56403 from batrick/wip-65061-reef
Jos Collin [Mon, 17 Jun 2024 14:38:56 +0000 (20:08 +0530)]
Merge pull request #56403 from batrick/wip-65061-reef

reef: qa/cephfs: ignorelist clog of MDS_UP_LESS_THAN_MAX

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #56022 from vshankar/wip-64763-reef
Jos Collin [Mon, 17 Jun 2024 14:36:42 +0000 (20:06 +0530)]
Merge pull request #56022 from vshankar/wip-64763-reef

reef: qa/cephfs: add more ignorelist entries

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #55391 from dparmar18/wip-64066-reef
Jos Collin [Mon, 17 Jun 2024 13:22:08 +0000 (18:52 +0530)]
Merge pull request #55391 from dparmar18/wip-64066-reef

reef: qa: fix error reporting string in assert_cluster_log

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #52985 from leonid-s-usov/backport/strip-nofail/reef
Jos Collin [Mon, 17 Jun 2024 13:11:55 +0000 (18:41 +0530)]
Merge pull request #52985 from leonid-s-usov/backport/strip-nofail/reef

reef: nofail option in fstab not supported

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #56951 from batrick/wip-65520-reef
Jos Collin [Mon, 17 Jun 2024 11:05:10 +0000 (16:35 +0530)]
Merge pull request #56951 from batrick/wip-65520-reef

reef: qa: ignore human-friendly POOL_APP_NOT_ENABLED in clog

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #57172 from batrick/wip-65707-reef
Jos Collin [Mon, 17 Jun 2024 10:17:40 +0000 (15:47 +0530)]
Merge pull request #57172 from batrick/wip-65707-reef

reef: qa: increase debugging for snap_schedule

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #57174 from batrick/wip-65709-reef
Jos Collin [Mon, 17 Jun 2024 10:11:32 +0000 (15:41 +0530)]
Merge pull request #57174 from batrick/wip-65709-reef

reef: client: clear resend_mds only after sending request

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #57446 from mchangir/wip-65898-reef
Jos Collin [Mon, 17 Jun 2024 10:03:35 +0000 (15:33 +0530)]
Merge pull request #57446 from mchangir/wip-65898-reef

reef: mgr/snap_schedule: restore yearly spec to lowercase y

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #57557 from lxbsz/wip-66053
Jos Collin [Mon, 17 Jun 2024 09:50:50 +0000 (15:20 +0530)]
Merge pull request #57557 from lxbsz/wip-66053

reef: qa/fsx: use a specified sha1 to build the xfstest-dev

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #57837 from rishabh-d-dave/wip-65927-reef
Jos Collin [Mon, 17 Jun 2024 09:46:25 +0000 (15:16 +0530)]
Merge pull request #57837 from rishabh-d-dave/wip-65927-reef

reef: mon,cephfs: require confirmation flag to bring down unhealthy MDS

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
13 months agoMerge pull request #58076 from idryomov/wip-cephadm-flake8-fix-reef
Pedro Gonzalez Gomez [Mon, 17 Jun 2024 07:19:31 +0000 (09:19 +0200)]
Merge pull request #58076 from idryomov/wip-cephadm-flake8-fix-reef

reef: mgr/cephadm: fix flake8 test failures

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
13 months agomgr/cephadm: fix flake8 test failures 58076/head
Nizamudeen A [Sun, 16 Jun 2024 09:11:04 +0000 (14:41 +0530)]
mgr/cephadm: fix flake8 test failures

after a recent update on flake8, some tests in cephadm started failing
```
flake8: commands[0]> flake8 --config=tox.ini alerts balancer cephadm cli_api crash devicehealth diskprediction_local hello iostat localpool nfs orchestrator prometheus rbd_support rgw selftest smb
cephadm/configchecks.py:94:6: E204 whitespace after decorator '@'
cephadm/module.py:3017:10: E204 whitespace after decorator '@'
cephadm/module.py:3344:144: E226 missing whitespace around arithmetic operator
cephadm/tests/test_cephadm.py:982:6: E204 whitespace after decorator '@'
3     E204 whitespace after decorator '@'
1     E226 missing whitespace around arithmetic operator
```

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

13 months agoMerge pull request #58060 from zdover23/wip-doc-2024-06-16-backport-58057-to-reef
Anthony D'Atri [Sun, 16 Jun 2024 06:16:45 +0000 (02:16 -0400)]
Merge pull request #58060 from zdover23/wip-doc-2024-06-16-backport-58057-to-reef

reef: doc/rados: explain replaceable parts of command

13 months agodoc/rados: explain replaceable parts of command 58060/head
Zac Dover [Sat, 15 Jun 2024 11:55:18 +0000 (21:55 +1000)]
doc/rados: explain replaceable parts of command

Add an explanation that directs the reader to replace the "X" part of
the command "ceph tell mon.X mon_status" with the value specific to the
reader's Ceph cluster (which is (probably) not "X").

In the future, such replaceable strings in commands may be bounded by
angle brackets ("<" and ">").

This improvement to the documentation was suggested on the [ceph-users]
email list by Joel Davidow. This email, an absolute model of user
engagement with an upstream project, can be reviewed here:
https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/message/KF67F5TXFSSTPXV7EKL6JKLA5KZQDLDQ/

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

13 months agoceph-volume: fix regression 58005/head
Guillaume Abrioux [Mon, 3 Jun 2024 12:00:10 +0000 (14:00 +0200)]
ceph-volume: fix regression

This fixes a regression introduced by: 24f8e5c61b19deab7397b0237f8376c6c03a5dcb

`iter_entry_points` from `pkg_resources` takes one argument whereas
`entry_points` from `importlib.metadata` does not.

The call to `entry_points(group=group)` makes ceph-volume fail.

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

13 months agoMerge pull request #57994 from ljflores/wip-66450-reef
Laura Flores [Fri, 14 Jun 2024 15:42:12 +0000 (10:42 -0500)]
Merge pull request #57994 from ljflores/wip-66450-reef

reef: mgr/k8sevents: update V1Events to CoreV1Events

13 months agoMerge pull request #58050 from zdover23/wip-doc-2024-06-14-backport-58007-to-reef
Anthony D'Atri [Fri, 14 Jun 2024 15:14:18 +0000 (11:14 -0400)]
Merge pull request #58050 from zdover23/wip-doc-2024-06-14-backport-58007-to-reef

reef: doc/rados: add pg-states and pg-concepts to tree

13 months agodoc/rados: add pg-states and pg-concepts to tree 58050/head
Zac Dover [Thu, 13 Jun 2024 11:29:47 +0000 (21:29 +1000)]
doc/rados: add pg-states and pg-concepts to tree

Add "pg-states" and "pg-concepts" to the left tree pane on
docs.ceph.com.

This commit has been made in response to a request from the upstream
made in https://pad.ceph.com/p/Report_Documentation_Bugs.

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

13 months agoceph-volume: use importlib from stdlib on Python 3.8 and up
Kefu Chai [Thu, 23 May 2024 04:47:26 +0000 (12:47 +0800)]
ceph-volume: use importlib from stdlib on Python 3.8 and up

since packaging was apparently removed from pkg_resources, let's use
importlib.metadata when it is available and pkg_resources on older
Python versions.

Refs https://tracker.ceph.com/issues/66201
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 24f8e5c61b19deab7397b0237f8376c6c03a5dcb)

13 months agomgr/k8sevents: update V1Events to CoreV1Events 57994/head
Nizamudeen A [Fri, 3 May 2024 08:56:19 +0000 (14:26 +0530)]
mgr/k8sevents: update V1Events to CoreV1Events

centos9 only provides kubernetes 26.1.0 as base dep and hence the
k8sevents code needs to be updated accordingly. the api changes happened
in kuberenetes while 19.0.0 was released

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

13 months agoMerge pull request #57983 from zdover23/wip-doc-2024-06-12-backport-57976-to-reef
Anthony D'Atri [Wed, 12 Jun 2024 13:06:46 +0000 (09:06 -0400)]
Merge pull request #57983 from zdover23/wip-doc-2024-06-12-backport-57976-to-reef

reef: doc/glossary: Add "S3"

13 months agoqa/cephfs: set joinable on FS before exiting tests in TestFSFail 57837/head
Rishabh Dave [Tue, 7 May 2024 14:50:55 +0000 (20:20 +0530)]
qa/cephfs: set joinable on FS before exiting tests in TestFSFail

After running TestFSFail, CephFSTestCase.tearDown() fails attempting
to unmount CephFS. Set joinable on FS and wait for the MDS to be up
before exiting the test. This will ensure that unmounting is
successful in teardown.

Fixes: https://tracker.ceph.com/issues/65841
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit faa30e03f31551a71ebb8330dbbe7005d9ddd559)

13 months agoqa/cephfs: pass MDS name, not FS name, to "ceph mds fail" cmd
Rishabh Dave [Wed, 8 May 2024 13:59:11 +0000 (19:29 +0530)]
qa/cephfs: pass MDS name, not FS name, to "ceph mds fail" cmd

This issue was not caught in original QA run because "ceph mds fail"
returns 0 even though MDS name received by it in argument is
non-existent. This is done for the sake of idempotency, however it
caused this bug to go uncaught.

Fixea: https://tracker.ceph.com/issues/65864
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit ab643f7a501797634a366fd29bf4acef6a8f0cf2)

13 months agoqa/cephfs: add tests failing MDS and FS when MDS is unhealthy
Rishabh Dave [Mon, 25 Mar 2024 12:05:38 +0000 (17:35 +0530)]
qa/cephfs: add tests failing MDS and FS when MDS is unhealthy

Add tests to verify that the confirmation flag is mandatory for running
commands "ceph mds fail" and "ceph fs fail" when MDS has one of the two
health warnings: MDS_CACHE_OVERSIZE or MDS_TRIM.

Also, add MDS_CACHE_OVERSIZE and MDS_TRIM to ignorelist for
test_admin.py so that QA jobs knows this an expected failure.

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

13 months agoqa/cephfs: pass confirmation flag to fs fail in tear down code
Rishabh Dave [Mon, 25 Mar 2024 12:01:01 +0000 (17:31 +0530)]
qa/cephfs: pass confirmation flag to fs fail in tear down code

Since "ceph fs fail" command now requires the confirmation flag when
Ceph cluster has either health warning MDS_TRIM or MDS_CACHE_OVERSIZE,
update tear down in QA code. During the teardown, the CephFS should be
failed, regardless of whether or not Ceph cluster has health warnings,
since it is teardown.

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

13 months agoPendingReleaseNotes: note need of confirmation for "ceph fs fail"
Rishabh Dave [Fri, 19 Apr 2024 11:38:50 +0000 (17:08 +0530)]
PendingReleaseNotes: note need of confirmation for "ceph fs fail"

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

13 months agodoc/cephfs: mention need of confirmation for "ceph fs fail"
Rishabh Dave [Fri, 19 Apr 2024 11:34:54 +0000 (17:04 +0530)]
doc/cephfs: mention need of confirmation for "ceph fs fail"

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

13 months agocephfs,mon: require confirmation to fail unhealthy FS
Rishabh Dave [Wed, 13 Mar 2024 09:31:02 +0000 (15:01 +0530)]
cephfs,mon: require confirmation to fail unhealthy FS

Confirmation flag must be passed when running the command "ceph fs fail"
when the MDS for this FS has either of the two health warnings: MDS_TRIM
or MDS_CACHE_OVERSIZED. Else, the command will fail and print an
appropriate error message.

Restarting an MDS with these health warnings is not recommened since it
will have a slow recovery during restart which will create new problems.

Fixes: https://tracker.ceph.com/issues/61866
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit b901616494a8359e59f7ec2cd661077c4aced01c)

Conflicts:
- src/mon/FSCommands.cc
  -  lines surrounding the patch are different in reef compared to main.
     the reef code was still accessing "mds_map" directly instead of
     accessing it using "get_mds_map()".
  - return value of get_filesystem() is different in main.

13 months agodoc/glossary: Add "S3" 57983/head
Zac Dover [Tue, 11 Jun 2024 23:11:35 +0000 (09:11 +1000)]
doc/glossary: Add "S3"

Add "S3" entry to the glossary.

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

13 months agoMerge pull request #57959 from zdover23/wip-doc-2024-06-11-backport-57957-to-reef
Anthony D'Atri [Tue, 11 Jun 2024 01:39:41 +0000 (21:39 -0400)]
Merge pull request #57959 from zdover23/wip-doc-2024-06-11-backport-57957-to-reef

reef: doc/rados: improve leader/peon monitor explanation

13 months agodoc/rados: improve leader/peon monitor explanation 57959/head
Zac Dover [Mon, 10 Jun 2024 22:00:00 +0000 (08:00 +1000)]
doc/rados: improve leader/peon monitor explanation

Add an explanation of leader-peon conditions that obtain when the
cluster is in the "HEALTH_OK" state. Previously, the text discussed
these two monitor states only in the context of a health detail entry.

This improvement to the documentation was suggested on the [ceph-users]
email list by Joel Davidow. This email, an absolute model of user
engagement with an upstream project, can be reviewed here: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/message/KF67F5TXFSSTPXV7EKL6JKLA5KZQDLDQ/

I will list Joel Davidow here as the co-author for the sake of more
expediently getting this change into the documentation, but though he is
listed as the co-author, he is the true author.

Co-authored-by: Joel Davidow <jdavidow@nso.edu>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 6fb9a5ef817eda5184d51ebcb425a6091ca82299)

13 months agoMerge pull request #57949 from zdover23/wip-doc-2024-06-10-backport-57947-to-reef
Zac Dover [Sun, 9 Jun 2024 22:09:43 +0000 (08:09 +1000)]
Merge pull request #57949 from zdover23/wip-doc-2024-06-10-backport-57947-to-reef

reef: doc/start: remove "intro.rst"

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
13 months agodoc/start: remove "intro.rst" 57949/head
Zac Dover [Sun, 9 Jun 2024 18:55:13 +0000 (04:55 +1000)]
doc/start: remove "intro.rst"

Remove "start/intro.rst", which has been renamed "start/index.rst" in
order to follow the conventions followed elsewhere in the documentation.

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

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

13 months agoMerge pull request #57937 from zdover23/wip-doc-2024-06-08-backport-57923-to-reef
Zac Dover [Sun, 9 Jun 2024 18:22:45 +0000 (04:22 +1000)]
Merge pull request #57937 from zdover23/wip-doc-2024-06-08-backport-57923-to-reef

reef: doc/src: add inline literals (``) to variables

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57942 from zdover23/wip-doc-2024-06-09-backport-57939-to-reef
Anthony D'Atri [Sun, 9 Jun 2024 02:36:04 +0000 (22:36 -0400)]
Merge pull request #57942 from zdover23/wip-doc-2024-06-09-backport-57939-to-reef

reef: doc/glossary.rst: add "OpenStack Swift" and "Swift"

13 months agodoc/glossary.rst: add "OpenStack Swift" and "Swift" 57942/head
Zac Dover [Sat, 8 Jun 2024 20:24:43 +0000 (06:24 +1000)]
doc/glossary.rst: add "OpenStack Swift" and "Swift"

Add "OpenStack Swift" and "Swift" entries to the glossary.

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

13 months agodoc/src: add inline literals (``) to variables 57937/head
Zac Dover [Fri, 7 Jun 2024 01:24:00 +0000 (11:24 +1000)]
doc/src: add inline literals (``) to variables

Add inline-literal RST markup (``) (double backticks) around variable
names in src/common/options/global.yaml.in.

This follows https://github.com/ceph/ceph/pull/57887.

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

13 months agoMerge pull request #57884 from zdover23/wip-doc-2024-06-05-backport-57868-to-reef
Zac Dover [Thu, 6 Jun 2024 23:39:46 +0000 (09:39 +1000)]
Merge pull request #57884 from zdover23/wip-doc-2024-06-05-backport-57868-to-reef

reef: doc: correct typo

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57916 from zdover23/wip-doc-2024-06-07-backport-57887-to-reef
Zac Dover [Thu, 6 Jun 2024 20:13:28 +0000 (06:13 +1000)]
Merge pull request #57916 from zdover23/wip-doc-2024-06-07-backport-57887-to-reef

reef: doc/rados: add options to network config ref

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57914 from zdover23/wip-doc-2024-06-07-backport-57886-to-reef
Ilya Dryomov [Thu, 6 Jun 2024 17:42:06 +0000 (19:42 +0200)]
Merge pull request #57914 from zdover23/wip-doc-2024-06-07-backport-57886-to-reef

reef: doc/dev: origin of Labeled Perf Counters

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
13 months agodoc/rados: add options to network config ref 57916/head
Zac Dover [Wed, 5 Jun 2024 04:30:01 +0000 (14:30 +1000)]
doc/rados: add options to network config ref

Add the following options to
doc/rados/configuration/network-config-ref.rst:

- public_network_interface
- cluster_network_interface

These additions were made in response to a request from Blaine Gardner.

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

13 months agodoc/dev: origin of Labeled Perf Counters 57914/head
Zac Dover [Wed, 5 Jun 2024 01:18:46 +0000 (11:18 +1000)]
doc/dev: origin of Labeled Perf Counters

Note that Labeled Perf Counters were introduced in Reef.

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

13 months agoMerge pull request #57794 from rzarzynski/wip-bug-61948-reef-backport
Laura Flores [Wed, 5 Jun 2024 20:51:54 +0000 (15:51 -0500)]
Merge pull request #57794 from rzarzynski/wip-bug-61948-reef-backport

reef: mon, osd, *: expose upmap-primary in OSDMap::get_features()