]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agotest/librados/snapshots*: Enable supported tests 50491/head
Matan Breizman [Mon, 13 Mar 2023 08:55:48 +0000 (08:55 +0000)]
test/librados/snapshots*: Enable supported tests

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 years agoMerge pull request #50402 from ronen-fr/wip-rf-operator-log
Ronen Friedman [Wed, 8 Mar 2023 12:52:55 +0000 (14:52 +0200)]
Merge pull request #50402 from ronen-fr/wip-rf-operator-log

osd: ECTransactions.cc: remove __func__ used inside a lambda

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #50437 from Svelar/rados-doc
Anthony D'Atri [Wed, 8 Mar 2023 11:45:08 +0000 (06:45 -0500)]
Merge pull request #50437 from Svelar/rados-doc

doc/rados: fix grammar mistake

2 years agodoc/rados: fix grammar mistake 50437/head
Rongqi Sun [Wed, 8 Mar 2023 07:33:59 +0000 (15:33 +0800)]
doc/rados: fix grammar mistake

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
2 years agoMerge PR #49008 into main
Venky Shankar [Wed, 8 Mar 2023 07:06:21 +0000 (12:36 +0530)]
Merge PR #49008 into main

* refs/pull/49008/head:
doc/quota: accept human readable quota value documented
qa/workunits/fs/quota.sh: use human readable format for ceph.quota.max_bytes
qa: added three testcases
mds: accept human readable values for quotas

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #50430 from zdover23/wip-doc-2023-03-08-install-minor-grammar-fix
zdover23 [Wed, 8 Mar 2023 03:31:04 +0000 (13:31 +1000)]
Merge pull request #50430 from zdover23/wip-doc-2023-03-08-install-minor-grammar-fix

doc/install: update index.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge PR #46357 into main
Venky Shankar [Wed, 8 Mar 2023 02:42:02 +0000 (08:12 +0530)]
Merge PR #46357 into main

* refs/pull/46357/head:
PendingReleaseNotes: add reference to the new mdsmap max_xattr_size field
qa/tasks/mgr/dashboard/test_health: Add 'max_xattr_size' to the mdsmap schema
mds: prevent exceeding xattrs limits on initial set
mds: prevent clients from exceeding the xattrs key/value limits
mon: add new configuration to limit filesystem xattrs size

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #49766 into main
Venky Shankar [Wed, 8 Mar 2023 02:39:36 +0000 (08:09 +0530)]
Merge PR #49766 into main

* refs/pull/49766/head:
mds: record and dump last tid for trimming completed requests (or flushes)

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoMerge PR #49844 into main
Venky Shankar [Wed, 8 Mar 2023 02:38:17 +0000 (08:08 +0530)]
Merge PR #49844 into main

* refs/pull/49844/head:
qa: enforce string client-id check for testing oldest client tid warning
qa: optionally check pattern string match in `health detail`

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
2 years agoMerge PR #49912 into main
Venky Shankar [Wed, 8 Mar 2023 02:37:04 +0000 (08:07 +0530)]
Merge PR #49912 into main

* refs/pull/49912/head:
qa: avoid explicit set to client mountpoint as "/"

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agodoc/install: update index.rst 50430/head
Zac Dover [Wed, 8 Mar 2023 01:52:12 +0000 (11:52 +1000)]
doc/install: update index.rst

Update index.rst by making minor grammar improvements. This file was
long overdue for a backport to Reef, Quincy, and Pacific, so this commit
was a good way to pass a human eyeball over the text before making those
backports.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #50146 from adk3798/container-selinux-conflict
Adam King [Tue, 7 Mar 2023 22:06:46 +0000 (17:06 -0500)]
Merge pull request #50146 from adk3798/container-selinux-conflict

qa/distros: pass --allowerasing --nobest when installing container-tools

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50133 from adk3798/fqdn-stray
Adam King [Tue, 7 Mar 2023 22:05:22 +0000 (17:05 -0500)]
Merge pull request #50133 from adk3798/fqdn-stray

mgr/cephadm: be aware of host's shortname and FQDN

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50244 from phlogistonjohn/jjm-cephadm-test-call
Adam King [Tue, 7 Mar 2023 21:34:20 +0000 (16:34 -0500)]
Merge pull request #50244 from phlogistonjohn/jjm-cephadm-test-call

cephadm: test call function & fix timeout argument

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #50101 from adk3798/all-devices-raw
Adam King [Tue, 7 Mar 2023 19:50:29 +0000 (14:50 -0500)]
Merge pull request #50101 from adk3798/all-devices-raw

mgr/orchestrator: allow deploying raw mode OSDs with --all-available-devices

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #45469 from zaitcev/srbac-bz1901857-3
Casey Bodley [Tue, 7 Mar 2023 19:38:12 +0000 (14:38 -0500)]
Merge pull request #45469 from zaitcev/srbac-bz1901857-3

RGW: Add a reader feature

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agocephadm/tests: enable timeout test cases for call function 50244/head
John Mulligan [Mon, 27 Feb 2023 19:39:18 +0000 (14:39 -0500)]
cephadm/tests: enable timeout test cases for call function

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agocephadm: fix timeout argument to call function
John Mulligan [Mon, 27 Feb 2023 19:38:50 +0000 (14:38 -0500)]
cephadm: fix timeout argument to call function

The timeout argument to call function, for executing sub-processes, did
not function - this patch makes timeout work as (probably) intended.
Use the `process.communicate()` method rather than `tee` functions to
handle IO collection. Since no logging is done until after the exit code
is known the tee calls are not necessary. Add calls to kill the child
process when the time out occurs. This helps prevent event loop "leaks"
that generate python warnings.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #50270 from mnasiadka/cephadm_ulimit_docker
Adam King [Tue, 7 Mar 2023 18:56:02 +0000 (13:56 -0500)]
Merge pull request #50270 from mnasiadka/cephadm_ulimit_docker

cephadm: set --ulimit nofiles with Docker

Reviewed-by: Adam King <adking@redhat.com>
2 years agomgr/cephadm: be aware of host's shortname and FQDN 50133/head
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>
2 years agoMerge pull request #50100 from adk3798/set-unmanaged
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>
2 years agoMerge pull request #50167 from trociny/wip-58792
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>
2 years agoMerge pull request #50275 from rkachach/fix_issue_58856
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>
2 years agoMerge pull request #48911 from yuvalif/test-kafka-sasl-scram
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

2 years agoMerge pull request #50311 from trociny/wip-58051-1
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>
2 years agoMerge pull request #50403 from yuvalif/wip-yuval-dont-start-notif-thread
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

2 years agoMerge pull request #49116 from Matan-B/wip-matanb-c-balanced-reads
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>
2 years agoMerge pull request #50410 from ljflores/wip-tracker-58925
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

2 years agoMerge pull request #49779 from Matan-B/wip-matanb-c-lru-comments
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>
2 years agorgw: unify data member initialization in RGWRados 50403/head
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>
2 years agorgw: don't start the bucket notification thread in radosgw-admin
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>
2 years agocrimson/osd/object_context_loader: Hide private methods 49116/head
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>
2 years agocrimson/osd: Introduce with_head_and_clone_obc()
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>
2 years agocrimson/osd/object_context_loader: with_clone_obc to move head
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>
2 years agocrimson/osd/object_conetxt*: Rename get_ro_ss to get_head_ss
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>
2 years agocrimson/osd: Remove head memeber from ObjectContext
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>
2 years agocrimson/osd/pg: Add can_discard_op case
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>
2 years agocrimson/osd/pg: Implement context_registry_on_change()
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>
2 years agocommon/instrusive_lru: Implement for_each
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>
2 years agoqa/*/crimson: Seperate Crimson's rbd api testing
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>
2 years agocrimson/osd/osd_operations: Add RepRequest::with_pg() to the pipeline
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>
2 years agocrimson/osd/pg: add replica_clear_repop_obc() and log_operation()
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>
2 years agocommon/intrusive_lru: Add clear_range()
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>
2 years agoosd/osd_types_fmt: Add fmt::formatter<pg_log_entry_t>
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>
2 years agoqa/suites/crimson-rados/thrash/workloads: Enable small-objects-balanced/localized
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>
2 years agocrimson/osd/osd_operation/client_request: do_process() reorder
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>
2 years agocrimson/osd/osd_operations/client_request: fix is_misdirected()
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>
2 years agocrimson/osd/osd_operations/client_request: Add logs around do_process()
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>
2 years agocrimson/osd/osd_operations/client_request: Skip do_recover_missing() on replica
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>
2 years agoMerge pull request #50380 from rhcs-dashboard/script-reef-fix
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>
2 years agoMerge pull request #50397 from soumyakoduri/wip-skoduri-multisite
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>
2 years agoMerge pull request #50384 from anthonyeleven/anthonyeleven/tweak-50374
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>
2 years agodoc/radosgw: Redd up s3select.rst as followup to #49411 50384/head
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>
2 years agoqa: suppress memory leak in rocksdb 50410/head
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>
2 years agoosd: ECTransactions.cc: remove __func__ used inside a lambda 50402/head
Ronen Friedman [Mon, 6 Mar 2023 17:19:53 +0000 (19:19 +0200)]
osd: ECTransactions.cc: remove __func__ used inside a lambda

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 years agoMerge pull request #50398 from zdover23/wip-doc-2023-03-07-dev-guide-basic-workflow...
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>
2 years agodoc/dev: add full stop to sentence in basic-wo 50398/head
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>
2 years agoMerge pull request #48697 from phlogistonjohn/jjm-cleaner-build-sh
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>
2 years agocephadm/tests: add initial test coverage for call function
John Mulligan [Thu, 23 Feb 2023 19:51:13 +0000 (14:51 -0500)]
cephadm/tests: add initial test coverage for call function

The call function provides the ability to run subprocesses, log output,
and provides an optional timeout parameter. This timeout parameter does
not appear to function correctly today, so we make use of
pytest.param/pytest.mark.xfail to mark these cases as already known to
fail.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agocephadm: disable coverage for some compatibility blocks
John Mulligan [Wed, 22 Feb 2023 18:57:21 +0000 (13:57 -0500)]
cephadm: disable coverage for some compatibility blocks

This change disables reporting missing coverage for blocks that
contain copy and pasted code from other python versions and exist
to make those functions available to older python versions.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agorgw/tests: Reset endpoint before creating additional zones 50397/head
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
2 years agoMerge pull request #50382 from zdover23/wip-doc-2023-03-05-radosgw-multisite-caption-3
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>
2 years agoMerge PR #50310 into main
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>
2 years agoMerge PR #48894 into main
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>
2 years agoMerge pull request #50386 from zdover23/wip-doc-2023-03-06-radosgw-s3-table
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>
2 years agodoc/rgw - fix grammar in table in s3.rst 50386/head
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>
2 years agoMerge pull request #50003 from mkogan1/wip-fix-t58552
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>
2 years agocrimson/osd/pg: Expand can_discard_op on BALANCE/LOCALIZE reads
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>
2 years agodoc/rgw: fix caption 50382/head
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>
2 years agoscript: update backport scripts for reef 50380/head
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>
2 years agoMerge pull request #50373 from zmc/nop-suite
Zack Cerza [Fri, 3 Mar 2023 20:53:01 +0000 (13:53 -0700)]
Merge pull request #50373 from zmc/nop-suite

2 years agoMerge pull request #50375 from zdover23/wip-doc-2023-03-04-radosgw-keycloak-rewrite
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

2 years agoMerge pull request #50329 from cbodley/wip-58891
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>
2 years agodoc/rgw: refine keycloak.rst 50375/head
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>
2 years agoMerge pull request #49411 from ceph/json_rgw_integration
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>
2 years agoqa/suites/teuthology/nop: Add 2nd job, with a node 50373/head
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>
2 years agoMerge pull request #49969 from guits/fix-drive-group-limit
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

2 years agoMerge pull request #50364 from anthonyeleven/anthonyeleven/fix-caps
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>
2 years agodoc/cephadm: Redd up compatibility.rst 50364/head
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>
2 years agoMerge pull request #50354 from zdover23/wip-doc-2023-03-03-multisite-master-zonegroup...
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

2 years agojson integration: identifying new data-source and execute json flow. 49411/head
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>
2 years agoMerge pull request #46150 from dang/wip-dang-bucket-owner
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>
2 years agodoc/rgw: clean zone-sync.svg 50354/head
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>
2 years agoMerge pull request #50351 from zdover23/wip-doc-2023-03-03-radosgw-multisite-admoniti...
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

2 years agodoc/radosgw: format admonitions 50351/head
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>
2 years agoMerge pull request #50345 from cbodley/wip-redmine-reef
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>
2 years agoMerge PR #49756 into main
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>
2 years agoMerge pull request #50172 from cbodley/wip-58794
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>
2 years agoscript: add 'reef' release to backport-create-issue 50345/head
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>
2 years agoMerge pull request #50171 from cbodley/wip-58793
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>
2 years agoMerge pull request #50169 from cbodley/wip-rgw-unsal-rados
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>
2 years agoMerge PR #50217 into main
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>
2 years agoMerge pull request #50317 from xxhdx1985126/wip-rbm-prepare-write
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>
2 years agorgw/reshard: avoid infinite loop if bi_list() returns -ENOENT 50329/head
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>
2 years agoMerge pull request #50335 from adk3798/cephadm-compatability-update
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>
2 years agorgw/rados: RGWSI_BucketIndex_RADOS requires layouts, not num_shards
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>
2 years agorgw/rados: use rgw::num_shards() helper
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>
2 years agorgw/reshard: refuse to reshard to new_num_shards=0
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>
2 years agorgw/reshard: use the rgw::num_shards() helper
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>
2 years agodoc/cephadm: update cephadm compatability and stability page 50335/head
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>