]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
16 months agodoc/rados/configuration/osd-config-ref: fix typo 55679/head
Pierre Riteau [Tue, 20 Feb 2024 21:54:01 +0000 (22:54 +0100)]
doc/rados/configuration/osd-config-ref: fix typo

Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
(cherry picked from commit d25b6b9dd2cee81d33f2ad2f0718c6ccdeadbe2b)

16 months agoMerge pull request #55672 from zdover23/wip-doc-2024-02-21-backport-55667-to-quincy
Anthony D'Atri [Tue, 20 Feb 2024 19:03:37 +0000 (14:03 -0500)]
Merge pull request #55672 from zdover23/wip-doc-2024-02-21-backport-55667-to-quincy

quincy: doc/radosgw: edit multisite.rst

16 months agodoc/radosgw: edit multisite.rst 55672/head
Zac Dover [Tue, 20 Feb 2024 12:06:11 +0000 (22:06 +1000)]
doc/radosgw: edit multisite.rst

Edit "Varieties of Multi-Site Configuration" in
doc/radosgw/multisite.rst.

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

17 months agoMerge pull request #55636 from zdover23/wip-doc-2024-02-19-backport-55633-to-quincy
Anthony D'Atri [Mon, 19 Feb 2024 12:57:37 +0000 (07:57 -0500)]
Merge pull request #55636 from zdover23/wip-doc-2024-02-19-backport-55633-to-quincy

quincy: doc/man: edit "manipulating the omap key"

17 months agodoc/man: edit "manipulating the omap key" 55636/head
Zac Dover [Sun, 18 Feb 2024 06:01:46 +0000 (16:01 +1000)]
doc/man: edit "manipulating the omap key"

Edit the section "Manipulating the Object Map Key" in
doc/man/8/ceph-objectstore-tool.rst.

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

17 months agoMerge pull request #55631 from zdover23/wip-doc-2024-02-18-backport-55626-to-quincy
Anthony D'Atri [Sun, 18 Feb 2024 04:59:06 +0000 (23:59 -0500)]
Merge pull request #55631 from zdover23/wip-doc-2024-02-18-backport-55626-to-quincy

quincy: doc/rados: add PG definition

17 months agodoc/rados: add PG definition 55631/head
Zac Dover [Sat, 17 Feb 2024 05:28:24 +0000 (15:28 +1000)]
doc/rados: add PG definition

Add a definition of Placement Groups to
doc/rados/operations/placement-groups.rst.

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

17 months agoMerge pull request #55614 from zdover23/wip-doc-2024-02-16-backport-55539-to-quincy
Anthony D'Atri [Fri, 16 Feb 2024 14:58:54 +0000 (09:58 -0500)]
Merge pull request #55614 from zdover23/wip-doc-2024-02-16-backport-55539-to-quincy

quincy: doc/glossary: improve OSD definitions

17 months agoMerge pull request #55612 from zdover23/wip-doc-2024-02-16-backport-55585-to-quincy
Anthony D'Atri [Fri, 16 Feb 2024 14:58:14 +0000 (09:58 -0500)]
Merge pull request #55612 from zdover23/wip-doc-2024-02-16-backport-55585-to-quincy

quincy: doc/rados: add link to pg blog post

17 months agodoc/glossary: improve OSD definitions 55614/head
Zac Dover [Mon, 12 Feb 2024 13:08:27 +0000 (23:08 +1000)]
doc/glossary: improve OSD definitions

Remove expletive construction from three OSD-id-related terms.

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

17 months agodoc/rados: add link to pg blog post 55612/head
Zac Dover [Wed, 14 Feb 2024 15:32:40 +0000 (01:32 +1000)]
doc/rados: add link to pg blog post

Add a link in the "Placement Groups" section that links to Sage Weil's
April 5, 2019 blog post "New in Nautilus: PG merging and autotuning".

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

17 months agoMerge pull request #55604 from zdover23/wip-doc-2024-02-16-backport-55566-to-quincy
Anthony D'Atri [Thu, 15 Feb 2024 19:53:55 +0000 (14:53 -0500)]
Merge pull request #55604 from zdover23/wip-doc-2024-02-16-backport-55566-to-quincy

quincy: doc/cephadm: correct nfs config pool name

17 months agoMerge pull request #55558 from zdover23/wip-doc-2024-02-13-backport-55546-to-quincy
zdover23 [Thu, 15 Feb 2024 17:54:11 +0000 (03:54 +1000)]
Merge pull request #55558 from zdover23/wip-doc-2024-02-13-backport-55546-to-quincy

quincy: doc/glossary: Add link to CRUSH paper

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agodoc/cephadm: correct nfs config pool name 55604/head
Zac Dover [Tue, 13 Feb 2024 17:04:26 +0000 (03:04 +1000)]
doc/cephadm: correct nfs config pool name

s/nfs-ganesha/.nfs/ in doc/cephadm/services/nfs, in accordance with
information given to me by John Mulligan over Slack.

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

17 months agoMerge pull request #55520 from zdover23/wip-doc-2024-02-10-ceph-exporter-quincy-cepha...
zdover23 [Tue, 13 Feb 2024 00:08:23 +0000 (10:08 +1000)]
Merge pull request #55520 from zdover23/wip-doc-2024-02-10-ceph-exporter-quincy-cephadm-guidance

quincy: doc/cephadm: add note about ceph-exporter (Quincy)

Reviewed-by: Adam King <adking@redhat.com>
17 months agodoc/glossary: Add link to CRUSH paper 55558/head
Zac Dover [Mon, 12 Feb 2024 15:06:05 +0000 (01:06 +1000)]
doc/glossary: Add link to CRUSH paper

Add a link in the CRUSH definition to the original CRUSH paper.

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

17 months agodoc/cephadm: add note about ceph-exporter (Quincy) 55520/head
Zac Dover [Fri, 9 Feb 2024 16:14:41 +0000 (02:14 +1000)]
doc/cephadm: add note about ceph-exporter (Quincy)

Explain how to deal with the error message "Non-zero exit code 22" when
using cephadm to install a Ceph cluster.

Co-authored-by: Nizamudeen A <nia@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agoMerge pull request #55526 from zdover23/wip-doc-2024-02-11-quincy-radosgw-52299-revert
zdover23 [Sun, 11 Feb 2024 09:24:08 +0000 (19:24 +1000)]
Merge pull request #55526 from zdover23/wip-doc-2024-02-11-quincy-radosgw-52299-revert

quincy: doc/radosgw: Revert "doc/rgw/lua: add info uploading a ...

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
17 months agodoc/radosgw: Revert "doc/rgw/lua: add info uploading a ... 55526/head
Zac Dover [Sat, 10 Feb 2024 14:43:05 +0000 (00:43 +1000)]
doc/radosgw: Revert "doc/rgw/lua: add info uploading a ...

script in cephadm deployment"

This reverts commit b0c78748c05faed9c6032f490169741ad7fd6cf7.

See https://github.com/ceph/ceph/pull/55524#issuecomment-1937022350.
See https://tracker.ceph.com/issues/64327

Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agoMerge pull request #55518 from zdover23/wip-doc-2024-02-10-ceph-exporter-quincy-removal
zdover23 [Fri, 9 Feb 2024 16:27:51 +0000 (02:27 +1000)]
Merge pull request #55518 from zdover23/wip-doc-2024-02-10-ceph-exporter-quincy-removal

doc/mgr: remove ceph-exporter (Quincy)

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agoMerge pull request #55512 from zdover23/wip-doc-2024-02-09-backport-55465-to-quincy
zdover23 [Fri, 9 Feb 2024 15:39:40 +0000 (01:39 +1000)]
Merge pull request #55512 from zdover23/wip-doc-2024-02-09-backport-55465-to-quincy

quincy: doc: add description of metric fields for cephfs-top

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
17 months agoMerge pull request #55506 from zdover23/wip-doc-2024-02-09-backport-55490-to-quincy
zdover23 [Fri, 9 Feb 2024 15:38:43 +0000 (01:38 +1000)]
Merge pull request #55506 from zdover23/wip-doc-2024-02-09-backport-55490-to-quincy

quincy: doc:start.rst fix typo in hw-recs

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agodoc/mgr: remove ceph-exporter (Quincy) 55518/head
Zac Dover [Fri, 9 Feb 2024 15:24:17 +0000 (01:24 +1000)]
doc/mgr: remove ceph-exporter (Quincy)

Remove mention of ceph-exporter in the Quincy branch. ceph-exporter was
in one release of Quincy, but was later removed because it was broken.
This PR is made in response to Eugen Block's having brought this matter
to my attention.

Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agodoc: add description of metric fields for cephfs-top 55512/head
neeraj pratap singh [Tue, 6 Feb 2024 12:12:50 +0000 (17:42 +0530)]
doc: add description of metric fields for cephfs-top

Fixes: https://tracker.ceph.com/issues/63991
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit 956f644f86c0790c17976b98df112747d66837df)

17 months agodoc:start.rst fix typo in hw-recs 55506/head
Eduardo Roldan [Thu, 8 Feb 2024 06:40:21 +0000 (03:40 -0300)]
doc:start.rst fix typo in hw-recs

s/power less/power loss/

Signed-off-by: Eduardo Roldan <trazor@gmail.com>
(cherry picked from commit b80c12d080275e3c221a1e305c345fbc1caa3c8e)

17 months agoMerge pull request #53779 from rhcs-dashboard/wip-63068-quincy
Nizamudeen A [Thu, 8 Feb 2024 15:03:15 +0000 (20:33 +0530)]
Merge pull request #53779 from rhcs-dashboard/wip-63068-quincy

quincy: mgr/dashboard: allow tls 1.2 with a config option

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: hasonhai <NOT@FOUND>
17 months agoMerge pull request #55485 from zdover23/wip-doc-2024-02-08-backport-55475-to-quincy
Anthony D'Atri [Wed, 7 Feb 2024 20:16:04 +0000 (15:16 -0500)]
Merge pull request #55485 from zdover23/wip-doc-2024-02-08-backport-55475-to-quincy

quincy: doc/radosgw: add confval directives

17 months agodoc/radosgw: add confval directives 55485/head
Zac Dover [Wed, 7 Feb 2024 13:18:35 +0000 (23:18 +1000)]
doc/radosgw: add confval directives

Add confval directives to the documentation of "quota cache" options.
This addresses a request made by Antony D'Atri in https://github.com/ceph/ceph/pull/55075/files#r1444006246.

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

17 months agoMerge pull request #55483 from zdover23/wip-doc-2024-02-08-backport-55476-to-quincy
Anthony D'Atri [Wed, 7 Feb 2024 19:02:26 +0000 (14:02 -0500)]
Merge pull request #55483 from zdover23/wip-doc-2024-02-08-backport-55476-to-quincy

quincy: doc/cephadm - edit t11ing.

17 months agodoc/cephadm - edit t11ing. 55483/head
Zac Dover [Wed, 7 Feb 2024 13:32:53 +0000 (23:32 +1000)]
doc/cephadm - edit t11ing.

Edit "Running Repeated Debugging Sessions" in
doc/cephadm/troubleshooting.rst. Improve grammar. Fix a misspelling.

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

17 months agoMerge pull request #55461 from zdover23/wip-doc-2024-02-06-backport-55447-to-quincy
Anthony D'Atri [Tue, 6 Feb 2024 12:52:51 +0000 (07:52 -0500)]
Merge pull request #55461 from zdover23/wip-doc-2024-02-06-backport-55447-to-quincy

quincy: doc/rados: update PG guidance

17 months agodoc/rados: update PG guidance 55461/head
Zac Dover [Sun, 4 Feb 2024 15:36:10 +0000 (01:36 +1000)]
doc/rados: update PG guidance

Update the "Creating a Pool" section of doc/rados/operations/pools.rst
so that the documentation no longer insists that the user change the
values of "osd_pool_default_pg_num" and "osd_pool_default_pgp_num".

See also: https://github.com/ceph/ceph/pull/55419

Tracker: https://tracker.ceph.com/issues/64259

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

17 months agoMerge pull request #55439 from zdover23/wip-doc-2024-02-04-backport-55419-to-quincy
Anthony D'Atri [Sun, 4 Feb 2024 00:09:12 +0000 (19:09 -0500)]
Merge pull request #55439 from zdover23/wip-doc-2024-02-04-backport-55419-to-quincy

quincy: doc/rados: update config for autoscaler

17 months agodoc/rados: update config for autoscaler 55439/head
Zac Dover [Fri, 2 Feb 2024 01:53:45 +0000 (11:53 +1000)]
doc/rados: update config for autoscaler

Update doc/rados/configuration/pool-pg-config-ref.rst to account for the
behavior of autoscaler.

Previously, this file was last meaningfully altered in 2013, prior to
the invention of autoscaler. A recent confusion was brought to my
attention on the Ceph Slack whereby a user attempted to alter the
default values of a Quincy cluster, as suggested in this documentation.
That alteration caused Ceph to throw the error "Error ERANGE: 'pgp_num'
must be greater than 0 and lower or equal than 'pg_num', which in this
case is one" and a related "rgw_init_ioctx ERROR" reading in part
"Numerical result out of range". The user removed the
"osd_pool_default_pgp_num" configuration line from ceph.conf and the
cluster worked as expected. I presume that this is because the removal
of this configuration line allowed autoscaler to work as intended.

Fixes: https://tracker.ceph.com/issues/64259
Co-authored-by: David Orman <ormandj@corenode.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 4dc12092be584da44baca14e31ca33231164235f)

17 months agoMerge pull request #55433 from zdover23/wip-doc-2024-02-03-backport-55403-to-quincy
Anthony D'Atri [Sat, 3 Feb 2024 02:51:10 +0000 (21:51 -0500)]
Merge pull request #55433 from zdover23/wip-doc-2024-02-03-backport-55403-to-quincy

quincy: doc/rgw: fix Attributes index in CreateTopic example

17 months agodoc/rgw: fix Attributes index in CreateTopic example 55433/head
Casey Bodley [Wed, 31 Jan 2024 17:31:02 +0000 (12:31 -0500)]
doc/rgw: fix Attributes index in CreateTopic example

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

17 months agoMerge pull request #55317 from ajarr/wip-64180-quincy
Yuri Weinstein [Thu, 1 Feb 2024 01:04:45 +0000 (17:04 -0800)]
Merge pull request #55317 from ajarr/wip-64180-quincy

quincy: rbd-nbd: fix resize of images mapped using netlink

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
17 months agoMerge pull request #55257 from idryomov/wip-63341-quincy
Yuri Weinstein [Thu, 1 Feb 2024 01:03:51 +0000 (17:03 -0800)]
Merge pull request #55257 from idryomov/wip-63341-quincy

quincy: librbd: improve rbd_diff_iterate2() performance in fast-diff mode

Reviewed-by: Mykola Golub <mgolub@suse.com>
17 months agoMerge pull request #54880 from batrick/wip-63797-quincy
Yuri Weinstein [Thu, 1 Feb 2024 01:02:56 +0000 (17:02 -0800)]
Merge pull request #54880 from batrick/wip-63797-quincy

quincy: pybind/mgr/devicehealth: replace SMART data if exists for same DATETIME

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
17 months agoMerge pull request #55400 from zdover23/wip-doc-2024-01-31-backport-55396-to-quincy
Anthony D'Atri [Wed, 31 Jan 2024 14:54:02 +0000 (09:54 -0500)]
Merge pull request #55400 from zdover23/wip-doc-2024-01-31-backport-55396-to-quincy

quincy: doc/architecture: improve some paragraphs

17 months agodoc/architecture: improve some paragraphs 55400/head
Zac Dover [Tue, 30 Jan 2024 09:51:53 +0000 (19:51 +1000)]
doc/architecture: improve some paragraphs

Improve paragraphs under the heading "The Ceph Storage Cluster". Remove
a sentence that was pleonastic in its context in the paragraph.

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

17 months agoMerge pull request #54706 from k0ste/wip-63313-quincy
Guillaume Abrioux [Wed, 31 Jan 2024 06:32:20 +0000 (07:32 +0100)]
Merge pull request #54706 from k0ste/wip-63313-quincy

quincy: ceph-volume: fix a bug in _check_generic_reject_reasons

17 months agoMerge pull request #54630 from guits/wip-63598-quincy
Guillaume Abrioux [Wed, 31 Jan 2024 06:28:51 +0000 (07:28 +0100)]
Merge pull request #54630 from guits/wip-63598-quincy

quincy: ceph-volume: fixes fallback to stat in is_device and is_partition

17 months agoMerge pull request #55385 from zdover23/wip-doc-2024-01-31-backport-55372-to-quincy
zdover23 [Wed, 31 Jan 2024 01:19:20 +0000 (11:19 +1000)]
Merge pull request #55385 from zdover23/wip-doc-2024-01-31-backport-55372-to-quincy

quincy: doc/architecture.rst - fix typo

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agodoc/architecture.rst - fix typo 55385/head
Zac Dover [Tue, 30 Jan 2024 12:24:11 +0000 (22:24 +1000)]
doc/architecture.rst - fix typo

s/requies/requires

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

17 months agoMerge pull request #55248 from rhcs-dashboard/wip-63653-quincy
Nizamudeen A [Mon, 29 Jan 2024 04:57:52 +0000 (10:27 +0530)]
Merge pull request #55248 from rhcs-dashboard/wip-63653-quincy

quincy: mgr/dashboard: get rgw port from ssl_endpoint

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
17 months agoMerge pull request #55344 from zdover23/wip-doc-2024-01-29-backport-55341-to-quincy
Anthony D'Atri [Mon, 29 Jan 2024 03:56:29 +0000 (22:56 -0500)]
Merge pull request #55344 from zdover23/wip-doc-2024-01-29-backport-55341-to-quincy

quincy: doc/architecture.rst: improve rados definition

17 months agodoc/architecture.rst: improve rados definition 55344/head
Zac Dover [Sun, 28 Jan 2024 19:33:58 +0000 (05:33 +1000)]
doc/architecture.rst: improve rados definition

Improve the definition of RADOS, and link to information about RADOS.

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

17 months agoMerge pull request #55339 from zdover23/wip-doc-2024-01-28-backport-55333-to-quincy
Anthony D'Atri [Sun, 28 Jan 2024 16:03:47 +0000 (11:03 -0500)]
Merge pull request #55339 from zdover23/wip-doc-2024-01-28-backport-55333-to-quincy

quincy: doc/radosgw: fix verb disagreement - index.html

17 months agodoc/radosgw: fix verb disagreement - index.html 55339/head
Zac Dover [Sat, 27 Jan 2024 08:40:20 +0000 (18:40 +1000)]
doc/radosgw: fix verb disagreement - index.html

Fix a tricky verb disagreement and rewrite a few sentences for what I
hope is greater clarity.

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

17 months agoMerge pull request #55322 from zdover23/wip-doc-2024-01-26-backport-55307-to-quincy
Anthony D'Atri [Fri, 26 Jan 2024 03:44:00 +0000 (22:44 -0500)]
Merge pull request #55322 from zdover23/wip-doc-2024-01-26-backport-55307-to-quincy

quincy: doc/radosgw: edit "Usage" admin.rst

17 months agodoc/radosgw: edit "Usage" admin.rst 55322/head
Zac Dover [Wed, 24 Jan 2024 19:13:00 +0000 (05:13 +1000)]
doc/radosgw: edit "Usage" admin.rst

Edit "Usage" in doc/radosgw/admin.rst.

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

17 months agorbd-nbd: log errors during netlink_resize() using derr 55317/head
Ramana Raja [Tue, 23 Jan 2024 21:07:04 +0000 (16:07 -0500)]
rbd-nbd: log errors during netlink_resize() using derr

When using rbd CLI to map the images to NBD devices via netlink,
any errors that arose during image resizing in netlink_resize()
were not logged. Switching the error logging from using cerr to
derr helps log the errors from netlink_resize().

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

17 months agorbd_nbd: fix resize of images mapped using netlink
Ramana Raja [Mon, 22 Jan 2024 22:06:58 +0000 (17:06 -0500)]
rbd_nbd: fix resize of images mapped using netlink

Include device identifier or cookie in the message sent to the kernel
to resize images mapped to NBD devices using netlink. Otherwise,
netlink_resize() fails and the size of the device isn't updated.

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

17 months agoMerge pull request #53459 from rhcs-dashboard/wip-62603-quincy
Nizamudeen A [Wed, 24 Jan 2024 05:38:38 +0000 (11:08 +0530)]
Merge pull request #53459 from rhcs-dashboard/wip-62603-quincy

quincy: mgr/dashboard: remove unnecessary failing hosts e2e

Reviewed-by: Nizamudeen A <nia@redhat.com>
17 months agoMerge pull request #53809 from rhcs-dashboard/wip-63090-quincy
Nizamudeen A [Wed, 24 Jan 2024 05:37:52 +0000 (11:07 +0530)]
Merge pull request #53809 from rhcs-dashboard/wip-63090-quincy

quincy: mgr/dashboard: rbd image hide usage bar when disk usage is not provided

Reviewed-by: Nizamudeen A <nia@redhat.com>
17 months agoMerge pull request #55283 from zdover23/wip-doc-2024-01-24-backport-55278-to-quincy
zdover23 [Wed, 24 Jan 2024 05:30:05 +0000 (15:30 +1000)]
Merge pull request #55283 from zdover23/wip-doc-2024-01-24-backport-55278-to-quincy

quincy: doc: specify correct fs type for mkfs

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
17 months agoMerge pull request #54411 from mihalicyn/wip-63477-quincy
Yuri Weinstein [Tue, 23 Jan 2024 16:35:20 +0000 (08:35 -0800)]
Merge pull request #54411 from mihalicyn/wip-63477-quincy

quincy: MClientRequest: properly handle ceph_mds_request_head_legacy for ext_num_retry, ext_num_fwd, owner_uid, owner_gid

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
17 months agoMerge pull request #54244 from vshankar/wip-63284-quincy
Yuri Weinstein [Tue, 23 Jan 2024 16:34:31 +0000 (08:34 -0800)]
Merge pull request #54244 from vshankar/wip-63284-quincy

quincy: client: always refresh mds feature bits on session open

Reviewed-by: Milind Changire <mchangir@redhat.com>
17 months agoMerge pull request #53363 from k0ste/wip-57111-quincy
Yuri Weinstein [Tue, 23 Jan 2024 16:33:55 +0000 (08:33 -0800)]
Merge pull request #53363 from k0ste/wip-57111-quincy

quincy: mds: replacing bootstrap session only if handle client session message

Reviewed-by: Milind Changire <mchangir@redhat.com>
17 months agoMerge pull request #53358 from k0ste/wip-61992-quincy
Yuri Weinstein [Tue, 23 Jan 2024 16:33:19 +0000 (08:33 -0800)]
Merge pull request #53358 from k0ste/wip-61992-quincy

quincy: mds/MDSRank: Add set_history_slow_op_size_and_threshold for op_tracker

Reviewed-by: Milind Changire <mchangir@redhat.com>
17 months agoMerge pull request #52976 from batrick/wip-62423-quincy
Yuri Weinstein [Tue, 23 Jan 2024 16:32:37 +0000 (08:32 -0800)]
Merge pull request #52976 from batrick/wip-62423-quincy

quincy: mds: dump locks when printing mutation ops

Reviewed-by: Milind Changire <mchangir@redhat.com>
17 months agoMerge pull request #52820 from rishabh-d-dave/wip-62336-quincy
Yuri Weinstein [Tue, 23 Jan 2024 16:31:42 +0000 (08:31 -0800)]
Merge pull request #52820 from rishabh-d-dave/wip-62336-quincy

quincy: mds: use variable g_ceph_context directly in MDSAuthCaps

Reviewed-by: Milind Changire <mchangir@redhat.com>
17 months agoMerge pull request #52271 from dparmar18/wip-61840-quincy
Yuri Weinstein [Tue, 23 Jan 2024 16:29:42 +0000 (08:29 -0800)]
Merge pull request #52271 from dparmar18/wip-61840-quincy

quincy: do not evict clients if OSDs are laggy

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
17 months agodoc: specify correct fs type for mkfs 55283/head
Himura Kazuto [Tue, 23 Jan 2024 12:59:10 +0000 (12:59 +0000)]
doc: specify correct fs type for mkfs

The default value is ext2, which is not supported (anymore?).

Signed-off-by: Vladislav Glagolev <vladislav.glagolev@devexpress.com>
(cherry picked from commit 886af37744847246b3e70f54b8577ed4f9815c20)

17 months agoMerge pull request #55272 from zdover23/wip-doc-2024-01-23-backport-55269-to-quincy
Anthony D'Atri [Tue, 23 Jan 2024 14:16:24 +0000 (09:16 -0500)]
Merge pull request #55272 from zdover23/wip-doc-2024-01-23-backport-55269-to-quincy

quincy: doc/radosgw: edit "read/write global rate limit" admin.rst

17 months agodoc/radosgw: edit "read/write global rate limit" admin.rst 55272/head
Zac Dover [Tue, 23 Jan 2024 02:13:10 +0000 (12:13 +1000)]
doc/radosgw: edit "read/write global rate limit" admin.rst

Edit "Reading/Writing Global Rate Limit Configuration" in
doc/radosgw/admin.rst.

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

17 months agoMerge pull request #55243 from zdover23/wip-doc-2024-01-19-backport-55170-to-quincy
zdover23 [Tue, 23 Jan 2024 01:57:31 +0000 (11:57 +1000)]
Merge pull request #55243 from zdover23/wip-doc-2024-01-19-backport-55170-to-quincy

quincy: doc/radosgw: edit admin.rst "set bucket rate limit"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agoMerge pull request #55264 from zdover23/wip-doc-2024-01-22-backport-54993-to-quincy
Anthony D'Atri [Sun, 21 Jan 2024 21:57:04 +0000 (16:57 -0500)]
Merge pull request #55264 from zdover23/wip-doc-2024-01-22-backport-54993-to-quincy

quincy: doc/rados/operations: document `ceph balancer status detail`

17 months agodoc/rados/operations: document `ceph balancer status detail` 55264/head
Laura Flores [Fri, 22 Dec 2023 22:55:29 +0000 (22:55 +0000)]
doc/rados/operations: document `ceph balancer status detail`

Document change in https://github.com/ceph/ceph/pull/54801

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

17 months agoMerge pull request #55261 from zdover23/wip-doc-2024-01-21-backport-55190-to-quincy
Anthony D'Atri [Sun, 21 Jan 2024 15:33:24 +0000 (10:33 -0500)]
Merge pull request #55261 from zdover23/wip-doc-2024-01-21-backport-55190-to-quincy

quincy: doc/radosgw: edit "Enable/Disable Bucket Rate Limit"

17 months agodoc/radosgw: edit "Enable/Disable Bucket Rate Limit" 55261/head
Zac Dover [Tue, 16 Jan 2024 10:37:17 +0000 (20:37 +1000)]
doc/radosgw: edit "Enable/Disable Bucket Rate Limit"

Edit "Enable/Disable Bucket Rate Limit" in doc/radosgw/admin.rst.

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

18 months agoPendingReleaseNotes: add rbd_diff_iterate2 note 55257/head
Ilya Dryomov [Sat, 20 Jan 2024 15:00:46 +0000 (16:00 +0100)]
PendingReleaseNotes: add rbd_diff_iterate2 note

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

Conflicts:
PendingReleaseNotes [ moved to >=17.2.8 section ]

18 months agolibrbd: try to preserve object map for diff-iterate in fast-diff mode
Ilya Dryomov [Sat, 6 Jan 2024 16:08:04 +0000 (17:08 +0100)]
librbd: try to preserve object map for diff-iterate in fast-diff mode

As an optimization, try to ensure that the object map for the end
version is preloaded through the acquisition of exclusive lock and
as a consequence remains around until exclusive lock is released.
If it's not around, DiffRequest would (re)load it on each call.

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

Conflicts:
src/librbd/api/DiffIterate.cc [ ImageArea support not in
  quincy ]

18 months agolibrbd/object_map: potentially use in-memory object map in DiffRequest
Ilya Dryomov [Sat, 6 Jan 2024 16:05:39 +0000 (17:05 +0100)]
librbd/object_map: potentially use in-memory object map in DiffRequest

If the object map for the end version is around (already loaded in
memory, either due to the end version being a snapshot or due to
exclusive lock being held), use it to run diff-iterate against the
beginning of time.  Since it's the only object map needed in that
case, such calls would be satisfied locally.

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

18 months agolibrbd/object_map: decouple object map processing in DiffRequest
Ilya Dryomov [Fri, 5 Jan 2024 12:15:54 +0000 (13:15 +0100)]
librbd/object_map: decouple object map processing in DiffRequest

In preparation for potentially using in-memory object map, decouple
object map processing from loading object maps and place the logic in
prepare_for_object_map() and process_object_map().

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

18 months agocommon/bit_vector: fix iterator vs reference constness confusion
Ilya Dryomov [Fri, 5 Jan 2024 11:23:24 +0000 (12:23 +0100)]
common/bit_vector: fix iterator vs reference constness confusion

T (ConstIterator or Iterator) is confused with const T here:
IteratorImpl dereference operator is wrongly overloaded on const
and returns Reference instead of ConstReference for ConstIterator.
This then fails inside bufferlist bowels because Reference is
incompatible with bufferlist::const_iterator.

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

18 months agolibrbd/object_map: make object map in handle_load_object_map() local
Ilya Dryomov [Thu, 4 Jan 2024 10:44:46 +0000 (11:44 +0100)]
librbd/object_map: make object map in handle_load_object_map() local

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

18 months agolibrbd/object_map: don't resize object map in handle_load_object_map()
Ilya Dryomov [Thu, 4 Jan 2024 10:39:20 +0000 (11:39 +0100)]
librbd/object_map: don't resize object map in handle_load_object_map()

Currently it's done in two cases:

- if the loaded object map is larger than expected based on byte size,
  it's truncated to expected number of objects
- in case of deep-copy, if the loaded object map is smaller than diff
  state, it's expanded to get "track the largest of all versions in the
  set" semantics

Both of these cases can be easily dealt with without modifying the
object map.  Being able to process a const object map is needed for
working on in-memory object map which is external to DiffRequest.

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

18 months agocommon/bit_vector: fix IteratorImpl post-increment operator
Ilya Dryomov [Sat, 6 Jan 2024 11:22:35 +0000 (12:22 +0100)]
common/bit_vector: fix IteratorImpl post-increment operator

It's totally broken: instead of returning the current position and
moving to the next position, it returns the next position and doesn't
move anywhere.  Luckily it hasn't been used until now.

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

18 months agolibrbd: drop DiffIterate::diff_object_map() declaration
Ilya Dryomov [Thu, 28 Dec 2023 09:52:11 +0000 (10:52 +0100)]
librbd: drop DiffIterate::diff_object_map() declaration

This is a leftover from commit 2b3a46801d39 ("librbd: switch
diff-iterate API to use new object-map diff helper").

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

18 months agolibrbd: propagate diff-iterate range to parent in fast-diff mode
Ilya Dryomov [Thu, 28 Dec 2023 09:14:18 +0000 (10:14 +0100)]
librbd: propagate diff-iterate range to parent in fast-diff mode

When getting parent diff, pass the overlap-reduced image extent instead
of the entire 0..overlap range to avoid a similar quadratic slowdown on
cloned images.

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

Conflicts:
src/librbd/api/DiffIterate.cc [ ImageArea support not in
  quincy ]

18 months agolibrbd/object_map: add support for ranged diff-iterate
Ilya Dryomov [Wed, 27 Dec 2023 17:07:05 +0000 (18:07 +0100)]
librbd/object_map: add support for ranged diff-iterate

Currently diff-iterate in fast-diff mode is performed on the entire
image no matter what image extent is passed to the API.  Then, unused
diff just gets discarded as DiffIterate ends up querying only objects
that the passed image extent maps to.  This hasn't been an issue for
internal consumers ("rbd du", "rbd diff", etc) because they work on the
entire image, but turns out to lead to quadratic slowdown in some QEMU
use cases.

0..UINT64_MAX range is carved out for deep-copy which is unranged by
definition.  To get effectively unranged diff-iterate, 0..UINT64_MAX-1
range can be used.

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

18 months agoinclude/intarith: introduce round_down_to()
Ilya Dryomov [Wed, 27 Dec 2023 15:18:50 +0000 (16:18 +0100)]
include/intarith: introduce round_down_to()

Same as with round_up_to(), d isn't required to be a power of two.

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

18 months agotest/librbd: expand TestMockObjectMapDiffRequest edge case coverage
Ilya Dryomov [Sat, 23 Dec 2023 14:19:09 +0000 (15:19 +0100)]
test/librbd: expand TestMockObjectMapDiffRequest edge case coverage

For each covered edge case or error, run through the following
scenarios:

- where the edge case concerns snap_id_start
- where the edge case concerns snap_id_end
- where the edge case concerns intermediate snapshot and
  snap_id_start == 0 (diff against the beginning of time)
- where the edge case concerns intermediate snapshot and
  snap_id_start != 0 (diff from snapshot)

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

18 months agolibrbd/object_map: allow intermediate snaps to be skipped on diff-iterate
Ilya Dryomov [Sat, 23 Dec 2023 13:47:54 +0000 (14:47 +0100)]
librbd/object_map: allow intermediate snaps to be skipped on diff-iterate

In case of diff-iterate against the beginning of time, the result
depends only on the end version.  Loading and processing object maps
or intermediate snapshots is redundant and can be skipped.

This optimization is made possible by commit be507aaed15f ("librbd:
diff-iterate shouldn't ever report "new hole" against a hole") and, to
a lesser extent, the previous commit.

Getting FastDiffInvalid, LoadObjectMapError and ObjectMapTooSmall to
pass required tweaking not just expectations, but also start/end snap
ids and thus also the meaning of these tests.  This is addressed in the
next commit.

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

18 months agolibrbd/object_map: resurrect diff-iterate behavior when image is shrunk
Ilya Dryomov [Fri, 22 Dec 2023 17:50:20 +0000 (18:50 +0100)]
librbd/object_map: resurrect diff-iterate behavior when image is shrunk

The new "track the largest of all versions in the set, diff state is
only ever grown" semantics introduced in commit 330f2a7bb94f ("librbd:
helper state machine for computing diffs between object-maps") don't
make sense for diff-iterate.  It's a waste because DiffIterate won't
query beyond the end version size -- this is baked into the API.

Limit this behavior to deep-copy and resurrect the original behavior
from 2015 for diff-iterate.

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

18 months agolibrbd/object_map: fix diff from snapshot when image is grown
Ilya Dryomov [Fri, 22 Dec 2023 15:10:12 +0000 (16:10 +0100)]
librbd/object_map: fix diff from snapshot when image is grown

Commit 399a45e11332 ("librbd/object_map: rbd diff between two
snapshots lists entire image content") fixed most of the damage caused
by commit b81cd2460de7 ("librbd/object_map: diff state machine should
track object existence"), but the case of a "resize diff" when diffing
from snapshot was missed.  An area that was freshly allocated in image
resize is the same in principle as a freshly created image and objects
marked OBJECT_EXISTS_CLEAN are no exception.  Diff for such objects in
such an area should be set to DIFF_STATE_DATA_UPDATED, however
currently when diffing from snapshot, it's set to DIFF_STATE_DATA.

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

18 months agolibrbd/object_map: drop bogus if in handle_load_object_map()
Ilya Dryomov [Wed, 20 Dec 2023 11:22:17 +0000 (12:22 +0100)]
librbd/object_map: drop bogus if in handle_load_object_map()

It became redundant with commit b81cd2460de7 ("librbd/object_map: diff
state machine should track object existence") -- it != end_it condition
in the loop is sufficient.

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

18 months agotest/librbd: refactor TestMockObjectMapDiffRequest tests
Ilya Dryomov [Thu, 21 Dec 2023 15:50:31 +0000 (16:50 +0100)]
test/librbd: refactor TestMockObjectMapDiffRequest tests

In preparation for multiple similarly configured MockTestImageCtx
objects being used in a single test, centralize their creation and add
a couple of helpers for setting expectations from a callback.

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

18 months agotest/librbd: improve TestMockObjectMapDiffRequest.InvalidStartSnap
Ilya Dryomov [Thu, 21 Dec 2023 17:08:21 +0000 (18:08 +0100)]
test/librbd: improve TestMockObjectMapDiffRequest.InvalidStartSnap

Use a range where only snap_id_start is invalid.

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

18 months agoMerge pull request #55254 from zdover23/wip-doc-2024-01-20-backport-55177-to-quincy
Anthony D'Atri [Sat, 20 Jan 2024 14:54:40 +0000 (09:54 -0500)]
Merge pull request #55254 from zdover23/wip-doc-2024-01-20-backport-55177-to-quincy

quincy: doc/radosgw: edit admin.rst "Get Bucket Rate Limit"

18 months agodoc/radosgw: edit admin.rst "Get Bucket Rate Limit" 55254/head
Zac Dover [Sun, 14 Jan 2024 23:29:23 +0000 (09:29 +1000)]
doc/radosgw: edit admin.rst "Get Bucket Rate Limit"

Edit "Get Bucket Rate Limit" in doc/radosgw/admin.rst.

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

18 months agoMerge pull request #55245 from zdover23/wip-doc-2024-01-19-backport-55168-to-quincy
Anthony D'Atri [Fri, 19 Jan 2024 14:29:00 +0000 (09:29 -0500)]
Merge pull request #55245 from zdover23/wip-doc-2024-01-19-backport-55168-to-quincy

quincy: doc/rados/operations: add EC overhead table to erasure-code.rst

18 months agoMerge pull request #55247 from zdover23/wip-doc-2024-01-19-backport-54915-to-quincy
Anthony D'Atri [Fri, 19 Jan 2024 14:26:23 +0000 (09:26 -0500)]
Merge pull request #55247 from zdover23/wip-doc-2024-01-19-backport-54915-to-quincy

quincy: doc/cephfs/client-auth.rst: correct ``fs authorize cephfs1 /dir1 clie…

18 months agomgr/dashboard: get port from ssl_endpoint 55248/head
Nizamudeen A [Thu, 16 Nov 2023 18:11:18 +0000 (23:41 +0530)]
mgr/dashboard: get port from ssl_endpoint

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

18 months agoMerge pull request #54176 from rhcs-dashboard/wip-63309-quincy
Nizamudeen A [Fri, 19 Jan 2024 09:32:10 +0000 (15:02 +0530)]
Merge pull request #54176 from rhcs-dashboard/wip-63309-quincy

quincy: mgr/dashboard: fix rgw port manipulation error in dashboard

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: jliebl-git <NOT@FOUND>
18 months agoMerge pull request #53385 from rhcs-dashboard/wip-62716-quincy
Nizamudeen A [Fri, 19 Jan 2024 09:27:36 +0000 (14:57 +0530)]
Merge pull request #53385 from rhcs-dashboard/wip-62716-quincy

quincy: mgr/dashboard: remove green tick on old password field

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
18 months agodoc/cephfs/client-auth.rst: correct ``fs authorize cephfs1 /dir1 client.x rw`` 55247/head
叶海丰 [Fri, 15 Dec 2023 09:05:38 +0000 (17:05 +0800)]
doc/cephfs/client-auth.rst: correct ``fs authorize cephfs1 /dir1 client.x rw``

(cherry picked from commit 223848a08f58fc20ee4afc008fabbec2d448be68)

18 months agodoc/rados/operations: add EC overhead table to erasure-code.rst 55245/head
Anthony D'Atri [Sat, 13 Jan 2024 17:48:58 +0000 (12:48 -0500)]
doc/rados/operations: add EC overhead table to erasure-code.rst

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