]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years ago.github/milestone.yml: add reef 50482/head
Neha Ojha [Fri, 10 Mar 2023 22:13:17 +0000 (22:13 +0000)]
.github/milestone.yml: add reef

Signed-off-by: Neha Ojha <nojha@redhat.com>
2 years agoMerge pull request #49963 from ifed01/wip-ifed-fix-prefixed-kv-iterator
Yuri Weinstein [Fri, 10 Mar 2023 20:13:07 +0000 (12:13 -0800)]
Merge pull request #49963 from ifed01/wip-ifed-fix-prefixed-kv-iterator

kv/RocksDBStore: don't use real wholespace iterator for prefixed access

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Cory Snyder <csnyder@iland.com>
2 years agoMerge pull request #49958 from ifed01/wip-ifed-report-min-alloc-size
Yuri Weinstein [Fri, 10 Mar 2023 20:11:29 +0000 (12:11 -0800)]
Merge pull request #49958 from ifed01/wip-ifed-report-min-alloc-size

os/bluestore: report min_alloc_size through "ceph osd metadata"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #49768 from rzarzynski/wip-crimson-fmt9-compile-guard
Yuri Weinstein [Fri, 10 Mar 2023 20:11:03 +0000 (12:11 -0800)]
Merge pull request #49768 from rzarzynski/wip-crimson-fmt9-compile-guard

crush: fix compilation guard around specialization for libfmt => 9

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
2 years agoMerge pull request #49524 from rzarzynski/wip-osd-snaptrimmer-awaitasyncwork-better-ret
Yuri Weinstein [Fri, 10 Mar 2023 20:09:16 +0000 (12:09 -0800)]
Merge pull request #49524 from rzarzynski/wip-osd-snaptrimmer-awaitasyncwork-better-ret

osd: slightly improve readability in handling of snap trim errors

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2 years agoMerge pull request #48948 from ljflores/wip-telemetry-show-all
Laura Flores [Fri, 10 Mar 2023 19:32:01 +0000 (13:32 -0600)]
Merge pull request #48948 from ljflores/wip-telemetry-show-all

mgr/telemetry: make sure histograms are formatted in `all` commands

2 years agoMerge pull request #50348 from ivancich/wip-restore-bucket-index
J. Eric Ivancich [Fri, 10 Mar 2023 17:32:58 +0000 (12:32 -0500)]
Merge pull request #50348 from ivancich/wip-restore-bucket-index

rgw: experimental support for restoring a lost bucket index

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50465 from ceph/wip-yuri-branch_fix-main
Yuri Weinstein [Fri, 10 Mar 2023 16:06:55 +0000 (08:06 -0800)]
Merge pull request #50465 from ceph/wip-yuri-branch_fix-main

qa/tests: added reef branch

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #49807 from DHB-liuhong/lh-bucket-notification-cache
Yuval Lifshitz [Fri, 10 Mar 2023 15:33:13 +0000 (17:33 +0200)]
Merge pull request #49807 from DHB-liuhong/lh-bucket-notification-cache

rgw: add bucket notification cache

reviewed-by: cbodley, yuvalif

2 years agoMerge PR #50013 into main
Venky Shankar [Fri, 10 Mar 2023 12:18:24 +0000 (17:48 +0530)]
Merge PR #50013 into main

* refs/pull/50013/head:
mgr/volumes: avoid returning -ESHUTDOWN back to cli

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
2 years agoMerge PR #48280 into main
Venky Shankar [Fri, 10 Mar 2023 11:20:45 +0000 (16:50 +0530)]
Merge PR #48280 into main

* refs/pull/48280/head:
qa: test new client with old cluster

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #49102 into main
Venky Shankar [Fri, 10 Mar 2023 11:15:35 +0000 (16:45 +0530)]
Merge PR #49102 into main

* refs/pull/49102/head:
qa: add test for schedule auto deactivation
doc/cephfs: add note about path usage in snap-schedule
mgr/snap_schedule: add debug log for missing or wrong path

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoqa: test new client with old cluster 48280/head
dparmar18 [Wed, 12 Oct 2022 10:27:40 +0000 (15:57 +0530)]
qa: test new client with old cluster

Fixes: https://tracker.ceph.com/issues/53573
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2 years agorgw: add bucket notification cache 49807/head
liuhong [Fri, 20 Jan 2023 13:02:24 +0000 (21:02 +0800)]
rgw: add bucket notification cache

Bucket notification supports reading the rule configuration from the cache first, rather than directly from the bottom layer

Signed-off-by: liuhong <liuhong_yewu@cmss.chinamobile.com>
2 years agoMerge PR #45224 into main
Venky Shankar [Fri, 10 Mar 2023 04:45:59 +0000 (10:15 +0530)]
Merge PR #45224 into main

* refs/pull/45224/head:
mds: add support for snapshots alternate_name

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #50107 into main
Venky Shankar [Fri, 10 Mar 2023 04:39:09 +0000 (10:09 +0530)]
Merge PR #50107 into main

* refs/pull/50107/head:
client: fix CEPH_CAP_FILE_WR caps reference leakage in _write()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #50127 into main
Venky Shankar [Fri, 10 Mar 2023 04:27:15 +0000 (09:57 +0530)]
Merge PR #50127 into main

* refs/pull/50127/head:
client: correct quota check in Client::_rename()

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoqa/tests: added reef branch 50465/head
Yuri Weinstein [Thu, 9 Mar 2023 23:02:55 +0000 (15:02 -0800)]
qa/tests: added reef branch

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2 years agoMerge pull request #49870 from ifed01/wip-ifed-rm-range-threshold-on-the-fly
Yuri Weinstein [Thu, 9 Mar 2023 22:52:42 +0000 (14:52 -0800)]
Merge pull request #49870 from ifed01/wip-ifed-rm-range-threshold-on-the-fly

kv/rocksdbstore: apply rocksdb_delete_range_threshold on the fly

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #49628 from Rethan/feat-osd-op-thread-timeout
Yuri Weinstein [Thu, 9 Mar 2023 22:52:12 +0000 (14:52 -0800)]
Merge pull request #49628 from Rethan/feat-osd-op-thread-timeout

osd: allow osd_op_thread_timeout and suicide_timeout to be adjusted o…

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2 years agoMerge pull request #50199 from athanatos/sjust/wip-scrub-event-helpers-50088
Laura Flores [Thu, 9 Mar 2023 21:30:23 +0000 (15:30 -0600)]
Merge pull request #50199 from athanatos/sjust/wip-scrub-event-helpers-50088

scrub: use a generic interface for scheduling timer based events

2 years agoMerge pull request #50283 from ronen-fr/wip-rf-partial-unpub
Laura Flores [Thu, 9 Mar 2023 20:54:47 +0000 (14:54 -0600)]
Merge pull request #50283 from ronen-fr/wip-rf-partial-unpub

osd/scrub: only call publish_stats_to_osd() where allowed and needed

2 years agoMerge pull request #50065 from ajarr/fix-58691
Laura Flores [Thu, 9 Mar 2023 19:09:04 +0000 (13:09 -0600)]
Merge pull request #50065 from ajarr/fix-58691

mgr: store names of modules that register RADOS clients in the MgrMap

2 years agoMerge pull request #49546 from Matan-B/wip-matanb-pull-push-naming
Laura Flores [Thu, 9 Mar 2023 18:55:18 +0000 (12:55 -0600)]
Merge pull request #49546 from Matan-B/wip-matanb-pull-push-naming

osd/ReplicatedBackend: Rename Push/Pull Info

2 years agorgw: add rgw-restore-bucket-index 50348/head
J. Eric Ivancich [Wed, 8 Mar 2023 21:51:17 +0000 (16:51 -0500)]
rgw: add rgw-restore-bucket-index

Adds an experimental script that allows a bucket index of a
non-versioned bucket to be restored by applying `radosgw-admin object
reindex ...` to all objects in the specified bucket. The objects in
the bucket are determined by scanning the data pool for head objects
containing the bucket's marker.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2 years agorgw: add an "object reindex" subcommand to radosgw-admin
J. Eric Ivancich [Thu, 2 Mar 2023 04:41:12 +0000 (23:41 -0500)]
rgw: add an "object reindex" subcommand to radosgw-admin

This subcommand will take a bucket and an object (or a list of objects
in a file) and add those objects to the bucket's index. It does so by
preparing the bucket index entry update and then allowing the
so-called "dir suggest" mechansim, which is triggered by listing the
bucket, to completing the bucket index entry. This mechanism is
triggered by listing the bucket.  Using this mechanism has the
advantage of doing this lazily that both allows the reindex operation
to run more quickly and distributes the workload over time.

This subcommand can help restore lost bucket index entries.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2 years agoMerge PR #50195 into main
Venky Shankar [Thu, 9 Mar 2023 14:20:38 +0000 (19:50 +0530)]
Merge PR #50195 into main

* refs/pull/50195/head:
cephfs-top: Handle `METRIC_TYPE_NONE` fields for sorting

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50456 from rhcs-dashboard/custom-image-kcli-bootstrap
Nizamudeen A [Thu, 9 Mar 2023 14:10:01 +0000 (19:40 +0530)]
Merge pull request #50456 from rhcs-dashboard/custom-image-kcli-bootstrap

mgr/dashboard: custom image for kcli bootstrap script

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agomgr/dashboard: custom image for kcli bootstrap script 50456/head
Nizamudeen A [Thu, 9 Mar 2023 11:51:44 +0000 (17:21 +0530)]
mgr/dashboard: custom image for kcli bootstrap script

the stable branches like quincy pulls from the quay.io/ceph/ceph:v17 to
bootstrap the ceph cluster in test environments. This will cause issues
because the branches are changing constantly but the image is not. So
using the quay.ceph.io repo to bring the cluster in test environment.

Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge PR #50177 into main
Venky Shankar [Thu, 9 Mar 2023 12:21:17 +0000 (17:51 +0530)]
Merge PR #50177 into main

* refs/pull/50177/head:
cephfs-top: navigate to home screen when no fs

Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #49953 from rhcs-dashboard/dashboard-rgw-multisite
Nizamudeen A [Thu, 9 Mar 2023 11:43:45 +0000 (17:13 +0530)]
Merge pull request #49953 from rhcs-dashboard/dashboard-rgw-multisite

mgr/dashboard: Dashboard RGW multisite configuration

Reviewed-by: aashish1412 <NOT@FOUND>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agomgr/dashboard: Dashboard RGW multisite configuration 49953/head
Aashish Sharma [Wed, 1 Feb 2023 05:26:31 +0000 (10:56 +0530)]
mgr/dashboard: Dashboard RGW multisite configuration

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2 years agoMerge pull request #50439 from anthonyeleven/anthonyeleven/caps
zdover23 [Thu, 9 Mar 2023 06:01:12 +0000 (16:01 +1000)]
Merge pull request #50439 from anthonyeleven/anthonyeleven/caps

doc/rados/operations: Improve wording, capitalization, formatting

Reviewed-by: Zac Dover <zac.dover@proton.me>
2 years agodoc/rados/operations: Improve wording, capitalizatiopn, formatting 50439/head
Anthony D'Atri [Wed, 8 Mar 2023 12:29:55 +0000 (07:29 -0500)]
doc/rados/operations: Improve wording, capitalizatiopn, formatting

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2 years agoMerge pull request #50149 from fmount/fs_cleanup
Guillaume Abrioux [Wed, 8 Mar 2023 16:01:10 +0000 (17:01 +0100)]
Merge pull request #50149 from fmount/fs_cleanup

Remove the filestore section from ceph-volume

2 years agoMerge pull request #50082 from adk3798/move-repos
Adam King [Wed, 8 Mar 2023 15:54:01 +0000 (10:54 -0500)]
Merge pull request #50082 from adk3798/move-repos

mgr/cephadm: make upgrade respect use_repo_digest

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50318 from Svelar/extra_conf
Adam King [Wed, 8 Mar 2023 15:52:39 +0000 (10:52 -0500)]
Merge pull request #50318 from Svelar/extra_conf

cephadm: eliminate duplication of sections

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #50413 from adk3798/prometheus-cephadm-dep
Adam King [Wed, 8 Mar 2023 15:49:37 +0000 (10:49 -0500)]
Merge pull request #50413 from adk3798/prometheus-cephadm-dep

mgr/prometheus: remove dependency on cephadm module

Reviewed-by: Redouane Kachach <rkachach@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 agotest_cephadm: fix conf format 50318/head
Rongqi Sun [Wed, 8 Mar 2023 02:16:55 +0000 (10:16 +0800)]
test_cephadm: fix conf format

Signed-off-by: Rongqi Sun <sunrongqi@huawei.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 agocephadm: eliminate duplication of sections
Rongqi Sun [Tue, 7 Mar 2023 09:12:31 +0000 (17:12 +0800)]
cephadm: eliminate duplication of sections

Signed-off-by: Rongqi Sun <sunrongqi@huawei.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 agomgr/prometheus: remove dependency on cephadm module 50413/head
Adam King [Fri, 3 Mar 2023 20:31:03 +0000 (15:31 -0500)]
mgr/prometheus: remove dependency on cephadm module

https://github.com/ceph/ceph/commit/f967ac061ebee362cdc82c458e955da75a9045e9
introduced an import of something in the cephadm module
in the prometheus module. This seems to break the prometheus
module in some non-cephadm setups. For example, the ceph-ansible
ci hit

failed: [mgr0 -> mon0] (item=prometheus) => changed=true
  ansible_loop_var: item
  cmd:
  - ceph
  - -n
  - client.admin
  - -k
  - /etc/ceph/ceph.client.admin.keyring
  - --cluster
  - ceph
  - mgr
  - module
  - enable
  - prometheus
  delta: '0:00:00.389965'
  end: '2023-03-03 15:30:07.631308'
  item: prometheus
  rc: 2
  start: '2023-03-03 15:30:07.241343'
  stderr: 'Error ENOENT: module ''prometheus'' reports that it cannot run on the active manager daemon: No module named ''cephadm'' (pass --force to force enablement)'
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>

so we need to be a bit more careful with this import and
make sure the prometheus module works fine without cephadm

Signed-off-by: Adam King <adking@redhat.com>
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>