Commit Graph

139477 Commits

Author SHA1 Message Date
Kefu Chai
fb93d6e032 cmake: update FindPython3 module
* use the one shiped by the latest CMake (ab379e5054aa792df9572078dcf95bddd75f7661)
* use the new policy to use the new find strategy.
* accomodate the vanilla FindPython3 module to Ceph by:
  - dropping the `cmake_policy()` calls which set the policy not supported
    by 3.16.
  - `include (FindPackageHandleStandardArgs)` without specifying the
    relative path.
  - dropping the `HANDLE_VERSION_RANGE` from `FindPackageHandleStandardArgs()` call.
    this option was introduced by CMake v3.19, see
    https://cmake.org/cmake/help/latest/module/FindPackageHandleStandardArgs.html
    but Ubuntu focal comes with CMake 3.16, which is our minimal required CMake version.

the new FindPython3 module from CMake:

* enables us to find the recent Python intepreter and development files up to
  CPython 3.13.
* finds intepreter with the new `Python_FIND_STRATEGY`. the old and default
  strategy always finds the most recent version with all specified name
  and in all locations. so, if /usr/bin/python exists, it would accept, even
  if it is  a symlink to python3.9 and what we want is python3.6. while
  the new policy stops at the one which satisfies the constraints.
  simpler this way and less error prone.

Fixes: https://tracker.ceph.com/issues/62428
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2023-08-17 10:16:45 +08:00
Venky Shankar
9545e578a4 Merge PR #52547 into main
* refs/pull/52547/head:
	qa: add test cases for vanilla ops commands
	mds: dump locks when printing mutation ops
	common/TrackedOp: support overriding the _dump method
	mds: remove op field obsoleted by more usable "reqid"
	mds: dump metareq_t instead of full op
	mds: add lock type to formatter dump of SimpleLock
	mds: mark print methods const
	mds: drop MDRequestImpl::msg_lock
	mds: lock TrackedOp when dumping
	mds: avoid recursive locks dumping state
	common/TrackedOp: fix race updating description with proper lock
	common/Formatter: add support for dumping null
	common/Formatter: refactor generating xml name

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-08-14 17:52:47 +05:30
Venky Shankar
64369be51a Merge PR #52577 into main
* refs/pull/52577/head:
	mds: adjust cap acquisition throttles

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-08-14 17:51:50 +05:30
Venky Shankar
7910a4e765 Merge PR #52834 into main
* refs/pull/52834/head:
	mount.fuse.ceph: strip the 'nofail' option from those that fuse will see

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-08-14 17:50:47 +05:30
Ilya Dryomov
2f4720d9a8
Merge pull request #48705 from theanalyst/cmake-fmt-versionbump
cmake: ensure fmt lib is at least 8.1.1

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2023-08-14 11:47:58 +02:00
Nizamudeen A
82d0c50723
Merge pull request #52865 from cloudbehl/status-popover
mgr/dashboard: open popup with hover for cluster status

Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-08-14 12:28:25 +05:30
Nizamudeen A
026b9a2198
Merge pull request #52861 from rhcs-dashboard/fs-subvolumes-edit
mgr/dashboard: provide ability to edit cephfs subvolume 

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2023-08-14 12:18:37 +05:30
zdover23
6836a2b27b
Merge pull request #52966 from zdover23/wip-doc-2023-08-14-src-tools-rados
doc: update rados.cc

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-08-14 15:01:52 +10:00
Yingxin
56fd6d1185
Merge pull request #51141 from xxhdx1985126/wip-seastore-clone
crimson/os/seastore: OP_CLONE in seastore

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2023-08-14 09:47:38 +08:00
Zac Dover
152a0fdc68 doc: update rados.cc
Clarify a line in ceph/src/tools/rados/rados.cc.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-08-14 09:47:46 +10:00
zdover23
67fde040f3
Merge pull request #52963 from zdover23/wip-doc-2023-08-13-rados-troubleshooting-cpu-profiling
doc/troubleshooting: edit cpu-profiling.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-08-14 04:07:13 +10:00
Zac Dover
513c436aef doc/troubleshooting: edit cpu-profiling.rst
Improve the language in the "oprofile" section of the RADOS
Troubleshooting Guide.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-08-13 16:55:55 +10:00
zdover23
96cf3bd3c9
Merge pull request #52957 from zdover23/wip-doc-2023-08-12-rados-ops-monitoring-osd
doc/rados: update monitoring-osd-pg.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-08-12 05:06:56 +10:00
Nizamudeen A
07bc21f34f mgr/dashboard: provide ability to edit cephfs subvolume
Fixes: https://tracker.ceph.com/issues/62347
Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-08-12 00:26:37 +05:30
Nizamudeen A
91f75abf4c
Merge pull request #52645 from rhcs-dashboard/cephfs-vol-rm
mgr/dashboard: cephfs volume rm and rename

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-08-12 00:23:00 +05:30
avanthakkar
d756fadde3 mgr/dashboard: cephfs volume rm and rename
Fixes: https://tracker.ceph.com/issues/62408
Signed-off-by: avanthakkar <avanjohn@gmail.com>
2023-08-11 22:25:12 +05:30
Adam King
101b778631
Merge pull request #52932 from adk3798/cephadm-reef-latest-stable-release
cephadm: bump LATEST_STABLE_RELEASE to "reef"

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2023-08-11 11:50:18 -04:00
Casey Bodley
875dae764a
Merge pull request #52510 from pritha-srivastava/wip-rgw-61916-test-failures
rgw/auth: Fix the return code returned by AuthStrategy,

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-08-11 11:36:37 -04:00
Zac Dover
73503d4e26 doc/rados: update monitoring-osd-pg.rst
Ingest Anthony D'Atri's notes from
https://github.com/ceph/ceph/pull/50856#discussion_r1289532902
which should have been included earlier.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-08-12 01:25:32 +10:00
zdover23
95de599faa
Merge pull request #50856 from zdover23/wip-doc-2023-04-04-rados-operations-monitoring-osd-pg-question-1
doc/rados/ops: question about down and in OSDS

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-08-12 00:15:40 +10:00
Nizamudeen A
ab116431a3
Merge pull request #52907 from cloudbehl/add-telemetry
mgr/dashboard: Add telemetry link in dashboard

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
2023-08-11 18:58:26 +05:30
Nizamudeen A
83370f66be
Merge pull request #52903 from cloudbehl/rgw-details
mgr/dashboard: RGW Details card cleanup

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-08-11 18:36:04 +05:30
Zac Dover
276d1fcbdd doc/rados/ops: question about down and in OSDS
Clear up a confusing sentence that purports to explain OSDS that are
both "down" and "in".

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-08-11 22:27:22 +10:00
zdover23
5a0475e0c3
Merge pull request #52945 from kotreshhr/doc-mgr-deadlock
doc: Add a note on possible deadlock on volume deletion

Reviewed-by: Zac Dover <zac.dover@proton.me>
2023-08-11 22:10:59 +10:00
Kotresh HR
b93b3364ae doc: Add a note on possible deadlock on volume deletion
Fixes: https://tracker.ceph.com/issues/62407
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2023-08-11 17:04:59 +05:30
cloudbehl
3a64f67930 mgr/dashboard: Add telemetry link in dashboard
Fixes: https://tracker.ceph.com/issues/62380

Signed-off-by: cloudbehl <cloudbehl@gmail.com>
2023-08-11 13:37:59 +05:30
Venky Shankar
53f89ea09b Merge PR #52765 into main
* refs/pull/52765/head:
	mgr/volumes: Fix pending_subvolume_deletions in volume info
	qa: Add testcase for pending_subvolume_deletions count

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
2023-08-11 11:39:52 +05:30
Adam King
90ddff61a3 cephadm: bump LATEST_STABLE_RELEASE to "reef"
Now that reef is out, we should tell users
that it's the latest stable release, rather
than quincy

Signed-off-by: Adam King <adking@redhat.com>
2023-08-10 11:04:55 -04:00
Pedro Gonzalez Gomez
141cb3d143
Merge pull request #52886 from rhcs-dashboard/cephfs-sbuvolumegroup-create
mgr/dashboard: create subvolume groups


Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-08-10 16:49:50 +02:00
Adam King
142da141f2
Merge pull request #52178 from phlogistonjohn/jjm-cephadm-init-ctrs
cephadm: add basic init containers support

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2023-08-10 08:37:49 -04:00
Yuval Lifshitz
2b672e0d8b
Merge pull request #52876 from kchheda3/wip-noti-logs
rgw: enrich the failed debug log line for sync notification

reviwed-by: BBoozmen, khu102-bloomberg, yuvalif, thotz
2023-08-10 10:38:49 +03:00
Pedro Gonzalez Gomez
c5e39cb921 mgr/dashboard: create subvolumegroup
Fixes: https://tracker.ceph.com/issues/62363
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2023-08-10 09:12:25 +02:00
xuxuehan
6a583aad13 crimson/os/seastore: debug outputs
Signed-off-by: xuxuehan <xuxuehan@qianxin.com>
2023-08-10 13:14:22 +08:00
Xuehan Xu
9cdcd06caa crimson/os/seastore/object_data_handler: take indirect offset into
account when reading object data

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2023-08-10 13:14:22 +08:00
Xuehan Xu
4b14549e6e crimson/os/seastore/transaction_manager: don't remove intermediate
mapping when remapping pins

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2023-08-10 13:14:22 +08:00
Xuehan Xu
e2c0ebec76 crimson/os/seastore/transaction_manager: remap indirect mappings
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2023-08-10 13:14:22 +08:00
xuxuehan
d6bfd9455d crimson/os/seastore/transaction_manager: remove extents for physical lba mappings if necessary
when removing indirect lba mappings

Signed-off-by: xuxuehan <xuxuehan@qianxin.com>
2023-08-10 13:14:22 +08:00
Xuehan Xu
31204c2e1c crimson/os/seastore/lba_manager: decrease refcount of the physical lba
mappings when removing indirect lba mappings

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2023-08-10 13:14:22 +08:00
xuxuehan
e5ee75ee85 crimson/os/seastore/onode_manager: erase onodes from the OnodeTree at the moment of erase_onode
Signed-off-by: xuxuehan <xuxuehan@qianxin.com>
2023-08-10 13:14:22 +08:00
Xuehan Xu
826bb50fb3 crimson/os/seastore/object_data_handler: don't reserve lba space when truncating objects to zero size
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2023-08-10 13:14:22 +08:00
Xuehan Xu
9993b99c1c test/crimson/seastore: add OP_CLONE unittest case
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2023-08-10 13:14:22 +08:00
Xuehan Xu
48023c7f67 crimson/os/seastore/lba_manager: take lba entry indirection into account when getting lba mappings
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2023-08-10 13:14:22 +08:00
Xuehan Xu
9f303cde7b crimson/os/seastore: implement OP_CLONE
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2023-08-10 13:14:22 +08:00
Nizamudeen A
75389ba061
Merge pull request #52635 from rhcs-dashboard/list-subvolume-groups
mgr/dashboard: List subvolume groups

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2023-08-10 10:00:17 +05:30
zdover23
04e708a697
Merge pull request #52702 from zdover23/wip-doc-2023-07-31-documenting-ceph-linking-customs
doc/start: update linking conventions

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2023-08-10 11:13:10 +10:00
zdover23
87e8ad2c67
Merge pull request #52715 from zdover23/wip-doc-2023-08-01-radosgw-admin-rate-limit-management
doc/radosgw: update rate limit management

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2023-08-10 11:06:20 +10:00
Yuval Lifshitz
fd7710f37d
Merge pull request #52225 from yuvalif/wip-yuval-58412
rgw/lua: give tables fully qualified names
2023-08-09 23:15:39 +03:00
Adam King
e83dfefdba
Merge pull request #52864 from adk3798/cephadm-debian-recommends
debian/control: add docker-ce as recommends for cephadm package

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2023-08-09 15:29:10 -04:00
John Mulligan
921f474b6d qa/cephadm: add test case to verify custom container init_containers
Add a 2nd custom container yaml to the test_extra_daemon_features.yaml
file that uses two init containers. Add verification that the init
containers (and primary) ran successfully.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-08-09 13:48:43 -04:00
John Mulligan
ec269d4418 doc/cephadm: document init_containers params for custom containers
Add documentation covering the new init_containers parameter and the
parameters within each init container's configuration.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-08-09 13:48:07 -04:00