]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Adam King [Wed, 15 Feb 2023 22:07:09 +0000 (17:07 -0500)]
mgr/cephadm: be aware of host's shortname and FQDN
The idea is to gether the shortname and FQDN as part
of gather-facts, and then if we ever try to check if a certain
host is in our internal inventory by hostname, we can check
these other known names. This should avoid issues where
we think a hostname specified by FQDN is not in our
inventory because we know the host by the shortname
or vice versa.
Fixes: https://tracker.ceph.com/issues/58738
Signed-off-by: Adam King <adking@redhat.com>
Adam King [Tue, 7 Mar 2023 18:25:17 +0000 (13:25 -0500)]
Merge pull request #50100 from adk3798/set-unmanaged
mgr/cephadm: add commands to set services to managed/unmanaged
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Adam King [Tue, 7 Mar 2023 18:22:53 +0000 (13:22 -0500)]
Merge pull request #50167 from trociny/wip-58792
mgr/cephadm: don't add mgr into iscsi trusted_ip_list if it's already there
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Tue, 7 Mar 2023 18:21:15 +0000 (13:21 -0500)]
Merge pull request #50275 from rkachach/fix_issue_58856
mgr/rgw: adding mgr rgw module to ceph image
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Yuval Lifshitz [Tue, 7 Mar 2023 18:20:28 +0000 (20:20 +0200)]
Merge pull request #48911 from yuvalif/test-kafka-sasl-scram
rgw: test kafka sasl scram
reviewed-by: anthonyeleven, cbodley
Adam King [Tue, 7 Mar 2023 18:18:41 +0000 (13:18 -0500)]
Merge pull request #50311 from trociny/wip-58051-1
mgr/cephadm: try to avoid pull when getting container image info
Reviewed-by: Adam King <adking@redhat.com>
Yuval Lifshitz [Tue, 7 Mar 2023 17:04:19 +0000 (19:04 +0200)]
Merge pull request #50403 from yuvalif/wip-yuval-dont-start-notif-thread
rgw: don't start the bucket notification thread in radosgw-admin
reviewewd-by: cbodley
Matan [Tue, 7 Mar 2023 16:58:58 +0000 (18:58 +0200)]
Merge pull request #49116 from Matan-B/wip-matanb-c-balanced-reads
crimson/osd: Support balance reads
Reviewed-by: Samuel Just <sjust@redhat.com>
Laura Flores [Tue, 7 Mar 2023 15:56:38 +0000 (09:56 -0600)]
Merge pull request #50410 from ljflores/wip-tracker-58925
qa: suppress memory leak in rocksdb
Matan [Tue, 7 Mar 2023 15:10:03 +0000 (17:10 +0200)]
Merge pull request #49779 from Matan-B/wip-matanb-c-lru-comments
common/intrusive_lru: Improve readability
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: chunmei-liu <chunmei.liu@intel.com>
Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
Yuval Lifshitz [Tue, 7 Mar 2023 12:29:30 +0000 (14:29 +0200)]
rgw: unify data member initialization in RGWRados
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c48-prefer-in-class-initializers-to-member-initializers-in-constructors-for-constant-initializers
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
Yuval Lifshitz [Mon, 6 Mar 2023 17:44:41 +0000 (19:44 +0200)]
rgw: don't start the bucket notification thread in radosgw-admin
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
Matan Breizman [Sun, 5 Mar 2023 10:22:10 +0000 (10:22 +0000)]
crimson/osd/object_context_loader: Hide private methods
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Sun, 5 Mar 2023 09:31:03 +0000 (09:31 +0000)]
crimson/osd: Introduce with_head_and_clone_obc()
In continuation to
7ca2690be956a36f61c7729946b94ccd970dd9c7 :
Now that the head ref is no longer a member of obc, we need a new
substitute way to get the head when needed.
When loading a clone object, the head object is loaded
first (See with_clone_obc). Therefore we can make use of this design
to move the loaded head forward to the relevant func (See with_head_and_clone_obc).
Usually, we wouldn't need to make use of both the head and the clone obc in the
same function. However, SnapTrimObjSubEvent::remove_or_update is an abnormal usage.
Note: We want to avoid holding any unneeded references to obcs
to allow the obc_registery to evict no longer valid obc.
Therefore, with_obc() which references only a single obc is the
preferred entry point for loading obcs.
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Sun, 19 Feb 2023 10:50:04 +0000 (10:50 +0000)]
crimson/osd/object_context_loader: with_clone_obc to move head
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Sun, 19 Feb 2023 13:12:15 +0000 (13:12 +0000)]
crimson/osd/object_conetxt*: Rename get_ro_ss to get_head_ss
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Sun, 19 Feb 2023 10:49:47 +0000 (10:49 +0000)]
crimson/osd: Remove head memeber from ObjectContext
Before this patch, ObjectContext had a head member which was used
to get the head obc of a clone object.
This member caused the head object to being referenced while
attempting to 'clear_replica_obc' (Since we only evict un-referenced
obc from the obc_registery).
This mechanism, of obtaining the head, is no longer needed since
'with_clone_obc' loads the head object context first (using
oid.get_head).
In this commit, head is removed from ObjectContext class and users
are removed as well.
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Sun, 19 Feb 2023 11:35:03 +0000 (11:35 +0000)]
crimson/osd/pg: Add can_discard_op case
discard op in the case where same_primary_since is later than
the MOSDOp's map epoch
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Tue, 7 Feb 2023 19:48:42 +0000 (19:48 +0000)]
crimson/osd/pg: Implement context_registry_on_change()
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Tue, 7 Feb 2023 19:47:55 +0000 (19:47 +0000)]
common/instrusive_lru: Implement for_each
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Sun, 5 Feb 2023 14:53:11 +0000 (14:53 +0000)]
qa/*/crimson: Seperate Crimson's rbd api testing
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Sun, 5 Feb 2023 12:01:41 +0000 (12:01 +0000)]
crimson/osd/osd_operations: Add RepRequest::with_pg() to the pipeline
Wait on a PG to advance to the request's map epoch.
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Wed, 7 Dec 2022 13:19:26 +0000 (13:19 +0000)]
crimson/osd/pg: add replica_clear_repop_obc() and log_operation()
Clear invalid obc from cache.
Fixes: https://tracker.ceph.com/issues/58089
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Wed, 7 Dec 2022 13:17:23 +0000 (13:17 +0000)]
common/intrusive_lru: Add clear_range()
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Sun, 22 Jan 2023 11:32:01 +0000 (11:32 +0000)]
osd/osd_types_fmt: Add fmt::formatter<pg_log_entry_t>
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Tue, 6 Dec 2022 14:23:06 +0000 (14:23 +0000)]
qa/suites/crimson-rados/thrash/workloads: Enable small-objects-balanced/localized
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Tue, 29 Nov 2022 11:04:22 +0000 (11:04 +0000)]
crimson/osd/osd_operation/client_request: do_process() reorder
* Move error checking to the beginning of do_process()
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Tue, 29 Nov 2022 11:00:52 +0000 (11:00 +0000)]
crimson/osd/osd_operations/client_request: fix is_misdirected()
In the case of balanced read the op is not misdirected.
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Tue, 29 Nov 2022 10:59:55 +0000 (10:59 +0000)]
crimson/osd/osd_operations/client_request: Add logs around do_process()
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Sun, 11 Dec 2022 13:44:17 +0000 (13:44 +0000)]
crimson/osd/osd_operations/client_request: Skip do_recover_missing() on replica
* assert internal_client_request is on primary since
do_recover_missing is also called by internal requests.
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Nizamudeen A [Tue, 7 Mar 2023 06:06:12 +0000 (11:36 +0530)]
Merge pull request #50380 from rhcs-dashboard/script-reef-fix
script: update backport scripts for reef
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: neha-ojha <NOT@FOUND>
Soumya Koduri [Tue, 7 Mar 2023 04:21:25 +0000 (09:51 +0530)]
Merge pull request #50397 from soumyakoduri/wip-skoduri-multisite
rgw/tests: Reset endpoint before creating additional zones
Reviewed-by: Casey Bodley <cbodley@redhat.com>
zdover23 [Tue, 7 Mar 2023 03:45:46 +0000 (13:45 +1000)]
Merge pull request #50384 from anthonyeleven/anthonyeleven/tweak-50374
doc/radosgw: Redd up s3select.rst as followup to #49411
Reviewed-by: Zac Dover <zac.dover@proton.me>
Anthony D'Atri [Sun, 5 Mar 2023 16:31:36 +0000 (11:31 -0500)]
doc/radosgw: Redd up s3select.rst as followup to #49411
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Laura Flores [Mon, 6 Mar 2023 21:46:31 +0000 (21:46 +0000)]
qa: suppress memory leak in rocksdb
Fixes: https://tracker.ceph.com/issues/58925
Signed-off-by: Laura Flores <lflores@redhat.com>
zdover23 [Mon, 6 Mar 2023 16:31:19 +0000 (02:31 +1000)]
Merge pull request #50398 from zdover23/wip-doc-2023-03-07-dev-guide-basic-workflow-full-stop
doc/dev: add full stop to sentence in basic-wo
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Mon, 6 Mar 2023 16:15:27 +0000 (02:15 +1000)]
doc/dev: add full stop to sentence in basic-wo
Add a full stop to a sentence in basic-workflow.rst. I looked at this
document and noticed that it wasn't there, and it was just bugging me.
Signed-off-by: Zac Dover <zac.dover@proton.me>
Adam King [Mon, 6 Mar 2023 16:04:09 +0000 (11:04 -0500)]
Merge pull request #48697 from phlogistonjohn/jjm-cleaner-build-sh
build scripts: various cleanups and minor changes preparing for containerized build and test
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Soumya Koduri [Mon, 6 Mar 2023 14:23:08 +0000 (19:53 +0530)]
rgw/tests: Reset endpoint before creating additional zones
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Fixes: https://tracker.ceph.com/issues/58822
zdover23 [Mon, 6 Mar 2023 13:37:00 +0000 (23:37 +1000)]
Merge pull request #50382 from zdover23/wip-doc-2023-03-05-radosgw-multisite-caption-3
doc/rgw: fix caption
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Venky Shankar [Mon, 6 Mar 2023 05:27:46 +0000 (10:57 +0530)]
Merge PR #50310 into main
* refs/pull/50310/head:
client: remove unused method
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 6 Mar 2023 04:12:32 +0000 (09:42 +0530)]
Merge PR #48894 into main
* refs/pull/48894/head:
qa/tasks/cephfs: add "extra data pool" cephfs-data-scan tests
qa/tasks/cephfs: use cephfs tags when recreating osd caps
tools/cephfs-data-scan: make data pool command args optional
tools/cephfs-data-scan: support for multi-datapool
cls/cephfs: extend accumulate_inode_metadata client method to store pool id
Reviewed-by: Venky Shankar <vshankar@redhat.com>
zdover23 [Mon, 6 Mar 2023 01:37:55 +0000 (11:37 +1000)]
Merge pull request #50386 from zdover23/wip-doc-2023-03-06-radosgw-s3-table
doc/rgw - fix grammar in table in s3.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Mon, 6 Mar 2023 00:09:24 +0000 (10:09 +1000)]
doc/rgw - fix grammar in table in s3.rst
Put an "only" in the correct place. Also, this is a very small change
that will allow me to see if Jenkins is working (it probably isn't).
Signed-off-by: Zac Dover <zac.dover@proton.me>
Casey Bodley [Sun, 5 Mar 2023 14:33:03 +0000 (09:33 -0500)]
Merge pull request #50003 from mkogan1/wip-fix-t58552
qa: d3n: fix test failure when "inline_data": false
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Matan Breizman [Tue, 29 Nov 2022 10:51:58 +0000 (10:51 +0000)]
crimson/osd/pg: Expand can_discard_op on BALANCE/LOCALIZE reads
See:
69def1433d49bd8543e26e9f1ebf00dfbc5059bd
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Zac Dover [Sun, 5 Mar 2023 06:43:38 +0000 (16:43 +1000)]
doc/rgw: fix caption
Rewrite the third paragraph of the caption to the figure depicting how a
zonegroup works.
Follows https://github.com/ceph/ceph/pull/50316.
Signed-off-by: Zac Dover <zac.dover@proton.me>
Nizamudeen A [Sat, 4 Mar 2023 06:15:57 +0000 (11:45 +0530)]
script: update backport scripts for reef
Signed-off-by: Nizamudeen A <nia@redhat.com>
Zack Cerza [Fri, 3 Mar 2023 20:53:01 +0000 (13:53 -0700)]
Merge pull request #50373 from zmc/nop-suite
Anthony D'Atri [Fri, 3 Mar 2023 20:01:50 +0000 (15:01 -0500)]
Merge pull request #50375 from zdover23/wip-doc-2023-03-04-radosgw-keycloak-rewrite
doc/rgw: refine keycloak.rst
Casey Bodley [Fri, 3 Mar 2023 19:43:18 +0000 (14:43 -0500)]
Merge pull request #50329 from cbodley/wip-58891
rgw/reshard: treat old RGWBucketInfo::num_shards=0 as 1 shard
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Zac Dover [Fri, 3 Mar 2023 19:36:35 +0000 (05:36 +1000)]
doc/rgw: refine keycloak.rst
Full line-edit of doc/radosgw/keycloak.rst. Corrected syntax, grammar,
RST, and broken links.
Co-authored-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
Casey Bodley [Fri, 3 Mar 2023 19:35:32 +0000 (14:35 -0500)]
Merge pull request #49411 from ceph/json_rgw_integration
rgw/s3select: json integration: identifying new data-source and execute a JSON flow.
Reviewed-by: Albin Antony <aantony@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Zack Cerza [Fri, 3 Mar 2023 18:10:21 +0000 (11:10 -0700)]
qa/suites/teuthology/nop: Add 2nd job, with a node
Signed-off-by: Zack Cerza <zack@redhat.com>
Guillaume Abrioux [Fri, 3 Mar 2023 14:56:38 +0000 (15:56 +0100)]
Merge pull request #49969 from guits/fix-drive-group-limit
drive_group: fix limit filter in drive_selection.selector
zdover23 [Fri, 3 Mar 2023 08:46:49 +0000 (18:46 +1000)]
Merge pull request #50364 from anthonyeleven/anthonyeleven/fix-caps
doc/cephadm: Redd up compatibility.rst
Reviewed-by: Zac Dover <zac.dover@proton.me>
Anthony D'Atri [Fri, 3 Mar 2023 07:44:26 +0000 (02:44 -0500)]
doc/cephadm: Redd up compatibility.rst
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Anthony D'Atri [Thu, 2 Mar 2023 23:48:55 +0000 (18:48 -0500)]
Merge pull request #50354 from zdover23/wip-doc-2023-03-03-multisite-master-zonegroup-image-refinement
doc/rgw: clean zone-sync.svg
galsalomon66 [Tue, 13 Dec 2022 14:31:43 +0000 (16:31 +0200)]
json integration: identifying new data-source and execute json flow.
s3select submodule
integrate the limit-operator into RGW. current changes is for CSV format
integrate the limit-operator with CSV-flow, and JSON-flow. an update of s3select submodule
a fix for the input-serialization-type selection
debug functionality.
fix for error handling
adding the scan-range feature. i.e. enables the user to define the range of processing(text only)
remove the temp variable(the s3select-layer handles the sql-result setting upon JSON flow)
adding documentation. for JSON, SQL limit-operator, scan-range option.
a fix for JSON test framework in s3select module
investigate crash. replace len with it.length()
editorial changes; non-initialized variables
adding validation for offset&length. (it seems that the offset&length causes Invalid reads, in some cases)
changes related to trino integration.(1) syntax issues related to trino-engine statement conbersions(s3select parser handles that) (2).
(2). trino rejects(HIVE_CURSUR_ERROR) some of the s3select responses do to its size, the change is about control the size of the respond.
update JSON documentation
trino changes: response in paging (limitation on size), trino syntax issues.
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
Daniel Gryniewicz [Thu, 2 Mar 2023 19:26:09 +0000 (14:26 -0500)]
Merge pull request #46150 from dang/wip-dang-bucket-owner
RGW - Replace set_owner workaround with new fix
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Zac Dover [Thu, 2 Mar 2023 19:24:00 +0000 (05:24 +1000)]
doc/rgw: clean zone-sync.svg
Refine zone-sync.svg (fix kerning and use fonts that render properly).
Signed-off-by: Zac Dover <zac.dover@proton.me>
Anthony D'Atri [Thu, 2 Mar 2023 19:17:47 +0000 (14:17 -0500)]
Merge pull request #50351 from zdover23/wip-doc-2023-03-03-radosgw-multisite-admonition-formatting
doc/radosgw: format admonitions
Zac Dover [Thu, 2 Mar 2023 18:04:30 +0000 (04:04 +1000)]
doc/radosgw: format admonitions
Break up the text of two similar admonitions into three paragraphs (in
each of the two instances). This makes the content of the admonition
much easier to read at a glance.
Signed-off-by: Zac Dover <zac.dover@proton.me>
Casey Bodley [Thu, 2 Mar 2023 15:32:00 +0000 (10:32 -0500)]
Merge pull request #50345 from cbodley/wip-redmine-reef
script: add 'reef' release to backport-create-issue
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Venky Shankar [Thu, 2 Mar 2023 14:11:10 +0000 (19:41 +0530)]
Merge PR #49756 into main
* refs/pull/49756/head:
qa: add test for 'dump dir'
mds: add a command to dump directory information
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Casey Bodley [Thu, 2 Mar 2023 14:06:53 +0000 (09:06 -0500)]
Merge pull request #50172 from cbodley/wip-58794
rgw: catch manifest decode errors in GetObj
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Casey Bodley [Thu, 2 Mar 2023 13:16:14 +0000 (08:16 -0500)]
script: add 'reef' release to backport-create-issue
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 2 Mar 2023 12:44:59 +0000 (07:44 -0500)]
Merge pull request #50171 from cbodley/wip-58793
rgw: don't dereference nullopt in DeleteMultiObj
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Casey Bodley [Thu, 2 Mar 2023 12:44:38 +0000 (07:44 -0500)]
Merge pull request #50169 from cbodley/wip-rgw-unsal-rados
rgw/rados: remove sal handles from RGWRados::Object ops
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Venky Shankar [Thu, 2 Mar 2023 05:34:33 +0000 (11:04 +0530)]
Merge PR #50217 into main
* refs/pull/50217/head:
qa: enable the xfstests generic/317 test case
qa: make the xfstests tmp directories to be readable and excutable
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Yingxin [Thu, 2 Mar 2023 02:07:29 +0000 (10:07 +0800)]
Merge pull request #50317 from xxhdx1985126/wip-rbm-prepare-write
crimson/os/seastore/epm: also do prepare_write for rbm
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Casey Bodley [Wed, 1 Mar 2023 22:20:06 +0000 (17:20 -0500)]
rgw/reshard: avoid infinite loop if bi_list() returns -ENOENT
Signed-off-by: Casey Bodley <cbodley@redhat.com>
zdover23 [Wed, 1 Mar 2023 21:36:46 +0000 (07:36 +1000)]
Merge pull request #50335 from adk3798/cephadm-compatability-update
doc/cephadm: update cephadm compatability and stability page
Reviewed-by: Zac Dover <zac.dover@proton.me>
Casey Bodley [Wed, 1 Mar 2023 21:06:14 +0000 (16:06 -0500)]
rgw/rados: RGWSI_BucketIndex_RADOS requires layouts, not num_shards
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 1 Mar 2023 15:48:30 +0000 (10:48 -0500)]
rgw/rados: use rgw::num_shards() helper
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 1 Mar 2023 15:44:31 +0000 (10:44 -0500)]
rgw/reshard: refuse to reshard to new_num_shards=0
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 1 Mar 2023 15:44:09 +0000 (10:44 -0500)]
rgw/reshard: use the rgw::num_shards() helper
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Adam King [Wed, 1 Mar 2023 21:10:41 +0000 (16:10 -0500)]
doc/cephadm: update cephadm compatability and stability page
This page is very out of date. This commit probably doesn't
cover everything there is to say about stability and compatability
in cephadm, but it at least gets it noticeably closer to reality
Signed-off-by: Adam King <adking@redhat.com>
zdover23 [Wed, 1 Mar 2023 18:04:25 +0000 (04:04 +1000)]
Merge pull request #50316 from zdover23/wip-doc-2023-03-01-radosgw-multisite-diagram-object-replication-text-revision
doc/rgw: improve diagram caption
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Wed, 1 Mar 2023 07:36:18 +0000 (17:36 +1000)]
doc/rgw: improve diagram caption
Improve the syntax and semantics of the caption of the diagram
"Replication of Object Data Between Zones" in doc/radosgw/multisite.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
Yuval Lifshitz [Tue, 15 Nov 2022 19:05:00 +0000 (21:05 +0200)]
rgw/kafka/tests: add SASL mechanism tests
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
Daniel Gryniewicz [Wed, 4 May 2022 18:07:30 +0000 (14:07 -0400)]
RGW - Replace set_owner workaround with new fix
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Casey Bodley [Wed, 1 Mar 2023 15:02:11 +0000 (10:02 -0500)]
rgw: rgw::num_shards() returns 1 instead of 0
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Yuval Lifshitz [Wed, 1 Mar 2023 14:13:55 +0000 (16:13 +0200)]
Merge pull request #50256 from yuvalif/wip-yuval-zipper-notifications
rgw/notifications: add bucket notification configuration to zipper
Reviewed-By: dang, cbodley
Yuval Lifshitz [Wed, 1 Mar 2023 14:12:47 +0000 (16:12 +0200)]
Merge pull request #48181 from huynp1999/wip-rgw-kafka-add-sasl-mechanism
src/rgw: SASL mechanism implem
Reviewed-By: ivancich, anthonyeleven, yuvalif
Mykola Golub [Tue, 6 Dec 2022 18:23:56 +0000 (18:23 +0000)]
qa/tasks/cephfs: add "extra data pool" cephfs-data-scan tests
Signed-off-by: Mykola Golub <mykola.golub@clyso.com>
Mykola Golub [Wed, 1 Mar 2023 10:45:00 +0000 (12:45 +0200)]
qa/tasks/cephfs: use cephfs tags when recreating osd caps
to make it work when an extra data pool is added
Signed-off-by: Mykola Golub <mykola.golub@clyso.com>
Radoslaw Zarzynski [Wed, 1 Mar 2023 07:57:27 +0000 (08:57 +0100)]
Merge pull request #49286 from rzarzynski/wip-crimson-snaptrimmer
crimson/osd, osd: bring snap trimming to crimson
Reviewed-by: Samuel Just <sjust@redhat.com>
Xuehan Xu [Wed, 1 Mar 2023 07:09:08 +0000 (07:09 +0000)]
crimson/os/seastore/epm: also do prepare_write for rbm
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Venky Shankar [Wed, 1 Mar 2023 02:24:18 +0000 (07:54 +0530)]
Merge PR #48720 into main
* refs/pull/48720/head:
qa: fix api failure issue caused during a dashboard test
PendingReleaseNotes: noted new MDSMap field refuse_client_session
qa: added two testcases
client: do not initiate session if flag refuse_client_session is set
mds: do not reconnect when refuse_client_session is set
mds: add new feature to block clients from establishing sessions
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Neha Ojha [Tue, 28 Feb 2023 23:50:21 +0000 (15:50 -0800)]
Merge pull request #49006 from yanghonggang/yhg-upgrade-rocksdb-7.7.3
rocksdb: Upgrade rocksdb to latest facebook's v7.9.2
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Radoslaw Zarzynski [Tue, 28 Feb 2023 20:58:24 +0000 (20:58 +0000)]
qa/valgrind.supp: suppress the ColumnFamily ctor called on init
```
<frame>
<ip>0x1712F1E</ip>
<obj>/home/rzarzynski/ceph3/build/bin/ceph-mon</obj>
<fn>rocksdb::BytewiseComparator()</fn>
<dir>/home/rzarzynski/ceph3/src/rocksdb/util</dir>
<file>comparator.cc</file>
<line>304</line>
</frame>
<frame>
<ip>0x162361C</ip>
<obj>/home/rzarzynski/ceph3/build/bin/ceph-mon</obj>
<fn>rocksdb::ColumnFamilyOptions::ColumnFamilyOptions()</fn>
<dir>/home/rzarzynski/ceph3/src/rocksdb/options</dir>
<file>options.cc</file>
<line>123</line>
</frame>
<frame>
<ip>0x12CA21E</ip>
<obj>/home/rzarzynski/ceph3/build/bin/ceph-mon</obj>
<fn>Options</fn>
<dir>/home/rzarzynski/ceph3/build/../src/rocksdb/include/rocksdb</dir>
<file>options.h</file>
<line>1409</line>
</frame>
<frame>
<ip>0x12CA21E</ip>
<obj>/home/rzarzynski/ceph3/build/bin/ceph-mon</obj>
<fn>RocksDBStore::init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)</fn>
<dir>/home/rzarzynski/ceph3/build/../src/kv</dir>
<file>RocksDBStore.cc</file>
<line>400</line>
</frame>
```
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 28 Feb 2023 20:42:31 +0000 (20:42 +0000)]
qa/valgrind.supp: suppress the get-or-create CacheItemHelper
```
// Get an CacheItemHelper pointer for value type T and role R.
template <typename T, CacheEntryRole R>
Cache::CacheItemHelper* GetCacheItemHelperForRole() {
static Cache::CacheItemHelper cache_helper(
BlocklikeTraits<T>::SizeCallback, BlocklikeTraits<T>::SaveToCallback,
GetCacheEntryDeleterForRole<T, R>());
return &cache_helper;
}
```
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 28 Feb 2023 20:35:33 +0000 (20:35 +0000)]
qa/valgrind.supp: even broader suppression for rocksdb's init
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Adam King [Tue, 28 Feb 2023 19:57:44 +0000 (14:57 -0500)]
Merge pull request #50308 from adk3798/mock-fqdn-secure-alertmanager
mgr/cephadm: mock get_fqdn in secure alertmanager config test
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Radoslaw Zarzynski [Tue, 28 Feb 2023 17:52:12 +0000 (17:52 +0000)]
qa/valgrind.supp: ingore rocksdb leak in option parsing
This suppression is needed since upgrading to v7.9.2.
See PR https://github.com/ceph/ceph/pull/49006.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Mykola Golub [Tue, 28 Feb 2023 17:27:39 +0000 (19:27 +0200)]
mgr/cephadm: try to avoid pull when getting container image info
only if use_repo_digest is not set.
The commit
ac88200 introduced this possibility to skip pulling, but
doing this unconditionally broke a use case when one was able to have
a ceph image on a floating tag, and was able to upgrade to a new image
pushed to that tag. As using a floating tag is possible only when
use_repo_digest is enabled (the default), now skipping the pull
if use_repo_digest is disabled will not break it anymore.
Signed-off-by: Mykola Golub <mykola.golub@clyso.com>
Patrick Donnelly [Tue, 28 Feb 2023 16:25:38 +0000 (11:25 -0500)]
client: remove unused method
/home/pdonnell/ceph/src/client/Client.cc:8575:13: warning: ‘void attr_set_atime_and_mtime(stat*, const utime_t&, const utime_t&)’ defined but not used [-Wunused-function]
8575 | static void attr_set_atime_and_mtime(struct stat *attr,
| ^~~~~~~~~~~~~~~~~~~~~~~~
Fixes: 8abccedd12a3d8dfb4fc926908ba7e2c1f94bf35
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Radoslaw Zarzynski [Tue, 17 Jan 2023 19:11:44 +0000 (19:11 +0000)]
crimson/osd: fix compilation guard around specialization for libfmt => 9
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Thu, 22 Dec 2022 15:32:49 +0000 (15:32 +0000)]
crimson/osd: handle snap trim's interruption as any other error
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>