]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Patrick Donnelly [Tue, 27 Feb 2024 20:17:28 +0000 (15:17 -0500)]
mds: quiescelock as local lock + cap masking
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Patrick Donnelly [Tue, 13 Feb 2024 17:37:07 +0000 (12:37 -0500)]
qa: run quiesce unit tests in fs:functional
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Fixes: https://tracker.ceph.com/issues/63664
Patrick Donnelly [Wed, 24 Jan 2024 02:26:46 +0000 (21:26 -0500)]
qa: add quiesce protocol unit tests
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Fixes: https://tracker.ceph.com/issues/63664
Patrick Donnelly [Sat, 17 Feb 2024 15:26:14 +0000 (10:26 -0500)]
qa: detect partial migrations during large config of dist epin
This method would wrongly "succeed" when looking for setup of distributed
ephemerally pinned directory fragments. If the migrator splits a subtree during
the course of migration (to reduce the migration size) then the operation may
not actually be complete.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 24 Jan 2024 02:25:35 +0000 (21:25 -0500)]
qa: use stdin-killer to timeout run_shell_payload
- simplify argument processing / forwarding
- use stdin-killer to kill all sub-processes of the shell
- do not needlessly use run_shell to execute the command as it adds a timeout
to the stdout/stderr processing
- provide a stdin (PIPE) by default otherwise teuthology's code closes stdin
and triggers stdin-killer to timeout the shell.
- use a 15 minute timeout by default
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 7 Mar 2024 03:21:24 +0000 (22:21 -0500)]
qa: simplify run_shell argument processing
No functional changes.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 11 Jan 2024 03:08:13 +0000 (22:08 -0500)]
doc: add dev docs for quiesce protocol
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 26 Jan 2024 21:37:15 +0000 (16:37 -0500)]
pybind/mgr/volumes: block quiesce for critical .meta file
This file must remain accessible during quiesce to allow snapshots to be taken
on a subvolume.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 26 Jan 2024 21:36:53 +0000 (16:36 -0500)]
mds: add vxattr to block quiesce on an inode
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 26 Jan 2024 21:34:41 +0000 (16:34 -0500)]
mds: convert encoded ephemeral dist pin to flags
To use space efficiently, convert this field to a 8 bit flags field that is
backward compatible.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 21 Feb 2024 15:03:14 +0000 (10:03 -0500)]
mds: add counter to throttle quiesce
So a storm of quiesce operations do not affect normal MDS operations.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 31 Oct 2023 17:27:16 +0000 (13:27 -0400)]
mds: add quiesce set feature flag
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Fixes: https://tracker.ceph.com/issues/63664
Patrick Donnelly [Wed, 21 Feb 2024 19:08:13 +0000 (14:08 -0500)]
mds: skip non-head inodes for quiesce
These are accessible only via snapshots.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 14 Nov 2023 18:17:57 +0000 (13:17 -0500)]
mds: add quiesce op
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Fixes: https://tracker.ceph.com/issues/63664
Patrick Donnelly [Tue, 27 Feb 2024 20:18:21 +0000 (15:18 -0500)]
mds: print all SimpleLock flags in debug output
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 10 Jan 2024 19:08:11 +0000 (14:08 -0500)]
mds: pretty print mutation when dumping lock
Now looks like:
... (iquiesce xlock x=1 by request(mds.0:2785 nref=6)) ...
instead of:
... (iquiesce xlock x=1 by 0xdeadbeef)) ...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 9 Jan 2024 19:04:45 +0000 (14:04 -0500)]
mds: add new inode quiescelock
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 20 Feb 2024 22:08:32 +0000 (17:08 -0500)]
mds: use 128 bits for waiters on MDSCacheObject
Adding a new inode lock will overflow inode wait bits into the MDSCacheObject
wait bits. Make space for the quiescelock.
This includes a minor refactor to no longer attempt scoping the set of masks we
test in MDSCacheObject::waiting when calling MDSCacheObject::is_waiter_for.
This optimization wasn't worth the overhead and would be awkard to keep as
std::bitset cannot be used as a key for a std::multimap (easily). Instead, we
use the sequence number as a key which helps us to avoid allocating another map
whenever we call MDSCacheObject::take_waiting.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 13 Feb 2024 16:07:26 +0000 (11:07 -0500)]
mds: provide mechanism to authpin while freezing
When a subtree is freezing, it's no longer possible to acquire new authpins.
This is a problem when a compound request like quiescing a subtree is trying to
acquire authpins for each sub-op. This creates a situation where some quiesce
sub-ops complete with authpins (thereby preventing the tree from becoming
"frozen") and new sub-ops cannot acquire authpins (because the tree is
"freezing"). To circumvent this, allow some authpin requests to proceed if
FLAG_BYPASSFREEZING is set.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 9 Jan 2024 18:55:48 +0000 (13:55 -0500)]
mds: add command to get specific op
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 13 Feb 2024 21:07:37 +0000 (16:07 -0500)]
mds: finish request before completing internal req
Importantly, this marks the request dead so it cannot be killed.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 14 Nov 2023 18:50:53 +0000 (13:50 -0500)]
mds: complete internal op if killed
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 13 Feb 2024 20:58:19 +0000 (15:58 -0500)]
mds: avoid killing dead requests
This is important when you have:
* sub-op A finishes and resumes parent
* parent kills all sub-ops (including sub-op A)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 13 Nov 2023 19:23:54 +0000 (14:23 -0500)]
mds: add command to kill request
Fixes: https://tracker.ceph.com/issues/63374
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Sat, 17 Feb 2024 15:23:43 +0000 (10:23 -0500)]
mds: add path argument to `ops` and `dump tree` to stream result to local file
This file can be collected during testing to avoid sending a large JSON result
over the `ceph tell`/asok interface.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 31 Jan 2024 19:28:14 +0000 (14:28 -0500)]
mds: print internal_request filepaths if present
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 14 Nov 2023 18:19:47 +0000 (13:19 -0500)]
mds: add more information to debug message
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Sat, 14 Oct 2023 00:27:02 +0000 (20:27 -0400)]
mds: remove redundant parenthesis
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 14 Nov 2023 14:38:03 +0000 (09:38 -0500)]
mds: implement Mutation::dump method
So we can dump it from asok commands.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 9 Jan 2024 04:53:24 +0000 (23:53 -0500)]
mds: make LockType fields const
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 9 Jan 2024 19:06:39 +0000 (14:06 -0500)]
mds: annotate mdr with try_rdlock_snap_layout failure
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 9 Jan 2024 19:01:17 +0000 (14:01 -0500)]
mds: refactor if into switch
To make it easier to read and match other constructs in this code.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 10 Jan 2024 02:56:20 +0000 (21:56 -0500)]
mds: call Locker method using this
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 4 Jan 2024 17:24:29 +0000 (12:24 -0500)]
mds: simplify assert
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 16 Jan 2024 19:03:29 +0000 (14:03 -0500)]
mds: dump locks passed to Locker::acquire_locks
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 16 Jan 2024 19:02:41 +0000 (14:02 -0500)]
mds: add LockOp::print method for debugging
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 16 Jan 2024 19:01:54 +0000 (14:01 -0500)]
mds: use new insert template via print
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 24 Jan 2024 02:27:18 +0000 (21:27 -0500)]
mds: add request result to mutation for analysis by tests
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 5 Jan 2024 20:06:20 +0000 (15:06 -0500)]
mds: add comment on locking order rules
From a past commit.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 8 Feb 2024 17:30:38 +0000 (12:30 -0500)]
mds: allow specifying rdlock position
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 7 Feb 2024 19:59:06 +0000 (14:59 -0500)]
mds: remove dead method
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 16 Jan 2024 18:59:47 +0000 (13:59 -0500)]
common: provide a template for object dumps
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 16 Nov 2023 17:36:25 +0000 (12:36 -0500)]
common: support long running ops without slow warnings
A quiesce op in the MDS may run for an indeterminate amount of time. Warnings
should not be generated.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 16 Nov 2023 17:07:32 +0000 (12:07 -0500)]
common: simplify loop
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Sat, 17 Feb 2024 15:22:29 +0000 (10:22 -0500)]
common: add JSONFormatterFile class
To stream JSON to a file for collection (for testing). The idea here that
trying to send a very large JSON result over `ceph tell` is best to be avoided.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Sat, 17 Feb 2024 01:43:06 +0000 (20:43 -0500)]
common: use more efficient vector for stack
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 14 Nov 2023 19:15:14 +0000 (14:15 -0500)]
include: use larger int for large gathers
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Casey Bodley [Wed, 20 Mar 2024 14:44:17 +0000 (14:44 +0000)]
Merge pull request #56266 from cbodley/wip-qa-rgw-lua-pool-application
qa/rgw: ignore POOL_APP_NOT_ENABLED in rgw/lua subsuite
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
Casey Bodley [Wed, 20 Mar 2024 13:41:56 +0000 (13:41 +0000)]
Merge pull request #56220 from linuxbox2/wip-nfs-rename
rgw_file: fix mv/rename cases broken by zipper integration
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Casey Bodley [Wed, 20 Mar 2024 13:41:41 +0000 (13:41 +0000)]
Merge pull request #56225 from linuxbox2/wip-cors-fix
rgw: Add missing empty checks to the split string in is_string_in_set().
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 20 Mar 2024 13:41:09 +0000 (13:41 +0000)]
Merge pull request #56044 from pr0ton11/rgw-disable-signature-url
RGW: allow user disabling presigned urls in rgw configuration
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 20 Mar 2024 13:40:43 +0000 (13:40 +0000)]
Merge pull request #55795 from kchheda3/wip-rename-notif-events
rgw/notification: Make the LifeCycle & Replication events AWS Compatible and Support s3:Replication:Delete event
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Zac Dover [Wed, 20 Mar 2024 13:36:25 +0000 (23:36 +1000)]
Merge pull request #56333 from molpako/patch-3
doc/cephfs: fix architecture link to correct relative path
Reviewed-by: Zac Dover <zac.dover@proton.me>
Ilya Dryomov [Wed, 20 Mar 2024 09:49:36 +0000 (10:49 +0100)]
Merge pull request #55595 from VallariAg/wip-nvmeof-test-v3
qa/suite/rbd/nvmeof: Deploy multiple gateways and namespaces
Reviewed-by: Barak Davidov <barakda@il.ibm.com>
Reviewed-by: Aviv Caro <Aviv.Caro@ibm.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
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>
Rixin Luo [Wed, 20 Mar 2024 01:19:07 +0000 (09:19 +0800)]
Merge pull request #55864 from rosinL/wip-speedup-check-generated
test/encoding/check-generated: parallel testing by type
Dan Mick [Tue, 19 Mar 2024 23:03:00 +0000 (16:03 -0700)]
Merge pull request #56203 from athanatos/sjust/wip-protoc-dependencies
crimson: add crimson-osd rpm and deb runtime dependencies for protobuf inherited from seastar
Adam King [Tue, 19 Mar 2024 19:39:07 +0000 (15:39 -0400)]
Merge pull request #56070 from phlogistonjohn/jjm-cephadm-sudo-cmd-auditing
cephadm: sudo cmd auditing
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Tue, 19 Mar 2024 18:04:51 +0000 (14:04 -0400)]
Merge pull request #56178 from adk3798/cephadm-pub-net-config-check-out-of-date
mgr/cephadm: refresh public_network for config checks before checking
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Tue, 19 Mar 2024 18:01:47 +0000 (14:01 -0400)]
Merge pull request #56175 from asm0deuz/bootstrap_no_container
cephadm: bootstrap fails if no container engine installed
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Tue, 19 Mar 2024 18:00:29 +0000 (14:00 -0400)]
Merge pull request #56147 from adk3798/stopped-daemon-shell
cephadm: fix `cephadm shell --name <daemon-name>` for stopped/failed daemon
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Tue, 19 Mar 2024 17:51:19 +0000 (13:51 -0400)]
Merge pull request #56143 from insatomcat/timemaster
cephadm.py: add timemaster to timesync services list
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Tue, 19 Mar 2024 17:46:11 +0000 (13:46 -0400)]
Merge pull request #56075 from phlogistonjohn/jjm-enable-black-cephadm
cephadm: enforce black formatting for cephadmlib
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Tue, 19 Mar 2024 17:43:03 +0000 (13:43 -0400)]
Merge pull request #55883 from thegreenbear/ingress-haproxy-bind-ipv4v6
Ingress service: make HAProxy to listen on IPv4 and IPv6 …
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Tue, 19 Mar 2024 16:35:53 +0000 (12:35 -0400)]
Merge pull request #55874 from adk3798/only-bind-to-network
mgr/cephadm: allow grafana and prometheus to only bind to specific network
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Ronen Friedman [Tue, 19 Mar 2024 15:36:48 +0000 (17:36 +0200)]
Merge pull request #55645 from ronen-fr/wip-rf-nextobj
osd: improved get_objects_by_prefixes() ergonomics
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Vallari Agrawal [Tue, 20 Feb 2024 07:44:32 +0000 (13:14 +0530)]
qa/suite/rbd/nvmeof: Deploy multiple gateways and namespaces
1. Deploy 2 gateways on different nodes, then check for multi-path.
To add another gateway, only "roles" need to be changed in job yaml.
2. Create "n" nvmeof namespaces, configured by 'namespaces_count'
3. Rename qa/suites/rbd/nvmeof/cluster/fixed-3.yaml to fixed-4.yaml
which contains 2 gateways and 2 initiators.
Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
Zac Dover [Tue, 19 Mar 2024 14:13:20 +0000 (00:13 +1000)]
Merge pull request #56109 from anthonyeleven/improve-monitoring
doc/cephadm/services: Improve monitoring.rst
Reviewed-by: Zac Dover <zac.dover@proton.me>
Adam King [Tue, 19 Mar 2024 14:11:20 +0000 (10:11 -0400)]
Merge pull request #55877 from adk3798/cephadm-pull-usage
cephadm: improve cephadm pull usage message
Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Tue, 19 Mar 2024 14:03:16 +0000 (10:03 -0400)]
Merge pull request #55615 from rhcs-dashboard/grafana-mount-dashboards
mgr/cephadm: mount grafana dashboards from the path
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Adam King [Tue, 19 Mar 2024 13:41:54 +0000 (09:41 -0400)]
Merge pull request #52760 from thotz/add-healthchecker-timeout-haproxy
cephadm: adjust the ingress ha proxy health check interval
Reviewed-by: Adam King <adking@redhat.com>
Nizamudeen A [Tue, 19 Mar 2024 05:38:46 +0000 (11:08 +0530)]
Merge pull request #56189 from rhcs-dashboard/fix-64913-main
mgr/dashboard: Allow DELETE method api request, X-TOTAL-COUNT header in CORS config in dashboard
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Yingxin [Tue, 19 Mar 2024 01:29:26 +0000 (09:29 +0800)]
Merge pull request #56250 from myoungwon/wip-laod-metadata-during-gc
crimson/os/seastore: cache metadata during trimming to prevent from disk read
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Zack Cerza [Tue, 19 Mar 2024 00:35:23 +0000 (18:35 -0600)]
Merge pull request #56204 from zmc/do-cmake-args
do_cmake.sh: Use value of ARGS at runtime
Matan Breizman [Mon, 12 Feb 2024 09:31:52 +0000 (09:31 +0000)]
osd/SnapMapper: add common logs
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit
f302be018ebef365d8876d14185c4bdb246f22d8 )
Ronen Friedman [Mon, 19 Feb 2024 14:50:41 +0000 (08:50 -0600)]
osd: improved get_objects_by_prefixes() ergonomics
Improved call signatures for get_next_objects_to_trim() &
get_objects_by_prefixes().
Also: as as get_next_objects_to_trim() has only a single
failure mode, we should not try to handle two distinct failures
in its callers' code.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Samuel Just [Mon, 18 Mar 2024 19:23:54 +0000 (12:23 -0700)]
Merge pull request #55846 from athanatos/sjust/for-review/wip-crimson-coroutine-support
crimson: add coroutine support for errorated and interruptible futures
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Yuri Weinstein [Mon, 18 Mar 2024 18:22:28 +0000 (11:22 -0700)]
Merge pull request #56034 from tchaikov/wip-msgr-dont-panic-at-hot-unplug
msg: do not abort if driver->del_event() returns -ENOENT
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Yuri Weinstein [Mon, 18 Mar 2024 18:21:48 +0000 (11:21 -0700)]
Merge pull request #55896 from ronen-fr/wip-rf-compactref
osd: avoid calling a virtual function in a ctor
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Yuri Weinstein [Mon, 18 Mar 2024 18:21:24 +0000 (11:21 -0700)]
Merge pull request #55872 from aclamk/wip-aclamk-bs-fix-unused
os/bluestore: Mute warnings
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Yuri Weinstein [Mon, 18 Mar 2024 18:20:44 +0000 (11:20 -0700)]
Merge pull request #54492 from Matan-B/wip-matanb-op-thread-timeout
qa/suites/rados/verify/validater/valgrind: increase op thread timeout
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Zac Dover [Mon, 18 Mar 2024 17:40:18 +0000 (03:40 +1000)]
Merge pull request #56240 from zdover23/wip-doc-2024-03-17-rados-config-common
doc/rados: update common.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Casey Bodley [Mon, 18 Mar 2024 14:47:59 +0000 (10:47 -0400)]
qa/rgw: ignore POOL_APP_NOT_ENABLED in rgw/lua subsuite
> cluster [WRN] Health check failed: 1 pool(s) do not have an application enabled (POOL_APP_NOT_ENABLED)" in cluster log
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Anthony D'Atri [Sun, 10 Mar 2024 21:36:37 +0000 (17:36 -0400)]
doc/cephadm/services: Improve monitoring.rst
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Zac Dover [Mon, 18 Mar 2024 13:38:02 +0000 (23:38 +1000)]
Merge pull request #56248 from nbalacha/wip-nbalacha-rbd-doc-man
doc/rbd: minor changes to the rbd man page
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
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>
myoungwon oh [Mon, 18 Mar 2024 06:48:07 +0000 (06:48 +0000)]
crimson/os/seastore: cache metadata during trimming to prevent from disk read
I encountered continous disk reads during trimming even though there are sufficient
cache available, in 4K random write test with RBM (RBD).
This is because metadata is note cached if its source is background transaction
within touch_extent(). So, seastore, including the trimming process, needs to
constantly retrieve metadata (e.g., BACKREF_LEAF).
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Guillaume Abrioux [Mon, 18 Mar 2024 08:25:07 +0000 (09:25 +0100)]
Merge pull request #56223 from guits/tracker_64951
node-proxy: support more Location value formats
Anthony D'Atri [Mon, 18 Mar 2024 08:14:31 +0000 (04:14 -0400)]
Merge pull request #56247 from nbalacha/wip-nbalacha-rbd-doc-2
docs/rbd: fix typos in the rbd basic cmds documentation
Nizamudeen A [Mon, 18 Mar 2024 06:47:44 +0000 (12:17 +0530)]
Merge pull request #56198 from ivoalmeida/fix-nfs-attach-cmd
mgr/dashboard: fixed nfs attach command
Reviewed-by: Nizamudeen A <nia@redhat.com>
N Balachandran [Mon, 18 Mar 2024 04:34:44 +0000 (10:04 +0530)]
docs/rbd: typo in "retrieving image information"
Replace "for the image" with "of the image".
Signed-off-by: N Balachandran <nibalach@redhat.com>
N Balachandran [Mon, 18 Mar 2024 04:11:10 +0000 (09:41 +0530)]
docs/rbd: replace introspect with inspect
Replace "introspect" with "inspect" in the rbd basic commands
description.
Signed-off-by: N Balachandran <nibalach@redhat.com>
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>
Yingxin [Mon, 18 Mar 2024 02:29:17 +0000 (10:29 +0800)]
Merge pull request #56217 from xxhdx1985126/wip-seastore-remap-bug-fixes
test/crimson/sesastore/test_block: add constructor to construct
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
John Mulligan [Fri, 8 Mar 2024 18:56:19 +0000 (13:56 -0500)]
doc/cephdam: document limiting passwordless sudo commands
Based on the previous commits making the remote executables auditable
and explicit, document the admin's ability to restrict password-less
sudo access to only the set of commands cephadm actually uses.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
John Mulligan [Thu, 14 Mar 2024 18:02:17 +0000 (14:02 -0400)]
mgr/cephadm: add a simple unit test for RemoteCommand class
Converting a remote command to something that other libs uses requires
converting the enum to a string. Python behavior in the area varies
across versions so add a unit test that verifies the conversion
behaves as intended.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
John Mulligan [Fri, 8 Mar 2024 18:19:39 +0000 (13:19 -0500)]
mgr/cephadm: add test to ensure the list of remote commands is known
Add a test file to help ensure the audit of remote commands is kept up
to date.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
John Mulligan [Wed, 14 Feb 2024 16:35:57 +0000 (11:35 -0500)]
mgr/cephadm: make remote command execution auditable
Update ssh.py and other code using it to only allow commands wrapped
in particular python types as executables on the remote hosts.
By using a specific type for remote executables we make the code more
auditable, avoiding the possibility of executing arbitrary strings
as commands with sudo. This is all enforced by mypy's type checking.
The result is a list of commands that the cephadm mgr module may
execute on a remote host using sudo:
```
$ git ls-files -z | xargs -0 grep 'RemoteExecutable(' -d skip -h | grep
-v '(str)' | sed -e 's/.*RemoteExecutable(//' -e 's/)//' -e 's/,$//'
'which'
'/usr/bin/cephadm'
python
'chmod'
'ls'
'sysctl'
'chown'
'mkdir'
'mv'
'touch'
'rm'
'true'
```
Note that *python* is special as it is based on the output of which and
may vary from OS to OS. The quoted items are used exactly as named.
Only the binary at `/usr/bin/cephadm` _or_ the dynamically discovered
python3 binary will be used. This depends on a configuration option for
the cephadm module.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
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>
Anthony D'Atri [Sat, 16 Mar 2024 00:27:16 +0000 (20:27 -0400)]
Merge pull request #56182 from zdover23/wip-doc-2024-03-14-glossary-librados
doc/glossary: add "librados" entry