]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 months agodoc/rados/operations: remove vanity cluster name reference from crush-map.rst 58948/head
Anthony D'Atri [Wed, 31 Jul 2024 00:45:11 +0000 (20:45 -0400)]
doc/rados/operations: remove vanity cluster name reference from crush-map.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 62562ec65e3c1cc040a57ab77fc219e0aad25651)

11 months agoMerge pull request #58941 from zdover23/wip-doc-2024-07-31-backport-58922-to-reef
Anthony D'Atri [Wed, 31 Jul 2024 00:50:20 +0000 (20:50 -0400)]
Merge pull request #58941 from zdover23/wip-doc-2024-07-31-backport-58922-to-reef

reef: doc/cephadm: edit "Using Custom Images"

11 months agoMerge pull request #58944 from zdover23/wip-doc-2024-07-31-backport-58908-to-reef
Anthony D'Atri [Wed, 31 Jul 2024 00:48:28 +0000 (20:48 -0400)]
Merge pull request #58944 from zdover23/wip-doc-2024-07-31-backport-58908-to-reef

reef: doc/glossary: add "ceph-fuse" entry

11 months agoMerge pull request #58938 from zdover23/wip-doc-2024-07-31-backport-58918-to-reef
Anthony D'Atri [Wed, 31 Jul 2024 00:38:46 +0000 (20:38 -0400)]
Merge pull request #58938 from zdover23/wip-doc-2024-07-31-backport-58918-to-reef

reef: doc/dev: improve basic-workflow.rst

11 months agodoc/glossary: add "ceph-fuse" entry 58944/head
Zac Dover [Mon, 29 Jul 2024 15:50:13 +0000 (01:50 +1000)]
doc/glossary: add "ceph-fuse" entry

Add a "ceph-fuse" entry to the glossary.

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

11 months agodoc/cephadm: edit "Using Custom Images" 58941/head
Zac Dover [Tue, 30 Jul 2024 07:33:55 +0000 (17:33 +1000)]
doc/cephadm: edit "Using Custom Images"

Edit the section "Using Custom Images" in
doc/cephadm/services/monitoring.rst.

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

11 months agodoc/dev: improve basic-workflow.rst 58938/head
Zac Dover [Tue, 30 Jul 2024 06:07:04 +0000 (16:07 +1000)]
doc/dev: improve basic-workflow.rst

Make various improvements to doc/dev/developer_guide/basic-workflow.rst.

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

11 months agoMerge pull request #58910 from zdover23/wip-doc-2024-07-30-backport-58904-to-reef
Anthony D'Atri [Tue, 30 Jul 2024 00:12:50 +0000 (20:12 -0400)]
Merge pull request #58910 from zdover23/wip-doc-2024-07-30-backport-58904-to-reef

reef: doc/cephfs: edit "Dynamic Subtree Partitioning"

11 months agodoc/cephfs: edit "Dynamic Subtree Partitioning" 58910/head
Zac Dover [Mon, 29 Jul 2024 11:17:44 +0000 (21:17 +1000)]
doc/cephfs: edit "Dynamic Subtree Partitioning"

Edit the section "Dynamic Subtree Partitioning" in
doc/cephfs/multimds.rst.

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

11 months agoMerge pull request #58902 from zdover23/wip-doc-2024-07-29-backport-58554-to-reef
Anthony D'Atri [Mon, 29 Jul 2024 14:26:02 +0000 (10:26 -0400)]
Merge pull request #58902 from zdover23/wip-doc-2024-07-29-backport-58554-to-reef

reef: docs: removed centos 8 and added squid to the build matrix

11 months agodocs: removed centos 8 and added squid to the build matrix 58902/head
Yuri Weinstein [Fri, 12 Jul 2024 13:42:02 +0000 (06:42 -0700)]
docs: removed centos 8 and added squid to the build matrix

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit 8761bbe16c2a6d19e136254c26d1d67ebe839e3b)

11 months agoMerge pull request #58893 from zdover23/wip-doc-2024-07-28-backport-58884-to-reef
Anthony D'Atri [Sun, 28 Jul 2024 14:12:49 +0000 (10:12 -0400)]
Merge pull request #58893 from zdover23/wip-doc-2024-07-28-backport-58884-to-reef

doc/cephfs: fix "OSD capabilities" link

11 months agodoc/cephfs: fix "OSD capabilities" link 58893/head
Zac Dover [Sun, 28 Jul 2024 07:27:53 +0000 (17:27 +1000)]
doc/cephfs: fix "OSD capabilities" link

Fix a broken link from the "OSD capabilites" reference on
doc/cephfs/client-auth.rst.

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

11 months agoMerge pull request #58876 from zdover23/wip-doc-2024-07-27-backport-58867-to-reef
Anthony D'Atri [Sat, 27 Jul 2024 01:12:06 +0000 (21:12 -0400)]
Merge pull request #58876 from zdover23/wip-doc-2024-07-27-backport-58867-to-reef

reef: doc/cephfs: fix "file layouts" link

11 months agoMerge pull request #58856 from idryomov/wip-67097-reef
Ilya Dryomov [Fri, 26 Jul 2024 16:00:43 +0000 (18:00 +0200)]
Merge pull request #58856 from idryomov/wip-67097-reef

reef: qa/suites/krbd: stress test for recovering from watch errors for -o exclusive

Reviewed-by: Ramana Raja <rraja@redhat.com>
11 months agodoc/cephfs: fix "file layouts" link 58876/head
Zac Dover [Fri, 26 Jul 2024 07:15:12 +0000 (17:15 +1000)]
doc/cephfs: fix "file layouts" link

Fix a broken link to the "File Layouts" page on
doc/cephfs/client-auth.rst.

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

11 months agoMerge pull request #58864 from zdover23/wip-doc-2024-07-26-backport-58838-to-reef
Anthony D'Atri [Fri, 26 Jul 2024 00:37:02 +0000 (20:37 -0400)]
Merge pull request #58864 from zdover23/wip-doc-2024-07-26-backport-58838-to-reef

reef: doc/rbd/rbd-exclusive-locks: mention incompatibility with advisory locks

11 months agodoc/rbd/rbd-exclusive-locks: mention incompatibility with advisory locks 58864/head
Ilya Dryomov [Thu, 25 Jul 2024 07:48:10 +0000 (09:48 +0200)]
doc/rbd/rbd-exclusive-locks: mention incompatibility with advisory locks

This is due to both using the same name for the lock at the RADOS level
("rbd_lock").

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

11 months agoqa/suites/krbd: override extra_system_packages directly on install task 58856/head
Ilya Dryomov [Wed, 24 Jul 2024 06:47:51 +0000 (08:47 +0200)]
qa/suites/krbd: override extra_system_packages directly on install task

Follow commit c61cb16223fa ("qa/suites/rbd: override
extra_system_packages directly on install task").

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

11 months agoqa/suites/krbd: stress test for recovering from watch errors for -o exclusive
Ilya Dryomov [Wed, 24 Jul 2024 06:44:46 +0000 (08:44 +0200)]
qa/suites/krbd: stress test for recovering from watch errors for -o exclusive

This is based on a test added in commit 237aa221ebad ("qa/suites/krbd:
stress test for recovering from watch errors") for regular mappings.

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

11 months agoMerge pull request #57873 from ceph/reef-release
Josh Durgin [Wed, 24 Jul 2024 23:02:46 +0000 (16:02 -0700)]
Merge pull request #57873 from ceph/reef-release

v18.2.4

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
11 months agoMerge pull request #58775 from zdover23/wip-doc-2024-07-24-backport-58524-to-reef
Anthony D'Atri [Wed, 24 Jul 2024 22:28:39 +0000 (18:28 -0400)]
Merge pull request #58775 from zdover23/wip-doc-2024-07-24-backport-58524-to-reef

reef: doc/cephfs: streamline a paragraph

11 months agoMerge branch 'reef' into reef-release 57873/head
Josh Durgin [Wed, 24 Jul 2024 19:35:38 +0000 (12:35 -0700)]
Merge branch 'reef' into reef-release

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
11 months agodoc/cephfs: streamline a paragraph 58775/head
Zac Dover [Wed, 10 Jul 2024 23:15:38 +0000 (09:15 +1000)]
doc/cephfs: streamline a paragraph

Streamline a paragraph in doc/cephfs/index.rst.

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

11 months agoMerge pull request #58458 from k0ste/wip-66860-reef
Kefu Chai [Tue, 23 Jul 2024 23:13:25 +0000 (07:13 +0800)]
Merge pull request #58458 from k0ste/wip-66860-reef

reef: debian: recursively adjust permissions of /var/lib/ceph/crash

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
11 months agoMerge pull request #58730 from zdover23/wip-doc-2024-07-23-backport-58725-to-reef
Anthony D'Atri [Mon, 22 Jul 2024 20:15:14 +0000 (16:15 -0400)]
Merge pull request #58730 from zdover23/wip-doc-2024-07-23-backport-58725-to-reef

reef: doc/dev_guide: add needs-upgrade-testing label info

11 months agoMerge pull request #58738 from zdover23/wip-doc-2024-07-23-backport-58600-to-reef
Anthony D'Atri [Mon, 22 Jul 2024 20:12:35 +0000 (16:12 -0400)]
Merge pull request #58738 from zdover23/wip-doc-2024-07-23-backport-58600-to-reef

reef: doc/dev: add formatting to basic workflow

11 months agodoc/dev: add formatting to basic workflow 58738/head
Zac Dover [Mon, 15 Jul 2024 16:03:37 +0000 (02:03 +1000)]
doc/dev: add formatting to basic workflow

Add some formatting to a few sections near the end of
doc/dev/developer_guide_basic-workflow.rst.

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

11 months agodoc/dev_guide: add needs-upgrade-testing label info 58730/head
Zac Dover [Mon, 22 Jul 2024 15:36:53 +0000 (01:36 +1000)]
doc/dev_guide: add needs-upgrade-testing label info

Add an explanation of the "needs-upgrade-testing" label and explain when
to use it.

Laura is the true author of this text.

Co-authored-by: Laura Flores <lflores@ibm.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 02d5a6a3371c9fa52a32124cf07da16b89a11e27)

11 months agoMerge pull request #58721 from zdover23/wip-doc-2024-07-22-backport-56517-to-reef
Anthony D'Atri [Mon, 22 Jul 2024 14:07:24 +0000 (10:07 -0400)]
Merge pull request #58721 from zdover23/wip-doc-2024-07-22-backport-56517-to-reef

reef: doc/start/os-recommendations: remove 16.2.z support for CentOS 7

11 months agodoc/start/os-recommendations: remove 16.2.z support for CentOS 7 58721/head
gukaifeng [Tue, 2 Apr 2024 07:28:04 +0000 (15:28 +0800)]
doc/start/os-recommendations: remove 16.2.z support for CentOS 7

(cherry picked from commit 92b07ddece5f717454e5aeaa00ec70e5649539c0)

11 months agoMerge pull request #58713 from zdover23/wip-doc-2024-07-22-backport-58639-to-reef
Anthony D'Atri [Mon, 22 Jul 2024 12:45:42 +0000 (08:45 -0400)]
Merge pull request #58713 from zdover23/wip-doc-2024-07-22-backport-58639-to-reef

reef: doc/start: add tested container host oses

11 months agoMerge pull request #57094 from aclamk/wip-aclamk-fix-teuthology-test-bluestore-b
Adam Kupczyk [Mon, 22 Jul 2024 12:17:44 +0000 (14:17 +0200)]
Merge pull request #57094 from aclamk/wip-aclamk-fix-teuthology-test-bluestore-b

teuthology/bluestore: Fix running of compressed tests

11 months agodoc/start: add tested container host oses 58713/head
Zac Dover [Wed, 17 Jul 2024 06:18:58 +0000 (16:18 +1000)]
doc/start: add tested container host oses

Add a list of OSes that have been tested as container hosts. This commit
is added in response to a request made by Josh Durgin on Slack.

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

11 months agoMerge pull request #58350 from chrisphoffman/wip-66732-reef
Xiubo Li [Mon, 22 Jul 2024 06:21:05 +0000 (14:21 +0800)]
Merge pull request #58350 from chrisphoffman/wip-66732-reef

reef: mds: Implement remove for ceph vxattrs

11 months agoMerge pull request #58556 from rishabh-d-dave/wip-66927-reef
Xiubo Li [Mon, 22 Jul 2024 06:20:59 +0000 (14:20 +0800)]
Merge pull request #58556 from rishabh-d-dave/wip-66927-reef

reef: mgr/vol: handle case where clone index entry goes missing

11 months agoMerge pull request #58560 from rishabh-d-dave/wip-66931-reef
Xiubo Li [Mon, 22 Jul 2024 06:20:37 +0000 (14:20 +0800)]
Merge pull request #58560 from rishabh-d-dave/wip-66931-reef

reef: qa/cephfs: fix test_single_path_authorize_on_nonalphanumeric_fsname

11 months agoMerge pull request #58563 from rishabh-d-dave/wip-66936-reef
Xiubo Li [Mon, 22 Jul 2024 06:20:11 +0000 (14:20 +0800)]
Merge pull request #58563 from rishabh-d-dave/wip-66936-reef

reef: qa/cephfs: improvements for "mds fail" and "fs fail"

11 months agoMerge pull request #58632 from joscollin/wip-66976-reef
Xiubo Li [Mon, 22 Jul 2024 06:17:47 +0000 (14:17 +0800)]
Merge pull request #58632 from joscollin/wip-66976-reef

reef: cephfs_mirror, qa: fix mirror daemon doesn't restart when blocklisted or failed

12 months agoMerge pull request #58697 from zdover23/wip-doc-2024-07-21-backport-58695-to-reef
Anthony D'Atri [Sat, 20 Jul 2024 19:13:03 +0000 (15:13 -0400)]
Merge pull request #58697 from zdover23/wip-doc-2024-07-21-backport-58695-to-reef

reef: doc: Amend dev mailing list subscribe instructions.

12 months agodoc: Amend dev mailing list subscribe instructions. 58697/head
Paulo E. Castro [Sat, 20 Jul 2024 16:32:17 +0000 (17:32 +0100)]
doc: Amend dev mailing list subscribe instructions.

Signed-off-by: Paulo E. Castro <pecastro@wormholenet.com>
(cherry picked from commit 3b0360bc2ea1e0b5f7a7c6b04ade483f77e4b5c6)

12 months agoMerge pull request #58681 from zdover23/wip-doc-2024-07-20-backport-58678-to-reef
Anthony D'Atri [Fri, 19 Jul 2024 17:50:05 +0000 (13:50 -0400)]
Merge pull request #58681 from zdover23/wip-doc-2024-07-20-backport-58678-to-reef

reef: doc/cephadm/upgrade: ceph-ci containers are hosted by quay.ceph.io

12 months agoMerge pull request #58684 from zdover23/wip-doc-2024-07-20-backport-58671-to-reef
Anthony D'Atri [Fri, 19 Jul 2024 17:44:14 +0000 (13:44 -0400)]
Merge pull request #58684 from zdover23/wip-doc-2024-07-20-backport-58671-to-reef

reef: doc/start: update mailing list links

12 months agodoc/start: update mailing list links 58684/head
Zac Dover [Fri, 19 Jul 2024 06:44:44 +0000 (16:44 +1000)]
doc/start: update mailing list links

Update the User and Dev mailing list subscription links. This commit is
made in response to a request from Dan van der Ster.

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

12 months agodoc/cephadm/upgrade: ceph-ci containers are hosted by quay.ceph.io 58681/head
Casey Bodley [Fri, 19 Jul 2024 14:10:38 +0000 (10:10 -0400)]
doc/cephadm/upgrade: ceph-ci containers are hosted by quay.ceph.io

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

12 months agoMerge pull request #58447 from ceph/wip-yuriw-reef-client-x
Yuri Weinstein [Thu, 18 Jul 2024 14:47:23 +0000 (07:47 -0700)]
Merge pull request #58447 from ceph/wip-yuriw-reef-client-x

qa/tests: added client-upgrade-reef-squid tests

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
12 months agoMerge pull request #58657 from rhcs-dashboard/wip-67003-reef
Avan [Thu, 18 Jul 2024 10:18:54 +0000 (15:48 +0530)]
Merge pull request #58657 from rhcs-dashboard/wip-67003-reef

reef: mgr/dashboard: add NFS export button for subvolume/ grp

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
12 months agodebian: recursively adjust permissions of /var/lib/ceph/crash 58458/head
Max Carrara [Tue, 30 Apr 2024 15:40:27 +0000 (17:40 +0200)]
debian: recursively adjust permissions of /var/lib/ceph/crash

A rather recent PR made ceph-crash run as "ceph" user instead of
root [0]. However, because /var/lib/ceph/crash/posted belongs to root,
ceph-crash cannot actually post any crash logs now.

This commit fixes this by recursively updating the permissions of
'/var/lib/ceph/crash', which ensures that all files and directories
used by 'ceph-crash.service' are actually owned by the user configured
for Ceph. This also accounts for existing installations.

Additionally, quote interpolated variables and use curly braces [1].

[0]: #48713
[1]: https://www.shellcheck.net/wiki/SC2086

Fixes: https://tracker.ceph.com/issues/64548
Signed-off-by: Max Carrara <m.carrara@proxmox.com>
(cherry picked from commit 97a1ec4b521f05f924ff51767b9bfda825f717e9)

12 months agomgr/dashboard: add NFS export route from subvolume/subvolume grp 58657/head
Avan Thakkar [Fri, 5 Jul 2024 09:29:13 +0000 (14:59 +0530)]
mgr/dashboard: add NFS export route from subvolume/subvolume grp

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit c0b2db74b2a99eb0ee4e4a37997d6516d8622855)

12 months agoMerge pull request #58615 from zdover23/wip-doc-2024-07-16-backport-58596-to-reef
Zac Dover [Thu, 18 Jul 2024 05:22:00 +0000 (15:22 +1000)]
Merge pull request #58615 from zdover23/wip-doc-2024-07-16-backport-58596-to-reef

reef: doc: clarify superuser note for ceph-fuse

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
12 months agoqa/tests: added client-upgrade-reef-squid tests 58447/head
Yuri Weinstein [Fri, 5 Jul 2024 18:01:24 +0000 (11:01 -0700)]
qa/tests: added client-upgrade-reef-squid tests

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
12 months agoMerge pull request #57565 from dparmar18/wip-66061-reef
Xiubo Li [Wed, 17 Jul 2024 03:19:45 +0000 (11:19 +0800)]
Merge pull request #57565 from dparmar18/wip-66061-reef

reef: qa: add a YAML to ignore MGR_DOWN warning

12 months agoMerge pull request #57611 from vshankar/wip-65987-reef
Xiubo Li [Wed, 17 Jul 2024 03:19:35 +0000 (11:19 +0800)]
Merge pull request #57611 from vshankar/wip-65987-reef

reef: qa: ignore cluster warnings generated from forward-scrub task

12 months agoMerge pull request #58332 from mchangir/wip-66670-reef
Xiubo Li [Wed, 17 Jul 2024 03:19:23 +0000 (11:19 +0800)]
Merge pull request #58332 from mchangir/wip-66670-reef

reef: qa: cleanup snapshots before subvolume delete

12 months agoMerge pull request #58493 from joscollin/wip-66868-reef
Xiubo Li [Wed, 17 Jul 2024 03:19:00 +0000 (11:19 +0800)]
Merge pull request #58493 from joscollin/wip-66868-reef

reef: mds: prevent scrubbing for standby-replay MDS

12 months agoMerge pull request #58497 from joscollin/wip-66667-reef
Xiubo Li [Wed, 17 Jul 2024 03:18:34 +0000 (11:18 +0800)]
Merge pull request #58497 from joscollin/wip-66667-reef

reef: mds: set the correct WRLOCK flag always in wrlock_force()

12 months agoMerge pull request #58502 from joscollin/wip-66275-reef
Xiubo Li [Wed, 17 Jul 2024 03:14:18 +0000 (11:14 +0800)]
Merge pull request #58502 from joscollin/wip-66275-reef

reef: mds: relax divergent backtrace scrub failures for replicated ancestor inodes

12 months agoMerge pull request #58528 from joscollin/wip-66614-reef
Xiubo Li [Wed, 17 Jul 2024 03:14:01 +0000 (11:14 +0800)]
Merge pull request #58528 from joscollin/wip-66614-reef

reef: mds: set the proper extra bl for the create request

12 months agoMerge pull request #58529 from joscollin/wip-66200-reef
Xiubo Li [Wed, 17 Jul 2024 03:13:38 +0000 (11:13 +0800)]
Merge pull request #58529 from joscollin/wip-66200-reef

reef: client: set LIBMOUNT_FORCE_MOUNT2=always

12 months agoqa: Wait for mirror daemon restart before getting new rados_inst 58632/head
Jos Collin [Thu, 14 Mar 2024 14:42:46 +0000 (20:12 +0530)]
qa: Wait for mirror daemon restart before getting new rados_inst

After blocklisted/failed, wait for the mirror daemon restart
which is after 30 seconds timeout and then check for the new rados_inst.

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

12 months agocephfs_mirror: Fixed negative seconds
Jos Collin [Thu, 30 May 2024 10:18:08 +0000 (15:48 +0530)]
cephfs_mirror: Fixed negative seconds

Fixes: https://tracker.ceph.com/issues/64927
Fixes: https://tracker.ceph.com/issues/51964
Fixes: https://tracker.ceph.com/issues/63931
Fixes: https://tracker.ceph.com/issues/63089
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 96c3f8f33d789a065c7ed418679afd53faffa3d8)

12 months agocephfs_mirror: Add ErrorListener to maintain blocklisted/failed timestamp in FSMirror
Jos Collin [Tue, 28 May 2024 14:57:55 +0000 (20:27 +0530)]
cephfs_mirror: Add ErrorListener to maintain blocklisted/failed timestamp in FSMirror

Have FSMirror register a listener with InstanceWatcher/MirrorWatcher which would get invoked when the mirror daemon is blocklisted or failed.
Thus FSMirror can maintain the last blocklisted/failed timestamp and use that for restarting the mirror daemon.

Fixes: https://tracker.ceph.com/issues/64927
Fixes: https://tracker.ceph.com/issues/51964
Fixes: https://tracker.ceph.com/issues/63931
Fixes: https://tracker.ceph.com/issues/63089
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 77ec7bfde7a349b0e06b34ecdf328996c7642d43)

12 months agoMerge pull request #58232 from batrick/wip-66592-reef
Xiubo Li [Tue, 16 Jul 2024 05:55:38 +0000 (13:55 +0800)]
Merge pull request #58232 from batrick/wip-66592-reef

reef: tools/cephfs: recover alternate_name of dentries from journal

12 months agoMerge pull request #57920 from batrick/wip-66387-reef
Xiubo Li [Tue, 16 Jul 2024 05:54:33 +0000 (13:54 +0800)]
Merge pull request #57920 from batrick/wip-66387-reef

reef: qa: disable mon_warn_on_pool_no_app in fs suite

12 months agoMerge pull request #57761 from joscollin/wip-66278-reef
Xiubo Li [Tue, 16 Jul 2024 05:54:25 +0000 (13:54 +0800)]
Merge pull request #57761 from joscollin/wip-66278-reef

reef: cephfs-journal-tool: Add preventive measures to avoid fs corruption

12 months agoMerge pull request #57683 from batrick/wip-66194-reef
Xiubo Li [Tue, 16 Jul 2024 05:54:17 +0000 (13:54 +0800)]
Merge pull request #57683 from batrick/wip-66194-reef

reef: mds: use regular dispatch for processing beacons

12 months agoMerge pull request #57681 from batrick/wip-66190-reef
Xiubo Li [Tue, 16 Jul 2024 05:54:11 +0000 (13:54 +0800)]
Merge pull request #57681 from batrick/wip-66190-reef

reef: mds: use regular dispatch for processing metrics

12 months agoMerge pull request #57524 from batrick/wip-66043-reef
Xiubo Li [Tue, 16 Jul 2024 05:54:00 +0000 (13:54 +0800)]
Merge pull request #57524 from batrick/wip-66043-reef

reef: qa: unmount clients before damaging the fs

12 months agoMerge pull request #58157 from vshankar/wip-66324-reef
Xiubo Li [Tue, 16 Jul 2024 05:51:08 +0000 (13:51 +0800)]
Merge pull request #58157 from vshankar/wip-66324-reef

reef: qa: enable debug logs for fs:cephadm:multivolume subsuite

12 months agoMerge pull request #58172 from batrick/wip-65272-reef
Xiubo Li [Tue, 16 Jul 2024 05:50:50 +0000 (13:50 +0800)]
Merge pull request #58172 from batrick/wip-65272-reef

reef: qa: ignore PG health warnings in CephFS QA

12 months agoMerge pull request #58231 from batrick/wip-65845-reef
Xiubo Li [Tue, 16 Jul 2024 05:50:24 +0000 (13:50 +0800)]
Merge pull request #58231 from batrick/wip-65845-reef

reef: qa: ignore variation of PG_DEGRADED health warning

12 months agoMerge pull request #58251 from joscollin/wip-66673-reef
Xiubo Li [Tue, 16 Jul 2024 05:49:36 +0000 (13:49 +0800)]
Merge pull request #58251 from joscollin/wip-66673-reef

reef: qa: enhance per-client labelled perf counters test

12 months agoMerge pull request #58295 from batrick/wip-66625-reef
Xiubo Li [Tue, 16 Jul 2024 05:49:10 +0000 (13:49 +0800)]
Merge pull request #58295 from batrick/wip-66625-reef

reef: mds: do remove the cap when seqs equal or larger than last issue

12 months agoMerge pull request #58328 from joscollin/wip-65926-reef
Xiubo Li [Tue, 16 Jul 2024 05:48:43 +0000 (13:48 +0800)]
Merge pull request #58328 from joscollin/wip-65926-reef

reef: mds/purgequeue: add l_pq_executed_ops counter

12 months agodoc: elide superuser discussion from mount prereq 58615/head
Patrick Donnelly [Mon, 15 Jul 2024 14:18:15 +0000 (10:18 -0400)]
doc: elide superuser discussion from mount prereq

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

12 months agodoc: clarify superuser note for ceph-fuse
Patrick Donnelly [Mon, 15 Jul 2024 14:12:24 +0000 (10:12 -0400)]
doc: clarify superuser note for ceph-fuse

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

12 months agoMerge pull request #58323 from zdover23/wip-doc-2024-06-28-backport-57685-to-reef
Zac Dover [Tue, 16 Jul 2024 03:25:12 +0000 (13:25 +1000)]
Merge pull request #58323 from zdover23/wip-doc-2024-06-28-backport-57685-to-reef

reef: cephadm: use importlib.metadata for querying ceph_iscsi's version

Reviewed-by: Adam King <adking@redhat.com>
12 months agoMerge pull request #58576 from zdover23/wip-doc-2024-07-14-backport-58451-to-reef
Zac Dover [Mon, 15 Jul 2024 13:21:12 +0000 (23:21 +1000)]
Merge pull request #58576 from zdover23/wip-doc-2024-07-14-backport-58451-to-reef

reef: doc/dev: edit "Principles for format change"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agoMerge pull request #58475 from rhcs-dashboard/wip-66871-reef
Pedro Gonzalez Gomez [Mon, 15 Jul 2024 09:07:35 +0000 (11:07 +0200)]
Merge pull request #58475 from rhcs-dashboard/wip-66871-reef

reef: mgr/dashboard: nfs export enhancement for CEPHFS

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
12 months agoMerge pull request #58579 from zdover23/wip-doc-2024-07-15-backport-58574-to-reef
Anthony D'Atri [Sun, 14 Jul 2024 17:22:43 +0000 (13:22 -0400)]
Merge pull request #58579 from zdover23/wip-doc-2024-07-15-backport-58574-to-reef

reef: doc/cephfs: edit "is mount helper present"

12 months agodoc/cephfs: edit "is mount helper present" 58579/head
Zac Dover [Sun, 14 Jul 2024 06:40:14 +0000 (16:40 +1000)]
doc/cephfs: edit "is mount helper present"

Edit the section called "Is mount helper present?", the title of which
prior to this commit was "Is mount helper is present?". Other small
disambiguating improvements have been made to the text in the section.
An unselectable prompt has been added before a command.

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

12 months agodoc/dev: edit "Principles for format change" 58576/head
Zac Dover [Sun, 7 Jul 2024 03:59:15 +0000 (13:59 +1000)]
doc/dev: edit "Principles for format change"

Improve "Principles for format change" in doc/dev/encoding.rst. This
commit started as a response to Anthony D'Atri's suggestion here: https://github.com/ceph/ceph/pull/58299/files#r1656985564

Review of this section suggested to me that certain minor English usage
improvements would be of benefit. The numbered lists in this section
could still be made a bit clearer.

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

12 months agoMerge pull request #58549 from idryomov/wip-test-cookie-reef
Ilya Dryomov [Fri, 12 Jul 2024 16:16:27 +0000 (18:16 +0200)]
Merge pull request #58549 from idryomov/wip-test-cookie-reef

reef: test/librbd: clean up unused TEST_COOKIE variable

Reviewed-by: Ramana Raja <rraja@redhat.com>
12 months agoMerge pull request #58245 from rhcs-dashboard/wip-66424-reef
Pedro Gonzalez Gomez [Fri, 12 Jul 2024 15:23:18 +0000 (17:23 +0200)]
Merge pull request #58245 from rhcs-dashboard/wip-66424-reef

reef: mgr/dashboard: fix edit bucket failing in other selected gateways

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
12 months agoqa/cephfs: rename couple of test methods 58563/head
Rishabh Dave [Wed, 8 May 2024 14:24:28 +0000 (19:54 +0530)]
qa/cephfs: rename couple of test methods

New name will make it easier to find these tests by making it similar to
health warnings (MDS_CACHE_OVERSIZED) they do testing for.

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

12 months agoqa/cephfs: improve and move _get_unhealthy_mds_name to TestMDSFail
Rishabh Dave [Wed, 8 May 2024 13:09:35 +0000 (18:39 +0530)]
qa/cephfs: improve and move _get_unhealthy_mds_name to TestMDSFail

1. Instead of accepting health report as argument, get one directly.
2. Since it is not being used elsewhere move it to the class where it is
   being used.

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

12 months agoqa/cephfs: use wait_for_health() instead of the new method
Rishabh Dave [Wed, 8 May 2024 12:29:11 +0000 (17:59 +0530)]
qa/cephfs: use wait_for_health() instead of the new method

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

12 months agoqa/cephfs: make code for generating health warnings reusable
Rishabh Dave [Wed, 8 May 2024 12:08:43 +0000 (17:38 +0530)]
qa/cephfs: make code for generating health warnings reusable

Code to generate MDS_TRIM and MDS_CACHE_OVERSIZED health warnings is
repeated in test methods of TestMDSFail and TestFSFail. Move this code
to separate helper methods so that it can be reused instead of
duplicating it. And move these helper methods to TestAdminCommands so
to make them conveniently available for reuse.

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

12 months agoqa/cephfs: fix test_single_path_authorize_on_nonalphanumeric_fsname 58560/head
Rishabh Dave [Wed, 26 Jun 2024 13:35:35 +0000 (19:05 +0530)]
qa/cephfs: fix test_single_path_authorize_on_nonalphanumeric_fsname

This test deletes the CephFS already present on the cluster at the very
beginning and unmounts the first client beforehand. But it leaves the
second client mounted on this deleted CephFS that doesn't exist for the
rest of the test. And then at the very end of this test it attempts to
remount the second client (during tearDown()) which hangs and causes
test runner to crash.

Unmount the second client beforehand to prevent the bug and delete
mount_b object to avoid confusion for the readers in future about
whether or not 2nd mountpoint exists.

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

12 months agomgr/vol: handle case where clone index entry goes missing 58556/head
Rishabh Dave [Mon, 17 Jun 2024 19:03:28 +0000 (00:33 +0530)]
mgr/vol: handle case where clone index entry goes missing

In `async_cloner.py`, clone index entry is fetched to get next clone job
that needs to be executed. It might happen that the clone job was
cancelled just when it was going to be picked for execution (IOW, when
it was about to move from pending state to in-progress state).

Currently, MGR hangs in such a case because exception `ObjectNotFound`
from CephFS Python bindings is raised and is left uncaught. To prevent
this issue catch the exception, log it and return None to tell
`get_job()` of `async_job.py` to look for next job in the queue.

Increase the scope of try-except in method `get_oldest_clone_entry()` of
`async_cloner.py` so that when exception `cephfs.Error` or any exception
under it is thrown by `self.fs.lstat()` is not left uncaught.

FS object is also passed to the method `list_one_entry_at_a_time()`, so
increasing scope of try-except is useful as it will not allow exceptions
raised in other calls to CephFS Python binding methods to be left
uncaught.

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

12 months ago18.2.4 v18.2.4
Ceph Release Team [Fri, 12 Jul 2024 13:57:23 +0000 (09:57 -0400)]
18.2.4

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
12 months agotest/ librbd: clean up unused 'TEST_COOKIE' 58549/head
Rongqi Sun [Tue, 9 Jul 2024 02:55:27 +0000 (02:55 +0000)]
test/ librbd: clean up unused 'TEST_COOKIE'

Clean them up because
```
/home/jenkins-build/build/workspace/ceph-pull-requests-arm64/src/test/librbd/exclusive_lock/test_mock_PreAcquireRequest.cc:47:26: error: unused variable 'TEST_COOKIE' [-Werror,-Wunused-const-variable]
static const std::string TEST_COOKIE("auto 123");
                         ^
1 error generated.
```

Ref: https://jenkins.ceph.com/job/ceph-pull-requests-arm64/59242/consoleFull#-5120798632a811ea2-3e7b-466b-84b4-d13df7e35809

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
(cherry picked from commit 49869222c816023f696ff2a42898e2d9f3f54215)

12 months agoMerge pull request #56877 from rhcs-dashboard/wip-65170-reef
Nizamudeen A [Fri, 12 Jul 2024 07:21:44 +0000 (12:51 +0530)]
Merge pull request #56877 from rhcs-dashboard/wip-65170-reef

reef: mgr/dashboard: bump follow-redirects from 1.15.3 to 1.15.6 in /src/pybind/mgr/dashboard/frontend

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
12 months agoMerge pull request #58338 from rhcs-dashboard/wip-66738-reef
Nizamudeen A [Fri, 12 Jul 2024 05:17:13 +0000 (10:47 +0530)]
Merge pull request #58338 from rhcs-dashboard/wip-66738-reef

reef: mgr/dashboard: fix clone async validators with different groups

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: nmunet <NOT@FOUND>
12 months agoMerge pull request #58522 from cbodley/wip-66896-reef
Casey Bodley [Thu, 11 Jul 2024 21:25:01 +0000 (22:25 +0100)]
Merge pull request #58522 from cbodley/wip-66896-reef

reef: install-deps.sh, do_cmake.sh: almalinux is another el flavour

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Reviewed-by: Dan van der Ster <dan.vanderster@clyso.com>
12 months agoMerge pull request #58247 from rhcs-dashboard/wip-66487-reef
Pedro Gonzalez Gomez [Thu, 11 Jul 2024 10:21:37 +0000 (12:21 +0200)]
Merge pull request #58247 from rhcs-dashboard/wip-66487-reef

reef: mgr/dashboard: add dueTime to rgw bucket validator

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: nmunet <NOT@FOUND>
12 months agoMerge pull request #57752 from rhcs-dashboard/wip-66246-reef
Pedro Gonzalez Gomez [Thu, 11 Jul 2024 10:19:31 +0000 (12:19 +0200)]
Merge pull request #57752 from rhcs-dashboard/wip-66246-reef

reef: mgr/dashboard: fix readonly landingpage

Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agomds: set the proper extra bl for the create request 58528/head
Xiubo Li [Tue, 28 May 2024 04:35:17 +0000 (12:35 +0800)]
mds: set the proper extra bl for the create request

Just in case a create request was totally completed but the client
didn't receive any unsafe and safe responses, and then when it's
retried in the MDS side it will be treated as a open request and
will miss setting the create ino for the reply message.

Finally for client it just sent a create request and then the MDS
just sent back a open reply, which will let the client miss setting
the CREATED flag and then the VFS will fail the create by returnning
a -EEXIST errno.

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

12 months agoclient: set LIBMOUNT_FORCE_MOUNT2=always 58529/head
Jakob Haufe [Tue, 30 Apr 2024 15:45:24 +0000 (17:45 +0200)]
client: set LIBMOUNT_FORCE_MOUNT2=always

This is a workaround for libmount 2.38 or later on linux kernel 5.1 or
later.

libmount defaults to the new fsconfig interface which does not support
remounting the way the old mount(2) syscall did. Thus, dentry trimming
fails.

Fixes: https://tracker.ceph.com/issues/62664
Signed-off-by: Jakob Haufe <sur5r@sur5r.net>
(cherry picked from commit 9ca1d4be2b587ce1d3e6c10dc2a98195b2ab3ba9)

12 months agomds: encode the correct extra info depending on the feature bits
Xiubo Li [Tue, 28 May 2024 04:23:57 +0000 (12:23 +0800)]
mds: encode the correct extra info depending on the feature bits

In the client side it will decode the extra info depending on the
feature bits, but if we always encode it with the old version then
the client could crash or gets the corrupted data. More detail
please see "parse_reply_info_create()" in kclient code.

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