]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 months agodoc/dev: refine "Concepts" 4 of 3 56741/head
Zac Dover [Sat, 6 Apr 2024 04:43:16 +0000 (14:43 +1000)]
doc/dev: refine "Concepts" 4 of 3

s/PG's PG logs/PG's logs/

re https://github.com/ceph/ceph/pull/56727#discussion_r1553541922

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

15 months agoMerge pull request #56730 from zdover23/wip-doc-2024-04-05-backport-56727-to-quincy
Zac Dover [Sat, 6 Apr 2024 04:39:49 +0000 (14:39 +1000)]
Merge pull request #56730 from zdover23/wip-doc-2024-04-05-backport-56727-to-quincy

quincy: doc/dev: refine "Concepts" 3 of 3

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
15 months agodoc/dev: refine "Concepts" 3 of 3 56730/head
Zac Dover [Fri, 5 Apr 2024 06:43:47 +0000 (16:43 +1000)]
doc/dev: refine "Concepts" 3 of 3

Refine the third third of the entries in the section "Concepts" in
doc/dev/peering.rst.

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

15 months agoMerge pull request #56726 from zdover23/wip-doc-2024-04-05-backport-56646-to-quincy
Anthony D'Atri [Fri, 5 Apr 2024 12:34:40 +0000 (08:34 -0400)]
Merge pull request #56726 from zdover23/wip-doc-2024-04-05-backport-56646-to-quincy

quincy: doc/dev: refine "Concepts" 2 of 3

15 months agoMerge pull request #56680 from aaSharma14/wip-65286-quincy
Aashish Sharma [Fri, 5 Apr 2024 04:51:43 +0000 (10:21 +0530)]
Merge pull request #56680 from aaSharma14/wip-65286-quincy

quincy: mgr/dashboard: replace deprecated table panel in grafana with a newer table panel

Reviewed-by: Nizamudeen A <nia@redhat.com>
15 months agodoc/dev: refine "Concepts" 2 of 3 56726/head
Zac Dover [Wed, 3 Apr 2024 05:02:29 +0000 (15:02 +1000)]
doc/dev: refine "Concepts" 2 of 3

Refine the second third of the entries in the section "Concepts" in
doc/dev/peering.rst.

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

15 months agoMerge pull request #56685 from zdover23/wip-doc-2024-04-04-backport-56662-to-quincy
Zac Dover [Thu, 4 Apr 2024 11:39:14 +0000 (21:39 +1000)]
Merge pull request #56685 from zdover23/wip-doc-2024-04-04-backport-56662-to-quincy

quincy: doc/mgr: credit John Jasen for Zabbix 2

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
15 months agoMerge pull request #56558 from afreen23/wip-65206-quincy
Nizamudeen A [Thu, 4 Apr 2024 05:49:13 +0000 (11:19 +0530)]
Merge pull request #56558 from afreen23/wip-65206-quincy

quincy: mgr/dashboard: make ceph logo redirect to dashboard

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
15 months agodoc/mgr: credit John Jasen for Zabbix 2 56685/head
Zac Dover [Wed, 3 Apr 2024 12:21:04 +0000 (22:21 +1000)]
doc/mgr: credit John Jasen for Zabbix 2

Credit John Jasen for the development of the procedures describing the
installation of Zabbix 2.

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

15 months agomgr/dashboard: replace deprecated table panel in grafana with a newer 56680/head
Aashish Sharma [Wed, 27 Mar 2024 08:16:24 +0000 (13:46 +0530)]
mgr/dashboard: replace deprecated table panel in grafana with a newer
table panel

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

15 months agoMerge pull request #56655 from aaSharma14/wip-65287-quincy
Aashish Sharma [Thu, 4 Apr 2024 02:18:49 +0000 (07:48 +0530)]
Merge pull request #56655 from aaSharma14/wip-65287-quincy

quincy: mgr/dashboard: replace piechart plugin charts with native pie chart panel

Reviewed-by: Nizamudeen A <nia@redhat.com>
15 months agoMerge pull request #56661 from zdover23/wip-doc-2024-04-03-backport-56635-to-quincy
Anthony D'Atri [Wed, 3 Apr 2024 16:08:02 +0000 (12:08 -0400)]
Merge pull request #56661 from zdover23/wip-doc-2024-04-03-backport-56635-to-quincy

quincy: doc/dev: refine "Concepts"

15 months agoMerge pull request #56653 from aaSharma14/wip-65282-quincy
Aashish Sharma [Wed, 3 Apr 2024 14:54:47 +0000 (20:24 +0530)]
Merge pull request #56653 from aaSharma14/wip-65282-quincy

quincy: mgr/dashboard: upgrade from old 'graph' type panels to the new 'timeseries' panel

Reviewed-by: Nizamudeen A <nia@redhat.com>
15 months agodoc/dev: refine "Concepts" 56661/head
Zac Dover [Tue, 2 Apr 2024 12:23:13 +0000 (22:23 +1000)]
doc/dev: refine "Concepts"

Refine the text in the first third of the entries in the section
"Concepts" in doc/dev/peering.rst.

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

15 months agomgr/dashboard: replace piechart plugin charts with native pie chart 56655/head
Aashish Sharma [Mon, 26 Feb 2024 09:32:19 +0000 (15:02 +0530)]
mgr/dashboard: replace piechart plugin charts with native pie chart
panel

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

15 months agomgr/dashboard: upgrade from old 'graph' type panels to the new 56653/head
Aashish Sharma [Wed, 4 Oct 2023 09:07:42 +0000 (14:37 +0530)]
mgr/dashboard: upgrade from old 'graph' type panels to the new
'timeseries' panel

The graph panel type is deprecated, and disappears after Grafana v9.1 (current version is 10.0) to prevent more old type panels being created. These should be migrated to the timeseries panel type, to avoid potential problems with future Grafana versions.

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

15 months agoMerge pull request #56632 from zdover23/wip-doc-2024-04-02-backport-56614-to-quincy
Anthony D'Atri [Tue, 2 Apr 2024 15:07:33 +0000 (11:07 -0400)]
Merge pull request #56632 from zdover23/wip-doc-2024-04-02-backport-56614-to-quincy

quincy: doc/mgr: update zabbix information

15 months agodoc/mgr: update zabbix information 56632/head
Zac Dover [Fri, 29 Mar 2024 11:06:28 +0000 (21:06 +1000)]
doc/mgr: update zabbix information

Include information from John Jasen about how to install Zabbix.

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

15 months agoMerge pull request #56604 from zdover23/wip-doc-2024-04-01-backport-56600-to-quincy
Anthony D'Atri [Mon, 1 Apr 2024 01:55:30 +0000 (21:55 -0400)]
Merge pull request #56604 from zdover23/wip-doc-2024-04-01-backport-56600-to-quincy

quincy: doc/dev: update leads list

15 months agodoc/dev: update leads list 56604/head
Zac Dover [Mon, 1 Apr 2024 01:17:39 +0000 (11:17 +1000)]
doc/dev: update leads list

Remove Joao Luis from the list of component leads.

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

15 months agoMerge pull request #56595 from zdover23/wip-doc-2024-03-31-backport-56592-to-quincy
Anthony D'Atri [Sun, 31 Mar 2024 02:53:51 +0000 (22:53 -0400)]
Merge pull request #56595 from zdover23/wip-doc-2024-03-31-backport-56592-to-quincy

quincy: doc/rados/operations: Improve crush_location docs

15 months agodoc/rados/operations: Improve crush_location docs 56595/head
Niklas Hambüchen [Sat, 30 Mar 2024 16:42:48 +0000 (17:42 +0100)]
doc/rados/operations: Improve crush_location docs

* Fix incorrect syntax
* Use underscores for config options, like other ceph docs did
* Fix incorrect statement that crush_location_hook adds fiels; it replaces
* Explain `root=default host=HOSTNAME` is not set if `crush_location` is given
* Remove duplication across sections
* Point out that `root=default` is important

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

15 months agoMerge pull request #56590 from zdover23/wip-doc-2024-03-30-backport-56581-to-quincy
Anthony D'Atri [Sat, 30 Mar 2024 13:34:03 +0000 (09:34 -0400)]
Merge pull request #56590 from zdover23/wip-doc-2024-03-30-backport-56581-to-quincy

quincy: doc/dev: update leads list

15 months agodoc/dev: update leads list 56590/head
Zac Dover [Fri, 29 Mar 2024 11:14:21 +0000 (21:14 +1000)]
doc/dev: update leads list

Update the list of component leads in
doc/dev/developer_guide/essentials.rst.

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

15 months agoMerge pull request #55944 from vshankar/wip-64704-quincy
Venky Shankar [Fri, 29 Mar 2024 08:17:57 +0000 (13:47 +0530)]
Merge pull request #55944 from vshankar/wip-64704-quincy

quincy: qa: remove error string checks and check w/ return value

Reviewed-by: Milind Changire <mchangir@redhat.com>
15 months agoMerge pull request #56467 from zdover23/wip-doc-2024-03-26-backport-56436-to-quincy
Zac Dover [Fri, 29 Mar 2024 07:36:18 +0000 (17:36 +1000)]
Merge pull request #56467 from zdover23/wip-doc-2024-03-26-backport-56436-to-quincy

quincy: doc/start: improve MDS explanation

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
15 months agoMerge pull request #56524 from zdover23/wip-doc-2024-03-27-backport-56173-to-quincy
Zac Dover [Fri, 29 Mar 2024 07:35:55 +0000 (17:35 +1000)]
Merge pull request #56524 from zdover23/wip-doc-2024-03-27-backport-56173-to-quincy

quincy: doc/dev: osd_internals/snaps.rst: add clone_overlap doc

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
15 months agoMerge pull request #56551 from rhcs-dashboard/wip-65197-quincy
Nizamudeen A [Fri, 29 Mar 2024 06:44:33 +0000 (12:14 +0530)]
Merge pull request #56551 from rhcs-dashboard/wip-65197-quincy

quincy: mgr/dashboard: sanitize dashboard user creation

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: afreen23 <NOT@FOUND>
15 months agomgr/dashboard: make ceph logo redirect to dashboard 56558/head
Afreen [Wed, 27 Mar 2024 10:01:12 +0000 (15:31 +0530)]
mgr/dashboard: make ceph logo redirect to dashboard

Fixes https://tracker.ceph.com/issues/64734

Clicking on ceph logo in navigation takes back to overview dashboard.

Signed-off-by: Afreen <afreen23.git@gmail.com>
(cherry picked from commit 44e7bb336c26da77f49fb027578509975b5b2633)

15 months agoMerge pull request #56050 from lxbsz/wip-64586
Venky Shankar [Thu, 28 Mar 2024 11:21:05 +0000 (16:51 +0530)]
Merge pull request #56050 from lxbsz/wip-64586

quincy: mds: allow lock state to be LOCK_MIX_SYNC in replica for filelock

Reviewed-by: Venky Shankar <vshankar@redhat.com>
15 months agoMerge pull request #55828 from kotreshhr/wip-64581-quincy
Venky Shankar [Thu, 28 Mar 2024 11:20:17 +0000 (16:50 +0530)]
Merge pull request #55828 from kotreshhr/wip-64581-quincy

quincy: qa: Fix fs/full suite

Reviewed-by: Venky Shankar <vshankar@redhat.com>
15 months agoMerge pull request #54187 from rishabh-d-dave/wip-57929-quincy
Venky Shankar [Thu, 28 Mar 2024 11:19:56 +0000 (16:49 +0530)]
Merge pull request #54187 from rishabh-d-dave/wip-57929-quincy

quincy: qa/cephfs: handle non-numeric values for json.loads()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
15 months agoMerge pull request #54186 from rishabh-d-dave/wip-62878-quincy
Venky Shankar [Thu, 28 Mar 2024 11:19:37 +0000 (16:49 +0530)]
Merge pull request #54186 from rishabh-d-dave/wip-62878-quincy

quincy: cephfs: upgrade cephfs-shell's path wherever necessary

Reviewed-by: Venky Shankar <vshankar@redhat.com>
15 months agoMerge pull request #50730 from vshankar/tr-59041
Venky Shankar [Thu, 28 Mar 2024 11:18:34 +0000 (16:48 +0530)]
Merge pull request #50730 from vshankar/tr-59041

quincy: client, mds: update mtime and change attr for snapdir when snaps are created, deleted and renamed

Reviewed-by: Xiubo Li <xiubli@redhat.com>
15 months agoMerge pull request #56260 from guits/wip-64944-quincy
Guillaume Abrioux [Thu, 28 Mar 2024 09:45:59 +0000 (10:45 +0100)]
Merge pull request #56260 from guits/wip-64944-quincy

quincy: ceph-volume: add missing import

15 months agoMerge pull request #55480 from guits/wip-64336-quincy
Guillaume Abrioux [Thu, 28 Mar 2024 09:44:04 +0000 (10:44 +0100)]
Merge pull request #55480 from guits/wip-64336-quincy

quincy: ceph-volume: fix zap_partitions() in devices.lvm.zap

15 months agomgr/dashboard: sanitize dashboard user creation 56551/head
Pedro Gonzalez Gomez [Thu, 21 Mar 2024 07:56:58 +0000 (08:56 +0100)]
mgr/dashboard: sanitize dashboard user creation

Fixes: https://tracker.ceph.com/issues/65030
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 9951a3a7f314c7cd1eb147fb1b398ac6c5212806)

15 months agoceph-volume: fix zap_partitions() in devices.lvm.zap 55480/head
Guillaume Abrioux [Tue, 30 Jan 2024 14:17:35 +0000 (14:17 +0000)]
ceph-volume: fix zap_partitions() in devices.lvm.zap

The current logic is unable to find the holders for the
partition being zapped.

This commit fixes this issue.

Fixes: https://tracker.ceph.com/issues/64248
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 36c83bf5424308214228b1c86d8e1d215b8519c5)

15 months agoceph-volume: fix partitions support in disk.get_devices()
Guillaume Abrioux [Fri, 26 Jan 2024 20:35:18 +0000 (21:35 +0100)]
ceph-volume: fix partitions support in disk.get_devices()

The following:
```
is_part = get_file_contents(os.path.join(_sys_dev_block_path, item, 'partition')) == "1"
```
assumes any `/sys/dev/block/x:y/partition` contains '1' which is wrong.
This file actually contains the corresponding partition number.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit f72100bbd17539d9774ae72215afefee16f20775)

15 months agoceph-volume: fix util.get_partitions
Guillaume Abrioux [Tue, 3 Oct 2023 23:11:32 +0000 (01:11 +0200)]
ceph-volume: fix util.get_partitions

The current logic makes it report only the first
partitions of devices.

Fixes: https://tracker.ceph.com/issues/63086
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit b14ff07e6344d9f097259265d468f6300818b053)

15 months agodoc/dev: osd_internals/snaps.rst: add clone_overlap doc 56524/head
Matan Breizman [Wed, 13 Mar 2024 14:19:59 +0000 (14:19 +0000)]
doc/dev: osd_internals/snaps.rst: add clone_overlap doc

snapdir concept was removed in: https://github.com/ceph/ceph/pull/17579

Co-authored-by: Zac Dover <zac.dover@proton.me>
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit 6a7f2b0fda74aedb213067abe5c0a64b68fbbdc7)

15 months agoMerge pull request #56496 from zdover23/wip-doc-2024-03-27-backport-56450-to-quincy
Zac Dover [Wed, 27 Mar 2024 13:33:20 +0000 (23:33 +1000)]
Merge pull request #56496 from zdover23/wip-doc-2024-03-27-backport-56450-to-quincy

quincy: docs/rados: remove incorrect ceph command

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
15 months agoMerge pull request #55543 from rhcs-dashboard/wip-61715-quincy
Nizamudeen A [Wed, 27 Mar 2024 05:20:20 +0000 (10:50 +0530)]
Merge pull request #55543 from rhcs-dashboard/wip-61715-quincy

quincy: mgr/dashboard: fix the jsonschema issue in install-deps

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: ivoalmeida <NOT@FOUND>
15 months agoMerge pull request #55545 from rhcs-dashboard/wip-61659-quincy
Nizamudeen A [Wed, 27 Mar 2024 05:19:48 +0000 (10:49 +0530)]
Merge pull request #55545 from rhcs-dashboard/wip-61659-quincy

quincy: mgr/dashboard: change deprecated grafana URL in daemon logs

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: ivoalmeida <NOT@FOUND>
15 months agodocs/rados: remove incorrect ceph command 56496/head
Taha Jahangir [Mon, 25 Mar 2024 10:02:12 +0000 (13:32 +0330)]
docs/rados: remove incorrect ceph command

The removed line was (incorrectly changed) output of the previous command.

Signed-off-by: Taha Jahangir <mtjahangir@gmail.com>
(cherry picked from commit 3cd39e3582ed830f86c55d2203ece72fa0f9426b)

15 months agoMerge pull request #56212 from idryomov/wip-63770-quincy
Yuri Weinstein [Tue, 26 Mar 2024 16:07:14 +0000 (09:07 -0700)]
Merge pull request #56212 from idryomov/wip-63770-quincy

quincy: librbd: account for discards that truncate in ObjectListSnapsRequest

Reviewed-by: Ramana Raja <rraja@redhat.com>
15 months agoMerge pull request #55501 from cbodley/wip-64363-quincy
Yuri Weinstein [Tue, 26 Mar 2024 16:06:36 +0000 (09:06 -0700)]
Merge pull request #55501 from cbodley/wip-64363-quincy

quincy: cmake/modules/BuildRocksDB.cmake: inherit parent's CMAKE_CXX_FLAGS

Reviewed-by: Mark Nelson <mnelson@redhat.com>
15 months agoMerge pull request #55154 from rzarzynski/wip-64007-quincy
Yuri Weinstein [Tue, 26 Mar 2024 16:05:56 +0000 (09:05 -0700)]
Merge pull request #55154 from rzarzynski/wip-64007-quincy

quincy:  common/weighted_shuffle: don't feed std::discrete_distribution with all-zero weights

Reviewed-by: Prashant D <pdhange@redhat.com>
15 months agoMerge pull request #54904 from kamoltat/wip-ksirivad-backport-quincy-52633
Yuri Weinstein [Tue, 26 Mar 2024 16:04:30 +0000 (09:04 -0700)]
Merge pull request #54904 from kamoltat/wip-ksirivad-backport-quincy-52633

quincy: pybind/mgr/pg_autoscaler: Cut back osdmap.get_pools calls

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
15 months agoMerge pull request #54785 from ifed01/wip-ifed-better-osd-robust-qui
Igor Fedotov [Tue, 26 Mar 2024 11:28:59 +0000 (14:28 +0300)]
Merge pull request #54785 from ifed01/wip-ifed-better-osd-robust-qui

quincy: osd: improve OSD robustness.

Reviewed-by: Pere Diaz Bou <pere-altea@hotmail.com>
15 months agoMerge pull request #56121 from xhernandez/wip-64736-quincy
Venky Shankar [Tue, 26 Mar 2024 10:46:36 +0000 (16:16 +0530)]
Merge pull request #56121 from xhernandez/wip-64736-quincy

quincy: client: fix leak of file handles

Reviewed-by: Venky Shankar <vshankar@redhat.com>
15 months agoMerge pull request #56061 from mchangir/wip-64810-quincy
Venky Shankar [Tue, 26 Mar 2024 10:46:16 +0000 (16:16 +0530)]
Merge pull request #56061 from mchangir/wip-64810-quincy

quincy: mds: add debug logs during setxattr ceph.dir.subvolume

Reviewed-by: Venky Shankar <vshankar@redhat.com>
15 months agoMerge pull request #55986 from joscollin/wip-64742-quincy
Venky Shankar [Tue, 26 Mar 2024 10:46:06 +0000 (16:16 +0530)]
Merge pull request #55986 from joscollin/wip-64742-quincy

quincy: mds: add a command to dump directory information

Reviewed-by: Venky Shankar <vshankar@redhat.com>
15 months agoMerge pull request #55299 from neesingh-rh/wip-64097-quincy
Venky Shankar [Tue, 26 Mar 2024 10:45:26 +0000 (16:15 +0530)]
Merge pull request #55299 from neesingh-rh/wip-64097-quincy

quincy: src/mount: kernel mount command returning misleading error message

Reviewed-by: Venky Shankar <vshankar@redhat.com>
15 months agoMerge pull request #54465 from lxbsz/wip-63274
Venky Shankar [Tue, 26 Mar 2024 10:45:00 +0000 (16:15 +0530)]
Merge pull request #54465 from lxbsz/wip-63274

quincy: client: queue a delay cap flushing if there are ditry caps/snapcaps

Reviewed-by: Venky Shankar <vshankar@redhat.com>
15 months agoMerge pull request #56441 from rhcs-dashboard/wip-65101-quincy
Nizamudeen A [Tue, 26 Mar 2024 09:28:04 +0000 (14:58 +0530)]
Merge pull request #56441 from rhcs-dashboard/wip-65101-quincy

quincy: mgr/dashboard: rm warning/error threshold for cpu usage

Reviewed-by: afreen23 <NOT@FOUND>
15 months agodoc/start: improve MDS explanation 56467/head
Zac Dover [Sun, 24 Mar 2024 21:19:24 +0000 (07:19 +1000)]
doc/start: improve MDS explanation

Improve the explanation of MDS as requested by Anthony D'Atri here:

https://github.com/ceph/ceph/pull/56367#discussion_r1536667249

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

15 months agomgr/dashboard: rm warning/error threshold for cpu usage 56441/head
Nizamudeen A [Tue, 19 Mar 2024 14:57:13 +0000 (20:27 +0530)]
mgr/dashboard: rm warning/error threshold for cpu usage

for multi-core cpu's the value can be more than 100% so it doesn't make
sense to show warning/error when the usage is at or more than 100%.
hence removing it

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

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.html
  - some changes are not in quincy for the threasholds. so adapting it

15 months agoMerge pull request #56427 from zdover23/wip-doc-2024-08-24-backport-56367-to-quincy
Anthony D'Atri [Sun, 24 Mar 2024 13:27:49 +0000 (09:27 -0400)]
Merge pull request #56427 from zdover23/wip-doc-2024-08-24-backport-56367-to-quincy

quincy: doc/start: improve MDS explanation

15 months agoMerge pull request #56411 from zdover23/wip-doc-2024-03-23-backport-56377-to-quincy
Zac Dover [Sun, 24 Mar 2024 07:32:25 +0000 (17:32 +1000)]
Merge pull request #56411 from zdover23/wip-doc-2024-03-23-backport-56377-to-quincy

quincy: doc/start: link to mon map command

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
15 months agodoc/start: improve MDS explanation 56427/head
Zac Dover [Thu, 21 Mar 2024 12:48:10 +0000 (22:48 +1000)]
doc/start: improve MDS explanation

Remove a prolix "on behalf of" and streamline some sentences explaining
the benefits of MDS.

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

15 months agodoc/start: link to mon map command 56411/head
Zac Dover [Thu, 21 Mar 2024 22:12:16 +0000 (08:12 +1000)]
doc/start: link to mon map command

Link to the "ceph mon stat" command when "Intro to Ceph" document first
mentions Monitor Maps.

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

15 months agoosd: read osd superblock from both disk and omap and choose the best 54785/head
Igor Fedotov [Thu, 9 Mar 2023 18:03:12 +0000 (21:03 +0300)]
osd: read osd superblock from both disk and omap and choose the best

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit e7c08ec996105e453549b8622c9f24eb702bf6e8)

15 months agoosd: improve OSD robustness.
Igor Fedotov [Thu, 29 Sep 2022 11:52:45 +0000 (14:52 +0300)]
osd: improve OSD robustness.

Achieved by
1. osd superblock data is replicated in onode's OMAP - hence one can
   recover from that after onode's content is corrupted.
2. pg_num_history object gets full overwrite which eliminatess the need to
   merge with previous data (and hence reading corrupted data wouldn't
   kill OSD).

Signed-off-by: Igor Fedotov <ifedotov@croit.io>
(cherry picked from commit 2e9c723b3eddd71b8226be790cc71f5c065e819d)

15 months agoMerge pull request #56341 from zdover23/wip-doc-2024-03-20-backport-56333-to-quincy
Zac Dover [Thu, 21 Mar 2024 02:04:01 +0000 (12:04 +1000)]
Merge pull request #56341 from zdover23/wip-doc-2024-03-20-backport-56333-to-quincy

quincy: doc/cephfs: fix architecture link to correct relative path

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
15 months agoMerge pull request #56269 from zdover23/wip-doc-2024-08-19-backport-56240-to-quincy
Zac Dover [Thu, 21 Mar 2024 02:03:06 +0000 (12:03 +1000)]
Merge pull request #56269 from zdover23/wip-doc-2024-08-19-backport-56240-to-quincy

quincy: doc/rados: update common.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
15 months agoMerge pull request #55014 from Matan-B/wip-63879-quincy
Yuri Weinstein [Wed, 20 Mar 2024 23:20:14 +0000 (16:20 -0700)]
Merge pull request #55014 from Matan-B/wip-63879-quincy

quincy: tools/ceph_objectstore_tool: Support get/set/superblock

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
16 months agodoc/cephfs: fix architecture link to correct relative path 56341/head
molpako [Wed, 20 Mar 2024 09:43:42 +0000 (18:43 +0900)]
doc/cephfs: fix architecture link to correct relative path

Signed-off-by: molpako <35787116+molpako@users.noreply.github.com>
(cherry picked from commit ceeb1ca4b38dc307e493b04a59d5d07fed23971f)

16 months agoclient: fix leak of file handles 56121/head
Xavi Hernandez [Fri, 16 Feb 2024 18:14:07 +0000 (19:14 +0100)]
client: fix leak of file handles

Based on posix specification, the fd passed to fdopendir() will be
closed by closedir(). However CephFS client wasn't doing that. If the
user opened a directory using ceph_openat(), for example, and then
passed the returned fd to ceph_fdopendir(), the created Fh associated
with the new open was never destroyed.

This patch records the fd used in ceph_fdopendir() so that it can be
closed when ceph_closedir() is called.

Fixes: https://tracker.ceph.com/issues/64479
Signed-off-by: Xavi Hernandez <xhernandez@gmail.com>
(cherry picked from commit fe5c13d2e207473d48aa818484584d67dc3d23b5)

16 months agoMerge pull request #56195 from vshankar/wip-64925-quincy
Venky Shankar [Wed, 20 Mar 2024 05:04:57 +0000 (10:34 +0530)]
Merge pull request #56195 from vshankar/wip-64925-quincy

quincy: mds: disable `defer_client_eviction_on_laggy_osds' by default

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
16 months agoMerge pull request #55549 from k0ste/wip-64396-quincy
Yuri Weinstein [Tue, 19 Mar 2024 14:47:01 +0000 (07:47 -0700)]
Merge pull request #55549 from k0ste/wip-64396-quincy

quincy: mon: fix health store size growing infinitely

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
16 months agoMerge pull request #55698 from pdvian/wip-63843-quincy
Yuri Weinstein [Tue, 19 Mar 2024 14:45:37 +0000 (07:45 -0700)]
Merge pull request #55698 from pdvian/wip-63843-quincy

quincy: osd: Report health error if OSD public address is not within subnet

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
16 months agoMerge pull request #55929 from ajarr/wip-64667-quincy
Ilya Dryomov [Tue, 19 Mar 2024 14:40:10 +0000 (15:40 +0100)]
Merge pull request #55929 from ajarr/wip-64667-quincy

quincy: qa: add diff-continuous and compare-mirror-image tests to rbd and krbd suites respectively

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
16 months agoqa/suites: add diff-continuous and compare-mirror-image tests 55929/head
Ramana Raja [Thu, 29 Feb 2024 17:12:19 +0000 (12:12 -0500)]
qa/suites: add diff-continuous and compare-mirror-image tests

... to rbd and krbd suites respectively.

This allows the compare-mirror-image tests introduced in ea3a567
to be run against various kernel branches, e.g., testing branch.
And allows diff_continuous test in rbd_suite to run against distro
kernel.

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

16 months agoqa/suites/rbd: rename nbd folder to device folder
Ramana Raja [Thu, 29 Feb 2024 16:55:08 +0000 (11:55 -0500)]
qa/suites/rbd: rename nbd folder to device folder

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

16 months agoMerge pull request #55210 from mchangir/wip-64033-quincy
Milind Changire [Tue, 19 Mar 2024 03:11:56 +0000 (08:41 +0530)]
Merge pull request #55210 from mchangir/wip-64033-quincy

quincy: mgr/snap_schedule: support subvol and group arguments

16 months agoMerge pull request #56272 from idryomov/wip-doc-undo-flatten-encryption
Zac Dover [Mon, 18 Mar 2024 20:02:26 +0000 (06:02 +1000)]
Merge pull request #56272 from idryomov/wip-doc-undo-flatten-encryption

doc/rbd: "rbd flatten" doesn't take encryption options in quincy

Reviewed-by: Zac Dover <zac.dover@proton.me>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
16 months agodoc/rbd: "rbd flatten" doesn't take encryption options in quincy 56272/head
Ilya Dryomov [Mon, 18 Mar 2024 19:11:26 +0000 (20:11 +0100)]
doc/rbd: "rbd flatten" doesn't take encryption options in quincy

This sneaked in in commit 0262dc99ff48 ("doc/rbd: minor changes to the
rbd man page") with an incorrect conflict resolution.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
16 months agodoc/rados: update common.rst 56269/head
Zac Dover [Sun, 17 Mar 2024 09:27:11 +0000 (19:27 +1000)]
doc/rados: update common.rst

Clarify some overwritten paragraphs in
doc/rados/configuration/common.rst. Cf.
https://github.com/ceph/ceph/pull/50795/files#r1153897231.

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

16 months agoMerge pull request #56263 from zdover23/wip-doc-2024-03-19-backport-56247-to-quincy
Zac Dover [Mon, 18 Mar 2024 17:39:44 +0000 (03:39 +1000)]
Merge pull request #56263 from zdover23/wip-doc-2024-03-19-backport-56247-to-quincy

quincy: docs/rbd: fix typo in arg name

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
16 months agodocs/rbd: fix typo in arg name 56263/head
N Balachandran [Mon, 18 Mar 2024 04:02:39 +0000 (09:32 +0530)]
docs/rbd: fix typo in arg name

Replace "{image-}" with "{image-id}" in the "rbd trash rm"
command description.

Signed-off-by: N Balachandran <nibalach@redhat.com>
(cherry picked from commit f3eb489520fd4fae057e61275d16c6c8fd596f3f)

docs/rbd: replace introspect with inspect

Replace "introspect" with "inspect" in the rbd basic commands
description.

Signed-off-by: N Balachandran <nibalach@redhat.com>
(cherry picked from commit ebf2f60f784728c04d8ec59015d666bafcef8218)

docs/rbd: typo in "retrieving image information"

Replace "for the image" with "of the image".

Signed-off-by: N Balachandran <nibalach@redhat.com>
(cherry picked from commit 4fd5c134536d652ae1f9e05ecf52cb81adb3b850)

16 months agoMerge pull request #56257 from zdover23/wip-doc-2024-03-18-backport-56248-to-quincy
Anthony D'Atri [Mon, 18 Mar 2024 14:06:21 +0000 (10:06 -0400)]
Merge pull request #56257 from zdover23/wip-doc-2024-03-18-backport-56248-to-quincy

quincy: doc/rbd: minor changes to the rbd man page

16 months agoceph-volume: add missing import 56260/head
Guillaume Abrioux [Wed, 13 Mar 2024 14:04:28 +0000 (15:04 +0100)]
ceph-volume: add missing import

This adds the missing import `List` (from typing).

Probably missed by 36c83bf54243.

Fixes: https://tracker.ceph.com/issues/64898
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 1abd3e659ff59d7b0c5c2360a665c395a748e3ff)

16 months agodoc/rbd: minor changes to the rbd man page 56257/head
N Balachandran [Mon, 18 Mar 2024 12:22:47 +0000 (17:52 +0530)]
doc/rbd: minor changes to the rbd man page

Fixes typos and grammar for some commands. Adds
additional details for some commandds.

Signed-off-by: N Balachandran <nibalach@redhat.com>
(cherry picked from commit 5dcff6a4b8d835fc55e454af977dc5ebad99d37f)

16 months agoMerge pull request #56088 from adk3798/wip-64688-quincy
Adam King [Mon, 18 Mar 2024 12:27:33 +0000 (08:27 -0400)]
Merge pull request #56088 from adk3798/wip-64688-quincy

quincy: mgr/cephadm: fix placement with label and host pattern

Reviewed-by: John Mulligan <jmulligan@redhat.com>
16 months agoMerge pull request #56086 from adk3798/wip-64630-quincy
Adam King [Mon, 18 Mar 2024 12:26:23 +0000 (08:26 -0400)]
Merge pull request #56086 from adk3798/wip-64630-quincy

quincy: mgr/cephadm: catch CancelledError in asyncio timeout handler

Reviewed-by: John Mulligan <jmulligan@redhat.com>
16 months agoMerge pull request #56083 from adk3798/wip-63534-quincy
Adam King [Mon, 18 Mar 2024 12:25:18 +0000 (08:25 -0400)]
Merge pull request #56083 from adk3798/wip-63534-quincy

quincy: mgr/cephadm: fix reweighting of OSD when OSD removal is stopped

Reviewed-by: John Mulligan <jmulligan@redhat.com>
16 months agoMerge pull request #55973 from adk3798/wip-62531-quincy
Adam King [Mon, 18 Mar 2024 12:24:15 +0000 (08:24 -0400)]
Merge pull request #55973 from adk3798/wip-62531-quincy

quincy: mgr/cephadm: allow draining host without removing conf/keyring files

Reviewed-by: John Mulligan <jmulligan@redhat.com>
16 months agoMerge pull request #55763 from ajarr/wip-64555-quincy
Yuri Weinstein [Sat, 16 Mar 2024 16:10:09 +0000 (09:10 -0700)]
Merge pull request #55763 from ajarr/wip-64555-quincy

quincy: qa: Add tests to validate synced images on rbd-mirror

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
16 months agoMerge pull request #55664 from idryomov/wip-64423-quincy
Yuri Weinstein [Sat, 16 Mar 2024 16:09:21 +0000 (09:09 -0700)]
Merge pull request #55664 from idryomov/wip-64423-quincy

quincy: librbd: fix split() for SparseExtent and SparseBufferlistExtent

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
16 months agoMerge pull request #55618 from trociny/wip-64463-quincy
Yuri Weinstein [Sat, 16 Mar 2024 16:07:58 +0000 (09:07 -0700)]
Merge pull request #55618 from trociny/wip-64463-quincy

quincy: tools/rbd: make 'children' command support --image-id

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
16 months agoMerge pull request #56236 from zdover23/wip-doc-2024-03-16-backport-56182-to-quincy
Anthony D'Atri [Sat, 16 Mar 2024 01:32:38 +0000 (21:32 -0400)]
Merge pull request #56236 from zdover23/wip-doc-2024-03-16-backport-56182-to-quincy

quincy: doc/glossary: add "librados" entry

16 months agodoc/glossary: add "librados" entry 56236/head
Zac Dover [Thu, 14 Mar 2024 06:29:09 +0000 (16:29 +1000)]
doc/glossary: add "librados" entry

Add a "librados" entry to the glossary.

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

16 months agoMerge pull request #56087 from adk3798/wip-64645-quincy
Adam King [Fri, 15 Mar 2024 19:36:15 +0000 (15:36 -0400)]
Merge pull request #56087 from adk3798/wip-64645-quincy

quincy: cephadm: remove restriction for crush device classes

Reviewed-by: John Mulligan <jmulligan@redhat.com>
16 months agoMerge pull request #56085 from adk3798/wip-63818-quincy
Adam King [Fri, 15 Mar 2024 19:35:27 +0000 (15:35 -0400)]
Merge pull request #56085 from adk3798/wip-63818-quincy

quincy: python-common/drive_selection: fix limit with existing devices

Reviewed-by: John Mulligan <jmulligan@redhat.com>
16 months agoMerge pull request #56084 from adk3798/wip-63816-quincy
Adam King [Fri, 15 Mar 2024 19:34:41 +0000 (15:34 -0400)]
Merge pull request #56084 from adk3798/wip-63816-quincy

quincy: python-common: fix osdspec_affinity check

Reviewed-by: John Mulligan <jmulligan@redhat.com>
16 months agoMerge pull request #56081 from adk3798/wip-63446-quincy
Adam King [Fri, 15 Mar 2024 19:25:17 +0000 (15:25 -0400)]
Merge pull request #56081 from adk3798/wip-63446-quincy

quincy: mgr/cephadm: support for removing host entry from crush map during host removal

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
16 months agoMerge pull request #56080 from adk3798/wip-63435-quincy
Adam King [Fri, 15 Mar 2024 19:24:00 +0000 (15:24 -0400)]
Merge pull request #56080 from adk3798/wip-63435-quincy

quincy: mgr/cephadm: update timestamp on repeat daemon/service events

Reviewed-by: John Mulligan <jmulligan@redhat.com>
16 months agoMerge pull request #56079 from adk3798/wip-63116-quincy
Adam King [Fri, 15 Mar 2024 19:23:21 +0000 (15:23 -0400)]
Merge pull request #56079 from adk3798/wip-63116-quincy

quincy: mgr/cephadm: ceph orch add fails when ipv6 address is surrounded by square brackets.

Reviewed-by: John Mulligan <jmulligan@redhat.com>
16 months agomgr/cephadm: add ability to zap OSDs' devices while draining host 55973/head
Adam King [Mon, 5 Jun 2023 19:05:55 +0000 (15:05 -0400)]
mgr/cephadm: add ability to zap OSDs' devices while draining host

Currently, when cephadm drains a host, it will remove all OSDs on
the host, but provides no option to zap the OSD's devices afterwards.
Given users are draining the host likely to remove it from the cluster,
it makes sense some users would want to clean up the devices on the
host that were being used for OSDs. Cephadm already supports zapping
devices outside of host draining, so it makes shouldn't take much to
add that functionality to the host drain as well.

Fixes: https://tracker.ceph.com/issues/61593
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 85043ff4cee108c152f5aa8af267c85e353c475a)