]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agoMerge pull request #47756 from dparmar18/wip-dparmar-cephadm-after-revert
Adam King [Thu, 22 Sep 2022 13:54:06 +0000 (09:54 -0400)]
Merge pull request #47756 from dparmar18/wip-dparmar-cephadm-after-revert

pybind/mgr/cephadm/upgrade: allow upgrades without reducing max_mds

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agoMerge pull request #48118 from s0nea/container-version-fix
Adam King [Thu, 22 Sep 2022 13:50:31 +0000 (09:50 -0400)]
Merge pull request #48118 from s0nea/container-version-fix

cephadm: consider stdout to get container version

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2 years agoMerge pull request #48120 from mgfritch/cephadm-haproxy-nonlocal-bind
Adam King [Thu, 22 Sep 2022 13:47:29 +0000 (09:47 -0400)]
Merge pull request #48120 from mgfritch/cephadm-haproxy-nonlocal-bind

cephadm: add `ip_nonlocal_bind` to haproxy deployment

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #48184 from SUSE/wip-fix-57609
Adam King [Thu, 22 Sep 2022 13:46:11 +0000 (09:46 -0400)]
Merge pull request #48184 from SUSE/wip-fix-57609

python-common: Add 'KB' to supported suffixes in SizeMatcher

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #48200 from guits/fix-57627
Guillaume Abrioux [Thu, 22 Sep 2022 13:28:35 +0000 (15:28 +0200)]
Merge pull request #48200 from guits/fix-57627

ceph-volume: fix regression in activate

2 years agoMerge pull request #48185 from zhscn/wip-dtype
Yingxin [Thu, 22 Sep 2022 07:03:12 +0000 (15:03 +0800)]
Merge pull request #48185 from zhscn/wip-dtype

crimson/os/seastore: introduce backend_type_t

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agocrimson/os/seastore: make device according to device type 48185/head
Zhang Song [Tue, 20 Sep 2022 06:09:57 +0000 (14:09 +0800)]
crimson/os/seastore: make device according to device type

Signed-off-by: Zhang Song <zhangsong325@gmail.com>
2 years agocrimson/os/seastore: introduce get_backend_type to Device
Zhang Song [Mon, 19 Sep 2022 08:33:10 +0000 (16:33 +0800)]
crimson/os/seastore: introduce get_backend_type to Device

Signed-off-by: Zhang Song <zhangsong325@gmail.com>
2 years agocrimson/os/seastore: make can_delay_allocation always return true
Zhang Song [Thu, 22 Sep 2022 05:42:30 +0000 (13:42 +0800)]
crimson/os/seastore: make can_delay_allocation always return true

Signed-off-by: Zhang Song <zhangsong325@gmail.com>
2 years agocrimson/os/seastore: rename about device_type_t and journal_type_t
Zhang Song [Mon, 19 Sep 2022 08:09:48 +0000 (16:09 +0800)]
crimson/os/seastore: rename about device_type_t and journal_type_t

Signed-off-by: Zhang Song <zhangsong325@gmail.com>
2 years agocrimson/os/seastore: introduce backend_type_t
Zhang Song [Mon, 19 Sep 2022 07:43:53 +0000 (15:43 +0800)]
crimson/os/seastore: introduce backend_type_t

Signed-off-by: Zhang Song <zhangsong325@gmail.com>
2 years agoMerge pull request #48012 from Huber-ming/slave_requestPayment
J. Eric Ivancich [Thu, 22 Sep 2022 01:28:33 +0000 (21:28 -0400)]
Merge pull request #48012 from Huber-ming/slave_requestPayment

rgw: set requestPayment in slave zone

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #48021 from soumyakoduri/wip-multisite-crash
J. Eric Ivancich [Wed, 21 Sep 2022 22:37:30 +0000 (18:37 -0400)]
Merge pull request #48021 from soumyakoduri/wip-multisite-crash

rgw: Drain async_processor request queue during shutdown

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2 years agoceph-volume: fix regression in activate 48200/head
Guillaume Abrioux [Wed, 21 Sep 2022 20:25:04 +0000 (22:25 +0200)]
ceph-volume: fix regression in activate

bea9f4b643c introduced a regression that makes the activate process
take a very long time to complete.
`_get_bluestore_info()` which calls `ceph-bluestore-tool` binary via
subprocess is called in an exponential way while this is not needed.

Fixes: https://tracker.ceph.com/issues/57627
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2 years agoMerge pull request #47766 from cbodley/wip-qa-rgw-tempest-meta
Casey Bodley [Wed, 21 Sep 2022 16:45:32 +0000 (12:45 -0400)]
Merge pull request #47766 from cbodley/wip-qa-rgw-tempest-meta

qa/rgw/tempest: blocklist failing tests for removal of container metadata

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 years agoMerge pull request #48193 from rhcs-dashboard/fix-stoi
Avan [Wed, 21 Sep 2022 16:19:18 +0000 (21:49 +0530)]
Merge pull request #48193 from rhcs-dashboard/fix-stoi

exporter: avoid stoi for empty pid_str

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #47900 from Matan-B/wip-matanb-librados-20
Laura Flores [Wed, 21 Sep 2022 15:06:12 +0000 (10:06 -0500)]
Merge pull request #47900 from Matan-B/wip-matanb-librados-20

examples/librados: Compile with c++20 on Ubuntu

2 years agocephadm: add `ip_nonlocal_bind` to haproxy deployment 48120/head
Michael Fritch [Thu, 15 Sep 2022 04:22:04 +0000 (22:22 -0600)]
cephadm: add `ip_nonlocal_bind` to haproxy deployment

standalone haproxy deployments require the
`net.ipv4.ip_nonlocal_bind` sysctl setting

Fixes: https://tracker.ceph.com/issues/57563
Signed-off-by: Michael Fritch <mfritch@suse.com>
2 years agoMerge pull request #48191 from phlogistonjohn/jjm-cephadm-tox-coverage
Adam King [Wed, 21 Sep 2022 12:41:55 +0000 (08:41 -0400)]
Merge pull request #48191 from phlogistonjohn/jjm-cephadm-tox-coverage

cephadm: add a tox env for generating a coverage report

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #47494 from rhcs-dashboard/pgs-repaired
Pedro Gonzalez Gomez [Wed, 21 Sep 2022 12:10:13 +0000 (14:10 +0200)]
Merge pull request #47494 from rhcs-dashboard/pgs-repaired

mgr/prometheus: expose repaired pgs metrics

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #48190 from ronen-fr/wip-rf-replica-init
Ronen Friedman [Wed, 21 Sep 2022 10:38:39 +0000 (13:38 +0300)]
Merge pull request #48190 from ronen-fr/wip-rf-replica-init

osd/scrub: make on_replica_init() idempotent again

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
2 years agoexporter: avoid stoi for empty pid_str 48193/head
Avan Thakkar [Tue, 20 Sep 2022 20:30:31 +0000 (02:00 +0530)]
exporter: avoid stoi for empty pid_str

Fixes: https://tracker.ceph.com/issues/57619
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2 years agoMerge pull request #48121 from rzarzynski/wip-crimson-pgadvmap-critical-from
Samuel Just [Tue, 20 Sep 2022 22:00:45 +0000 (15:00 -0700)]
Merge pull request #48121 from rzarzynski/wip-crimson-pgadvmap-critical-from

crimson/osd: initialize PGAdvanceMap::from inside critical section

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agocephadm: add a tox env for generating a coverage report 48191/head
John Mulligan [Mon, 19 Sep 2022 19:11:27 +0000 (15:11 -0400)]
cephadm: add a tox env for generating a coverage report

This "dormant" target is here for developers to run locally and generate
a HTML coverage report to review.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #48131 from adamemerson/wip-no-fno-new-ttp-matching
Casey Bodley [Tue, 20 Sep 2022 15:23:17 +0000 (11:23 -0400)]
Merge pull request #48131 from adamemerson/wip-no-fno-new-ttp-matching

build: Remove -fno-new-ttp-matchingg flag

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2 years agoosd/scrub: make on_replica_init() idempotent again 48190/head
Ronen Friedman [Tue, 20 Sep 2022 07:02:51 +0000 (07:02 +0000)]
osd/scrub: make on_replica_init() idempotent again

on_replica_init() might be called twice during replica scrub
initiation. Thus, it was designed to cause no issue if called
an extra time. That was broken when the scrubber-backend code
was introduced.

Fixes: https://tracker.ceph.com/issues/57616
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 years agoMerge pull request #48172 from mchangir/doc-add-note-about-cephfs-mirroring-paths v18.0.0
Venky Shankar [Tue, 20 Sep 2022 11:53:38 +0000 (17:23 +0530)]
Merge pull request #48172 from mchangir/doc-add-note-about-cephfs-mirroring-paths

doc/cephfs: add note about cephfs-mirroring paths

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agodoc/cephfs: add note about cephfs-mirroring paths 48172/head
Milind Changire [Tue, 20 Sep 2022 08:17:08 +0000 (13:47 +0530)]
doc/cephfs: add note about cephfs-mirroring paths

Signed-off-by: Milind Changire <mchangir@redhat.com>
2 years agocephadm: consider stdout to get container version 48118/head
Tatjana Dehler [Wed, 14 Sep 2022 14:36:16 +0000 (16:36 +0200)]
cephadm: consider stdout to get container version

Fixes: https://tracker.ceph.com/issues/57558
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2 years agopython-common: Add 'KB' to supported suffixes in SizeMatcher 48184/head
Tim Serong [Tue, 20 Sep 2022 05:42:51 +0000 (15:42 +1000)]
python-common: Add 'KB' to supported suffixes in SizeMatcher

Fixes: https://tracker.ceph.com/issues/57609
Signed-off-by: Tim Serong <tserong@suse.com>
2 years agoMerge pull request #48149 from batrick/i57586
Venky Shankar [Tue, 20 Sep 2022 04:06:38 +0000 (09:36 +0530)]
Merge pull request #48149 from batrick/i57586

tools: allow spaces in dentries for first-damage.sh

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #48057 from athanatos/sjust/wip-io-hang
Samuel Just [Tue, 20 Sep 2022 00:52:36 +0000 (17:52 -0700)]
Merge pull request #48057 from athanatos/sjust/wip-io-hang

crimson/osd/client_request: use fresh tracking_events/handle instances on requeue

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agocrimson/osd/client_request: use fresh tracking_events/handle instances on requeue 48057/head
Samuel Just [Mon, 12 Sep 2022 19:17:16 +0000 (19:17 +0000)]
crimson/osd/client_request: use fresh tracking_events/handle instances on requeue

See instance_handle_t explanation in client_request.h

Fixes: https://tracker.ceph.com/issues/57494
Fixes: https://tracker.ceph.com/issues/57495
Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #48059 from athanatos/sjust/wip-57506
Samuel Just [Mon, 19 Sep 2022 20:40:41 +0000 (13:40 -0700)]
Merge pull request #48059 from athanatos/sjust/wip-57506

crimson: fix for pgs stuck in +wait along with some debug improvements

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #48091 from rzarzynski/wip-crimson-pgadvmap-complete-in-order
Samuel Just [Mon, 19 Sep 2022 20:30:52 +0000 (13:30 -0700)]
Merge pull request #48091 from rzarzynski/wip-crimson-pgadvmap-complete-in-order

crimson/osd: PGAdvanceMap ops complete in order

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #48134 from rhcs-dashboard/silence-fix
Nizamudeen A [Mon, 19 Sep 2022 19:23:55 +0000 (00:53 +0530)]
Merge pull request #48134 from rhcs-dashboard/silence-fix

mgr/dashboard: use service call instead of form component

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2 years agotools: allow spaces in dentries for first-damage.sh 48149/head
Patrick Donnelly [Fri, 16 Sep 2022 19:00:38 +0000 (15:00 -0400)]
tools: allow spaces in dentries for first-damage.sh

Fixes: https://tracker.ceph.com/issues/57586
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agoqa: test first damage with dentry containing spaces
Patrick Donnelly [Fri, 16 Sep 2022 19:02:11 +0000 (15:02 -0400)]
qa: test first damage with dentry containing spaces

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agoMerge pull request #45369 from jyha200/wip-samplededup
Samuel Just [Mon, 19 Sep 2022 17:32:19 +0000 (10:32 -0700)]
Merge pull request #45369 from jyha200/wip-samplededup

ceph_dedup_tool: adding sample-dedup

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2 years agomgr/prometheus: expose num objects repaired in pool 47494/head
Pere Diaz Bou [Mon, 8 Aug 2022 10:51:16 +0000 (12:51 +0200)]
mgr/prometheus: expose num objects repaired in pool

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #41855 from p-se/compile-cephadm-1
Adam King [Mon, 19 Sep 2022 15:48:51 +0000 (11:48 -0400)]
Merge pull request #41855 from p-se/compile-cephadm-1

cephadm: compile cephadm

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2 years agoMerge pull request #47873 from pdvian/wip-log-last
Yuri Weinstein [Mon, 19 Sep 2022 15:36:45 +0000 (08:36 -0700)]
Merge pull request #47873 from pdvian/wip-log-last

mon/LogMonitor: Fix log last

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #47852 from Matan-B/wip-matanb-radosmodel
Yuri Weinstein [Mon, 19 Sep 2022 15:36:15 +0000 (08:36 -0700)]
Merge pull request #47852 from Matan-B/wip-matanb-radosmodel

test/osd/RadosModel: Improve error debugging

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #47841 from Matan-B/wip-matanb-rados-striper
Yuri Weinstein [Mon, 19 Sep 2022 15:35:31 +0000 (08:35 -0700)]
Merge pull request #47841 from Matan-B/wip-matanb-rados-striper

SimpleRADOSStriper: Avoid moving bufferlists by using deque in read()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2 years agoMerge pull request #47774 from vumrao/wip-vumrao-57271
Yuri Weinstein [Mon, 19 Sep 2022 15:33:54 +0000 (08:33 -0700)]
Merge pull request #47774 from vumrao/wip-vumrao-57271

blk/KernelDevice: Modify the rotational and discard check log message

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2 years agoMerge pull request #48156 from cbodley/wip-rgw-unused-throttles
Casey Bodley [Mon, 19 Sep 2022 15:31:25 +0000 (11:31 -0400)]
Merge pull request #48156 from cbodley/wip-rgw-unused-throttles

rgw: remove unused AioThrottles in rgw_op.cc

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 years agoMerge pull request #46321 from jmolmo/issue_55605
Adam King [Mon, 19 Sep 2022 15:04:58 +0000 (11:04 -0400)]
Merge pull request #46321 from jmolmo/issue_55605

mgr/rook: fix error when trying to get the list of nfs services

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #46961 from tcoldrick-bb/balancer-weekday
Yuri Weinstein [Mon, 19 Sep 2022 14:15:29 +0000 (07:15 -0700)]
Merge pull request #46961 from tcoldrick-bb/balancer-weekday

mgr/balancer: Disallow 7 as {begin,end}_weekday and 2400 as {begin,end}_time

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #46091 from pdvian/wip-bluestore-error
Yuri Weinstein [Mon, 19 Sep 2022 14:15:01 +0000 (07:15 -0700)]
Merge pull request #46091 from pdvian/wip-bluestore-error

os/bluestore: Log error to stderr if fail to decode label

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2 years agoMerge pull request #43791 from rzarzynski/wip-net-perfctrs-for-encrypted-traffic
Yuri Weinstein [Mon, 19 Sep 2022 14:14:02 +0000 (07:14 -0700)]
Merge pull request #43791 from rzarzynski/wip-net-perfctrs-for-encrypted-traffic

auth, msg/async: add perf counters for encrypted traffic

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoexamples: Compile with c++20 47900/head
Matan Breizman [Wed, 31 Aug 2022 18:02:18 +0000 (18:02 +0000)]
examples: Compile with c++20

This change will apply to ubuntu only.
Fixes: https://tracker.ceph.com/issues/57163
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 years agoMerge pull request #48166 from rhcs-dashboard/fix-empty-pid-path-case
Avan [Mon, 19 Sep 2022 13:17:15 +0000 (18:47 +0530)]
Merge pull request #48166 from rhcs-dashboard/fix-empty-pid-path-case

exporter: don't skip loop if pid path is empty

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoexporter: don't skip loop if pid path is empty 48166/head
Avan Thakkar [Mon, 19 Sep 2022 10:30:20 +0000 (16:00 +0530)]
exporter: don't skip loop if pid path is empty

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Fixes issue when pid file config comes empty from config dump which prevents to add metrics. Also get process metrics only if
pid_path isn't empty.

2 years agoMerge pull request #47986 from lmgdlmgd/patch-3
Igor Fedotov [Mon, 19 Sep 2022 08:54:30 +0000 (11:54 +0300)]
Merge pull request #47986 from lmgdlmgd/patch-3

osd: set per_pool_stats true when OSD has no PG

Reviewed-by: Igor Fedotov <ifedotov@croit.io>
2 years agoMerge pull request #48139 from ktdreyer/win-simplify-openssl
Lucian Petrut [Mon, 19 Sep 2022 07:59:33 +0000 (10:59 +0300)]
Merge pull request #48139 from ktdreyer/win-simplify-openssl

win32: skip installing openssl man pages

2 years agomgr/dashboard: use service call instead of form component 48134/head
Nizamudeen A [Fri, 16 Sep 2022 07:20:26 +0000 (12:50 +0530)]
mgr/dashboard: use service call instead of form component

For creating the silence from the notification sidebar, instead of using
the silence form which will require initializing the whole component on
the landing page, we can just call the prometheus service and pass on
the required data to the service call. This will fix showing the
`Prometheus not configured` error everytime we visit the landing page when
the prometheus is not configured

Fixes: https://tracker.ceph.com/issues/57576
Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years agoceph_dedup_tool: fix threshold comparison 45369/head
myoungwon oh [Sat, 17 Sep 2022 07:11:49 +0000 (16:11 +0900)]
ceph_dedup_tool: fix threshold comparison

If threadhold count is 2, existing code always returns true
even though reference count is 1 actually  because it additionally
adds one via ++.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2 years agoceph_dedup_tool: make SampleDedupWorkerThread::chunk_size const
Samuel Just [Sat, 17 Sep 2022 03:15:39 +0000 (20:15 -0700)]
ceph_dedup_tool: make SampleDedupWorkerThread::chunk_size const

Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agoceph_dedup_tool: remove unused SampleDedupWorkerThread::duplicable_chunks
Samuel Just [Sat, 17 Sep 2022 03:15:15 +0000 (20:15 -0700)]
ceph_dedup_tool: remove unused SampleDedupWorkerThread::duplicable_chunks

Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agoceph_dedup_tool: minor code simplifications
Samuel Just [Sat, 17 Sep 2022 03:00:24 +0000 (03:00 +0000)]
ceph_dedup_tool: minor code simplifications

Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agoceph_dedup_tool: remove unimplemented mark_non_dedup method signature
Samuel Just [Sat, 17 Sep 2022 03:11:53 +0000 (20:11 -0700)]
ceph_dedup_tool: remove unimplemented mark_non_dedup method signature

Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agoceph_dedup_tool: fix log lines to use std::endl, update object skip message
Samuel Just [Sat, 17 Sep 2022 03:08:54 +0000 (20:08 -0700)]
ceph_dedup_tool: fix log lines to use std::endl, update object skip message

Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agoceph_dedup_tool: remove unused SampleDedupWorkerThread::do_object_dedup
Samuel Just [Sat, 17 Sep 2022 03:08:09 +0000 (20:08 -0700)]
ceph_dedup_tool: remove unused SampleDedupWorkerThread::do_object_dedup

Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agoceph_dedup_tool: make SampleDedupGlobal::sampling_rate const
Samuel Just [Sat, 17 Sep 2022 02:57:07 +0000 (02:57 +0000)]
ceph_dedup_tool: make SampleDedupGlobal::sampling_rate const

Clarifies why it doesn't need to be protected by a lock.

Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agoceph_dedup_tool: remove unused SampleDedupGlobal::object_dedup_threshold
Samuel Just [Sat, 17 Sep 2022 02:56:21 +0000 (02:56 +0000)]
ceph_dedup_tool: remove unused SampleDedupGlobal::object_dedup_threshold

Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agoceph_dedup_tool: fix unnecessarily complicated bool returns
Samuel Just [Sat, 17 Sep 2022 02:47:23 +0000 (02:47 +0000)]
ceph_dedup_tool: fix unnecessarily complicated bool returns

Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agoceph_dedup_tool: SampleDedupWorkerThread can simply inherit from Thread
Samuel Just [Sat, 17 Sep 2022 02:42:49 +0000 (02:42 +0000)]
ceph_dedup_tool: SampleDedupWorkerThread can simply inherit from Thread

SampleDedupWorkerThread didn't actually use any of the facilities on
CrawlerThread and indeed left several of them uninitialized.

Also allows us to remove the CrawlerThread constructor which left
several members uninitialized.

Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agoqa: remove unused values in deduplication.py
myoungwon oh [Sat, 17 Sep 2022 02:22:56 +0000 (11:22 +0900)]
qa: remove unused values in deduplication.py

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2 years agoqa: add validation stage for deduplication.py
Sungmin Lee [Tue, 23 Aug 2022 04:51:31 +0000 (13:51 +0900)]
qa: add validation stage for deduplication.py

To validate sample-dedup actually works, validate() runs
separated thread from sample-dedup and verifies
two following things.
1. check sample-dedup starts properly.
2. check references of all the chunk objects' in chunk tier
   exists in designated base pool.
This routune repeats for max_valication_cnt times while
sample-dedup is running. If it doesn't raise any fail while the loop,
we can pretend sample-dedup works accurately.
If not, assert() will stop this test.

In case that a reference of chunk object doesn't exist in base pool,
validate() gives a second chance after repairing it (chunk-repair op)
to deal with false-positive reference inconsistency.

Signed-off-by: Sungmin Lee <sung_min.lee@samsung.com>
2 years agosrc/tools/ceph_dedup_tool: fixes to daemonize the process correctly
myoungwon oh [Thu, 25 Aug 2022 05:51:36 +0000 (14:51 +0900)]
src/tools/ceph_dedup_tool: fixes to daemonize the process correctly

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2 years agoqa: add deduplication test under RGW workload (s3)
myoungwon oh [Wed, 11 May 2022 12:21:05 +0000 (21:21 +0900)]
qa: add deduplication test under RGW workload (s3)

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2 years agoMerge pull request #48157 from zdover23/wip-doc-2022-09-18-rados-network-config-promp...
zdover23 [Sat, 17 Sep 2022 22:11:48 +0000 (08:11 +1000)]
Merge pull request #48157 from zdover23/wip-doc-2022-09-18-rados-network-config-prompt-correction

doc/rados: update prompts in network-config-ref

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: update prompts in network-config-ref 48157/head
Zac Dover [Sat, 17 Sep 2022 20:59:47 +0000 (06:59 +1000)]
doc/rados: update prompts in network-config-ref

This PR adds unselectable prompts to network-config-
ref.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agorgw: remove unused AioThrottles in rgw_op.cc 48156/head
Casey Bodley [Sat, 17 Sep 2022 15:42:09 +0000 (11:42 -0400)]
rgw: remove unused AioThrottles in rgw_op.cc

throttle creation was moved to RadosStore::get_atomic_writer(),
RadosStore::get_append_writer(), and RadosMultipartUpload::get_writer()

these instances in rgw_op.cc were unused

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoqa: turn fail_fs off in case default changes 47756/head
Patrick Donnelly [Fri, 16 Sep 2022 14:32:58 +0000 (10:32 -0400)]
qa: turn fail_fs off in case default changes

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agoMerge pull request #47849 from torchiaf/fix/37327
Nizamudeen A [Fri, 16 Sep 2022 15:19:48 +0000 (20:49 +0530)]
Merge pull request #47849 from torchiaf/fix/37327

mgr/dashboard: Add details to the modal which displays the `safe-to-d…

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2 years agoMerge pull request #47958 from rhcs-dashboard/edit-host-labels-fix
Nizamudeen A [Fri, 16 Sep 2022 15:17:50 +0000 (20:47 +0530)]
Merge pull request #47958 from rhcs-dashboard/edit-host-labels-fix

mgr/dashboard: fix Expected to find element: `cd-modal .badge but never found it

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
2 years agowin32: skip installing openssl man pages 48139/head
Ken Dreyer [Fri, 9 Sep 2022 17:38:29 +0000 (17:38 +0000)]
win32: skip installing openssl man pages

This speeds up the build a bit and makes the logs easier to read.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2 years agoMerge pull request #45148 from guits/revert-ceph-crash-changes
Adam King [Fri, 16 Sep 2022 14:27:10 +0000 (10:27 -0400)]
Merge pull request #45148 from guits/revert-ceph-crash-changes

Revert "src/ceph-crash.in: remove unused frame in handler()"

Reviewed-by: Teoman ONAY <tonay@redhat.com>
2 years agoMerge pull request #47965 from cbodley/wip-rgw-drain-cb-capture-error
Casey Bodley [Fri, 16 Sep 2022 14:02:14 +0000 (10:02 -0400)]
Merge pull request #47965 from cbodley/wip-rgw-drain-cb-capture-error

Revert "rgw: add coroutine drain callback capture_error()"

Reviewed-by: Soumya Koduri <skoduri@redhat.com>
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agomgr/dashboard: Add details to the modal which displays the `safe-to-destroy` result 47849/head
Francesco Torchia [Fri, 26 Aug 2022 15:39:43 +0000 (17:39 +0200)]
mgr/dashboard: Add details to the modal which displays the `safe-to-destroy` result

- Add warnings type information in the case of the OSDs are not safe to destroy
- Add info type information in the case of the OSDs are safe to destroy

Fixes: https://tracker.ceph.com/issues/37327
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2 years agoMerge pull request #47878 from xxhdx1985126/wip-pin_set-cpu
Yingxin [Fri, 16 Sep 2022 01:41:20 +0000 (09:41 +0800)]
Merge pull request #47878 from xxhdx1985126/wip-pin_set-cpu

crimson/os/seastore/btree: reduce the avg number of queries of pin sets' parent/child lookup

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agobuild: Remove -fno-new-ttp-matchingg flag 48131/head
Adam C. Emerson [Fri, 16 Sep 2022 00:05:57 +0000 (20:05 -0400)]
build: Remove -fno-new-ttp-matchingg flag

This was added in the upgrade to C++17. It's no longer needed since
fixing Clang compatibility got rid of non-conforming templates.

It's no longer needed and getting rid of it is a (minor) quality of
life enhancement since it gets rid of a spurious error when using
Clang based build tools (language server, etc.) while compiling with
GCC.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2 years agoqa: mds upgrade suite as per merge-hook scripts
dparmar18 [Fri, 26 Aug 2022 15:40:37 +0000 (21:10 +0530)]
qa: mds upgrade suite as per merge-hook scripts

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoMerge pull request #47090 from lxbsz/wip-56553
Venky Shankar [Thu, 15 Sep 2022 16:15:00 +0000 (21:45 +0530)]
Merge pull request #47090 from lxbsz/wip-56553

client: do not uninline data for read

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #48037 from guits/fix_57085
Guillaume Abrioux [Thu, 15 Sep 2022 14:58:14 +0000 (16:58 +0200)]
Merge pull request #48037 from guits/fix_57085

ceph-volume: fix inventory with device arg

2 years agocrimson/osd: initialize PGAdvanceMap::from inside critical section 48121/head
Radoslaw Zarzynski [Thu, 15 Sep 2022 14:42:05 +0000 (14:42 +0000)]
crimson/osd: initialize PGAdvanceMap::from inside critical section

Fixes: https://tracker.ceph.com/issues/57542
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #48117 from guits/fix-cv-func-test-filestore-create
Guillaume Abrioux [Thu, 15 Sep 2022 14:43:11 +0000 (16:43 +0200)]
Merge pull request #48117 from guits/fix-cv-func-test-filestore-create

ceph-volume/tests: fix lvm centos8-filestore-create job

2 years agoMerge pull request #48054 from yuvalif/wip-yuval-fix-56572
Casey Bodley [Thu, 15 Sep 2022 14:04:39 +0000 (10:04 -0400)]
Merge pull request #48054 from yuvalif/wip-yuval-fix-56572

tests: remove pubsub tests from multisite

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kalpesh Pandya <kapandya@redhat.com>
2 years agoMerge pull request #47516 from nmshelke/fix-56632
Venky Shankar [Thu, 15 Sep 2022 09:25:26 +0000 (14:55 +0530)]
Merge pull request #47516 from nmshelke/fix-56632

qa: ignore disk quota exceeded failure in test

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoceph-volume/tests: fix lvm centos8-filestore-create job 48117/head
Guillaume Abrioux [Thu, 15 Sep 2022 09:07:33 +0000 (11:07 +0200)]
ceph-volume/tests: fix lvm centos8-filestore-create job

/dev/vdc1 can't be zapped if it still holds an lv mapper.
let's use --destroy in the lvm zap command in order to remove
the held lv mapper before zapping the partition and recreate the partition after.

Fixes: https://tracker.ceph.com/issues/57553
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2 years agocrimson/os/seastore/btree: reduce the avg number of queries of pin sets' parent/child... 47878/head
Xuehan Xu [Tue, 30 Aug 2022 10:54:29 +0000 (18:54 +0800)]
crimson/os/seastore/btree: reduce the avg number of queries of pin sets' parent/child lookup

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2 years agoMerge pull request #47966 from cyx1231st/wip-seastore-move-gcprocess
Yingxin [Thu, 15 Sep 2022 06:02:41 +0000 (14:02 +0800)]
Merge pull request #47966 from cyx1231st/wip-seastore-move-gcprocess

crimson/os/seastore: move AsyncCleaner::GCProcess to EPM::BackgroundProcess

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
2 years agoMerge pull request #48105 from athanatos/sjust/wip-57530
Yingxin [Thu, 15 Sep 2022 01:26:18 +0000 (09:26 +0800)]
Merge pull request #48105 from athanatos/sjust/wip-57530

crimson/.../node.cc: fix Node initialization argument passing

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agocrimson/.../node.cc: fix Node initialization argument passing 48105/head
Samuel Just [Wed, 14 Sep 2022 23:32:42 +0000 (16:32 -0700)]
crimson/.../node.cc: fix Node initialization argument passing

Argument evaluation order is unspecified, clang seems to be choosing
to execute the std::unique_ptr move constructor before the call to
get(), causing the first argument to be passed as null.

https://tracker.ceph.com/issues/57530
Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #48002 from nSedrickm/accessibility-documentation
Laura Flores [Wed, 14 Sep 2022 21:43:34 +0000 (16:43 -0500)]
Merge pull request #48002 from nSedrickm/accessibility-documentation

doc/dashboard: update documentation with accessibility development pr…

2 years agoMerge pull request #46723 from nSedrickm/dashboard-health-accessibility-update
Pere Diaz Bou [Wed, 14 Sep 2022 20:02:58 +0000 (22:02 +0200)]
Merge pull request #46723 from nSedrickm/dashboard-health-accessibility-update

mgr/dashboard: Improve accessibility for dashboard health page

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #47668 from NitzanMordhai/wip-nitzan-test-rados-watch-notify-callbacks
Neha Ojha [Wed, 14 Sep 2022 19:11:39 +0000 (12:11 -0700)]
Merge pull request #47668 from NitzanMordhai/wip-nitzan-test-rados-watch-notify-callbacks

pybind/rados: notify callback reconnect

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #47937 from adk3798/tp-add-rm-settings-docs
Adam King [Wed, 14 Sep 2022 17:36:45 +0000 (13:36 -0400)]
Merge pull request #47937 from adk3798/tp-add-rm-settings-docs

doc/cephadm: fix tuned-profile add/rm-setting syntax example

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2 years agoMerge pull request #47709 from zalsader/add-daos
Casey Bodley [Wed, 14 Sep 2022 17:12:03 +0000 (13:12 -0400)]
Merge pull request #47709 from zalsader/add-daos

rgw: add DAOS SAL implementation

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>