]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Radosław Zarzyński [Tue, 26 Apr 2022 13:50:32 +0000 (15:50 +0200)]
crimson/os: add junction between OSD's ops and Seastore's OrderingHandle.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Fri, 22 Apr 2022 14:50:47 +0000 (16:50 +0200)]
crimson/osd: migrate AggregateBlocker-related ops to new tracking infra
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Fri, 22 Apr 2022 14:48:54 +0000 (16:48 +0200)]
crimson/osd: bring AggregateBlockingEvent.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Wed, 20 Apr 2022 21:55:30 +0000 (23:55 +0200)]
crimson/osd: migrate PeeringEvent to new tracking infra, part 2
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Wed, 20 Apr 2022 21:53:52 +0000 (23:53 +0200)]
crimson/osd: add BlockingEvent-aware variant of OSD::get_or_create_pg
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Tue, 19 Apr 2022 15:32:40 +0000 (17:32 +0200)]
crimson/osd: migrate InternalClientRequest to new tracking infra.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Tue, 19 Apr 2022 12:04:45 +0000 (14:04 +0200)]
crimson/osd: migrate RecoverySubRequest to new tracking infra.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Fri, 15 Apr 2022 18:16:09 +0000 (20:16 +0200)]
crimson/osd: migrate RepRequest to new tracking infra
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Fri, 15 Apr 2022 16:10:20 +0000 (18:10 +0200)]
crimson/osd: migrate PGAdvanceMap to new tracking infra.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Fri, 15 Apr 2022 14:48:10 +0000 (16:48 +0200)]
crimson/osd: reduce unnecessary indentation level in PGAdvanceMap::start()
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Thu, 14 Apr 2022 11:23:12 +0000 (13:23 +0200)]
crimson/osd: migrate PeeringEvent to new tracking infra.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Thu, 14 Apr 2022 11:19:36 +0000 (13:19 +0200)]
crimson/osd: migrate BackgroundRecovery to new tracking infra.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Thu, 14 Apr 2022 11:18:35 +0000 (13:18 +0200)]
crimson/osd: migrate BackfillRecoveryPipeline to new tracking infra.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Wed, 13 Apr 2022 15:08:33 +0000 (17:08 +0200)]
crimson/osd: CompoundPeeringRequest tracks its start and completion too
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Wed, 13 Apr 2022 11:24:03 +0000 (13:24 +0200)]
crimson/osd: migrate CompoundPeeringRequest into new tracking infra
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Wed, 13 Apr 2022 10:01:18 +0000 (12:01 +0200)]
crimson/osd: move SubOpBlocker from .cc to header
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Wed, 13 Apr 2022 07:26:29 +0000 (09:26 +0200)]
crimson/osd: PGActivationBlocker does support new tracking infra
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Wed, 13 Apr 2022 07:22:22 +0000 (09:22 +0200)]
crimson/osd: dissect PG::WaitForActiveBlocker into PGActivationBlocker
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Wed, 13 Apr 2022 07:19:33 +0000 (09:19 +0200)]
crimson/osd: PGMap blocker does support new tracking infra
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Wed, 13 Apr 2022 07:17:46 +0000 (09:17 +0200)]
crimson/osd: make PhaseOperationT able to deal with interruptors
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Wed, 13 Apr 2022 07:10:24 +0000 (09:10 +0200)]
crimson/osd: pg_map.h doesn't pull pg.h anymore
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Tue, 12 Apr 2022 08:37:16 +0000 (10:37 +0200)]
crimson/osd: convert entire ClientRequest to the new infra
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Mon, 11 Apr 2022 14:50:31 +0000 (16:50 +0200)]
crimson/osd: slightly optimize OperationRegistryT::do_register()
There is no need to call the virtual op::get_type() twice.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Mon, 11 Apr 2022 14:49:22 +0000 (16:49 +0200)]
crimson/osd: fix an assertion failure in Formatter when dumping ops
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Mon, 11 Apr 2022 14:47:54 +0000 (16:47 +0200)]
crimson/osd: implement dump_ops_in_flight
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Mon, 11 Apr 2022 14:46:07 +0000 (16:46 +0200)]
crimson/osd: track start and completion of ClientRequest
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Wed, 6 Apr 2022 13:50:09 +0000 (15:50 +0200)]
crimson/osd: bring boilerplate for LTTng-based external tracking backend
At the moment it's mostly for verification & demonstration purposes.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Wed, 6 Apr 2022 13:41:59 +0000 (15:41 +0200)]
crimson/osd: drop forward declaration of OSDMap osd.h
Having it doesn't make sense as we already include the header.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Wed, 6 Apr 2022 11:32:43 +0000 (13:32 +0200)]
crimson/osd: add registry of external handlers of tracking events
This commit intentionally fails the build. It does that to verify
the static assertion on per-op-type lookup of event registry.
The concrete assertion is the one about `ClientRequest` as we
already moved two of its blocker into the new op tracking infra.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Tue, 5 Apr 2022 22:42:38 +0000 (00:42 +0200)]
crimson/osd: switch one OSDMapGate of ClientRequest to new blocking infra
This time the demo of `BlockerT::BlockingEvent::TriggerI` which
is supposed to handle situations where:
1) `BlockerT` is separated from `TrackableOperationT` by many
intermediaries while
2) we don't want to templatize them all.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Tue, 5 Apr 2022 22:03:29 +0000 (00:03 +0200)]
crimson/osd: switch a stage of ClientRequest to new blocking infra
This is a debut of the new blocking & tracking infrastructure
using the type-aware `BlockerT::BlockingEvent::Trigger<T>`.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Tue, 5 Apr 2022 21:59:47 +0000 (23:59 +0200)]
crimson/osd: introduce PhasedOperationT to deduplicate PipelineHandles
This new class in the hierarchy will be handy when it will come to
introduce helpers for deailing with entering a pipeline stage.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Tue, 5 Apr 2022 21:10:17 +0000 (23:10 +0200)]
crimson/osd: switch all OSD operations to TrackableOperationT
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Sun, 3 Apr 2022 11:31:08 +0000 (13:31 +0200)]
crimson/osd: get rid of unnecessary private in ClientRequest
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Sun, 3 Apr 2022 11:23:53 +0000 (13:23 +0200)]
crimson/osd: switch all ClientRequest-related pipeline stages to the new infra
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Sat, 2 Apr 2022 12:42:35 +0000 (14:42 +0200)]
crimson/osd: pipeline stage classes can be bases for CRTP now
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Sat, 2 Apr 2022 12:14:21 +0000 (14:14 +0200)]
crimson/osd: pipeline stage classes derive from BlockerT now
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Sat, 2 Apr 2022 09:22:19 +0000 (11:22 +0200)]
crimson/osd: document OperationThrottler's behavior towards op's blocker list.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Sat, 2 Apr 2022 09:13:18 +0000 (11:13 +0200)]
crimson/osd: simplify OperationThrottler::with_throttle()
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Fri, 1 Apr 2022 18:55:42 +0000 (20:55 +0200)]
crimson/osd: move with_blocking_future from Operation to OperationT.
Buildability of this commit proves all users of `with_blocking_future()`
have the concrete operation type which is necessary on the the way
to the compile-time defined op's blocker registry.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Fri, 1 Apr 2022 18:54:34 +0000 (20:54 +0200)]
crimson/os/seastore: migrate OrderingHandle away from blocking_future
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Fri, 1 Apr 2022 18:05:11 +0000 (20:05 +0200)]
crimson/osd: OperationThrottler derives from BlockerT instead of Blocker.
One another step closer. See the previous' commit description.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Fri, 1 Apr 2022 18:03:15 +0000 (20:03 +0200)]
crimson/osd: make OperationThrottler aware about exact type of operation
This is a step towards making op's blocker registry static and
compile-time checked.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Fri, 1 Apr 2022 17:46:15 +0000 (19:46 +0200)]
crimson/osd: make the OperationThrottler::with_throttle private
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Fri, 1 Apr 2022 16:42:08 +0000 (18:42 +0200)]
crimson/osd: add types PG and OSD-hosted OSDMapGate instances.
`ClientRequest` is going to hold all tracking events as a `std::tuple`
instance and access them through the type-related variant of `std::get`.
As two instances of `OSDMapGate` are used there, a need to differentiate
at the type level arises.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Fri, 1 Apr 2022 16:40:42 +0000 (18:40 +0200)]
crimson/common: add basic infrastructure for op tracking
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Fri, 1 Apr 2022 15:02:08 +0000 (17:02 +0200)]
crimson/common: abstract from staticness of BlockerT::type_name.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Venky Shankar [Wed, 4 May 2022 09:33:30 +0000 (15:03 +0530)]
Merge pull request #37655 from rishabh-d-dave/vr-run-multiple-cmds
vstart_runner: accepts multiple commands as str too
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Wed, 4 May 2022 09:30:15 +0000 (15:00 +0530)]
Merge pull request #45473 from neesingh-rh/fix_50470
cephfs-top: Multiple filesystem support
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Wed, 4 May 2022 09:29:10 +0000 (14:59 +0530)]
Merge pull request #45776 from neesingh-rh/fix_48863
cephfs-shell: chmod should be allowed for changing all mode bits.
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Wed, 4 May 2022 09:27:40 +0000 (14:57 +0530)]
Merge pull request #45974 from rishabh-d-dave/shell-unrecognized-cmds
cephfs-shell: exit with non-zero on getting unrecognized cmd
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Samuel Just [Wed, 4 May 2022 03:57:51 +0000 (20:57 -0700)]
Merge pull request #46135 from athanatos/sjust/wip-vstart-asok
vstart.sh: default CEPH_ASOK_DIR to out/
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Samuel Just [Wed, 4 May 2022 03:57:16 +0000 (20:57 -0700)]
Merge pull request #46137 from athanatos/sjust/wip-crimson-typos
crimson: misc typos
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Samuel Just [Wed, 4 May 2022 03:56:14 +0000 (20:56 -0700)]
Merge pull request #46134 from athanatos/sjust/wip-55326
crimson/common/format: remove ceph::coarse_real_clock format speciali…
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Samuel Just [Wed, 13 Apr 2022 23:59:45 +0000 (23:59 +0000)]
crimson/common/format: remove ceph::coarse_real_clock format specialization
...
..., value=..., loc=...) at /usr/include/fmt/ostream.h:114
...
Introduced:
e9784125241064709d25e9c64d16e1c72b4d7bed
Fixes: https://tracker.ceph.com/issues/55326
Signed-off-by: Samuel Just <sjust@redhat.com>
Vikhyat Umrao [Tue, 3 May 2022 17:59:35 +0000 (10:59 -0700)]
Merge pull request #46128 from vumrao/wip-vumrao-quincy-release-note-update
docs/releases: update quincy release notes tracker 55383 known issue
Vikhyat Umrao [Tue, 3 May 2022 16:38:21 +0000 (09:38 -0700)]
docs/releases: update quincy release notes tracker 55383 known issue
Signed-off-by: Vikhyat Umrao <vikhyat@redhat.com>
Samuel Just [Tue, 3 May 2022 15:02:34 +0000 (08:02 -0700)]
Merge pull request #46079 from ronen-fr/wip-rf-log-mock
common: make LogChannel mockable
Reviewed-by: Samuel Just <sjust@redhat.com>
Daniel Gryniewicz [Tue, 3 May 2022 12:02:51 +0000 (08:02 -0400)]
Merge pull request #46115 from dang/wip-dang-split-init
RGW - Split RGWRados initialization
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Soumya Koduri <skaduri@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
Anthony D'Atri [Tue, 3 May 2022 05:54:06 +0000 (22:54 -0700)]
Merge pull request #46066 from bluikko/patch-4
doc/cephadm/services: Add missing ceph command to orch apply commands
zdover23 [Mon, 2 May 2022 22:39:12 +0000 (08:39 +1000)]
Merge pull request #46109 from bluikko/pgcalc_links
doc/rados: fix pgcalc links
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Samuel Just [Thu, 21 Apr 2022 02:23:44 +0000 (19:23 -0700)]
vstart.sh: default CEPH_ASOK_DIR to out/
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 14 Apr 2022 22:00:02 +0000 (15:00 -0700)]
crimson/common/interruptible_future: fix typo
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Mon, 25 Apr 2022 22:26:30 +0000 (15:26 -0700)]
crimson/common/operation: fix comment formatting
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Wed, 20 Apr 2022 23:18:09 +0000 (16:18 -0700)]
crimson/admin/osd_admin: fix comment spacing
Signed-off-by: Samuel Just <sjust@redhat.com>
Ali Maredia [Mon, 2 May 2022 20:57:55 +0000 (16:57 -0400)]
Merge pull request #44494 from mdw-at-linuxbox/wip-master-mankey
rgw/crypt: sse-s3 changes
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Adam King [Mon, 2 May 2022 17:40:36 +0000 (13:40 -0400)]
Merge pull request #45843 from ajarr/wip-mgr-nfs-output-message
mgr/nfs: clarify in the output message
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Yuri Weinstein [Mon, 2 May 2022 17:14:33 +0000 (10:14 -0700)]
Merge pull request #46095 from aclamk/wip-aclamk-unbounded-wholespace-iterator
kv/RocksDBStore: Remove ability to bound WholeSpaceIterator
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Cory Snyder <csnyder@iland.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Daniel Gryniewicz [Mon, 2 May 2022 14:15:40 +0000 (10:15 -0400)]
RGW - Split RGWRados initialization
The inter-connectedness of RadosStore and RGWRados resulted in a
segfault during RGWRados::init_complete due to the rados pointer not
being set in RadosStore yet.
Split the calls to RGWRados::initialize and RGWRados::init_complete, so
that we can set up RadosStore between them, allowing the services
created in RGWRados::init_complete to access the RadosStore.
Fixes: https://tracker.ceph.com/issues/55512
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Rishabh Dave [Wed, 29 Sep 2021 09:40:12 +0000 (15:10 +0530)]
qa/vstart_runner: add a helper method to run commands
It's more convenient to not to pass stdout, stdin, and stderr every
single time.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Sat, 25 Sep 2021 10:33:25 +0000 (16:03 +0530)]
qa/vstart_runner: don't use os.kill for passing SIGKILL
vstart_runner.py is written assuming that it can run commands with
superuser privileges whenever possible and vstart_runner.py is meant to
be executed without sudo.
So, it's better kill a process using "sudo kill -9 <PID>", instead of
using os.kill() because os.kill() can't kill process launched with
superuser privileges.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Mon, 25 Apr 2022 07:48:47 +0000 (13:18 +0530)]
qa/vstart_runner.py: add a note about omitting sudo
About the commit date: this commit got dropped from the patch series
during some PR branch update but is added back now.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Sat, 25 Sep 2021 09:29:27 +0000 (14:59 +0530)]
qa/vstart_runner: get rid of "exec sudo" from "ceph -w" cmd args
Passing "exec sudo" to "ceph -w" caused "Ceph API test" CI job to fail.
Error was not related to this tracker issue but the code added for it
is reversed now in this commit. The tracker issue -
https://tracker.ceph.com/issues/49644.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Sat, 25 Sep 2021 05:47:04 +0000 (11:17 +0530)]
qa/vstart_runner: keep cmd args as passed by user as well
We convert all cmd args to str and pass bash functions along to override
certain arguments in those command arguments. Let's save cmd args
without those bash functions since they can be useful later (for
example, printing cmd args in logs, which is the case in this patch.)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Mon, 2 Aug 2021 17:54:52 +0000 (23:24 +0530)]
qa/vstart_runner: copy few more note points from dev guide
The intention behind copying these note points is to document the
behaviour of vstart_runner.py inside vstart_runner.py as well so that
developer don't miss it out while working on it.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Fri, 6 Aug 2021 08:14:28 +0000 (13:44 +0530)]
qa/vstart_runner: override adjust-ulimits, ceph-coverage & sudo
Overridding commands is much better than deleting these commands from
command argument string using Python since, unlike deleting, overridding
doesn't require parsing. A note has been added for this to
vstart_runner.py's module docstring and to Ceph Developer's Guide
document.
Since functions don't work with sh shell, to make overriding work
vstart_runner.py will use bash shell here onwards.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Tue, 13 Oct 2020 07:12:56 +0000 (12:42 +0530)]
qa/vstart_runner: accept multiple commands as str
Convert all command arguments to str from list, update checks and
adjustments performed on command arguments accordingly and update
documentation to include warnings about some critical parts of
vstart_runner.py and update tasks.cephfs.mount.MountCephFS.run_shell().
Fixes: https://tracker.ceph.com/issues/47849
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Yuval Lifshitz [Mon, 2 May 2022 14:01:52 +0000 (17:01 +0300)]
Merge pull request #45842 from yuvalif/wip-yuval-const-notifications
rgw/notifications: make the interfaces const when possible
Ronen Friedman [Mon, 2 May 2022 13:16:04 +0000 (16:16 +0300)]
Merge pull request #46100 from ronen-fr/wip-rf-80cls-v1
osd/scrub: reformat scrub files to 80 cols
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
Venky Shankar [Mon, 2 May 2022 09:35:27 +0000 (15:05 +0530)]
Merge pull request #45889 from lxbsz/wip-mds-clienup
mds: remove duplicated code
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 2 May 2022 09:35:02 +0000 (15:05 +0530)]
Merge pull request #45983 from lxbsz/client_warning
client: fix compile warning
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Ville Ojamo [Mon, 2 May 2022 09:01:51 +0000 (16:01 +0700)]
doc/radosgw: fix pgcalc link
The pgcalc tool has moved to the "old" ceph site so update
the link to avoid a 404.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
Ville Ojamo [Mon, 2 May 2022 08:59:26 +0000 (15:59 +0700)]
doc/rados/operations: fix pgcalc link
The pgcalc tool has moved to the "old" ceph site so update
the link to avoid a 404.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
Kefu Chai [Mon, 2 May 2022 08:33:58 +0000 (16:33 +0800)]
Merge pull request #46051 from Matan-B/wip-matanb-ipv6-mount
mount/conf: Fix IPv6 parsing
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Anthony D'Atri [Mon, 2 May 2022 07:11:14 +0000 (00:11 -0700)]
Merge pull request #46102 from bluikko/ioctx_get_stats_docs
doc/rados/api: fix invalid RST syntax and don't sudo for vim
Venky Shankar [Mon, 2 May 2022 06:37:07 +0000 (12:07 +0530)]
Merge pull request #44305 from kotreshhr/vstart-fixes
qa: Fix a few tracebacks in vstart_runner
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Ville Ojamo [Mon, 2 May 2022 03:15:17 +0000 (10:15 +0700)]
pybind/rados: fix typo in get_stats documentation
Ioctx.get_stats() had a typo in return value documentation
block so add the "c" in "objects".
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
Ville Ojamo [Mon, 2 May 2022 03:14:05 +0000 (10:14 +0700)]
doc/rados/api: fix invalid RST syntax and don't sudo for vim
Fix invalid syntax where "linenos:" was printed in the
final rendered documentation instead of being used as
formatting syntax.
There is no need to use sudo for editing a source file
so run vim without sudo.
Change the whole block to use bash prompt since it is
a command.
Also modify the preceding text to hopefully not bold it.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
Samuel Just [Sun, 1 May 2022 20:02:47 +0000 (13:02 -0700)]
Merge pull request #45794 from Matan-B/wip-matanb-c-submit_txn
crimson/osd: submit_transaction() refactoring
Reviewed-by: Samuel Just <sjust@redhat.com>
Matan Breizman [Mon, 4 Apr 2022 12:24:54 +0000 (12:24 +0000)]
crimson/osd: submit_transaction() refactoring
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Yuval Lifshitz [Sun, 1 May 2022 10:10:39 +0000 (13:10 +0300)]
Merge pull request #45810 from zenomri/wip-rgw-lua-bucketname
rgw: support bucket name in lua pre request execution
Matan Breizman [Wed, 27 Apr 2022 10:06:13 +0000 (10:06 +0000)]
mount/conf: Fix IPv6 parsing
Fixes: https://tracker.ceph.com/issues/47300
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Omri Zeneva [Sun, 27 Mar 2022 17:10:33 +0000 (20:10 +0300)]
rgw: support bucket name in pre request context
because bucket object is created only after authentication,
if bucket object is null upon accessing Request.Bucket.Name, we return req_state->init_state.url_bucket
Signed-off-by: Omri Zeneva <ozeneva@redhat.com>
bluikko [Thu, 28 Apr 2022 06:42:31 +0000 (13:42 +0700)]
doc/cephadm/services: Add missing ceph command to orch apply
In cephadm service management documentation several of the
ceph orch commands are missing the ceph part, mostly in
ceph orch apply commands but not all of them.
Add ceph in the front of the command to make them consistent
with all other commands.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
J. Eric Ivancich [Sat, 30 Apr 2022 23:29:19 +0000 (19:29 -0400)]
Merge pull request #46030 from ivancich/wip-fix-bucket-index-new
rgw: remove entries from bucket index shards directly in limited cases
Reviewed-by: Casey Bodley <cbodley@redhat.com>
J. Eric Ivancich [Sat, 30 Apr 2022 21:32:52 +0000 (17:32 -0400)]
Merge pull request #45990 from cbodley/wip-55339
rgw: RGWPutLC does not require Content-MD5
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Anthony D'Atri [Sat, 30 Apr 2022 18:01:28 +0000 (11:01 -0700)]
Merge pull request #46098 from anthonyeleven/anthonyeleven/submitting_patches_improvement
SubmittingPatches: Improve SubmittingPatches example
J. Eric Ivancich [Sat, 30 Apr 2022 15:27:29 +0000 (11:27 -0400)]
Merge pull request #45873 from BenoitKnecht/rgw-opa-segv
rgw: Avoid segfault when OPA authz is enabled
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
J. Eric Ivancich [Sat, 30 Apr 2022 15:26:15 +0000 (11:26 -0400)]
Merge pull request #45882 from ivancich/wip-index-completion-mgr-crash
rgw: address crash and race in RGWIndexCompletionManager
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Ronen Friedman [Thu, 28 Apr 2022 07:35:58 +0000 (07:35 +0000)]
common: make LogChannel mockable
Adding LoggerSinkSet, an abstract API that enables unit-testing
of OSD components that emit cluster-log messages, and trapping the
logs.
First usage example is in the Scrubber backend unit-tests.
The log "implementation" there (note the error counter that
can be used to determine tests success):
class MockLog : public LoggerSinkSet {
public:
void warn(std::stringstream& s) override
{
std::cout << "\n<<warn>> " << s.str() << std::endl;
}
void error(std::stringstream& s) override
{
err_count++;
std::cout << "\n<<error>> " << s.str() << std::endl;
}
...
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>