]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 months agodoc/radosgw: update rgw_dns_name doc 60886/head
Zac Dover [Fri, 29 Nov 2024 03:12:02 +0000 (13:12 +1000)]
doc/radosgw: update rgw_dns_name doc

Update doc/radosgw/s3/commons.rst with the changes made by Jiffin Tony
Thottan in https://github.com/ceph/ceph/pull/54524 and the suggestions
made in that same PR by Anthony D'Atri.

Explain how to set rgw_dns_name to a domain name in order to configure
access to virtual hosted buckets.

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

7 months agoMerge pull request #60868 from zdover23/wip-doc-2024-11-28-backport-60860-to-reef
Anthony D'Atri [Fri, 29 Nov 2024 01:55:44 +0000 (20:55 -0500)]
Merge pull request #60868 from zdover23/wip-doc-2024-11-28-backport-60860-to-reef

reef: doc/radosgw: Improve archive-sync-module.rst more

7 months agoMerge pull request #60876 from zdover23/wip-doc-2024-11-28-backport-60857-to-reef
Anthony D'Atri [Thu, 28 Nov 2024 18:22:36 +0000 (13:22 -0500)]
Merge pull request #60876 from zdover23/wip-doc-2024-11-28-backport-60857-to-reef

reef: doc/glossary: add "DC" (Data Center) to glossary

7 months agoMerge pull request #60182 from joscollin/wip-68409-reef
Hemanth [Thu, 28 Nov 2024 17:02:33 +0000 (22:32 +0530)]
Merge pull request #60182 from joscollin/wip-68409-reef

reef: cephfs_mirror, qa: fix test failure test_cephfs_mirror_cancel_mirroring_and_readd

7 months agoMerge pull request #59466 from sajibreadd/wip-67038-reef
SrinivasaBharathKanta [Thu, 28 Nov 2024 14:19:27 +0000 (19:49 +0530)]
Merge pull request #59466 from sajibreadd/wip-67038-reef

reef: os/bluestore: Warning added for slow operations and stalled read

7 months agoMerge pull request #60284 from Matan-B/wip-68501-reef
SrinivasaBharathKanta [Thu, 28 Nov 2024 14:16:27 +0000 (19:46 +0530)]
Merge pull request #60284 from Matan-B/wip-68501-reef

reef: osd/PeeringState: introduce osd_skip_check_past_interval_bounds

7 months agoMerge pull request #59972 from sseshasa/wip-68224-reef
SrinivasaBharathKanta [Thu, 28 Nov 2024 14:15:44 +0000 (19:45 +0530)]
Merge pull request #59972 from sseshasa/wip-68224-reef

reef: common/options: Change HDD OSD shard configuration defaults for mClock

7 months agoMerge pull request #60108 from cbodley/wip-68379-reef
SrinivasaBharathKanta [Thu, 28 Nov 2024 12:16:45 +0000 (17:46 +0530)]
Merge pull request #60108 from cbodley/wip-68379-reef

reef: cmake: use ExternalProjects to build isa-l and isa-l_crypto libraries

7 months agoWarning added for slow operations and stalled read in BlueStore. User can control... 59466/head
sajibreadd [Mon, 27 May 2024 07:30:06 +0000 (13:30 +0600)]
Warning added for slow operations and stalled read in BlueStore. User can control how much time the warning should persist after last occurence and maximum number of operations as a threshold will be considered for the warning.

Fixes: https://tracker.ceph.com/issues/62500
Signed-off-by: Md Mahamudur Rahaman Sajib <mahamudur.sajib@croit.io>
(cherry picked from commit 73b80a9a2c38259346fb646f85fa2ba4dcbb1329)

Conflicts:
src/common/options/global.yaml.in
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h
        doc/rados/operations/health-checks.rst

7 months agoMerge pull request #59157 from badone/wip-tracker-59380-admin-socket-injectfull-reef
SrinivasaBharathKanta [Thu, 28 Nov 2024 11:26:41 +0000 (16:56 +0530)]
Merge pull request #59157 from badone/wip-tracker-59380-admin-socket-injectfull-reef

reef: qa/suites/rados: Cancel injectfull to allow cleanup

7 months agocommon/options: Change HDD OSD shard configuration defaults for mClock 59972/head
Sridhar Seshasayee [Tue, 3 Sep 2024 05:39:08 +0000 (11:09 +0530)]
common/options: Change HDD OSD shard configuration defaults for mClock

Based on tests performed at scale on a HDD based cluster, it was found
that scheduling with mClock was not optimal with multiple OSD shards. For
e.g., in the scaled cluster with multiple OSD node failures, the client
throughput was found to be inconsistent across test runs coupled with
multiple reported slow requests.

However, the same test with a single OSD shard and with multiple worker
threads yielded significantly better results in terms of consistency of
client and recovery throughput across multiple test runs.

For more details see https://tracker.ceph.com/issues/66289.

Therefore, as an interim measure until the issue with multiple OSD shards
(or multiple mClock queues per OSD) is investigated and fixed, the
following change to the default HDD OSD shard configuration is made:

 - osd_op_num_shards_hdd = 1 (was 5)
 - osd_op_num_threads_per_shard_hdd = 5 (was 1)

The other changes in this commit include:
 - Doc change to the OSD and mClock config reference describing
   this change.
 - OSD troubleshooting entry on the procedure to change the shard
   configuration for clusters affected by this issue running on older
   releases.
 - Add release note for this change.

Fixes: https://tracker.ceph.com/issues/66289
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
(cherry picked from commit 0d81e721378e6d7a647c5a4f6aab3cede1a828d3)

Conflicts:
        doc/rados/troubleshooting/troubleshooting-osd.rst
- Included the troubleshooting entry before the "Flapping OSDs" section.
        PendingReleaseNotes
- Moved the release note under 18.2.4 section and removed unrelated entries

7 months agodoc/glossary: add "DC" (Data Center) to glossary 60876/head
Zac Dover [Wed, 27 Nov 2024 06:17:41 +0000 (16:17 +1000)]
doc/glossary: add "DC" (Data Center) to glossary

Add the initialism "DC" (Data Center) to the glossary.

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

7 months agoMerge pull request #60865 from zdover23/wip-doc-2024-11-28-backport-59225-to-reef
Zac Dover [Thu, 28 Nov 2024 05:04:37 +0000 (15:04 +1000)]
Merge pull request #60865 from zdover23/wip-doc-2024-11-28-backport-59225-to-reef

reef: doc/glossary: add "flapping OSD"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
7 months agodoc/radosgw: Improve archive-sync-module.rst more 60868/head
Anthony D'Atri [Wed, 27 Nov 2024 16:39:38 +0000 (11:39 -0500)]
doc/radosgw: Improve archive-sync-module.rst more

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

7 months agodoc/glossary: add "flapping OSD" 60865/head
Zac Dover [Wed, 14 Aug 2024 18:08:14 +0000 (04:08 +1000)]
doc/glossary: add "flapping OSD"

Add an entry for "Flapping OSD" to the glossary.

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

7 months agoMerge pull request #60853 from zdover23/wip-doc-2024-11-27-backport-60846-to-reef
Anthony D'Atri [Tue, 26 Nov 2024 21:59:28 +0000 (16:59 -0500)]
Merge pull request #60853 from zdover23/wip-doc-2024-11-27-backport-60846-to-reef

reef: doc/radosgw: Improve archive-sync-module.rst

7 months agodoc/radosgw: Improve archive-sync-module.rst 60853/head
Anthony D'Atri [Tue, 26 Nov 2024 16:13:06 +0000 (11:13 -0500)]
doc/radosgw: Improve archive-sync-module.rst

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
(cherry picked from commit 303ce155a34fdf2cde63b948d204aca339dd5682)

7 months agoMerge pull request #58789 from batrick/wip-67121-reef
Venky Shankar [Tue, 26 Nov 2024 16:56:36 +0000 (22:26 +0530)]
Merge pull request #58789 from batrick/wip-67121-reef

reef: qa/cephfs: ignore variant of MDS_UP_LESS_THAN_MAX

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 months agoMerge pull request #58791 from batrick/wip-67154-reef
Venky Shankar [Tue, 26 Nov 2024 16:56:28 +0000 (22:26 +0530)]
Merge pull request #58791 from batrick/wip-67154-reef

reef: qa: suppress __trans_list_add valgrind warning

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 months agoMerge pull request #58805 from lxbsz/wip-67148
Venky Shankar [Tue, 26 Nov 2024 16:56:18 +0000 (22:26 +0530)]
Merge pull request #58805 from lxbsz/wip-67148

reef: cephfs: Fixed a bug in the readdir_cache_cb function that may have us…

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 months agoMerge pull request #58809 from lxbsz/wip-67118
Venky Shankar [Tue, 26 Nov 2024 16:56:06 +0000 (22:26 +0530)]
Merge pull request #58809 from lxbsz/wip-67118

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

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 months agoMerge pull request #58812 from lxbsz/wip-67114
Venky Shankar [Tue, 26 Nov 2024 16:55:57 +0000 (22:25 +0530)]
Merge pull request #58812 from lxbsz/wip-67114

reef: cephfs-shell: excute cmd 'rmdir_helper' reported error

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 months agoMerge pull request #58842 from lxbsz/wip-67162
Venky Shankar [Tue, 26 Nov 2024 16:55:42 +0000 (22:25 +0530)]
Merge pull request #58842 from lxbsz/wip-67162

reef: mds: try to choose a new batch head in request_clientup()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 months agoMerge pull request #59071 from joscollin/wip-67386-reef
Venky Shankar [Tue, 26 Nov 2024 16:48:26 +0000 (22:18 +0530)]
Merge pull request #59071 from joscollin/wip-67386-reef

reef: cephfs_mirror: provide metrics for last successful snapshot sync

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 months agoMerge pull request #59069 from joscollin/wip-67383-reef
Venky Shankar [Tue, 26 Nov 2024 16:48:13 +0000 (22:18 +0530)]
Merge pull request #59069 from joscollin/wip-67383-reef

reef: qa/suites: drop --show-reachable=yes from fs:valgrind tests

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 months agoMerge pull request #60659 from sseshasa/wip-68857-reef
Yuri Weinstein [Tue, 26 Nov 2024 15:48:42 +0000 (07:48 -0800)]
Merge pull request #60659 from sseshasa/wip-68857-reef

reef: common,osd: Use last valid OSD IOPS value if measured IOPS is unrealistic

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
7 months agoMerge pull request #59264 from k0ste/wip-62781-reef
Yuri Weinstein [Tue, 26 Nov 2024 15:47:12 +0000 (07:47 -0800)]
Merge pull request #59264 from k0ste/wip-62781-reef

reef: os/bluestore: fix btree allocator

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 months agoMerge pull request #59399 from lxbsz/wip-67434
Venky Shankar [Tue, 26 Nov 2024 10:36:14 +0000 (16:06 +0530)]
Merge pull request #59399 from lxbsz/wip-67434

reef: qa/cephfs: fix TestRenameCommand and unmount the clinet before failin…

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 months agoMerge pull request #59519 from batrick/wip-67750-reef
Venky Shankar [Tue, 26 Nov 2024 10:35:35 +0000 (16:05 +0530)]
Merge pull request #59519 from batrick/wip-67750-reef

reef: mds: cephx path restriction incorrectly rejects snapshots of deleted directory

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 months agoMerge pull request #59522 from batrick/wip-67807-reef
Venky Shankar [Tue, 26 Nov 2024 10:35:23 +0000 (16:05 +0530)]
Merge pull request #59522 from batrick/wip-67807-reef

reef: qa: load all dirfrags before testing altname recovery

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 months agoMerge pull request #59648 from mchangir/wip-67941-reef
Venky Shankar [Tue, 26 Nov 2024 10:34:12 +0000 (16:04 +0530)]
Merge pull request #59648 from mchangir/wip-67941-reef

reef: mgr/snap_schedule: correctly fetch mds_max_snaps_per_dir from mds

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 months agoMerge pull request #59197 from neesingh-rh/wip-67301-reef
Venky Shankar [Tue, 26 Nov 2024 05:36:51 +0000 (11:06 +0530)]
Merge pull request #59197 from neesingh-rh/wip-67301-reef

reef: pybind/ceph_argparse: Fix error message for ceph tell command

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 months agoMerge pull request #59397 from lxbsz/wip-67586
Venky Shankar [Tue, 26 Nov 2024 05:30:13 +0000 (11:00 +0530)]
Merge pull request #59397 from lxbsz/wip-67586

reef: client: flush the caps release in filesystem sync

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 months agoMerge pull request #60728 from mchangir/wip-68651-reef
Milind Changire [Tue, 26 Nov 2024 04:38:45 +0000 (10:08 +0530)]
Merge pull request #60728 from mchangir/wip-68651-reef

reef: log: save/fetch thread name infra

7 months agoMerge pull request #60825 from zdover23/wip-doc-2024-11-25-backport-60813-to-reef
Anthony D'Atri [Mon, 25 Nov 2024 23:26:08 +0000 (18:26 -0500)]
Merge pull request #60825 from zdover23/wip-doc-2024-11-25-backport-60813-to-reef

reef: doc/rados/troubleshooting: Improve log-and-debug.rst

7 months agodoc/rados/troubleshooting: Improve log-and-debug.rst 60825/head
Anthony D'Atri [Mon, 25 Nov 2024 01:24:18 +0000 (20:24 -0500)]
doc/rados/troubleshooting: Improve log-and-debug.rst

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

7 months agoqa: add test for ceph tell with unknown cephtype 59197/head
neeraj pratap singh [Thu, 25 Apr 2024 08:04:09 +0000 (13:34 +0530)]
qa: add test for ceph tell with unknown cephtype

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

7 months agopybind/ceph_argparse: fixing error message for ceph tell command
neeraj pratap singh [Thu, 2 Nov 2023 03:57:40 +0000 (09:27 +0530)]
pybind/ceph_argparse: fixing error message for ceph tell command

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

7 months agoMerge pull request #59307 from batrick/wip-67477-reef
Venky Shankar [Mon, 25 Nov 2024 12:26:02 +0000 (17:56 +0530)]
Merge pull request #59307 from batrick/wip-67477-reef

reef: mon/MonClient: handle ms_handle_fast_authentication return

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 months agoMerge pull request #59828 from joscollin/wip-68107-reef
Hemanth [Mon, 25 Nov 2024 10:10:06 +0000 (15:40 +0530)]
Merge pull request #59828 from joscollin/wip-68107-reef

reef: qa: do the set/get attribute on the remote filesystem

7 months agoMerge pull request #60410 from neesingh-rh/wip-68593-reef
Hemanth [Mon, 25 Nov 2024 10:07:59 +0000 (15:37 +0530)]
Merge pull request #60410 from neesingh-rh/wip-68593-reef

reef: cephfs-shell: fixing cephfs-shell test failures

7 months agoMerge pull request #60178 from joscollin/wip-68415-reef
Hemanth [Mon, 25 Nov 2024 08:41:38 +0000 (14:11 +0530)]
Merge pull request #60178 from joscollin/wip-68415-reef

reef: cephfs_mirror: 'ceph fs snapshot mirror ls' command

7 months agoMerge pull request #60738 from zdover23/wip-doc-2024-11-15-backport-60703-to-reef
Zac Dover [Mon, 25 Nov 2024 03:11:19 +0000 (13:11 +1000)]
Merge pull request #60738 from zdover23/wip-doc-2024-11-15-backport-60703-to-reef

reef: doc/rados: correct "full ratio" note

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
7 months agoMerge pull request #60810 from zdover23/wip-doc-2024-11-24-backport-60804-to-reef...
Anthony D'Atri [Sun, 24 Nov 2024 15:34:08 +0000 (10:34 -0500)]
Merge pull request #60810 from zdover23/wip-doc-2024-11-24-backport-60804-to-reef-test-2

reef: doc/cephadm: Clarify "Deploying a new Cluster"

7 months agodoc/cephadm: Clarify "Deploying a new Cluster" 60810/head
Zac Dover [Sat, 23 Nov 2024 12:32:13 +0000 (22:32 +1000)]
doc/cephadm: Clarify "Deploying a new Cluster"

Change the title of the section "Deploying a new Ceph cluster" to "Using
cephadm to Deploy a New Ceph Cluster". This is part of the initiative to
separate package-related documentation from container-based
documenation.

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

7 months agoMerge pull request #60789 from zdover23/wip-doc-2024-11-21-os-recommendations-reef
Anthony D'Atri [Thu, 21 Nov 2024 13:01:14 +0000 (08:01 -0500)]
Merge pull request #60789 from zdover23/wip-doc-2024-11-21-os-recommendations-reef

reef: doc/start: separate package and container support tables

7 months agodoc/start: separate package and container support tables 60789/head
Zac Dover [Thu, 21 Nov 2024 11:39:40 +0000 (21:39 +1000)]
doc/start: separate package and container support tables

Separate out container-related information from package-related information and put container-related support information in its own table.

Signed-off-by: Zac Dover <zac.dover@proton.me>
7 months agoMerge pull request #60729 from YiteGu/wip-68935-reef
Nizamudeen A [Thu, 21 Nov 2024 05:24:15 +0000 (10:54 +0530)]
Merge pull request #60729 from YiteGu/wip-68935-reef

reef: mgr/dashboard: add cephfs rename REST API

Reviewed-by: Nizamudeen A <nia@redhat.com>
7 months agoMerge pull request #60633 from rhcs-dashboard/wip-68845-reef
Nizamudeen A [Wed, 20 Nov 2024 06:32:45 +0000 (12:02 +0530)]
Merge pull request #60633 from rhcs-dashboard/wip-68845-reef

reef: mgr/dashboard: remove cherrypy_backports.py

8 months agodoc/rados: correct "full ratio" note 60738/head
Zac Dover [Mon, 11 Nov 2024 23:31:28 +0000 (09:31 +1000)]
doc/rados: correct "full ratio" note

Correct a note that directed users not to add an OSD after the cluster
has reached its "full ratio". The note now says "Do not let your cluster
reach its full ratio before adding an OSD."

Hat tip: Oskar Berggren

Fixes: https://tracker.ceph.com/issues/68900
Co-authored-by: Oskar Berggren <oskar.berggren@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit f1a2637c79a15c26a769661dd72ca68d766b2f0d)

8 months agoMerge pull request #60699 from zdover23/wip-doc-2024-11-12-backport-60529-to-reef
Zac Dover [Thu, 14 Nov 2024 14:59:14 +0000 (00:59 +1000)]
Merge pull request #60699 from zdover23/wip-doc-2024-11-12-backport-60529-to-reef

reef: doc/start: separate package chart from container chart

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
8 months agoMerge pull request #60672 from zdover23/wip-doc-2024-11-08-backport-56771-to-reef
Zac Dover [Thu, 14 Nov 2024 14:52:49 +0000 (00:52 +1000)]
Merge pull request #60672 from zdover23/wip-doc-2024-11-08-backport-56771-to-reef

reef: doc: Document which options are disabled by mClock.

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
8 months agotest/common: keeping build happy 60728/head
Milind Changire [Thu, 14 Nov 2024 03:44:03 +0000 (09:14 +0530)]
test/common: keeping build happy

Since ceph_pthread_setname() has now been moved from a macro to a
function, we need to reference the common library to link it to.

Signed-off-by: Milind Changire <mchangir@redhat.com>
8 months agomds: add or update MDS thread names
Patrick Donnelly [Thu, 24 Oct 2024 18:00:10 +0000 (14:00 -0400)]
mds: add or update MDS thread names

To be consistent and sensical.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit a2a989aaa5e9780d98ec9c5cabc66ac2c3a387a4)
Signed-off-by: Milind Changire <mchangir@redhat.com>
Conflicts:
src/mds/MDLog.cc (no upkeep thread in reef)
src/mds/QuiesceAgent.h (not available in reef)
src/mds/QuiesceDbManager.cc (not available in reef)

8 months agolog: cache recent threads up to a day
Patrick Donnelly [Thu, 24 Oct 2024 16:34:29 +0000 (12:34 -0400)]
log: cache recent threads up to a day

In general, a pthread implementation reuses thread ids routinely so the
circular_buffer is there to help us see what the thread name was historically
(capped at 4 entries).

However, to guard against this map from growing without bound, discard entries
that are more than a day old. This would happen if a thread logged an Entry and
has since disappeared for more than a day.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit bfe489ed19d599b67cacb0bdd4958f36661248f2)
Signed-off-by: Milind Changire <mchangir@redhat.com>
8 months agocommon: cache pthread names
Patrick Donnelly [Thu, 24 Oct 2024 03:16:03 +0000 (23:16 -0400)]
common: cache pthread names

This provides common ceph entrypoints for the pthread_[gs]name functions which
will also cache a thread_local copy. This also removes the pthread_t parameter
which precipitated the bug i50743.

Obviously, the overall goal here is to avoid system calls.

Conflicts:
src/ceph_nvmeof_monitor_client.cc (not available in reef)
src/common/ceph_timer.h
src/include/compat.h
src/mds/Beacon.cc
src/rgw/driver/rados/rgw_notify.cc
src/rgw/rgw_lua_background.cc (not available in reef)

See-also: https://tracker.ceph.com/issues/50743
Fixes: 0be8d01c9ddde0d7d24edd34dc75f6cfc861b5ba
Fixes: https://tracker.ceph.com/issues/68691
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 7de5af59c2741b4203cc17f619ca53096c97b8ff)
Signed-off-by: Milind Changire <mchangir@redhat.com>
8 months agomgr/dashboard: add cephfs rename REST API 60729/head
yite.gu [Tue, 2 Jul 2024 06:17:52 +0000 (14:17 +0800)]
mgr/dashboard: add cephfs rename REST API

Introduce rename for the cephfs REST API controller, we can
rename the existing file or directory by it.

Fixes: https://tracker.ceph.com/issues/66797
Signed-off-by: Yite Gu <yitegu0@gmail.com>
(cherry picked from commit bac2689fdd0221a9b77833f20b0c512115f9d9e5)

8 months agolog: concatenate thread names and print once per thread
Patrick Donnelly [Thu, 24 Oct 2024 03:15:39 +0000 (23:15 -0400)]
log: concatenate thread names and print once per thread

Fixes: 0be8d01c9ddde0d7d24edd34dc75f6cfc861b5ba
Fixes: https://tracker.ceph.com/issues/68691
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 1f40d0c06c4f292d205bc6cc846161e0706a871b)
Signed-off-by: Milind Changire <mchangir@redhat.com>
8 months agolog: thread name save/fetch infra
Milind Changire [Fri, 27 Sep 2024 10:40:22 +0000 (16:10 +0530)]
log: thread name save/fetch infra

* pthread name is saved in a thread_local storage
* the thread_local name is copied into Entry object's ctor
* Log::dump_recent() reads the thread name from the Entry
  object's data member when dumping logs

Fixes: https://tracker.ceph.com/issues/50743
Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit 0be8d01c9ddde0d7d24edd34dc75f6cfc861b5ba)

8 months agoMerge pull request #60709 from zdover23/wip-doc-2024-11-12-backport-60704-to-reef
Anthony D'Atri [Tue, 12 Nov 2024 04:12:22 +0000 (23:12 -0500)]
Merge pull request #60709 from zdover23/wip-doc-2024-11-12-backport-60704-to-reef

reef: doc/start: fix "are are" typo

8 months agodoc/start: fix "are are" typo 60709/head
Zac Dover [Mon, 11 Nov 2024 23:47:21 +0000 (09:47 +1000)]
doc/start: fix "are are" typo

Fix typo reading "They are are single-threaded".
s/are are/are/

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

8 months agoMerge pull request #60097 from cbodley/wip-68331-reef
Shilpa Jagannath [Mon, 11 Nov 2024 20:43:19 +0000 (12:43 -0800)]
Merge pull request #60097 from cbodley/wip-68331-reef

reef: rgw/rados: don't rely on IoCtx::get_last_version() for async ops

8 months agoMerge pull request #59351 from k0ste/wip-63423-reef
Shilpa Jagannath [Mon, 11 Nov 2024 20:43:03 +0000 (12:43 -0800)]
Merge pull request #59351 from k0ste/wip-63423-reef

reef: rgwfile: fix lock_guard decl

8 months agoMerge pull request #59346 from k0ste/wip-59607-reef
Shilpa Jagannath [Mon, 11 Nov 2024 20:42:44 +0000 (12:42 -0800)]
Merge pull request #59346 from k0ste/wip-59607-reef

reef: rgw/sts: changing identity to boost::none, when role policy

8 months agoMerge pull request #59341 from k0ste/wip-61436-reef
Shilpa Jagannath [Mon, 11 Nov 2024 20:42:23 +0000 (12:42 -0800)]
Merge pull request #59341 from k0ste/wip-61436-reef

reef: rgw/archive: avoid duplicating objects when syncing from multiple zones

8 months agoMerge pull request #59261 from k0ste/wip-62748-reef
Shilpa Jagannath [Mon, 11 Nov 2024 20:41:47 +0000 (12:41 -0800)]
Merge pull request #59261 from k0ste/wip-62748-reef

reef: rgw: add versioning status during `radosgw-admin bucket stats`

8 months agoMerge pull request #59122 from k0ste/wip-67100-reef
Shilpa Jagannath [Mon, 11 Nov 2024 20:41:27 +0000 (12:41 -0800)]
Merge pull request #59122 from k0ste/wip-67100-reef

reef: [RGW] Fix the handling of HEAD requests that do not comply with RFC standards

8 months agodoc/start: separate package chart from container chart 60699/head
Zac Dover [Tue, 29 Oct 2024 07:27:43 +0000 (17:27 +1000)]
doc/start: separate package chart from container chart

Separate the packages-and-containers chart into two charts:
   (1) a chart that shows which OSes Ceph builds packages for
   (2) a chart that shows which OSes support Ceph's containers

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

8 months agoMerge pull request #56400 from batrick/wip-62923-reef
Venky Shankar [Mon, 11 Nov 2024 06:40:47 +0000 (12:10 +0530)]
Merge pull request #56400 from batrick/wip-62923-reef

reef: mon/MonmapMonitor: do not propose on error in prepare_update

Reviewed-by: Venky Shankar <vshankar@redhat.com>
8 months agoMerge pull request #58340 from rishabh-d-dave/fixes-and-missing-backports
Venky Shankar [Mon, 11 Nov 2024 06:40:36 +0000 (12:10 +0530)]
Merge pull request #58340 from rishabh-d-dave/fixes-and-missing-backports

reef: qa/cephfs: a bug fix and few missing backport for caps_helper.py

Reviewed-by: Venky Shankar <vshankar@redhat.com>
8 months agoMerge pull request #58492 from YiteGu/backport-reef
Venky Shankar [Mon, 11 Nov 2024 06:40:22 +0000 (12:10 +0530)]
Merge pull request #58492 from YiteGu/backport-reef

reef: client: check mds down status before getting mds_gid_t from mdsmap

Reviewed-by: Venky Shankar <vshankar@redhat.com>
8 months agoMerge pull request #59620 from pponnuvel/wip-67740-reef
Venky Shankar [Mon, 11 Nov 2024 06:39:46 +0000 (12:09 +0530)]
Merge pull request #59620 from pponnuvel/wip-67740-reef

reef: client: Prevent race condition when printing Inode in ll_sync_inode

Reviewed-by: Venky Shankar <vshankar@redhat.com>
8 months agoMerge pull request #58397 from dparmar18/wip-64740-reef
Venky Shankar [Mon, 11 Nov 2024 04:07:26 +0000 (09:37 +0530)]
Merge pull request #58397 from dparmar18/wip-64740-reef

reef: client: do not proceed with I/O if filehandle is invalid

Reviewed-by: Venky Shankar <vshankar@redhat.com>
8 months agoMerge pull request #60344 from zdover23/wip-doc-2024-10-16-backport-60256-to-reef
Zac Dover [Sun, 10 Nov 2024 13:33:30 +0000 (23:33 +1000)]
Merge pull request #60344 from zdover23/wip-doc-2024-10-16-backport-60256-to-reef

reef: doc: update Key Idea in cephfs-mirroring.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
8 months agoMerge pull request #56690 from kotreshhr/wip-64940-reef
Venky Shankar [Sat, 9 Nov 2024 18:08:45 +0000 (23:38 +0530)]
Merge pull request #56690 from kotreshhr/wip-64940-reef

reef: qa: Add multifs root_squash testcase

Reviewed-by: Venky Shankar <vshankar@redhat.com>
8 months agoMerge pull request #58111 from neesingh-rh/wip-65348-reef
Venky Shankar [Sat, 9 Nov 2024 18:08:33 +0000 (23:38 +0530)]
Merge pull request #58111 from neesingh-rh/wip-65348-reef

reef: qa: fixing tests in test_cephfs_shell.TestShellOpts

Reviewed-by: Venky Shankar <vshankar@redhat.com>
8 months agoMerge pull request #58726 from neesingh-rh/wip-67077-reef
Venky Shankar [Sat, 9 Nov 2024 18:06:16 +0000 (23:36 +0530)]
Merge pull request #58726 from neesingh-rh/wip-67077-reef

reef: mds: fix session/client evict command.

Reviewed-by: Venky Shankar <vshankar@redhat.com>
8 months agoMerge pull request #58744 from lxbsz/wip-58654
Venky Shankar [Sat, 9 Nov 2024 18:06:07 +0000 (23:36 +0530)]
Merge pull request #58744 from lxbsz/wip-58654

reef: common/TrackedOp: do not count the ops marked as nowarn

Reviewed-by: Venky Shankar <vshankar@redhat.com>
8 months agoMerge pull request #58770 from lxbsz/wip-66778
Venky Shankar [Sat, 9 Nov 2024 18:05:44 +0000 (23:35 +0530)]
Merge pull request #58770 from lxbsz/wip-66778

reef: mds/client: return -ENODATA when xattr doesn't exist for removexattr

Reviewed-by: Venky Shankar <vshankar@redhat.com>
8 months agoMerge pull request #59054 from vshankar/wip-cleanup-centos8
Venky Shankar [Sat, 9 Nov 2024 18:05:08 +0000 (23:35 +0530)]
Merge pull request #59054 from vshankar/wip-cleanup-centos8

reef: qa/cephfs: remove dependency on centos8/rhel8 entirely

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 months agoMerge pull request #60680 from zdover23/wip-doc-2024-11-09-backport-60605-to-reef
Anthony D'Atri [Sat, 9 Nov 2024 14:48:22 +0000 (09:48 -0500)]
Merge pull request #60680 from zdover23/wip-doc-2024-11-09-backport-60605-to-reef

reef: doc/cephadm: clean "Adv. OSD Service Specs"

8 months agodoc/cephadm: clean "Adv. OSD Service Specs" 60680/head
Zac Dover [Mon, 4 Nov 2024 08:46:49 +0000 (18:46 +1000)]
doc/cephadm: clean "Adv. OSD Service Specs"

Clean the English grammar and the .RST in the section "Advanced OSD
Service Specifications" in the file doc/cephadm/services/osd.rst.

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

8 months agodoc: Document which options are disabled by mClock. 60672/head
Niklas Hambüchen [Tue, 9 Apr 2024 03:55:38 +0000 (05:55 +0200)]
doc: Document which options are disabled by mClock.

Not only in the mClock docs, but also in the reference
of the options that are disabled.

Otherwise users are bound to miss it, and surprised
why their options are ignored or reset.

Signed-off-by: Niklas Hambüchen <mail@nh2.me>
(cherry picked from commit 790afd277730f24801a3b59c08d2dce0f2a9659f)

8 months agocommon,osd: Use last valid OSD IOPS value if measured IOPS is unrealistic 60659/head
Sridhar Seshasayee [Wed, 11 Sep 2024 13:25:10 +0000 (18:55 +0530)]
common,osd: Use last valid OSD IOPS value if measured IOPS is unrealistic

The OSD's IOPS capacity is used by the mClock scheduler to determine the
quantum of bandwidth allocation for the various operations on the OSD.
Prior to this commit, maybe_override_max_osd_capacity_for_qos() only
checked if the measured IOPS capacity exceeded the higher threshold defined
by 'osd_mclock_iops_capacity_threshold_[hdd|ssd]' and if so fallback to the
last valid or the default IOPS capacity as defined by
osd_mclock_max_capacity_iops_[hdd|ssd].

It's quite possible that the reported IOPS is unrealistically low. This
could be due to transient factors on the underlying device or it could
indicate bad health of the device. Either way, the safer option would be
to fallback to the last valid or the default IOPS setting for that OSD in
order to avoid cluster performance (slow or stalled ops) issues down the
line.

Therefore, to handle this case, the commit introduces additional config
options viz.,
 - osd_mclock_iops_capacity_low_threshold_hdd - set to 50 IOPS and
 - osd_mclock_iops_capacity_low_threshold_ssd - set to 1000 IOPS

If the measured IOPS capacity doesn't fall within the low and high
threshold range, the default or the last valid IOPS capacity is used.
The existing cluster log warning is suitably modified to convey the
reason.

Additionally, for a couple of valgrind related teuthology tests, the
cluster warning is added to the ignorelist since the reported IOPS can
be very low due to slowness.

Fixes: https://tracker.ceph.com/issues/67421
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
(cherry picked from commit da4b85c55a15f49b241f3fc44dda2263b42dc637)

8 months agoMerge pull request #60645 from zdover23/wip-doc-2024-11-07-backport-60643-to-reef
Anthony D'Atri [Wed, 6 Nov 2024 16:26:42 +0000 (11:26 -0500)]
Merge pull request #60645 from zdover23/wip-doc-2024-11-07-backport-60643-to-reef

reef: doc/cephadm: link to "host pattern" matching sect

8 months agodoc/cephadm: link to "host pattern" matching sect 60645/head
Zac Dover [Wed, 6 Nov 2024 12:22:14 +0000 (22:22 +1000)]
doc/cephadm: link to "host pattern" matching sect

Link to the "Placement by Pattern Matching" section in
doc/cephadm/services/index.rst from the "Advanced OSD Service
Specifications" section in doc/cephadm/services/osd.rst.

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

8 months agoMerge pull request #60638 from zdover23/wip-doc-2024-11-06-backport-56599-to-reef
Anthony D'Atri [Wed, 6 Nov 2024 15:48:07 +0000 (10:48 -0500)]
Merge pull request #60638 from zdover23/wip-doc-2024-11-06-backport-56599-to-reef

reef: doc/cephadm: Update operations.rst

8 months agomgr/dashboard: remove cherrypy_backports.py 60633/head
Nizamudeen A [Mon, 4 Nov 2024 05:42:32 +0000 (11:12 +0530)]
mgr/dashboard: remove cherrypy_backports.py

since its mostly used only for older cherrypy versions which we don't
support anymore in any of our recent upstream releases, we could remove
it completely

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

 Conflicts:
src/pybind/mgr/prometheus/module.py
 - accepted incoming changes which removes the monkey-patch

8 months agodoc/cephadm: Update operations.rst 60638/head
rhkelson [Sun, 31 Mar 2024 15:39:08 +0000 (09:39 -0600)]
doc/cephadm: Update operations.rst

Fixed typo 'no' to 'not' in sentence "If this test fails, cephadm will
no be able to manage services on that host."

Signed-off-by: rhkelson <119636079+rhkelson@users.noreply.github.com>
(cherry picked from commit 34bc35a73443fa56908395a83ea2dd404a8fc4a6)

8 months agoMerge pull request #60418 from cbodley/wip-63024-reef
Casey Bodley [Tue, 5 Nov 2024 18:38:47 +0000 (13:38 -0500)]
Merge pull request #60418 from cbodley/wip-63024-reef

reef: qa/rgw/sts: keycloak task installs java manually

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
8 months agoMerge pull request #59104 from YiteGu/wip-53048-reef
SrinivasaBharathKanta [Mon, 4 Nov 2024 07:48:13 +0000 (13:18 +0530)]
Merge pull request #59104 from YiteGu/wip-53048-reef

reef: os/bluestore: add some slow count for bluestore

8 months agoMerge pull request #59048 from YiteGu/wip-some-blk-discard-path
SrinivasaBharathKanta [Mon, 4 Nov 2024 07:48:01 +0000 (13:18 +0530)]
Merge pull request #59048 from YiteGu/wip-some-blk-discard-path

reef: a series of optimizations for kerneldevice discard

8 months agoMerge pull request #59043 from NitzanMordhai/wip-67351-reef
SrinivasaBharathKanta [Mon, 4 Nov 2024 07:47:51 +0000 (13:17 +0530)]
Merge pull request #59043 from NitzanMordhai/wip-67351-reef

reef: Test: osd-recovery-space.sh extends the wait time for "recovery toofull"

8 months agoMerge pull request #59629 from sseshasa/wip-66422-reef
SrinivasaBharathKanta [Mon, 4 Nov 2024 07:47:40 +0000 (13:17 +0530)]
Merge pull request #59629 from sseshasa/wip-66422-reef

reef: osd/scrub: Change scrub cost to average object size

8 months agoMerge pull request #56475 from amathuria/wip-65141-reef
SrinivasaBharathKanta [Mon, 4 Nov 2024 07:47:30 +0000 (13:17 +0530)]
Merge pull request #56475 from amathuria/wip-65141-reef

reef: osd: Change PG Deletion cost for mClock

8 months agoMerge pull request #60594 from zdover23/wip-doc-2024-11-02-backport-60584-to-reef
Anthony D'Atri [Sat, 2 Nov 2024 03:30:55 +0000 (23:30 -0400)]
Merge pull request #60594 from zdover23/wip-doc-2024-11-02-backport-60584-to-reef

reef: doc: s/Whereas,/Although/

8 months agodoc: s/Whereas,/Although/ 60594/head
Zac Dover [Fri, 1 Nov 2024 13:43:07 +0000 (23:43 +1000)]
doc: s/Whereas,/Although/

Change the subordinating conjunction "Whereas" followed by a comma to
the less grammatically-incorrect "Although". I've been meaning to do
this since 22 Mar 2023.

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

8 months agoMerge pull request #58802 from ljflores/wip-67129-reef
Yuri Weinstein [Wed, 30 Oct 2024 18:08:07 +0000 (11:08 -0700)]
Merge pull request #58802 from ljflores/wip-67129-reef

reef: osd: bump versions of decoders for upmap-primary

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
8 months agoMerge pull request #58741 from ifed01/wip-ifed-async-compact-reef
Yuri Weinstein [Wed, 30 Oct 2024 14:50:54 +0000 (07:50 -0700)]
Merge pull request #58741 from ifed01/wip-ifed-async-compact-reef

reef: os/bluestore: enable async manual compactions

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
8 months agoMerge pull request #58734 from pereman2/wip-67082-reef
Yuri Weinstein [Wed, 30 Oct 2024 14:50:06 +0000 (07:50 -0700)]
Merge pull request #58734 from pereman2/wip-67082-reef

reef: tools/objectstore: check for wrong coll open_collection

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>