]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 months agodoc: Clarify that there are no tertiary OSDs 61730/head
Anthony D'Atri [Fri, 7 Feb 2025 15:08:38 +0000 (10:08 -0500)]
doc: Clarify that there are no tertiary OSDs

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

5 months agoMerge pull request #60613 from cbodley/wip-68823-squid
Radoslaw Zarzynski [Fri, 7 Feb 2025 16:03:50 +0000 (17:03 +0100)]
Merge pull request #60613 from cbodley/wip-68823-squid

squid: os: remove unused btrfs_ioctl.h and tests

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 months agoMerge pull request #61667 from ceph/squid-release
Yuri Weinstein [Thu, 6 Feb 2025 22:53:07 +0000 (14:53 -0800)]
Merge pull request #61667 from ceph/squid-release

v19.2.1

5 months agoMerge pull request #60837 from vshankar/wip-68915-squid
Milind Changire [Thu, 6 Feb 2025 11:08:13 +0000 (16:38 +0530)]
Merge pull request #60837 from vshankar/wip-68915-squid

squid: mds/Beacon: wake up the thread in shutdown()

5 months agoMerge pull request #60838 from vshankar/wip-68919-squid
Milind Changire [Thu, 6 Feb 2025 11:07:09 +0000 (16:37 +0530)]
Merge pull request #60838 from vshankar/wip-68919-squid

squid: mds: trim mdlog when segments exceed threshold and trim was idle

5 months agoMerge pull request #60975 from joscollin/wip-69142-squid
Milind Changire [Thu, 6 Feb 2025 11:06:02 +0000 (16:36 +0530)]
Merge pull request #60975 from joscollin/wip-69142-squid

squid: qa: restrict 'perf dump' on active mds only

5 months agoMerge pull request #61100 from ifed01/wip-ifed-fix-cephfs-mirror-squ
Milind Changire [Thu, 6 Feb 2025 11:04:44 +0000 (16:34 +0530)]
Merge pull request #61100 from ifed01/wip-ifed-fix-cephfs-mirror-squ

squid: tools/cephfs-mirror: eliminate redundant ceph_close() call

5 months agoMerge pull request #61482 from NitzanMordhai/wip-69623-squid
SrinivasaBharathKanta [Thu, 6 Feb 2025 10:52:25 +0000 (16:22 +0530)]
Merge pull request #61482 from NitzanMordhai/wip-69623-squid

squid: test: ceph daemon command with asok path

5 months agoMerge pull request #60912 from ljflores/wip-67915-squid
SrinivasaBharathKanta [Wed, 5 Feb 2025 23:51:39 +0000 (05:21 +0530)]
Merge pull request #60912 from ljflores/wip-67915-squid

squid: qa/suites/rados/verify/validater/valgrind: increase op thread timeout

5 months agoMerge pull request #60902 from mohit84/wip-69085-squid
SrinivasaBharathKanta [Wed, 5 Feb 2025 23:51:28 +0000 (05:21 +0530)]
Merge pull request #60902 from mohit84/wip-69085-squid

squid: TEST_backfill_grow fails after finding "num_bytes mismatch" in osd log

5 months agoMerge pull request #61363 from rzarzynski/wip-69523-squid
Radoslaw Zarzynski [Wed, 5 Feb 2025 18:29:32 +0000 (19:29 +0100)]
Merge pull request #61363 from rzarzynski/wip-69523-squid

squid: os, osd: bring the lightweight OMAP iteration

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
5 months agoMerge pull request #61398 from ronen-fr/wip-rf-61289-squid
Ronen Friedman [Wed, 5 Feb 2025 12:19:46 +0000 (14:19 +0200)]
Merge pull request #61398 from ronen-fr/wip-rf-61289-squid

squid: common: fix md_config_cacher_t

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 months agoMerge pull request #61631 from idryomov/zlib-fix-squid
Ilya Dryomov [Tue, 4 Feb 2025 14:17:30 +0000 (15:17 +0100)]
Merge pull request #61631 from idryomov/zlib-fix-squid

squid: win32_deps_build.sh: pin zlib tag

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
5 months agoMerge pull request #61039 from rhcs-dashboard/wip-69195-squid
Nizamudeen A [Tue, 4 Feb 2025 04:44:27 +0000 (10:14 +0530)]
Merge pull request #61039 from rhcs-dashboard/wip-69195-squid

squid: mgr/dashboard: add a custom warning message when enabling feature

Reviewed-by: Afreen Misbah <afreen@ibm.com>
5 months agowin32_deps_build.sh: pin zlib tag 61631/head
Lucian Petrut [Mon, 3 Feb 2025 14:53:05 +0000 (14:53 +0000)]
win32_deps_build.sh: pin zlib tag

The zlib Windows build started to fail, probably because of this:
https://github.com/madler/zlib/issues/1038

  Cloning into 'zlib'...
  make: *** No rule to make target 'zconf.h', needed by 'adler32.o'.

We'll pin the zlib version for now to unblock the Windows build.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
(cherry picked from commit ba9270dc9fe923bb9639a29328035e78ad4346c7)

5 months agoMerge pull request #61611 from adk3798/squid-ctr-label-ceph
Adam King [Mon, 3 Feb 2025 18:48:04 +0000 (13:48 -0500)]
Merge pull request #61611 from adk3798/squid-ctr-label-ceph

squid: container: add label ceph=True back

Reviewed-by: John Mulligan <jmulligan@redhat.com>
5 months agoMerge pull request #61629 from zdover23/wip-doc-2025-02-04-backport-many-to-stretch...
Zac Dover [Mon, 3 Feb 2025 18:40:31 +0000 (04:40 +1000)]
Merge pull request #61629 from zdover23/wip-doc-2025-02-04-backport-many-to-stretch-mode-squid

squid: Backport two commits to the Squid branch

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agodoc/rados/operations/stretch-mode: Improve doc 61629/head
Kamoltat Sirivadhna [Tue, 7 Jan 2025 09:36:03 +0000 (09:36 +0000)]
doc/rados/operations/stretch-mode: Improve doc

Added more content and rewrite some sections

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
(cherry picked from commit 8cc7fdbd29e1bf936b33256c74d48e23d75eaf96)

5 months agodoc/rados/operations/stretch-mode.rst: Added Limitations to stretch pool configurations
Kamoltat Sirivadhna [Mon, 25 Nov 2024 21:17:37 +0000 (21:17 +0000)]
doc/rados/operations/stretch-mode.rst: Added Limitations to stretch pool configurations

Fixes: https://tracker.ceph.com/issues/68338
Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
sd

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
(cherry picked from commit 8f46603c7e9e85ba80e7353ac80d4fbc2177841b)

5 months agoMerge pull request #61006 from kamoltat/wip-69167-squid
Zac Dover [Mon, 3 Feb 2025 17:47:40 +0000 (03:47 +1000)]
Merge pull request #61006 from kamoltat/wip-69167-squid

squid: doc/rados/operations/stretch-mode.rst: Added Limitations to stretch pool configurations

Reviewed-by: Zac Dover <zac.dover@proton.me>
5 months agoMerge pull request #57613 from sajibreadd/wip-66146-squid
Laura Flores [Fri, 31 Jan 2025 23:48:44 +0000 (17:48 -0600)]
Merge pull request #57613 from sajibreadd/wip-66146-squid

squid: osd: fix for segmentation fault on OSD fast shutdown

5 months ago19.2.1 61667/head v19.2.1
Ceph Release Team [Fri, 31 Jan 2025 23:14:13 +0000 (23:14 +0000)]
19.2.1

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
5 months agocontainer: add label ceph=True back 61611/head
John Mulligan [Tue, 21 Jan 2025 21:28:42 +0000 (16:28 -0500)]
container: add label ceph=True back

Add a label used by cephadm internally that was always set by
ceph-container [1] back to the new containerfile. This should
prevent issues with cephadm shell command thinking official ceph images
are not official ceph images.

[1] https://github.com/ceph/ceph-container/blob/30dc8b9a55f70a40983fd2da6ac31e1b9e977143/src/__DOCKERFILE_TRACEABILITY_LABELS__#L5

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit b4f4323e6ccacbff8899ef9b5c336b238101fe0e)

5 months agocontainer/build.sh: fix up org vs. repo naming
Dan Mick [Thu, 23 Jan 2025 02:28:15 +0000 (18:28 -0800)]
container/build.sh: fix up org vs. repo naming

release builds were using the wrong container repo name because of
confused variable naming and inadequate separation.  Keep the hostname,
org name, and repo name in separate variables, and assemble the full
path with a version when tagging is done.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 1fb6137afe1638907d6b2d220a535a5619fa8886)
(cherry picked from commit 92b4d2a49caec61252d6d4caea312d82075bd05b)

5 months agocontainer/build.sh: don't require repo creds on NO_PUSH
Dan Mick [Fri, 24 Jan 2025 19:00:28 +0000 (11:00 -0800)]
container/build.sh: don't require repo creds on NO_PUSH

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

5 months agocontainer/Containerfile: replace CEPH_VERSION var for backward compat
Dan Mick [Fri, 3 Jan 2025 03:15:54 +0000 (19:15 -0800)]
container/Containerfile: replace CEPH_VERSION var for backward compat

CEPH_VERSION used to be present in the env to hold the ref.  Other projects
relied on this.  Make life easier for them.

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

5 months agoMerge pull request #61605 from idryomov/wip-rbd-migration-https-doc-squid
Ilya Dryomov [Fri, 31 Jan 2025 11:06:42 +0000 (12:06 +0100)]
Merge pull request #61605 from idryomov/wip-rbd-migration-https-doc-squid

squid: doc/rbd: use https links in live import examples

Reviewed-by: Zac Dover <zac.dover@proton.me>
5 months agodoc/rbd: use https links in live import examples 61605/head
Ilya Dryomov [Thu, 30 Jan 2025 19:30:18 +0000 (20:30 +0100)]
doc/rbd: use https links in live import examples

Even though it's explicitly said that "http" stream can be used to
import via both HTTP and HTTPS, it can still be confusing that "type":
"http" is expected to go with "url": "https://...".  Switch example
URLs from HTTP to HTTPS to make it more obvious.

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

5 months agoMerge pull request #61584 from dmick/wip-69719-squid
Yuri Weinstein [Thu, 30 Jan 2025 15:15:52 +0000 (07:15 -0800)]
Merge pull request #61584 from dmick/wip-69719-squid

squid: container/build.sh: fix up org vs. repo naming

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
5 months agoMerge pull request #61585 from dmick/wip-69717-squid
Yuri Weinstein [Thu, 30 Jan 2025 15:14:40 +0000 (07:14 -0800)]
Merge pull request #61585 from dmick/wip-69717-squid

squid: container/build.sh: don't require repo creds on NO_PUSH

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
5 months agoMerge pull request #61583 from dmick/wip-69721-squid
Yuri Weinstein [Thu, 30 Jan 2025 15:09:45 +0000 (07:09 -0800)]
Merge pull request #61583 from dmick/wip-69721-squid

squid: container/Containerfile: replace CEPH_VERSION label for backward compact

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
5 months agocontainer/build.sh: don't require repo creds on NO_PUSH 61585/head
Dan Mick [Fri, 24 Jan 2025 19:00:28 +0000 (11:00 -0800)]
container/build.sh: don't require repo creds on NO_PUSH

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

5 months agocontainer/build.sh: fix up org vs. repo naming 61584/head
Dan Mick [Thu, 23 Jan 2025 02:28:15 +0000 (18:28 -0800)]
container/build.sh: fix up org vs. repo naming

release builds were using the wrong container repo name because of
confused variable naming and inadequate separation.  Keep the hostname,
org name, and repo name in separate variables, and assemble the full
path with a version when tagging is done.

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

5 months agocontainer/Containerfile: replace CEPH_VERSION var for backward compat 61583/head
Dan Mick [Fri, 3 Jan 2025 03:15:54 +0000 (19:15 -0800)]
container/Containerfile: replace CEPH_VERSION var for backward compat

CEPH_VERSION used to be present in the env to hold the ref.  Other projects
relied on this.  Make life easier for them.

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

5 months agoMerge pull request #61556 from zdover23/wip-doc-2025-01-29-backport-61549-to-squid
Zac Dover [Wed, 29 Jan 2025 13:12:48 +0000 (23:12 +1000)]
Merge pull request #61556 from zdover23/wip-doc-2025-01-29-backport-61549-to-squid

squid: doc/radosgw: s/zonegroup/pools/

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agoMerge pull request #61448 from zdover23/wip-doc-2025-01-20-squid-repair-ceph_exporter
Zac Dover [Wed, 29 Jan 2025 13:12:08 +0000 (23:12 +1000)]
Merge pull request #61448 from zdover23/wip-doc-2025-01-20-squid-repair-ceph_exporter

exporter: repair Squid ceph_exporter.cc

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agoMerge pull request #58919 from mohit84/wip-67237-squid
SrinivasaBharathKanta [Wed, 29 Jan 2025 08:52:51 +0000 (14:22 +0530)]
Merge pull request #58919 from mohit84/wip-67237-squid

squid: test: Create ParallelPGMapper object before start threadpool

5 months agoMerge pull request #60375 from mohit84/issue_66504
SrinivasaBharathKanta [Wed, 29 Jan 2025 06:45:27 +0000 (12:15 +0530)]
Merge pull request #60375 from mohit84/issue_66504

squid: qa/suites/upgrade/{quincy|reef}-x skip TestClsRbd.mirror_snapshot test

5 months agoMerge pull request #61346 from YiteGu/wip-69505-squid
SrinivasaBharathKanta [Wed, 29 Jan 2025 05:51:48 +0000 (11:21 +0530)]
Merge pull request #61346 from YiteGu/wip-69505-squid

squid: mon/scrub: log error details of store access failures

5 months agoMerge pull request #61281 from amathuria/wip-67443-squid
SrinivasaBharathKanta [Wed, 29 Jan 2025 05:51:26 +0000 (11:21 +0530)]
Merge pull request #61281 from amathuria/wip-67443-squid

squid: qa/rados/dashboard: Add PG_DEGRADED to ignorelist

5 months agodoc/radosgw: s/zonegroup/pools/ 61556/head
Zac Dover [Tue, 28 Jan 2025 06:30:24 +0000 (16:30 +1000)]
doc/radosgw: s/zonegroup/pools/

s/zonegroup/pools/, where this change makes the text clearer.

This change was made in reponse to an upstream comment on
https://pad.ceph.com/p/Report_Documentation_Bugs.

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

5 months agoMerge pull request #61337 from idryomov/wip-69014-squid
Ilya Dryomov [Tue, 28 Jan 2025 08:07:48 +0000 (09:07 +0100)]
Merge pull request #61337 from idryomov/wip-69014-squid

squid: osd: optimize extent comparison in PrimaryLogPG

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
5 months agoMerge pull request #61457 from aaSharma14/wip-69596-squid
afreen23 [Mon, 27 Jan 2025 06:40:20 +0000 (12:10 +0530)]
Merge pull request #61457 from aaSharma14/wip-69596-squid

squid: mgr/dashboard: fix total objects/Avg object size in RGW Overview Page

Reviewed-by: Afreen Misbah <afreen@ibm.com>
5 months agoMerge pull request #61235 from aaSharma14/wip-69223-squid
afreen23 [Mon, 27 Jan 2025 05:29:39 +0000 (10:59 +0530)]
Merge pull request #61235 from aaSharma14/wip-69223-squid

squid: mgr/dashboard: Update and correct zonegroup delete notification

Reviewed-by: Afreen Misbah <afreen@ibm.com>
5 months agoMerge pull request #61238 from aaSharma14/wip-69292-squid
afreen23 [Mon, 27 Jan 2025 05:27:46 +0000 (10:57 +0530)]
Merge pull request #61238 from aaSharma14/wip-69292-squid

squid: mgr/dashboard: Fix Latency chart data units in rgw overview page

Reviewed-by: Afreen Misbah <afreen@ibm.com>
5 months agoMerge pull request #61528 from zdover23/wip-doc-2025-01-27-backport-61525-to-squid
Anthony D'Atri [Sun, 26 Jan 2025 18:02:01 +0000 (13:02 -0500)]
Merge pull request #61528 from zdover23/wip-doc-2025-01-27-backport-61525-to-squid

squid: doc/cephadm: correct note

5 months agodoc/cephadm: correct note 61528/head
Zac Dover [Sun, 26 Jan 2025 05:11:16 +0000 (15:11 +1000)]
doc/cephadm: correct note

Correct the English in a note in doc/cephadm/host-management.rst.

This commit was made in response to
https://github.com/ceph/ceph/pull/50340, which corrected some of this
note in Quincy.

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

5 months agoMerge pull request #61521 from zdover23/wip-doc-2025-01-26-backport-61503-to-squid
Zac Dover [Sun, 26 Jan 2025 02:19:38 +0000 (12:19 +1000)]
Merge pull request #61521 from zdover23/wip-doc-2025-01-26-backport-61503-to-squid

squid: doc/cephfs: edit disaster-recovery-experts (6 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agoMerge pull request #61523 from zdover23/wip-doc-2025-01-26-backport-61520-to-squid
Ilya Dryomov [Sat, 25 Jan 2025 20:44:02 +0000 (21:44 +0100)]
Merge pull request #61523 from zdover23/wip-doc-2025-01-26-backport-61520-to-squid

squid: doc/rados: pool and namespace are independent osdcap restrictions

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
5 months agodoc/rados: pool and namespace are independent osdcap restrictions 61523/head
Ilya Dryomov [Sat, 25 Jan 2025 10:11:14 +0000 (11:11 +0100)]
doc/rados: pool and namespace are independent osdcap restrictions

For the "profile {name}" syntax, pool and namespace restrictions are
independent of each other (i.e. specifying namespace doesn't also
require specifying pool like is currently suggested).  A cap can look
like "profile rbd namespace=myns", signifying that the RBD profile is
to be allowed in myns namespace of any pool.

For the "allow {access-spec}" syntax, pool restriction is optional.
A cap can look like "allow r namespace=myns", "allow w object_prefix
myprefix" or "allow rw namespace=myns object_prefix myprefix", for
example.

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

5 months agodoc/cephfs: edit disaster-recovery-experts (6 of x) 61521/head
Zac Dover [Fri, 24 Jan 2025 13:46:19 +0000 (23:46 +1000)]
doc/cephfs: edit disaster-recovery-experts (6 of x)

In doc/cephfs/disaster-recovery-experts.rst, incorporate Anthony's
suggestions in

https://github.com/ceph/ceph/pull/61462#discussion_r1923917812
and
https://github.com/ceph/ceph/pull/61462#discussion_r1923920724

and reword the sentences in the section "Using an alternate metadata
pool for recovery" to be in the imperative mood, which better suits the
ordered list format that was introduced in
https://github.com/ceph/ceph/pull/61493.

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

https://tracker.ceph.com/issues/69557

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

5 months agoMerge pull request #61499 from zdover23/wip-doc-2025-01-24-backport-61493-to-squid
Anthony D'Atri [Fri, 24 Jan 2025 14:04:47 +0000 (09:04 -0500)]
Merge pull request #61499 from zdover23/wip-doc-2025-01-24-backport-61493-to-squid

squid: doc/cephfs: edit disaster-recovery-experts (5 of x)

5 months agodoc/cephfs: edit disaster-recovery-experts (5 of x) 61499/head
Zac Dover [Thu, 23 Jan 2025 09:49:26 +0000 (19:49 +1000)]
doc/cephfs: edit disaster-recovery-experts (5 of x)

Put the procedure in the section called "Using an alternate metadata
pool for recovery" into an ordered list, so that it is in a proper
procedure format.

This commit is meant only to break the procedure into steps. The English
language in each of these steps could be improved, but that improvement
will be done after this formatting has been merged and backported.

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

https://tracker.ceph.com/issues/69557

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

5 months agoMerge pull request #57189 from batrick/wip-65730-squid
NitzanMordhai [Fri, 24 Jan 2025 07:31:09 +0000 (09:31 +0200)]
Merge pull request #57189 from batrick/wip-65730-squid

squid: pybind/mgr: disable sqlite3/python autocommit

5 months agoMerge pull request #57064 from batrick/wip-65622-squid
Yuri Weinstein [Thu, 23 Jan 2025 21:02:43 +0000 (13:02 -0800)]
Merge pull request #57064 from batrick/wip-65622-squid

squid: mgr: process map before notifying clients

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 months agoMerge pull request #57586 from NitzanMordhai/wip-66139-squid
NitzanMordhai [Thu, 23 Jan 2025 20:00:41 +0000 (22:00 +0200)]
Merge pull request #57586 from NitzanMordhai/wip-66139-squid

squid: osd: full-object read CRC mismatch due to 'truncate' modifying oi.size w/o clearing 'data_digest'

5 months agoMerge pull request #61484 from ivancich/wip-69563-squid
J. Eric Ivancich [Wed, 22 Jan 2025 18:51:25 +0000 (13:51 -0500)]
Merge pull request #61484 from ivancich/wip-69563-squid

squid: rgw/lc: make lc worker thread name shorter

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 months agorgw/lc: make lc worker thread name shorter 61484/head
lightmelodies [Thu, 9 Jan 2025 10:15:50 +0000 (10:15 +0000)]
rgw/lc: make lc worker thread name shorter

Fixes: https://tracker.ceph.com/issues/69459
Signed-off-by: lightmelodies <lightmelodies@outlook.com>
(cherry picked from commit 05e241245744d105e285373bb9aa7861c62dcc18)

5 months agoMerge pull request #61479 from zdover23/wip-doc-2025-01-22-backport-61462-to-squid
Anthony D'Atri [Wed, 22 Jan 2025 15:12:21 +0000 (10:12 -0500)]
Merge pull request #61479 from zdover23/wip-doc-2025-01-22-backport-61462-to-squid

squid: doc/cephfs: edit disaster-recovery-experts (4 of x)

5 months agotest: ceph daemon command with asok path 61482/head
Nitzan Mordechai [Wed, 1 May 2024 13:08:03 +0000 (13:08 +0000)]
test: ceph daemon command with asok path

pg-split-merge using ceph daemon command to check merge.
but it doesn't use asok path, which causes the check not to
return the correct output. change the command to use asok path.

Fixes: https://tracker.ceph.com/issues/65737
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit a76bf0de58547961d5fbc6d644005a3a5506d443)

5 months agoMerge pull request #61359 from zdover23/wip-doc-2025-01-14-backport-61352-to-squid
Zac Dover [Wed, 22 Jan 2025 12:01:52 +0000 (22:01 +1000)]
Merge pull request #61359 from zdover23/wip-doc-2025-01-14-backport-61352-to-squid

squid: doc/releases: add actual_eol for quincy

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agoMerge pull request #61058 from zdover23/wip-doc-2024-12-12-backport-61049-to-squid
Zac Dover [Wed, 22 Jan 2025 12:01:26 +0000 (22:01 +1000)]
Merge pull request #61058 from zdover23/wip-doc-2024-12-12-backport-61049-to-squid

squid: doc/cephfs: edit 2nd 3rd of mount-using-kernel-driver

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agoMerge pull request #61056 from zdover23/wip-doc-2024-12-12-backport-61048-to-squid
Zac Dover [Wed, 22 Jan 2025 12:01:08 +0000 (22:01 +1000)]
Merge pull request #61056 from zdover23/wip-doc-2024-12-12-backport-61048-to-squid

squid: doc/cephfs: edit first 3rd of mount-using-kernel-driver

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agoMerge pull request #60199 from zdover23/wip-doc-2024-10-09-backport-60163-to-squid
Zac Dover [Wed, 22 Jan 2025 12:00:54 +0000 (22:00 +1000)]
Merge pull request #60199 from zdover23/wip-doc-2024-10-09-backport-60163-to-squid

squid: doc/man: supplant "wsync" with "nowsync" as the default

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agodoc/cephfs: edit disaster-recovery-experts (4 of x) 61479/head
Zac Dover [Tue, 21 Jan 2025 05:53:19 +0000 (15:53 +1000)]
doc/cephfs: edit disaster-recovery-experts (4 of x)

Edit the seventh and final section of
doc/cephfs/disaster-recovery-experts.rst in preparation for adding
deeper explanations of the contexts in which one should use the various
commands listed on that page.

The section edited in this commit is

 * Using an alternate metadata pool for recovery

A future commit might beneficially put this section into the format of
an ordered list. If so, such a commit should only reformat the
content and should not make any changes to the English. It's enough to
verify content or format. Let's not overload our editorial faculties by
forcing ourselves to walk and chew gum at the same time.

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

https://tracker.ceph.com/issues/69557

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

5 months agoMerge pull request #61459 from zdover23/wip-doc-2025-01-21-backport-61249-to-squid
Anthony D'Atri [Tue, 21 Jan 2025 15:22:34 +0000 (10:22 -0500)]
Merge pull request #61459 from zdover23/wip-doc-2025-01-21-backport-61249-to-squid

squid: doc/cephfs: edit grammar in snapshots.rst

5 months agodoc/cephfs: edit grammar in snapshots.rst 61459/head
Zac Dover [Tue, 7 Jan 2025 06:42:52 +0000 (16:42 +1000)]
doc/cephfs: edit grammar in snapshots.rst

This commit improves the grammar in doc/cephfs/snapshots.rst. The PR
associated with this commit follows from
https://github.com/ceph/ceph/pull/61240, the PR raised by Neeraj Pratap
Singh to introduce information about snapshots into the CephFS
documentation.

See also https://tracker.ceph.com/issues/68974.

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

5 months agoMerge pull request #61308 from zdover23/wip-doc-2025-01-10-backport-61243-to-squid
Zac Dover [Tue, 21 Jan 2025 05:23:34 +0000 (15:23 +1000)]
Merge pull request #61308 from zdover23/wip-doc-2025-01-10-backport-61243-to-squid

squid: doc/radosgw/s3: correct eTag op match tables

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agoMerge pull request #61246 from zdover23/wip-doc-2025-01-07-backport-61240-to-squid
Zac Dover [Tue, 21 Jan 2025 05:21:39 +0000 (15:21 +1000)]
Merge pull request #61246 from zdover23/wip-doc-2025-01-07-backport-61240-to-squid

squid: doc: add snapshots in docs under Cephfs concepts

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agoMerge pull request #61333 from zdover23/wip-doc-2025-01-11-backport-61291-to-squid
Zac Dover [Tue, 21 Jan 2025 05:16:43 +0000 (15:16 +1000)]
Merge pull request #61333 from zdover23/wip-doc-2025-01-11-backport-61291-to-squid

squid: doc/rgw: document UserName requirements for account migration

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agomgr/dashboard: fix total objects/Avg object size in RGW Overview Page 61457/head
Aashish Sharma [Mon, 28 Oct 2024 10:09:52 +0000 (15:39 +0530)]
mgr/dashboard: fix total objects/Avg object size in RGW Overview Page

Till now we are calculating the total number of objects and the average
object size in the RGW Overview Page using `ceph df` command's output.
As per the discussion with RGW team, this data is not correct as S3
objects in rgw can occupy more than one rados object. This PR tends to
make the overview page's info in sync with the RGW bucket page's info.

Fixes: https://tracker.ceph.com/issues/68733
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 74b0749b7e63f2690a70d0226a1d730b23ddaea1)

5 months agoMerge pull request #61453 from zdover23/wip-doc-2025-01-20-backport-61442-to-squid
Anthony D'Atri [Mon, 20 Jan 2025 16:09:21 +0000 (11:09 -0500)]
Merge pull request #61453 from zdover23/wip-doc-2025-01-20-backport-61442-to-squid

squid: doc/cephfs: edit disaster-recovery-experts (3 of x)

5 months agodoc/cephfs: edit disaster-recovery-experts (3 of x) 61453/head
Zac Dover [Sat, 18 Jan 2025 04:04:14 +0000 (14:04 +1000)]
doc/cephfs: edit disaster-recovery-experts (3 of x)

Edit the fifth and sixth sections of
doc/cephfs/disaster-recovery-experts.rst in preparation for adding
deeper explanations of the contexts in which one should use the various
commands listed on that page.

The sections edited in this commit are

 - MDS Map Reset
 - Recovery From Mission Metadata Objects

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

https://tracker.ceph.com/issues/69557

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

5 months agoexporter: repair Squid ceph_exporter.cc 61448/head
Zac Dover [Mon, 20 Jan 2025 05:33:36 +0000 (15:33 +1000)]
exporter: repair Squid ceph_exporter.cc

Restore the documentation of "--prio-limit" in
src/exporter/ceph_exporter.cc and remove the documentation of
"--cert-file" in src/exporter/ceph_exporter.cc. These two changes are
made to repair damage done to this file as a result of a
miscommunication in https://github.com/ceph/ceph/pull/61331.

Signed-off-by: Zac Dover <zac.dover@proton.me>
5 months agoMerge pull request #61446 from zdover23/wip-doc-2025-01-20-backport-61445-to-squid
Anthony D'Atri [Mon, 20 Jan 2025 02:57:27 +0000 (21:57 -0500)]
Merge pull request #61446 from zdover23/wip-doc-2025-01-20-backport-61445-to-squid

squid: doc/cephfs: disaster-recovery-experts cleanup

5 months agodoc/cephfs: disaster-recovery-experts cleanup 61446/head
Zac Dover [Sun, 19 Jan 2025 12:49:52 +0000 (22:49 +1000)]
doc/cephfs: disaster-recovery-experts cleanup

Properly wrap a poorly-formatted paragraph that looks just awful in an
80-column viewport and change MDS to "MDS daemons" where the latter
makes the sentence a lot clearer.

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

6 months agoMerge pull request #61443 from zdover23/wip-doc-2025-01-19-backport-61427-to-squid
Anthony D'Atri [Sun, 19 Jan 2025 16:02:24 +0000 (11:02 -0500)]
Merge pull request #61443 from zdover23/wip-doc-2025-01-19-backport-61427-to-squid

squid: doc/cephfs: edit disaster-recovery-experts (2 of x)

6 months agodoc/cephfs: edit disaster-recovery-experts (2 of x) 61443/head
Zac Dover [Fri, 17 Jan 2025 12:33:49 +0000 (22:33 +1000)]
doc/cephfs: edit disaster-recovery-experts (2 of x)

Edit the third and fourth sections of
doc/cephfs/disaster-recovery-experts.rst in preparation for adding
deeper explanations of the contexts in which one should use the various
commands listed on that page.

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

https://tracker.ceph.com/issues/69557

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

6 months agoMerge pull request #61437 from zdover23/wip-doc-2025-01-18-backport-61272-to-squid
Zac Dover [Sat, 18 Jan 2025 03:44:14 +0000 (13:44 +1000)]
Merge pull request #61437 from zdover23/wip-doc-2025-01-18-backport-61272-to-squid

squid: doc/radosgw/config-ref: fix lc worker thread tuning

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #61423 from zdover23/wip-doc-2025-01-17-backport-61411-to-squid
Zac Dover [Sat, 18 Jan 2025 03:42:48 +0000 (13:42 +1000)]
Merge pull request #61423 from zdover23/wip-doc-2025-01-17-backport-61411-to-squid

squid: doc/cephfs: edit disaster-recovery-experts

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #61419 from zdover23/wip-doc-2025-01-17-revert-part-of-61331
Zac Dover [Sat, 18 Jan 2025 03:42:39 +0000 (13:42 +1000)]
Merge pull request #61419 from zdover23/wip-doc-2025-01-17-revert-part-of-61331

squid: src/exporter: revert incorrect lines

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #61401 from zdover23/wip-doc-2025-01-16-backport-61373-to-squid
Zac Dover [Sat, 18 Jan 2025 03:42:21 +0000 (13:42 +1000)]
Merge pull request #61401 from zdover23/wip-doc-2025-01-16-backport-61373-to-squid

squid: AsyncMessenger.cc : improve error messages

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #61377 from zdover23/wip-doc-2025-01-15-backport-61072-to-squid
Zac Dover [Fri, 17 Jan 2025 22:18:53 +0000 (08:18 +1000)]
Merge pull request #61377 from zdover23/wip-doc-2025-01-15-backport-61072-to-squid

squid: test/pybind: Clean whitespace. (Doc and test fixes)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agodoc/radosgw/config-ref: fix lc worker thread tuning 61437/head
Laimis Juzeliƫnas [Wed, 8 Jan 2025 22:05:34 +0000 (00:05 +0200)]
doc/radosgw/config-ref: fix lc worker thread tuning

This commit updates RGW Config Reference - Lifecycle Settings section. In particular it addresses an incorrect suggestion to decrease parallel threads in the workers pool for a more aggressive/accelerated per-bucket lifecycle processing. A more aggressive lifecycle processing for a bucket containing higher number of objects is achieved by increasing, not decreasing parallel threads.
Current suggestion is miss-leading.

Fixes: https://tracker.ceph.com/issues/63659
Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
(cherry picked from commit b7ae18a292c7d1d5139dfb74c575f1af0de29a3e)

6 months agoMerge pull request #60240 from aclamk/wip-aclamk-bluefs-truncate-allocations-squid
Adam Kupczyk [Fri, 17 Jan 2025 12:31:25 +0000 (13:31 +0100)]
Merge pull request #60240 from aclamk/wip-aclamk-bluefs-truncate-allocations-squid

squid: os/bluestore: Make truncate() drop unused allocations

6 months agodoc/cephfs: edit disaster-recovery-experts 61423/head
Zac Dover [Thu, 16 Jan 2025 11:51:46 +0000 (21:51 +1000)]
doc/cephfs: edit disaster-recovery-experts

Edit the first two sections of doc/cephfs/disaster-recovery-experts.rst
in preparation for adding deeper explanations of the contexts in which
one should use the various commands listed on that page.

https://tracker.ceph.com/issues/69557

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

6 months agoMerge pull request #59389 from jmundack/wip-67657-squid
SrinivasaBharathKanta [Fri, 17 Jan 2025 00:12:24 +0000 (05:42 +0530)]
Merge pull request #59389 from jmundack/wip-67657-squid

squid: common: Leverage a better CRC32C implementation

6 months agosquid: src/exporter: revert incorrect lines 61419/head
Zac Dover [Thu, 16 Jan 2025 15:49:04 +0000 (01:49 +1000)]
squid: src/exporter: revert incorrect lines

Revert part of 99f4eccb6bef444f86e6d6cbf579dc3ba975af98. The lines
removed here were reported to me by Anthony D'Atri, who says that Juan
Miguel Olmo told him that they should not be in the Squid branch.

See https://github.com/ceph/ceph/pull/61331#issuecomment-2596058701

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #60543 from aclamk/wip-68680-squid
Adam Kupczyk [Thu, 16 Jan 2025 13:02:00 +0000 (14:02 +0100)]
Merge pull request #60543 from aclamk/wip-68680-squid

squid: os/bluestore/ceph-bluestore-tool: Modify show-label for many devs

6 months agoAsyncMessenger.cc : improve error messages 61401/head
Anthony D'Atri [Wed, 15 Jan 2025 00:17:14 +0000 (19:17 -0500)]
AsyncMessenger.cc : improve error messages

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

6 months agoqa/scrub: more delay when waiting for noscrub to take effect 61398/head
Ronen Friedman [Tue, 14 Jan 2025 11:39:14 +0000 (05:39 -0600)]
qa/scrub: more delay when waiting for noscrub to take effect

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 5a966ca95d941b69c51fc5c8bdebe867fcb3ede2)
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agocommon: config_cacher: use set::contains() instead of count()
Ronen Friedman [Tue, 14 Jan 2025 09:23:16 +0000 (03:23 -0600)]
common: config_cacher: use set::contains() instead of count()

moved out of the main commit to
facilitate backporting it to pre-C++20.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 5c098880829a7c2757c59dd21280baeaa93cd74a)

6 months agocommon: fix md_config_cacher_t
Ronen Friedman [Thu, 9 Jan 2025 17:06:37 +0000 (11:06 -0600)]
common: fix md_config_cacher_t

In its get_tracked_conf_keys() member function, the
cacher (in the existing code) initializes a static
function-block variable ('keys'), and uses it for
registering the observer.

But the cacher is instantiated on the type of
the configuration value. Thus, multiple cacher
objects for which the configuration values are
of the same type - share the static 'keys'. Only
one of the observers is registered.

Note that the code could have been simplified
somewhat, if the signature of the
get_tracked_conf_keys() function
was changed to return 'const char* const *'.

Fixes (original PR): https://tracker.ceph.com/issues/69236
Fixes: https://tracker.ceph.com/issues/69530
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 8ac04704574671e72de6f3ba30c1c3baa39a6319)

6 months agotest/librados/testcase_cxx: set_allow_ec_overwrites wait for overwrite to work 57586/head
Samuel Just [Fri, 31 May 2024 18:42:58 +0000 (11:42 -0700)]
test/librados/testcase_cxx: set_allow_ec_overwrites wait for overwrite to work

The mon command to enable ec overwrites succeeds once the mon commits
the update.  However, actual IOs won't suceed until the map is actually
propagated to OSDs.  Update set_allow_ec_overwrites to try performing
overwrites until it actually succeeds (with a 120s timelimit) before
returning.

Fixes: https://tracker.ceph.com/issues/66226
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 5d26a6cbc63c1d5f9fdd6941e3fce46302f7864c)

6 months agotest/librados/io_cxx: append buf to bl in CrcZeroWrite
Samuel Just [Fri, 31 May 2024 18:38:17 +0000 (11:38 -0700)]
test/librados/io_cxx: append buf to bl in CrcZeroWrite

This seems to be what was intended.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 30fea3df332982a2c3317d561d09d927b11dc78f)

6 months agotest/librados/io_cxx: fix ec overwrites cleanup in CrcZeroWrite
Samuel Just [Fri, 31 May 2024 17:19:51 +0000 (17:19 +0000)]
test/librados/io_cxx: fix ec overwrites cleanup in CrcZeroWrite

We can't rely on recreating the pool at the end of the test case because
failing an assert in CrcZeroWrite would skip it.  Instead, recreate the
pool in TearDown with other cleanup.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit ce2378108f8630ec6ea195d66ff89cb71497b767)

6 months agoceph_test_rados_io_pp: Add cxx test for append zero test
NitzanMordhai [Tue, 26 Dec 2023 10:22:19 +0000 (10:22 +0000)]
ceph_test_rados_io_pp: Add cxx test for append zero test

1. adding allow_ec_overwrite option for cxx test
2. adding new test for crc failuer check with append zero length

Fixes: https://tracker.ceph.com/issues/53240
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit 06e4c6f205fe6e4a9cd6410bc62d3dc0d1310f06)

6 months agotest/pybind: check crc fail after append zero
NitzanMordhai [Tue, 26 Dec 2023 09:02:22 +0000 (09:02 +0000)]
test/pybind: check crc fail after append zero

Add test for zero crc check failed.

Fixes: https://tracker.ceph.com/issues/53240
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit 6662e6bc215c2d0bee16bc3674b07be1e239b4c0)

test/pybind/test_rados.py: fix test_list_objects

Commit 6662e6bc215c2d0bee16bc3674b07be1e239b4c0 accidentally removed a line from this test.

```
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:=================================== FAILURES ===================================
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:_________________________ TestIoctx.test_list_objects __________________________
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:self = <test_rados.TestIoctx object at 0x7fddcc6924c0>
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:    def test_list_objects(self):
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:        self.ioctx.write('b', b'foo')
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:        self.ioctx.write_full('c', b'bar')
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:        self.ioctx.append('d', b'jazz')
2024-05-21T14:06:10.464 INFO:tasks.workunit.client.0.smithi031.stdout:        object_names = [obj.key for obj in self.ioctx.list_objects()]
2024-05-21T14:06:10.464 INFO:tasks.workunit.client.0.smithi031.stdout:>       eq(sorted(object_names), ['a', 'b', 'c', 'd'])
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit 8b7694ad799c0cec6be6865c41b1c535d7eb4ea2)

6 months agoosd: Adjust code style
jiawd [Wed, 17 Nov 2021 09:28:59 +0000 (09:28 +0000)]
osd: Adjust code style

Fixes: https://tracker.ceph.com/issues/53240
Signed-off-by: jiawd <jiawendong@xtaotech.com>
(cherry picked from commit afd42666ea8bd3866e8655b7247985aee071abb4)

6 months agoosd: Remove the duplicate oi.clear_data_digest
jiawd [Fri, 12 Nov 2021 04:03:15 +0000 (04:03 +0000)]
osd: Remove the duplicate oi.clear_data_digest

Fixes: https://tracker.ceph.com/issues/53240
Signed-off-by: jiawd <jiawendong@xtaotech.com>
(cherry picked from commit 83d3523bb0868f1dfdc88b80a37396a3b1629087)