]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 months agodoc/dev/crimson/pipeline.rst: simplify and update to reflect new stages 61005/head
Samuel Just [Fri, 13 Dec 2024 01:37:28 +0000 (17:37 -0800)]
doc/dev/crimson/pipeline.rst: simplify and update to reflect new stages

This commit updates pipeline.rst to include some basic information about
how the pipeline stages now work.  I've removed the explicit listing of
the different stages as I'd rather readers refer to the actual
implementation for those details to avoid them getting out of date.

I also removed the comparison to classic as the approach has now diverged
quite a bit and I feel that the ordering part is more important to focus
on than the points at which processing might block.

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson: remove now unused pipeline stages
Samuel Just [Wed, 27 Nov 2024 03:11:38 +0000 (19:11 -0800)]
crimson: remove now unused pipeline stages

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson: introduce and use repop stage
Samuel Just [Wed, 27 Nov 2024 02:22:16 +0000 (18:22 -0800)]
crimson: introduce and use repop stage

Repops previously used PGPipeline::await_map.  This is actually
important as we need them to be processed in order.  However, using
await_map was confusing and using a single exclusive stage is decidedly
unoptimal as we could allow pipelineing on write commit.  For now, move
them over to their own pipeline stage so we can remove the PGPipeline
struct entirely.  Later, we'll improve replica write pipelining for
better replica-side write concurrency.

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/osd/object_context_loader: print obc (with refcount) upon release
Samuel Just [Wed, 20 Nov 2024 02:55:28 +0000 (18:55 -0800)]
crimson/osd/object_context_loader: print obc (with refcount) upon release

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/.../pg: more debugging
Samuel Just [Wed, 20 Nov 2024 02:38:07 +0000 (02:38 +0000)]
crimson/.../pg: more debugging

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/.../ops_executer: split execute_clone into prepare_cloning_ctx,complete_cloni...
Samuel Just [Sat, 16 Nov 2024 02:50:33 +0000 (02:50 +0000)]
crimson/.../ops_executer: split execute_clone into prepare_cloning_ctx,complete_cloning_ctx

We need to defer versioning the clone oi and log entry until
commit time while ensuring that the clone operation occurs
first in the transaction.

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/.../ops_executer: split osd_op_params intitialization
Samuel Just [Thu, 14 Nov 2024 22:07:53 +0000 (14:07 -0800)]
crimson/.../ops_executer: split osd_op_params intitialization

We want to emplace and initialize osd_op_params upon first write,
but we don't want to fill at_version, pg_trim_to, pg_committed_to,
or last_complete until prepare_transaction because we don't want to
require a particular commit order any earlier than we have to.

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/.../ops_executer: rework prepare_transaction/mutate_object
Samuel Just [Fri, 15 Nov 2024 02:08:10 +0000 (18:08 -0800)]
crimson/.../ops_executer: rework prepare_transaction/mutate_object

That the log entry's verison matches the object_info on the actual
object is a pretty core invariant.  This commit moves creating the
log entry for head and populating the metadata into
OpsExecuter::prepare_head_update.

As a side effect, flush_clone_metadata and CloningCtx::apply_to
were removed and split between prepare_head_update (portions
related to the head's ssc) and flush_changes_and_submit.

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/.../ops_executer: just call submit_transaction in flush_changes_n_do_ops_effects
Samuel Just [Fri, 15 Nov 2024 01:32:03 +0000 (17:32 -0800)]
crimson/.../ops_executer: just call submit_transaction in flush_changes_n_do_ops_effects

Templating MutFunc was pretty confusing, and flush_changes_n_do_ops_effects
is already closely coupled to PG::submit_transaction.

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/.../ops_executer: rename flush_changes_n_do_effects to flush_changes_and_submit
Samuel Just [Fri, 15 Nov 2024 01:31:34 +0000 (01:31 +0000)]
crimson/.../ops_executer: rename flush_changes_n_do_effects to flush_changes_and_submit

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/.../pg_backend: split clone into clone_for_write, set_metadata
Samuel Just [Fri, 15 Nov 2024 00:53:50 +0000 (16:53 -0800)]
crimson/.../pg_backend: split clone into clone_for_write, set_metadata

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson: convert client_request, internal_client_request, snaptrim_event to use obc...
Samuel Just [Thu, 24 Oct 2024 23:39:46 +0000 (16:39 -0700)]
crimson: convert client_request, internal_client_request, snaptrim_event to use obc stages

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/.../osd_operation*: add wait_pg_ready and get_obc
Samuel Just [Wed, 27 Nov 2024 01:49:08 +0000 (01:49 +0000)]
crimson/.../osd_operation*: add wait_pg_ready and get_obc

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson: add CommonOBCPipeline
Samuel Just [Thu, 24 Oct 2024 23:35:31 +0000 (16:35 -0700)]
crimson: add CommonOBCPipeline

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson: expose CommonOBCPipeline via ObjectContextLoader::Orderer
Samuel Just [Thu, 24 Oct 2024 23:33:56 +0000 (16:33 -0700)]
crimson: expose CommonOBCPipeline via ObjectContextLoader::Orderer

- adds ObjectContext::obc_pipeline
- exposes ObjectContext::obc_pipeline via ObjectContextLoader::Orderer
- allows obcs to be in the registry without being loaded
- adds ObjectContext::loading bool to signal that loading has begun

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson: inline InternalClientRequest::do_process
Samuel Just [Thu, 17 Oct 2024 00:59:11 +0000 (17:59 -0700)]
crimson: inline InternalClientRequest::do_process

It's pretty short and this way all of the stage transitions are
in one place.

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson: manage log submission atomicity independently of pipeline stages
Samuel Just [Thu, 24 Oct 2024 23:39:18 +0000 (16:39 -0700)]
crimson: manage log submission atomicity independently of pipeline stages

It's important to construct and submit log entries atomically because
the submission order needs to match the entry numbering.  Previously,
this occurred under the pg-wide exclusive process stage.  Shortly, each
obc will have its own process stage, so we need to ensure that atomicity
seperately from the pipeline stages.  Introduce a simple mutex.

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/.../pg: update debugging in PG::submit_error_log
Samuel Just [Mon, 25 Nov 2024 19:41:41 +0000 (19:41 +0000)]
crimson/.../pg: update debugging in PG::submit_error_log

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/.../pg: convert submit_error_log to coroutine
Samuel Just [Mon, 25 Nov 2024 19:37:32 +0000 (19:37 +0000)]
crimson/.../pg: convert submit_error_log to coroutine

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson: inline SnapTrimObjSubEvent::process_and_submit
Samuel Just [Wed, 16 Oct 2024 18:36:01 +0000 (11:36 -0700)]
crimson: inline SnapTrimObjSubEvent::process_and_submit

start() isn't particularly long and splitting it here isn't
all that helpful.

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/.../client_request: move log line to complete_request callback
Samuel Just [Thu, 31 Oct 2024 22:43:25 +0000 (15:43 -0700)]
crimson/.../client_request: move log line to complete_request callback

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/.../internal_client_request: extend start() until stages have exited
Samuel Just [Thu, 14 Nov 2024 22:57:08 +0000 (14:57 -0800)]
crimson/.../internal_client_request: extend start() until stages have exited

The operation will hold a reference to the obc containing most of the
pipeline stages.

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/.../client_request: extend instance_handle lifetime
Samuel Just [Thu, 14 Nov 2024 22:53:22 +0000 (14:53 -0800)]
crimson/.../client_request: extend instance_handle lifetime

We're going to need instance_handle to outlive exiting the
pipeline stage as it will later hold a reference to an
obc holding that stage.

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/.../ops_executer: emplace osd_op_params in fill_op_params
Samuel Just [Fri, 8 Nov 2024 00:50:40 +0000 (00:50 +0000)]
crimson/.../ops_executer: emplace osd_op_params in fill_op_params

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/.../ops_executer: no reason to return cloning_ctx
Samuel Just [Fri, 8 Nov 2024 00:25:47 +0000 (00:25 +0000)]
crimson/.../ops_executer: no reason to return cloning_ctx

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/osd/pg: fix tabbing in replica_clear_repop_obc
Samuel Just [Wed, 20 Nov 2024 02:30:35 +0000 (18:30 -0800)]
crimson/osd/pg: fix tabbing in replica_clear_repop_obc

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson: clear obcs whether referenced or not upon replica write
Samuel Just [Fri, 22 Nov 2024 02:34:12 +0000 (18:34 -0800)]
crimson: clear obcs whether referenced or not upon replica write

It's always possible for there to be an in-progress replica-read
when the replica processes a repop.  It's rare in our tests because
the read and write submitted by the test client would need to
overlap in time.  This makes the results non-deterministic and
thus a somewhat less sensitive test.  Note, the space of valid
results is well defined -- it would have to be state before or
after any of the outstanding writes.  Any other result or a torn
read would be wrong.  It's probably worth updating RadosModel
to add such a pattern, but we can do that later.

This branch makes this race much more likely and even observable
with the existing RadosModel implementation as it extends the
obc lifetime past the point of returning the result to the client
in order to ensure that it outlives the handle.

Fixes: https://tracker.ceph.com/issues/69013
Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocrimson/osd/object_context: add formatter instance for ObjectContext
Samuel Just [Wed, 20 Nov 2024 02:54:58 +0000 (18:54 -0800)]
crimson/osd/object_context: add formatter instance for ObjectContext

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agocommon/intrusive_lru: add method to access use count
Samuel Just [Wed, 20 Nov 2024 02:54:37 +0000 (18:54 -0800)]
common/intrusive_lru: add method to access use count

Signed-off-by: Samuel Just <sjust@redhat.com>
7 months agoMerge pull request #60927 from ljflores/wip-tracker-69107
Kamoltat (Junior) Sirivadhna [Mon, 9 Dec 2024 19:32:07 +0000 (14:32 -0500)]
Merge pull request #60927 from ljflores/wip-tracker-69107

qa/workunits/mon: ensure election strategy is "connectivity" for stretch mode
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
7 months agoMerge pull request #60998 from MaxKellermann/test_time__using_mono_clock
Casey Bodley [Mon, 9 Dec 2024 18:13:37 +0000 (13:13 -0500)]
Merge pull request #60998 from MaxKellermann/test_time__using_mono_clock

test/common/test_time: add missing `using ceph::mono_clock`

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 months agotest/common/test_time: add missing `using ceph::mono_clock` 60998/head
Max Kellermann [Tue, 5 Nov 2024 21:14:57 +0000 (22:14 +0100)]
test/common/test_time: add missing `using ceph::mono_clock`

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
7 months agoMerge pull request #60812 from pecastro/improve-a-few-tests
Casey Bodley [Fri, 6 Dec 2024 18:23:47 +0000 (13:23 -0500)]
Merge pull request #60812 from pecastro/improve-a-few-tests

tests: Improve unittest_dbstore_tests and unittest_deferred to be suitable for reruns.

Reviewed-by: Soumya Koduri <skoduri@redhat.com>
7 months agoMerge pull request #60829 from cbodley/wip-69042
Casey Bodley [Fri, 6 Dec 2024 16:26:12 +0000 (11:26 -0500)]
Merge pull request #60829 from cbodley/wip-69042

radosgw-admin: bucket link/unlink support accounts

Reviewed-by: Adam Emerson <aemerson@redhat.com>
7 months agoradosgw-admin: bucket link/unlink support accounts 60829/head
Casey Bodley [Mon, 25 Nov 2024 17:24:07 +0000 (12:24 -0500)]
radosgw-admin: bucket link/unlink support accounts

buckets are owned by accounts instead of their individual users

add support for --account-id to 'bucket link' and 'bucket unlink'

reject 'bucket link' when the requested --uid belongs to an account

Fixes: https://tracker.ceph.com/issues/69042
Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 months agoMerge pull request #60129 from cbodley/wip-68396
Casey Bodley [Fri, 6 Dec 2024 14:08:56 +0000 (09:08 -0500)]
Merge pull request #60129 from cbodley/wip-68396

test/rgw/multisite: add meta checkpoint after bucket creation

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
7 months agoMerge pull request #60304 from cbodley/wip-async-completion-recycling
Casey Bodley [Fri, 6 Dec 2024 14:08:30 +0000 (09:08 -0500)]
Merge pull request #60304 from cbodley/wip-async-completion-recycling

common/async: Completion uses asio::recycling_allocator by default

Reviewed-by: Adam Emerson <aemerson@redhat.com>
7 months agoMerge pull request #60415 from cbodley/wip-68645
Casey Bodley [Fri, 6 Dec 2024 14:08:09 +0000 (09:08 -0500)]
Merge pull request #60415 from cbodley/wip-68645

radosgw-admin: allow 'sync group pipe modify' with existing user

Reviewed-by: Soumya Koduri <skoduri@redhat.com>
7 months agoMerge pull request #60830 from cbodley/wip-69043
Casey Bodley [Fri, 6 Dec 2024 14:07:44 +0000 (09:07 -0500)]
Merge pull request #60830 from cbodley/wip-69043

radosgw-admin: 'user create' rejects uids matching the account id format

Reviewed-by: Adam Emerson <aemerson@redhat.com>
7 months agoMerge pull request #59383 from joscollin/wip-B67360-counters-set-on-mds-failed
Milind Changire [Fri, 6 Dec 2024 07:13:11 +0000 (12:43 +0530)]
Merge pull request #59383 from joscollin/wip-B67360-counters-set-on-mds-failed

qa: restrict 'perf dump' on active mds only

7 months agoMerge pull request #60929 from dmick/wip-release-docs
Zac Dover [Fri, 6 Dec 2024 04:04:52 +0000 (05:04 +0100)]
Merge pull request #60929 from dmick/wip-release-docs

doc/dev/release-process.rst: New container build/release process

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
7 months agoMerge pull request #60947 from idryomov/wip-67759
Ilya Dryomov [Thu, 5 Dec 2024 20:20:52 +0000 (21:20 +0100)]
Merge pull request #60947 from idryomov/wip-67759

qa/suites/upgrade/*-x: skip TestClsRbd.group_snap_{set,remove}

Reviewed-by: N Balachandran <nibalach@redhat.com>
Reviewed-by: Laura Flores <lflores@ibm.com>
7 months agoMerge pull request #60966 from gbregman/main
Gil Bregman [Thu, 5 Dec 2024 18:44:06 +0000 (20:44 +0200)]
Merge pull request #60966 from gbregman/main

mgr/cephadm/nvmeof: Add encryption key file for nvmeof encryption

7 months agoMerge pull request #60948 from idryomov/wip-68588
Ilya Dryomov [Thu, 5 Dec 2024 13:53:40 +0000 (14:53 +0100)]
Merge pull request #60948 from idryomov/wip-68588

qa/suites/rados/thrash-old-clients: skip TestClsRbd.group_snap_{set,remove}

Reviewed-by: N Balachandran <nibalach@redhat.com>
7 months agomgr/cephadm/nvmeof: Add key encryption support to nvmeof configuration 60966/head
Gil Bregman [Thu, 5 Dec 2024 12:07:45 +0000 (14:07 +0200)]
mgr/cephadm/nvmeof: Add key encryption support to nvmeof configuration

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
7 months agoMerge pull request #60926 from ktdreyer/container-labeler
Dan Mick [Thu, 5 Dec 2024 11:49:07 +0000 (03:49 -0800)]
Merge pull request #60926 from ktdreyer/container-labeler

labeler: add container labelers

7 months agoMerge pull request #60946 from nbalacha/wip-nbalacha-69112
Ilya Dryomov [Thu, 5 Dec 2024 08:22:22 +0000 (09:22 +0100)]
Merge pull request #60946 from nbalacha/wip-nbalacha-69112

cls/rbd: fix mirror_image_map_list object

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
7 months agoMerge pull request #60913 from myoungwon/wip-fix-null-pointer-crimson
Yingxin [Thu, 5 Dec 2024 01:45:03 +0000 (09:45 +0800)]
Merge pull request #60913 from myoungwon/wip-fix-null-pointer-crimson

crimson/osd/ops_executer: prevent access to null pointers caused by gcc bug

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
7 months agotest/objectstore: Make test idempotent 60812/head
Paulo E. Castro [Sat, 16 Nov 2024 12:35:04 +0000 (12:35 +0000)]
test/objectstore: Make test idempotent

Give it a new DB name for each test so we don't get failures on rerun.

Signed-off-by: Paulo E. Castro <pecastro@wormholenet.com>
7 months agorgw: Make test idempotent.
Paulo E. Castro [Sat, 16 Nov 2024 11:32:20 +0000 (11:32 +0000)]
rgw: Make test idempotent.

Give it a new DB name for each test so we don't get failures on rerun.

Signed-off-by: Paulo E. Castro <pecastro@wormholenet.com>
7 months agorgw: Remove unnecessary whitespace.
Paulo E. Castro [Sat, 16 Nov 2024 11:30:42 +0000 (11:30 +0000)]
rgw: Remove unnecessary whitespace.

Signed-off-by: Paulo E. Castro <pecastro@wormholenet.com>
7 months agoMerge pull request #60944 from dalgaaf/dalgaaf-fix-doc-ec
Anthony D'Atri [Wed, 4 Dec 2024 21:49:18 +0000 (22:49 +0100)]
Merge pull request #60944 from dalgaaf/dalgaaf-fix-doc-ec

doc: fix EC overhead table m-numbering

7 months agoMerge pull request #60954 from zdover23/wip-doc-2024-12-04-dev-development-workflow...
Anthony D'Atri [Wed, 4 Dec 2024 21:04:39 +0000 (22:04 +0100)]
Merge pull request #60954 from zdover23/wip-doc-2024-12-04-dev-development-workflow-backporter-manual

doc/dev: update link to backporter manual

7 months agodoc/dev: update link to backporter manual 60954/head
Zac Dover [Wed, 4 Dec 2024 20:33:59 +0000 (21:33 +0100)]
doc/dev: update link to backporter manual

Update the link to the backporter manual, in
doc/dev/development-workflow.rst. Laura Flores requested this change on
04 Dec 2024.

Signed-off-by: Zac Dover <zac.dover@proton.me>
7 months agoMerge pull request #60924 from ktdreyer/containerfile-date-utc
Ken Dreyer [Wed, 4 Dec 2024 19:40:04 +0000 (14:40 -0500)]
Merge pull request #60924 from ktdreyer/containerfile-date-utc

container/build.sh: use UTC dates for tags

7 months agoMerge pull request #60930 from zdover23/wip-doc-2024-12-03-rados-ops-health-checks-3
Zac Dover [Wed, 4 Dec 2024 14:02:49 +0000 (15:02 +0100)]
Merge pull request #60930 from zdover23/wip-doc-2024-12-03-rados-ops-health-checks-3

doc/rados: fix sentences in health-checks (3 of x)

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
7 months agoqa/suites/upgrade/*-x: skip TestClsRbd.group_snap_{set,remove} 60947/head
Ilya Dryomov [Wed, 4 Dec 2024 11:59:07 +0000 (12:59 +0100)]
qa/suites/upgrade/*-x: skip TestClsRbd.group_snap_{set,remove}

These tests assert on the number of keys on the group header object,
which changed with commits ec6224db3e55 ("cls/rbd: save group snapshot
creation order in a new key") and 3662bc7b3dc3 ("cls/rbd: save max
group snap order").

Fixes: https://tracker.ceph.com/issues/67759
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 months agocls/rbd: fix mirror_image_map_list object 60946/head
N Balachandran [Wed, 4 Dec 2024 11:40:13 +0000 (17:10 +0530)]
cls/rbd: fix mirror_image_map_list object

The rbd-mirror image map is stored in the rbd_mirror_leader object.
Fixed mirror_image_map_list() to operate on the correct object.

Fixes: https://tracker.ceph.com/issues/69112
Signed-off-by: N Balachandran <nibalach@redhat.com>
7 months agoqa/suites/rados/thrash-old-clients: skip TestClsRbd.group_snap_{set,remove} 60948/head
Ilya Dryomov [Wed, 4 Dec 2024 11:21:35 +0000 (12:21 +0100)]
qa/suites/rados/thrash-old-clients: skip TestClsRbd.group_snap_{set,remove}

These tests assert on the number of keys on the group header object,
which changed with commits ec6224db3e55 ("cls/rbd: save group snapshot
creation order in a new key") and 3662bc7b3dc3 ("cls/rbd: save max
group snap order").

Fixes: https://tracker.ceph.com/issues/68588
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 months agoqa/suites/rados/thrash-old-clients: switch to cls/test_cls_rbd.sh workunit
Ilya Dryomov [Wed, 4 Dec 2024 11:19:08 +0000 (12:19 +0100)]
qa/suites/rados/thrash-old-clients: switch to cls/test_cls_rbd.sh workunit

For consistency with other upgrade jobs, don't invoke ceph_test_cls_rbd
directly.  While at it, drop a long outdated filter.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 months agoMerge pull request #60514 from rhcs-dashboard/fix-68733-main
afreen23 [Wed, 4 Dec 2024 09:46:03 +0000 (15:16 +0530)]
Merge pull request #60514 from rhcs-dashboard/fix-68733-main

mgr/dashboard: fix total objects/Avg object size in RGW Overview Page

Reviewed-by: Afreen Misbah <afreen@ibm.com>
7 months agodoc/dev/release-process.rst: New container build/release process 60929/head
Dan Mick [Wed, 4 Dec 2024 01:15:41 +0000 (17:15 -0800)]
doc/dev/release-process.rst: New container build/release process

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 months agocrimson/osd/ops_executer: prevent access to null pointers caused by gcc bug pull/60913/head 60913/head
myoungwon oh [Mon, 2 Dec 2024 10:02:08 +0000 (10:02 +0000)]
crimson/osd/ops_executer: prevent access to null pointers caused by gcc bug

This commit assigns the parameter eariler to work around a coroutine related gcc bug
that causes a null pointer access.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
7 months agoMerge pull request #60904 from cyx1231st/wip-seastore-hex-log
Yingxin [Wed, 4 Dec 2024 07:07:56 +0000 (15:07 +0800)]
Merge pull request #60904 from cyx1231st/wip-seastore-hex-log

crimson/os/seastore: convert offset/length in logs to hex format

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
7 months agoMerge pull request #60755 from dmick/wip-release-container
Dan Mick [Wed, 4 Dec 2024 06:32:15 +0000 (22:32 -0800)]
Merge pull request #60755 from dmick/wip-release-container

Modify container/ software to support release containers and the promotion of prerelease containers

7 months agoMerge pull request #60018 from smanjara/rgw-script-multiple-zg
Shilpa Jagannath [Wed, 4 Dec 2024 05:35:05 +0000 (21:35 -0800)]
Merge pull request #60018 from smanjara/rgw-script-multiple-zg

rgw/multisite: test-rgw-multisite.sh can create multiple zonegroups

7 months agoMerge pull request #60919 from zdover23/wip-doc-2024-12-03-rados-ops-health-checks-2
Zac Dover [Wed, 4 Dec 2024 02:16:50 +0000 (03:16 +0100)]
Merge pull request #60919 from zdover23/wip-doc-2024-12-03-rados-ops-health-checks-2

doc/rados: fix sentences in health-checks (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
7 months agodoc/rados: fix sentences in health-checks (3 of x) 60930/head
Zac Dover [Wed, 4 Dec 2024 02:13:05 +0000 (03:13 +0100)]
doc/rados: fix sentences in health-checks (3 of x)

Make sentences agree at the head of each section in
doc/rados/operations/health-checks.rst. The sentences were sometimes in
the imperative mood and sometimes in the declarative mood.

This commit edits the second third of
doc/rados/operations/health-checks.rst.

Note to (I hope soon) future Zac: There are a a couple of places near
the end of this file where the sentences are ungrammatical. Update these
in a separate PR (in isolation, so that the grammar and technical
accuracy of these sentences can be the primary focus of the reviewers).

Zac: cf. 000228

Signed-off-by: Zac Dover <zac.dover@proton.me>
7 months agocontainer/{Containerfile,build.sh}: use a secret to pass secrets 60755/head
Dan Mick [Thu, 21 Nov 2024 03:11:24 +0000 (19:11 -0800)]
container/{Containerfile,build.sh}: use a secret to pass secrets

Use podman's build --secret mechanism to pass credentials for
download.ceph.com

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 months agocontainer/Containerfile: allow failure from curl to stop build
Dan Mick [Thu, 21 Nov 2024 02:23:50 +0000 (18:23 -0800)]
container/Containerfile: allow failure from curl to stop build

curl doesn't actually fail unless -f is used; also, add
some sh -e flags.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 months agocontainer/Containerfile: purge .repo files with secrets before commit
Dan Mick [Thu, 21 Nov 2024 02:18:59 +0000 (18:18 -0800)]
container/Containerfile: purge .repo files with secrets before commit

ceph.repo had creds in it for download.ceph.com/prerelease.
Remove the .repo files we construct, since they're not necessary
once the container is built (no one should be dnf'ing anything
in the container).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 months agocontainer/Containerfile fix boolean IS_RELEASE usage
Dan Mick [Wed, 20 Nov 2024 00:44:17 +0000 (16:44 -0800)]
container/Containerfile fix boolean IS_RELEASE usage

Existing syntax was just wrong.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 months agoqa/workunits/mon: ensure election strategy is "connectivity" for stretch mode 60927/head
Laura Flores [Tue, 3 Dec 2024 22:15:19 +0000 (16:15 -0600)]
qa/workunits/mon: ensure election strategy is "connectivity" for stretch mode

The election strategy is randomly chosen for this type of test. Sometimes,
the test passes if the "connectivity" election strategy happens to be picked.
But if a different strategy, i.e. "classic", is picked, then the test will fail.

We can ensure that the election strategy is "connectivity" by setting it in the
workunit with the ceph CLI command. Although connectivity was specified in
stretch-mode-5-mons-8-osds.yaml, that config ultimately gets overridden by
the "qa/mon_config" yaml.

Fixes: https://tracker.ceph.com/issues/69107
Signed-off-by: Laura Flores <lflores@ibm.com>
7 months agoMerge pull request #59862 from jamiepryde/isa-xor-handle-misaligned-buffers
Yuri Weinstein [Tue, 3 Dec 2024 22:07:53 +0000 (14:07 -0800)]
Merge pull request #59862 from jamiepryde/isa-xor-handle-misaligned-buffers

erasure-code/isa: Handle case where data and coding buffers are not 3…

Reviewed-by: Jose J Palacios-Perez <perezjos@uk.ibm.com>
7 months agoMerge pull request #58473 from YiteGu/add-mon-scrub-lat
Yuri Weinstein [Tue, 3 Dec 2024 22:05:05 +0000 (14:05 -0800)]
Merge pull request #58473 from YiteGu/add-mon-scrub-lat

mon/scrub: add mon scrub latency

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 months agoMerge pull request #60131 from Shreyasapale/wip-fix-shreya-68009
Laura Flores [Tue, 3 Dec 2024 21:44:08 +0000 (15:44 -0600)]
Merge pull request #60131 from Shreyasapale/wip-fix-shreya-68009

osd/scrubber: Clean up unused function add_double

7 months agocontainer/make-manifest-list.py: use LOCALMANIFEST throughout
Dan Mick [Wed, 20 Nov 2024 00:40:05 +0000 (16:40 -0800)]
container/make-manifest-list.py: use LOCALMANIFEST throughout

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 months agocontainers/make-manifest.py: Add --promote
Dan Mick [Sat, 16 Nov 2024 00:21:26 +0000 (16:21 -0800)]
containers/make-manifest.py: Add --promote

The promote function finds the latest image on the prerelease repo,
finds all its tags, and copies them all to the release repo.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 months agocontainer/Containerfile, build.sh: Add PRERELEASE_USERNAME/PASSWORD
Dan Mick [Fri, 15 Nov 2024 01:49:15 +0000 (17:49 -0800)]
container/Containerfile, build.sh: Add PRERELEASE_USERNAME/PASSWORD

Used for accessing download.ceph.com

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 months agocontainer/build.sh:
Dan Mick [Thu, 14 Nov 2024 22:28:32 +0000 (14:28 -0800)]
container/build.sh:

- change repo path to prerelease
- remove image id arg for release push
- include 'v' in version name for release push

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 months agocontainer/make-manifest-list.py
Dan Mick [Fri, 1 Nov 2024 02:55:36 +0000 (19:55 -0700)]
container/make-manifest-list.py

- don't print command failure in worker; let the caller print them
  if desired (allow silent failure)
- allow for empty tags list
- look for CEPH_SHA1.  GIT_COMMIT was the sha1 of the ceph-container.git
  commit
- change default paths to prerelease
- add --dry-run to avoid final push
- rename 'HOST' to 'CONTAINER_HOST'
- Use ARCH_SPECIFIC_HOST instead of CONTAINER_HOST (which is used by podman)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 months agoMerge pull request #60172 from smanjara/rgw-multisite-two-zonegroups
Shilpa Jagannath [Tue, 3 Dec 2024 19:22:25 +0000 (11:22 -0800)]
Merge pull request #60172 from smanjara/rgw-multisite-two-zonegroups

qa/multisite: enable two zonegroup yaml

7 months agoMerge pull request #60591 from smanjara/wip-datalog-autotrim
Shilpa Jagannath [Tue, 3 Dec 2024 18:20:43 +0000 (10:20 -0800)]
Merge pull request #60591 from smanjara/wip-datalog-autotrim

qa/multisite: add extra checkpoints in datalog_autotrim testcase

7 months agolabeler: add container labelers 60926/head
Ken Dreyer [Tue, 3 Dec 2024 17:44:52 +0000 (12:44 -0500)]
labeler: add container labelers

Signed-off-by: Ken Dreyer <kdreyer@ibm.com>
7 months agocontainer/build.sh: use UTC dates for tags 60924/head
Ken Dreyer [Tue, 3 Dec 2024 17:37:11 +0000 (12:37 -0500)]
container/build.sh: use UTC dates for tags

Do not rely on the builder host's local timezone setting.

Signed-off-by: Ken Dreyer <kdreyer@ibm.com>
7 months agodoc: fix EC overhead table m-numbering 60944/head
Danny Al-Gaaf [Tue, 3 Dec 2024 14:53:18 +0000 (15:53 +0100)]
doc: fix EC overhead table m-numbering

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 months agoMerge pull request #60918 from gbregman/main
Gil Bregman [Tue, 3 Dec 2024 14:02:24 +0000 (16:02 +0200)]
Merge pull request #60918 from gbregman/main

python-common/ceph/cephadm: Change NVME image version to 1.4.

7 months agoMerge pull request #60917 from zdover23/wip-doc-2024-12-03-rados-ops-health-checks
Zac Dover [Tue, 3 Dec 2024 11:07:28 +0000 (12:07 +0100)]
Merge pull request #60917 from zdover23/wip-doc-2024-12-03-rados-ops-health-checks

doc/rados: make sentences agree in health-checks.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
7 months agodoc/rados: fix sentences in health-checks (2 of x) 60919/head
Zac Dover [Tue, 3 Dec 2024 11:02:43 +0000 (12:02 +0100)]
doc/rados: fix sentences in health-checks (2 of x)

Make sentences agree at the head of each section in
doc/rados/operations/health-checks.rst. The sentences were sometimes in
the imperative mood and sometimes in the declarative mood.

This commit edits the second third of
doc/rados/operations/health-checks.rst.

Zac: cf. 000228

Signed-off-by: Zac Dover <zac.dover@proton.me>
7 months agopython-common/ceph/cephadm: Change NVME image version to 1.4. 60918/head
Gil Bregman [Tue, 3 Dec 2024 09:31:44 +0000 (11:31 +0200)]
python-common/ceph/cephadm: Change NVME image version to 1.4.
Fixes https://tracker.ceph.com/issues/69099

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
7 months agoMerge pull request #60767 from rhcs-dashboard/smb-cluster
afreen23 [Tue, 3 Dec 2024 09:17:32 +0000 (14:47 +0530)]
Merge pull request #60767 from rhcs-dashboard/smb-cluster

mgr/dashboard: list smb

Reviewed-by: Afreen Misbah <afreen@ibm.com>
7 months agoMerge pull request #60099 from MaxKellermann/json_spirit_thread
Ilya Dryomov [Tue, 3 Dec 2024 09:09:19 +0000 (10:09 +0100)]
Merge pull request #60099 from MaxKellermann/json_spirit_thread

json_spirit: add missing dependency on Boost::thread

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
7 months agodoc/rados: make sentences agree in health-checks.rst 60917/head
Zac Dover [Tue, 3 Dec 2024 08:28:09 +0000 (09:28 +0100)]
doc/rados: make sentences agree in health-checks.rst

Make sentences agree at the head of each section in
doc/rados/operations/health-checks.rst. The sentences were sometimes in
the imperative mood and sometimes in the declarative mood.

This commit edits the first third of
doc/rados/operations/health-checks.rst.

Zac: cf. 000228

Signed-off-by: Zac Dover <zac.dover@proton.me>
7 months agocrimson/os/seastore: convert offset/length in seastore logs to hex format 60904/head
Yingxin Cheng [Mon, 2 Dec 2024 08:17:21 +0000 (16:17 +0800)]
crimson/os/seastore: convert offset/length in seastore logs to hex format

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
7 months agocrimson/os/seastore: convert offset/length in segment logs to hex format
Yingxin Cheng [Mon, 2 Dec 2024 08:15:45 +0000 (16:15 +0800)]
crimson/os/seastore: convert offset/length in segment logs to hex format

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
7 months agoMerge pull request #60151 from shreyanshjain7174/wip-skoduri-cloud-restore
Soumya Koduri [Tue, 3 Dec 2024 03:18:55 +0000 (08:48 +0530)]
Merge pull request #60151 from shreyanshjain7174/wip-skoduri-cloud-restore

rgw/restore: Fixed status codes and response headers
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
7 months agoMerge pull request #59449 from tth-trang/wip-65772-quincy
Soumya Koduri [Tue, 3 Dec 2024 03:15:10 +0000 (08:45 +0530)]
Merge pull request #59449 from tth-trang/wip-65772-quincy

rgw/lc: Fix lifecycle not working while bucket versioning is suspended

Reviewed-by: Soumya Koduri <skoduri@redhat.com>
7 months agoMerge pull request #60910 from clwluvw/putacl-log
Shilpa Jagannath [Tue, 3 Dec 2024 00:32:45 +0000 (16:32 -0800)]
Merge pull request #60910 from clwluvw/putacl-log

rgw: relax RGWPutACLs_ObjStore::get_params read data log

7 months agoMerge pull request #60254 from clwluvw/zonegroups-createbucket
Shilpa Jagannath [Tue, 3 Dec 2024 00:05:41 +0000 (16:05 -0800)]
Merge pull request #60254 from clwluvw/zonegroups-createbucket

rgw: initialize createparams zone_placement to avoid garbage value

7 months agoMerge pull request #60589 from clwluvw/requested-gen-sync
Shilpa Jagannath [Tue, 3 Dec 2024 00:00:48 +0000 (16:00 -0800)]
Merge pull request #60589 from clwluvw/requested-gen-sync

rgw/multisite: revert "rgw/multisite: avoid redundant error repo entry logging