]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
13 months agodoc/developer_guide: update doc about installing teuthology 57751/head
Rishabh Dave [Mon, 27 May 2024 19:37:35 +0000 (01:07 +0530)]
doc/developer_guide: update doc about installing teuthology

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

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

13 months agoMerge pull request #57726 from idryomov/wip-labeler-rbd-quincy
Ilya Dryomov [Tue, 28 May 2024 07:25:10 +0000 (09:25 +0200)]
Merge pull request #57726 from idryomov/wip-labeler-rbd-quincy

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

Reviewed-by: Ramana Raja <rraja@redhat.com>
13 months ago.github: expand tests label to all files under qa 57726/head
Ilya Dryomov [Thu, 23 May 2024 16:15:08 +0000 (18:15 +0200)]
.github: expand tests label to all files under qa

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

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

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

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

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

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

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

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

- src/tools/rbd*/**

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

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

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

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

quincy: doc/man: add missing long option switches

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57705 from zdover23/wip-doc-2024-05-26-backport-57701-to-quincy
Zac Dover [Mon, 27 May 2024 11:00:27 +0000 (21:00 +1000)]
Merge pull request #57705 from zdover23/wip-doc-2024-05-26-backport-57701-to-quincy

quincy: doc/cephfs: disambiguate two sentences

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agodoc/man: add missing long option switches 57708/head
Patrick Donnelly [Fri, 10 May 2024 14:09:16 +0000 (10:09 -0400)]
doc/man: add missing long option switches

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

13 months agoMerge pull request #57667 from zdover23/wip-doc-2024-05-24-backport-57567-to-quincy
Zac Dover [Sun, 26 May 2024 04:34:43 +0000 (14:34 +1000)]
Merge pull request #57667 from zdover23/wip-doc-2024-05-24-backport-57567-to-quincy

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

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
13 months agodoc/cephfs: disambiguate two sentences 57705/head
Zac Dover [Sat, 25 May 2024 08:41:03 +0000 (18:41 +1000)]
doc/cephfs: disambiguate two sentences

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

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

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

quincy: doc/cephfs: separate commands into sections

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agodoc/cephfs: edit "Cloning Snapshots" in fs-volumes.rst 57667/head
Zac Dover [Mon, 20 May 2024 11:55:16 +0000 (21:55 +1000)]
doc/cephfs: edit "Cloning Snapshots" in fs-volumes.rst

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

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

13 months agoMerge pull request #57664 from zdover23/wip-doc-2024-05-24-backport-57574-to-quincy
Zac Dover [Sat, 25 May 2024 07:11:11 +0000 (17:11 +1000)]
Merge pull request #57664 from zdover23/wip-doc-2024-05-24-backport-57574-to-quincy

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

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

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

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Adam King <adking@redhat.com>
13 months agoMerge pull request #57645 from zdover23/wip-doc-2024-05-23-backport-57642-to-quincy
Zac Dover [Thu, 23 May 2024 15:06:02 +0000 (01:06 +1000)]
Merge pull request #57645 from zdover23/wip-doc-2024-05-23-backport-57642-to-quincy

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

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

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

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

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

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

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

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

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

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

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

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

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

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

13 months agoMerge pull request #57221 from rhcs-dashboard/wip-65759-quincy
Nizamudeen A [Wed, 22 May 2024 08:18:10 +0000 (04:18 -0400)]
Merge pull request #57221 from rhcs-dashboard/wip-65759-quincy

quincy: mgr/dashboard: exclude cloned-deleted RBD snaps

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
14 months agoMerge pull request #57544 from zdover23/wip-doc-2024-05-19-backport-57534-to-quincy-2
Zac Dover [Sun, 19 May 2024 11:08:23 +0000 (21:08 +1000)]
Merge pull request #57544 from zdover23/wip-doc-2024-05-19-backport-57534-to-quincy-2

quincy: doc/cephfs: edit fs-volumes.rst (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
14 months agodoc/cephfs: edit fs-volumes.rst (2 of x) 57544/head
Zac Dover [Fri, 17 May 2024 10:46:28 +0000 (20:46 +1000)]
doc/cephfs: edit fs-volumes.rst (2 of x)

Edit doc/cephfs/fs-volumes to the section "Cloning Snapshots" (but not
including the section "Cloning Snapshots".

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

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

14 months agoMerge pull request #57419 from zdover23/wip-doc-2024-05-12-backport-57415-to-quincy
Zac Dover [Fri, 17 May 2024 09:47:42 +0000 (19:47 +1000)]
Merge pull request #57419 from zdover23/wip-doc-2024-05-12-backport-57415-to-quincy

quincy: doc/cephfs: edit fs-volumes.rst (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
14 months agoMerge pull request #57463 from idryomov/wip-51845-quincy
Ilya Dryomov [Wed, 15 May 2024 07:55:11 +0000 (09:55 +0200)]
Merge pull request #57463 from idryomov/wip-51845-quincy

quincy: qa/suites/krbd: drop pre-single-major and move "layering only" coverage

Reviewed-by: Ramana Raja <rraja@redhat.com>
14 months agoqa/suites/krbd: rename no-object-map to no-exclusive-lock 57463/head
Ilya Dryomov [Mon, 13 May 2024 11:45:26 +0000 (13:45 +0200)]
qa/suites/krbd: rename no-object-map to no-exclusive-lock

Exclusive lock has always been disabled by this facet, so it might as
well be reflected in its name.

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

14 months agoqa/suites/krbd: move "layering only" coverage to fsx
Ilya Dryomov [Mon, 13 May 2024 11:31:17 +0000 (13:31 +0200)]
qa/suites/krbd: move "layering only" coverage to fsx

It makes much more sense there since it's where we actually create
clones and flatten them a lot.

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

14 months agoqa/suites/krbd: drop pre-single-major test
Ilya Dryomov [Sun, 12 May 2024 09:15:36 +0000 (11:15 +0200)]
qa/suites/krbd: drop pre-single-major test

Single-major mapping scheme was introduced in 2014 and became the
default in 2017.  It's getting increasingly difficult to build and,
more importantly, to boot a 10 year old kernel with recent userspace
(systemd, etc).  If someone is still running such a kernel, it's
really unlikely that they would have the most recent rbd CLI tool
installed.

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

14 months agoMerge pull request #56270 from rhcs-dashboard/fix-grafana-panels-mgr-failover
Avan [Tue, 14 May 2024 09:00:49 +0000 (14:30 +0530)]
Merge pull request #56270 from rhcs-dashboard/fix-grafana-panels-mgr-failover

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

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
14 months agoMerge branch 'quincy' into wip-doc-2024-05-12-backport-57415-to-quincy 57419/head
Zac Dover [Tue, 14 May 2024 08:00:56 +0000 (18:00 +1000)]
Merge branch 'quincy' into wip-doc-2024-05-12-backport-57415-to-quincy

Signed-off-by: Zac Dover <zac.dover@proton.me>
14 months agodoc/cephfs: edit fs-volumes.rst (1 of x)
Zac Dover [Sat, 11 May 2024 04:57:23 +0000 (14:57 +1000)]
doc/cephfs: edit fs-volumes.rst (1 of x)

Edit doc/cephfs/fs-volumes to the section "FS Subvolumes" (but not
including the section "FS Subvolumes").

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

14 months agoMerge pull request #57428 from zdover23/wip-doc-2024-05-13-backport-57420-to-quincy
Anthony D'Atri [Sun, 12 May 2024 21:37:24 +0000 (17:37 -0400)]
Merge pull request #57428 from zdover23/wip-doc-2024-05-13-backport-57420-to-quincy

quincy: doc/cephfs: edit fs-volumes.rst (1 of x) followup

14 months agodoc/cephfs: edit fs-volumes.rst (1 of x) followup 57428/head
Zac Dover [Sun, 12 May 2024 01:39:34 +0000 (11:39 +1000)]
doc/cephfs: edit fs-volumes.rst (1 of x) followup

Include the suggestions for improving doc/cephfs/fs-volumes.rst made by
Anthony D'Atri here
https://github.com/ceph/ceph/pull/57415#discussion_r1597362110

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

14 months agoMerge pull request #57424 from zdover23/wip-doc-2024-05-12-backport-57421-to-quincy
Anthony D'Atri [Sun, 12 May 2024 05:27:20 +0000 (01:27 -0400)]
Merge pull request #57424 from zdover23/wip-doc-2024-05-12-backport-57421-to-quincy

quincy: doc/dev: s/to asses/to assess/

14 months agodoc/dev: s/to asses/to assess/ 57424/head
Zac Dover [Sun, 12 May 2024 02:27:23 +0000 (12:27 +1000)]
doc/dev: s/to asses/to assess/

s/to asses/to assess/ in doc/deve/developer_guide/dash-devel.

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

14 months agoMerge pull request #57366 from zdover23/wip-doc-2024-05-09-radosgw-bucketpolicy-quincy
Zac Dover [Fri, 10 May 2024 11:21:37 +0000 (21:21 +1000)]
Merge pull request #57366 from zdover23/wip-doc-2024-05-09-radosgw-bucketpolicy-quincy

quincy: doc/radosgw: update S3 action list

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
14 months agoMerge pull request #57337 from zdover23/wip-doc-2024-05-08-backport-57298-to-quincy
Zac Dover [Fri, 10 May 2024 11:12:36 +0000 (21:12 +1000)]
Merge pull request #57337 from zdover23/wip-doc-2024-05-08-backport-57298-to-quincy

quincy: doc/mgr: edit "Overview" in dashboard.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
14 months agoMerge pull request #57297 from zdover23/wip-doc-2024-05-07-backport-57273-to-quincy
Zac Dover [Fri, 10 May 2024 11:06:05 +0000 (21:06 +1000)]
Merge pull request #57297 from zdover23/wip-doc-2024-05-07-backport-57273-to-quincy

quincy: doc/mgr: edit "Resolve IP address to hostname before redirect"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
14 months agodoc/radosgw: update S3 action list 57366/head
Zac Dover [Wed, 8 May 2024 22:34:21 +0000 (08:34 +1000)]
doc/radosgw: update S3 action list

Update the list of S3 actions supported in the Quincy release of Ceph.

Note: the list of S3 actions supported in Reef is not the list of S3 actions supported in Squid or in Reef.

Signed-off-by: Zac Dover <zac.dover@proton.me>
14 months agodoc/mgr: edit "Overview" in dashboard.rst 57337/head
Zac Dover [Mon, 6 May 2024 15:16:51 +0000 (01:16 +1000)]
doc/mgr: edit "Overview" in dashboard.rst

Edit and update the "Overview" section in doc/mgr/dashboard.rst.

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

14 months agoMerge pull request #55622 from cbodley/wip-64425-quincy
Casey Bodley [Tue, 7 May 2024 15:12:01 +0000 (16:12 +0100)]
Merge pull request #55622 from cbodley/wip-64425-quincy

quincy: rgw/putobj: RadosWriter uses part head object for multipart parts

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
14 months agoMerge pull request #55718 from cbodley/wip-64539-quincy
Casey Bodley [Tue, 7 May 2024 15:11:31 +0000 (16:11 +0100)]
Merge pull request #55718 from cbodley/wip-64539-quincy

quincy: rgw: RGWSI_SysObj_Cache::remove() invalidates after successful delete

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
14 months agoMerge pull request #55789 from cbodley/wip-64599-quincy
Casey Bodley [Tue, 7 May 2024 15:10:46 +0000 (16:10 +0100)]
Merge pull request #55789 from cbodley/wip-64599-quincy

quincy: test/rgw: increase timeouts in unittest_rgw_dmclock_scheduler

Reviewed-by: Yuri Weinstein <yuriw@redhat.com>
14 months agoMerge pull request #55496 from guits/wip-64356-quincy
Guillaume Abrioux [Tue, 7 May 2024 07:16:12 +0000 (09:16 +0200)]
Merge pull request #55496 from guits/wip-64356-quincy

quincy: ceph-volume: Fix migration from WAL to data with no DB

14 months agodoc/mgr: edit "Resolve IP address to hostname before redirect" 57297/head
Zac Dover [Sun, 5 May 2024 19:12:55 +0000 (05:12 +1000)]
doc/mgr: edit "Resolve IP address to hostname before redirect"

Edit the section "Resolve IP address to hostname before redirect" in
doc/mgr/dashboard.rst.

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

14 months agoMerge pull request #57266 from zdover23/wip-doc-2024-05-04-backport-57252-to-quincy
Zac Dover [Sat, 4 May 2024 17:09:04 +0000 (03:09 +1000)]
Merge pull request #57266 from zdover23/wip-doc-2024-05-04-backport-57252-to-quincy

quincy: doc/rados: PR#57022 unfinished business

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
14 months agodoc/rados: PR#57022 unfinished business 57266/head
Zac Dover [Fri, 3 May 2024 05:32:28 +0000 (15:32 +1000)]
doc/rados: PR#57022 unfinished business

Make the changes suggested by Anthony D'Atri in
https://github.com/ceph/ceph/pull/57022.

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

14 months agoMerge pull request #57239 from zdover23/wip-doc-2024-05-02-cephadm-services-monitorin...
Zac Dover [Sat, 4 May 2024 12:37:40 +0000 (22:37 +1000)]
Merge pull request #57239 from zdover23/wip-doc-2024-05-02-cephadm-services-monitoring-quincy

quincy: doc/cephadm: Quincy default images procedure

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Adam King <adking@redhat.com>
14 months agoMerge pull request #57210 from zdover23/wip-doc-2024-05-02-backport-57148-to-quincy
Anthony D'Atri [Fri, 3 May 2024 20:09:02 +0000 (16:09 -0400)]
Merge pull request #57210 from zdover23/wip-doc-2024-05-02-backport-57148-to-quincy

quincy: doc/cephadm: add default monitor images

14 months agoMerge pull request #57248 from zdover23/wip-doc-2024-05-03-backport-57207-to-quincy
Anthony D'Atri [Thu, 2 May 2024 20:07:53 +0000 (16:07 -0400)]
Merge pull request #57248 from zdover23/wip-doc-2024-05-03-backport-57207-to-quincy

quincy: doc/rados: s/cepgsqlite/cephsqlite/

14 months agodoc/rados: s/cepgsqlite/cephsqlite/ 57248/head
Zac Dover [Wed, 1 May 2024 16:42:46 +0000 (02:42 +1000)]
doc/rados: s/cepgsqlite/cephsqlite/

As stated in the commit-message line, this corrects the typo "cepg" to
the correct string "ceph".

This typo was discovered by https://github.com/test-erik and this was
brought to our attention way back in
https://github.com/ceph/ceph/pull/50420.

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

14 months agodoc/cephadm: Quincy default images procedure 57239/head
Zac Dover [Thu, 2 May 2024 15:07:01 +0000 (01:07 +1000)]
doc/cephadm: Quincy default images procedure

Address Adam King's request for version-specific
cephadm-container-image-retrieval procedures, which he requested here:
https://github.com/ceph/ceph/pull/57208#discussion_r1586614140

Signed-off-by: Zac Dover <zac.dover@proton.me>
14 months agomgr/dashboard: exclude cloned-deleted RBD snaps 57221/head
Ernesto Puerta [Tue, 30 Apr 2024 08:51:23 +0000 (10:51 +0200)]
mgr/dashboard: exclude cloned-deleted RBD snaps

Fixes: https://tracker.ceph.com/issues/65698
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit 8b1ef2ee411b7c6fb52825bf577860f3727738c2)

14 months agodoc/cephadm: add default monitor images 57210/head
Zac Dover [Tue, 30 Apr 2024 07:09:05 +0000 (17:09 +1000)]
doc/cephadm: add default monitor images

Add a list of default monitor images to the documentation. This commit
is made in response to a request from Eugen Block, and is made using the
information developed by Mr Block here:
https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/QGC66QIFBKRTPZAQMQEYFXOGZJ7RLWBN/.

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

14 months agoMerge pull request #57158 from zdover23/wip-doc-2024-04-30-backport-57154-to-quincy
Anthony D'Atri [Tue, 30 Apr 2024 14:06:01 +0000 (10:06 -0400)]
Merge pull request #57158 from zdover23/wip-doc-2024-04-30-backport-57154-to-quincy

quincy: doc/rados/operations: rephrase OSDs peering

14 months agoMerge pull request #57161 from zdover23/wip-doc-2024-04-30-backport-57153-to-quincy
Anthony D'Atri [Tue, 30 Apr 2024 14:05:02 +0000 (10:05 -0400)]
Merge pull request #57161 from zdover23/wip-doc-2024-04-30-backport-57153-to-quincy

quincy: doc/man/8/radosgw-admin: add get lifecycle command

14 months agodoc/man/8/radosgw-admin: add get lifecycle command 57161/head
rkhudov [Tue, 30 Apr 2024 10:00:36 +0000 (11:00 +0100)]
doc/man/8/radosgw-admin: add get lifecycle command

Signed-off-by: rkhudov <rhudov@gmail.com>
(cherry picked from commit 04393ec3c1a12d6a9405272ab2cffe9dfa67aa92)

14 months agodoc/rados/operations: rephrase OSDs peering 57158/head
Piotr Parczewski [Tue, 30 Apr 2024 10:56:44 +0000 (12:56 +0200)]
doc/rados/operations: rephrase OSDs peering

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

14 months agoMerge pull request #57142 from zdover23/wip-doc-2024-04-30-backport-57136-to-quincy
Anthony D'Atri [Mon, 29 Apr 2024 16:42:59 +0000 (12:42 -0400)]
Merge pull request #57142 from zdover23/wip-doc-2024-04-30-backport-57136-to-quincy

quincy: doc/radosgw: disambiguate version-added remarks

14 months agodoc/radosgw: disambiguate version-added remarks 57142/head
Zac Dover [Mon, 29 Apr 2024 10:23:13 +0000 (20:23 +1000)]
doc/radosgw: disambiguate version-added remarks

Rewrite two sentences so that they explain precisely what was added to
Ceph and when it was added to Ceph.

This commit is made in response to a request made by Dr Per Mildner on
https://pad.ceph.com/p/Report_Documentation_Bugs.

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

14 months agoMerge pull request #57123 from zdover23/wip-doc-2024-04-29-backport-57119-to-quincy
Anthony D'Atri [Mon, 29 Apr 2024 12:36:41 +0000 (08:36 -0400)]
Merge pull request #57123 from zdover23/wip-doc-2024-04-29-backport-57119-to-quincy

quincy: doc/cephfs: edit front matter in client-auth.rst

14 months agodoc/cephfs: edit front matter in client-auth.rst 57123/head
Zac Dover [Sun, 28 Apr 2024 13:18:50 +0000 (23:18 +1000)]
doc/cephfs: edit front matter in client-auth.rst

Clarify the front matter in doc/cephfs/client-auth.rst.

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

14 months agoMerge pull request #57110 from zdover23/wip-doc-2024-04-27-backport-57105-to-quincy
Zac Dover [Fri, 26 Apr 2024 23:48:45 +0000 (09:48 +1000)]
Merge pull request #57110 from zdover23/wip-doc-2024-04-27-backport-57105-to-quincy

quincy: doc/mgr: explain error message - dashboard.rst

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
14 months agodoc/mgr: explain error message - dashboard.rst 57110/head
Zac Dover [Fri, 26 Apr 2024 11:59:09 +0000 (21:59 +1000)]
doc/mgr: explain error message - dashboard.rst

Explain that an error message received in response to
"redirect_resolve_ip_addr True" might be caused by having an
insufficiently recent release of Ceph running in your cluster.

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

14 months agoMerge pull request #57029 from idryomov/wip-65481-quincy
Yuri Weinstein [Fri, 26 Apr 2024 12:47:39 +0000 (05:47 -0700)]
Merge pull request #57029 from idryomov/wip-65481-quincy

quincy: qa: fix krbd_msgr_segments and krbd_rxbounce failing on 8.stream

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
14 months agoMerge pull request #57087 from zdover23/wip-doc-2024-04-25-backport-57057-to-quincy
Adam King [Thu, 25 Apr 2024 12:01:01 +0000 (08:01 -0400)]
Merge pull request #57087 from zdover23/wip-doc-2024-04-25-backport-57057-to-quincy

quincy: doc/cephadm: remove downgrade reference from upgrade docs

Reviewed-by: Adam King <adking@redhat.com>
14 months agodoc/cephadm: remove downgrade reference from upgrade docs 57087/head
Adam King [Tue, 23 Apr 2024 16:04:39 +0000 (12:04 -0400)]
doc/cephadm: remove downgrade reference from upgrade docs

This has been in here for years, but cephadm will block
attempted upgrades to lower versions and we generally
don't want people to think this is supported or safe.

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

14 months agoMerge pull request #57074 from zdover23/wip-doc-2024-04-24-backport-57051-to-quincy
Anthony D'Atri [Wed, 24 Apr 2024 13:12:07 +0000 (09:12 -0400)]
Merge pull request #57074 from zdover23/wip-doc-2024-04-24-backport-57051-to-quincy

quincy: doc/rados: remove dual-stack docs

14 months agodoc/rados: remove dual-stack docs 57074/head
Zac Dover [Tue, 23 Apr 2024 06:37:27 +0000 (16:37 +1000)]
doc/rados: remove dual-stack docs

Remove references to dual-stack mode in
doc/rados/configuration/network-config-ref.rst and
doc/rados/configuration/msgr2.rst. This feature seems to have been
planned but never to have been completely implemented.

See the tracker issue listed below for an email exchange detailing the
confusion caused by the presence in the documentation of this
now-removed information.

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

14 months agoMerge pull request #56348 from cbodley/wip-65002-quincy
Casey Bodley [Tue, 23 Apr 2024 16:21:45 +0000 (17:21 +0100)]
Merge pull request #56348 from cbodley/wip-65002-quincy

quincy: rgw: Add missing empty checks to the split string in is_string_in_set().

Reviewed-by: Casey Bodley <cbodley@redhat.com>
14 months agoMerge pull request #57049 from zdover23/wip-doc-2024-04-23-backport-57032-to-quincy
Anthony D'Atri [Tue, 23 Apr 2024 14:03:32 +0000 (10:03 -0400)]
Merge pull request #57049 from zdover23/wip-doc-2024-04-23-backport-57032-to-quincy

quincy: doc/rados: fix outdated value for ms_bind_port_max

14 months agodoc/rados: fix outdated value for ms_bind_port_max 57049/head
Pierre Riteau [Mon, 22 Apr 2024 09:28:53 +0000 (11:28 +0200)]
doc/rados: fix outdated value for ms_bind_port_max

The highest port number used by OSD or MDS daemons was increased from
7300 to 7568 in [1] but the documentation still refers to 7300 in
multiple locations.

[1] https://github.com/ceph/ceph/pull/42210

Fixes: https://tracker.ceph.com/issues/65609
Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
(cherry picked from commit 23d2740241af2118652fef6e7d6a286f338a18f2)

14 months agoMerge pull request #56818 from cbodley/wip-65409-quincy
Yuri Weinstein [Mon, 22 Apr 2024 21:14:39 +0000 (14:14 -0700)]
Merge pull request #56818 from cbodley/wip-65409-quincy

quincy: qa/rgw: barbican uses branch stable/2023.1

Reviewed-by: Casey Bodley <cbodley@redhat.com>
14 months agoMerge pull request #56722 from ivancich/wip-65341-quincy
Yuri Weinstein [Mon, 22 Apr 2024 21:13:47 +0000 (14:13 -0700)]
Merge pull request #56722 from ivancich/wip-65341-quincy

quincy: rgw: update options yaml file so LDAP uri isn't an invalid example

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
14 months agoMerge pull request #55095 from cbodley/wip-63961-quincy
Yuri Weinstein [Mon, 22 Apr 2024 21:08:12 +0000 (14:08 -0700)]
Merge pull request #55095 from cbodley/wip-63961-quincy

quincy: rgw: add headers to guide cache update in 304 response

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
14 months agoMerge pull request #54190 from cfsnyder/wip-63253-quincy
Yuri Weinstein [Mon, 22 Apr 2024 21:07:32 +0000 (14:07 -0700)]
Merge pull request #54190 from cfsnyder/wip-63253-quincy

quincy: rgw: add versioning info to radosgw-admin bucket stats output

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
14 months agoMerge pull request #57041 from zdover23/wip-doc-2024-04-23-backport-57022-to-quincy
Anthony D'Atri [Mon, 22 Apr 2024 20:40:39 +0000 (16:40 -0400)]
Merge pull request #57041 from zdover23/wip-doc-2024-04-23-backport-57022-to-quincy

quincy: doc/rados: remove redundant pg repair commands

14 months agodoc/rados: remove redundant pg repair commands 57041/head
Zac Dover [Mon, 22 Apr 2024 06:59:15 +0000 (16:59 +1000)]
doc/rados: remove redundant pg repair commands

Incorporate the material in /doc/rados/operations/pg-repair into
/doc/rados/troubleshooting/troubleshooting-pg. Remove
/doc/rados/operations/pg-repair from the documentation. Redirect all
links to the old location to the new location.

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

14 months agoMerge pull request #57025 from zdover23/wip-doc-2024-04-22-backport-56962-to-quincy
Anthony D'Atri [Mon, 22 Apr 2024 14:20:27 +0000 (10:20 -0400)]
Merge pull request #57025 from zdover23/wip-doc-2024-04-22-backport-56962-to-quincy

quincy: doc/radosgw: use 'confval' directive for reshard config options

14 months agoMerge pull request #57028 from zdover23/wip-doc-2024-04-22-backport-57016-to-quincy
Anthony D'Atri [Mon, 22 Apr 2024 14:19:13 +0000 (10:19 -0400)]
Merge pull request #57028 from zdover23/wip-doc-2024-04-22-backport-57016-to-quincy

quincy: doc/rados: add bucket rename command

14 months agoqa/suites/krbd: krbd_rxbounce.sh needs g++ installed 57029/head
Ilya Dryomov [Sat, 13 Apr 2024 07:59:03 +0000 (09:59 +0200)]
qa/suites/krbd: krbd_rxbounce.sh needs g++ installed

It happens implicitly on Ubuntu, but not on CentOS Stream 8.

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

14 months agoqa: krbd_msgr_segments.t: adapt to different vgremove outputs
Ilya Dryomov [Sat, 13 Apr 2024 07:44:21 +0000 (09:44 +0200)]
qa: krbd_msgr_segments.t: adapt to different vgremove outputs

Some versions of lvm put a dot at the end.

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

14 months agodoc/rados: add bucket rename command 57028/head
Zac Dover [Sun, 21 Apr 2024 12:46:18 +0000 (22:46 +1000)]
doc/rados: add bucket rename command

Add "ceph osd crush rename bucket" command. This commit is made in
response to a request from Michele Giacomoli.

Fixes: https://tracker.ceph.com/issues/65599
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 1030b572fa1680792b4c5843a6cf517bd31511ae)

14 months agodoc/radosgw: use 'confval' directive for reshard config options 57025/head
Casey Bodley [Wed, 17 Apr 2024 17:17:40 +0000 (13:17 -0400)]
doc/radosgw: use 'confval' directive for reshard config options

this will render the config options with their descriptions/defaults
taken directly from common/options/rgw.yaml.in

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

14 months agoMerge pull request #57019 from zdover23/wip-doc-2024-04-21-backport-56904-to-quincy
Anthony D'Atri [Sun, 21 Apr 2024 14:57:03 +0000 (10:57 -0400)]
Merge pull request #57019 from zdover23/wip-doc-2024-04-21-backport-56904-to-quincy

quincy: doc/security: update CVE list

14 months agodoc/security: update CVE list 57019/head
Zac Dover [Mon, 15 Apr 2024 15:41:51 +0000 (01:41 +1000)]
doc/security: update CVE list

Update the list of CVEs in doc/security/cves.rst.

Co-authored-by: Ilya Dryomov <idryomov@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 8381259a46fbd04218946b67e73e140cb054e3d8)

15 months agoMerge pull request #57009 from zdover23/wip-doc-2024-04-20-backport-56996-to-quincy
Anthony D'Atri [Fri, 19 Apr 2024 23:27:01 +0000 (19:27 -0400)]
Merge pull request #57009 from zdover23/wip-doc-2024-04-20-backport-56996-to-quincy

quincy: doc/dev: repair broken image

15 months agodoc/dev: repair broken image 57009/head
Zac Dover [Fri, 19 Apr 2024 03:22:33 +0000 (13:22 +1000)]
doc/dev: repair broken image

Replace the ".. graphviz" directive with an ".. image" directive that
correctly displays an image where previously an unusably zoomed-in image
appeared.

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

15 months agoMerge pull request #56991 from rosinL/wip-65576-quincy
Rongqi Sun [Fri, 19 Apr 2024 09:07:50 +0000 (02:07 -0700)]
Merge pull request #56991 from rosinL/wip-65576-quincy

quincy: install-deps: save and restore user's XDG_CACHE_HOME

15 months agoinstall-deps: save and restore user's XDG_CACHE_HOME 56991/head
luo rixin [Tue, 16 Apr 2024 07:18:06 +0000 (15:18 +0800)]
install-deps: save and restore user's XDG_CACHE_HOME

Since ccache 4.0, ccache use $XDG_CACHE_HOME/ccache to keep compile cache
if XDG_CACHE_HOME is set. In this case $XDG_CACHE_HOME is overwrite,
ccache will use $XDG_CACHE_HOME/ccache(ccache will create the dir if not exsit) to
store compile cache, but $XDG_CACHE_HOME will be removed next round running,
leading to ccache contests are always removed. So save and restore user's XDG_CACHE_HOME.

Fixes: https://tracker.ceph.com/issues/65175
Signed-off-by: luo rixin <luorixin@huawei.com>
(cherry picked from commit a17342147d4411211ecf646730987d2633dabb6e)

15 months agoMerge pull request #56969 from zdover23/wip-doc-2024-04-18-backport-56879-to-quincy
Anthony D'Atri [Wed, 17 Apr 2024 20:58:50 +0000 (16:58 -0400)]
Merge pull request #56969 from zdover23/wip-doc-2024-04-18-backport-56879-to-quincy

quincy: doc/cephfs: improve ceph-fuse command

15 months agodoc/cephfs: improve ceph-fuse command 56969/head
Zac Dover [Mon, 15 Apr 2024 07:43:23 +0000 (17:43 +1000)]
doc/cephfs: improve ceph-fuse command

Instruct readers to use "mkdir /mnt/cephfs1" to create a mountpoint
before using "ceph-fuse" to mount a filesystem, if "/mnt/cephfs1"
doesn't already exist. cf.
https://github.com/ceph/ceph/pull/56831#discussion_r1561102227

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

15 months agoMerge pull request #56915 from zdover23/wip-doc-2024-04-16-backport-56905-to-quincy
Anthony D'Atri [Tue, 16 Apr 2024 12:16:07 +0000 (08:16 -0400)]
Merge pull request #56915 from zdover23/wip-doc-2024-04-16-backport-56905-to-quincy

quincy: doc/security: remove old GPG information

15 months agoMerge pull request #56889 from Svelar/wip-65483-quincy
Igor Fedotov [Tue, 16 Apr 2024 09:50:53 +0000 (12:50 +0300)]
Merge pull request #56889 from Svelar/wip-65483-quincy

quincy: bluestore/bluestore_types: check 'it' valid before using

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
15 months agodoc/security: remove old GPG information 56915/head
Zac Dover [Mon, 15 Apr 2024 15:45:10 +0000 (01:45 +1000)]
doc/security: remove old GPG information

Remove a GPG key that was lost in a server upgrade, and remove the text
that describes it.

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

15 months agobluestore/bluestore_types: check 'it' valid before using 56889/head
Rongqi Sun [Fri, 12 Apr 2024 06:51:34 +0000 (06:51 +0000)]
bluestore/bluestore_types: check 'it' valid before using

When sanitizer is enabled, unittest_bluestore_types fails as following
```
[ RUN      ] sb_info_space_efficient_map_t.basic
=================================================================
==143714==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xffff99f8b7f4 at pc 0xaaaab50bde18 bp 0xffffebefcdb0 sp 0xffffebefcda8
READ of size 8 at 0xffff99f8b7f4 thread T0
    #0 0xaaaab50bde14 in sb_info_t::get_sbid() const /root/ceph/src/os/bluestore/bluestore_types.h:1337:30
    #1 0xaaaab50a5908 in sb_info_space_efficient_map_t::find(unsigned long) /root/ceph/src/os/bluestore/bluestore_types.h:1385:10
    #2 0xaaaab50bd638 in sb_info_space_efficient_map_t::_add(long) /root/ceph/src/os/bluestore/bluestore_types.h:1424:15
    #3 0xaaaab50a52bc in sb_info_space_efficient_map_t::add_maybe_stray(unsigned long) /root/ceph/src/os/bluestore/bluestore_types.h:1358:12
    #4 0xaaaab4fec03c in sb_info_space_efficient_map_t_basic_Test::TestBody() /root/ceph/src/test/objectstore/test_bluestore_types.cc:113:11
    #5 0xaaaab51e9a40 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /root/ceph/src/googletest/googletest/src/gtest.cc:2605:10
    #6 0xaaaab5197040 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /root/ceph/src/googletest/googletest/src/gtest.cc:2641:14
    #7 0xaaaab51488a4 in testing::Test::Run() /root/ceph/src/googletest/googletest/src/gtest.cc:2680:5
    #8 0xaaaab514a7e8 in testing::TestInfo::Run() /root/ceph/src/googletest/googletest/src/gtest.cc:2858:11
    #9 0xaaaab514bde8 in testing::TestSuite::Run() /root/ceph/src/googletest/googletest/src/gtest.cc:3012:28
    #10 0xaaaab5167bac in testing::internal::UnitTestImpl::RunAllTests() /root/ceph/src/googletest/googletest/src/gtest.cc:5723:44
    #11 0xaaaab51f3940 in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /root/ceph/src/googletest/googletest/src/gtest.cc:2605:10
    #12 0xaaaab519e5d8 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /root/ceph/src/googletest/googletest/src/gtest.cc:2641:14
    #13 0xaaaab5167024 in testing::UnitTest::Run() /root/ceph/src/googletest/googletest/src/gtest.cc:5306:10
    #14 0xaaaab50b4d6c in RUN_ALL_TESTS() /root/ceph/src/googletest/googletest/include/gtest/gtest.h:2486:46
    #15 0xaaaab50a1080 in main /root/ceph/src/test/objectstore/test_bluestore_types.cc:2847:10
    #16 0xffff9d6c73f8 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    #17 0xffff9d6c74c8 in __libc_start_main csu/../csu/libc-start.c:392:3
    #18 0xaaaab4f3812c in _start (/root/ceph/build/bin/unittest_bluestore_types+0xe4812c) (BuildId: cb75399658026f83a4e89012de8fb02f08f6d239)

0xffff99f8b7f4 is located 0 bytes to the right of 20-byte region [0xffff99f8b7e0,0xffff99f8b7f4)
allocated by thread T0 here:
    #0 0xaaaab4fe636c in operator new[](unsigned long) (/root/ceph/build/bin/unittest_bluestore_types+0xef636c) (BuildId: cb75399658026f83a4e89012de8fb02f08f6d239)
    #1 0xaaaab50c0d2c in mempool::pool_allocator<(mempool::pool_index_t)11, sb_info_t>::allocate(unsigned long, void*) /root/ceph/src/include/mempool.h:375:33
    #2 0xaaaab50c0c0c in std::allocator_traits<mempool::pool_allocator<(mempool::pool_index_t)11, sb_info_t> >::allocate(mempool::pool_allocator<(mempool::pool_index_t)11, sb_info_t>&, unsigned long) /usr/bin/../lib/gcc/aarch64-linux-gnu/11/../../../../include/c++/11/bits/alloc_traits.h:318:20
    #3 0xaaaab50c044c in std::_Vector_base<sb_info_t, mempool::pool_allocator<(mempool::pool_index_t)11, sb_info_t> >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/aarch64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h:346:20
    #4 0xaaaab50bf954 in void std::vector<sb_info_t, mempool::pool_allocator<(mempool::pool_index_t)11, sb_info_t> >::_M_realloc_insert<long&>(__gnu_cxx::__normal_iterator<sb_info_t*, std::vector<sb_info_t, mempool::pool_allocator<(mempool::pool_index_t)11, sb_info_t> > >, long&) /usr/bin/../lib/gcc/aarch64-linux-gnu/11/../../../../include/c++/11/bits/vector.tcc:440:33
    #5 0xaaaab50be0d8 in sb_info_t& std::vector<sb_info_t, mempool::pool_allocator<(mempool::pool_index_t)11, sb_info_t> >::emplace_back<long&>(long&) /usr/bin/../lib/gcc/aarch64-linux-gnu/11/../../../../include/c++/11/bits/vector.tcc:121:4
    #6 0xaaaab50bd760 in sb_info_space_efficient_map_t::_add(long) /root/ceph/src/os/bluestore/bluestore_types.h:1429:24
    #7 0xaaaab50a5e78 in sb_info_space_efficient_map_t::add_or_adopt(unsigned long) /root/ceph/src/os/bluestore/bluestore_types.h:1361:15
    #8 0xaaaab4feb07c in sb_info_space_efficient_map_t_basic_Test::TestBody() /root/ceph/src/test/objectstore/test_bluestore_types.cc:103:11
    #9 0xaaaab51e9a40 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /root/ceph/src/googletest/googletest/src/gtest.cc:2605:10
    #10 0xaaaab5197040 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /root/ceph/src/googletest/googletest/src/gtest.cc:2641:14
    #11 0xaaaab51488a4 in testing::Test::Run() /root/ceph/src/googletest/googletest/src/gtest.cc:2680:5
    #12 0xaaaab514a7e8 in testing::TestInfo::Run() /root/ceph/src/googletest/googletest/src/gtest.cc:2858:11
    #13 0xaaaab514bde8 in testing::TestSuite::Run() /root/ceph/src/googletest/googletest/src/gtest.cc:3012:28
    #14 0xaaaab5167bac in testing::internal::UnitTestImpl::RunAllTests() /root/ceph/src/googletest/googletest/src/gtest.cc:5723:44
    #15 0xaaaab51f3940 in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /root/ceph/src/googletest/googletest/src/gtest.cc:2605:10
    #16 0xaaaab519e5d8 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /root/ceph/src/googletest/googletest/src/gtest.cc:2641:14
    #17 0xaaaab5167024 in testing::UnitTest::Run() /root/ceph/src/googletest/googletest/src/gtest.cc:5306:10
    #18 0xaaaab50b4d6c in RUN_ALL_TESTS() /root/ceph/src/googletest/googletest/include/gtest/gtest.h:2486:46
    #19 0xaaaab50a1080 in main /root/ceph/src/test/objectstore/test_bluestore_types.cc:2847:10
    #20 0xffff9d6c73f8 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    #21 0xffff9d6c74c8 in __libc_start_main csu/../csu/libc-start.c:392:3
    #22 0xaaaab4f3812c in _start (/root/ceph/build/bin/unittest_bluestore_types+0xe4812c) (BuildId: cb75399658026f83a4e89012de8fb02f08f6d239)

SUMMARY: AddressSanitizer: heap-buffer-overflow /root/ceph/src/os/bluestore/bluestore_types.h:1337:30 in sb_info_t::get_sbid() const
Shadow bytes around the buggy address:
  0x200ff33f16a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x200ff33f16b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x200ff33f16c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x200ff33f16d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x200ff33f16e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x200ff33f16f0: fa fa fa fa fa fa fa fa fa fa fa fa 00 00[04]fa
  0x200ff33f1700: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x200ff33f1710: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x200ff33f1720: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x200ff33f1730: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x200ff33f1740: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==143714==ABORTING
```

'it' might be invalid, so before using 'it', need to figure validity out

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

15 months agoMerge pull request #56430 from Matan-B/wip-65095-quincy
Matan Breizman [Mon, 15 Apr 2024 10:30:26 +0000 (13:30 +0300)]
Merge pull request #56430 from Matan-B/wip-65095-quincy

quincy: mon/OSDMonitor: fix rmsnap command

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
15 months agoMerge pull request #56873 from zdover23/wip-doc-2024-04-14-backport-56870-to-quincy
Anthony D'Atri [Sat, 13 Apr 2024 21:51:27 +0000 (17:51 -0400)]
Merge pull request #56873 from zdover23/wip-doc-2024-04-14-backport-56870-to-quincy

quincy: doc/cephfs: disambiguate "Reporting Free Space"

15 months agodoc/cephfs: disambiguate "Reporting Free Space" 56873/head
Zac Dover [Sat, 13 Apr 2024 10:48:21 +0000 (20:48 +1000)]
doc/cephfs: disambiguate "Reporting Free Space"

Make a few sentences clearer in doc/cephfs/ceph-auth.rst.

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

15 months agoMerge pull request #56852 from zdover23/wip-doc-2024-04-12-backport-56831-to-quincy
Anthony D'Atri [Fri, 12 Apr 2024 14:04:40 +0000 (10:04 -0400)]
Merge pull request #56852 from zdover23/wip-doc-2024-04-12-backport-56831-to-quincy

quincy: doc/cephfs: refine client-auth (3 of 3)

15 months agoMerge pull request #54946 from rishabh-d-dave/wip-63407-quincy
Rishabh Dave [Fri, 12 Apr 2024 09:09:55 +0000 (14:39 +0530)]
Merge pull request #54946 from rishabh-d-dave/wip-63407-quincy

quincy: MDSAuthCaps: print better error message for perm flag in MDS caps

Reviewed-by: Milind Changire <mchangir@redhat.com>