]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Willem Jan Withagen [Sun, 11 Apr 2021 13:01:22 +0000 (15:01 +0200)]
tools: do not unload plugins during destruction.
FreeBSD ceph-dencoder crashes in the exit() calls, due to
invalid pointer references during the release process of
the loaded libraries.
Often this is signaled by libc reporting:
__cxa_thread_call_dtors: dtr 0x47efc0 from unloaded dso, skipping
The cause for this is different behaviour between FreeBSD and Linux:
https://groups.google.com/g/bsdmailinglist/c/22ncTZAbDp4/m/Dii_pII5AwAJ
_The FreeBSD implementation here looks racy. If one thread dlcloses an
object while another thread is exiting, we can end up calling a
function at an invalid memory address. It also looks as if it may
be possible to unload one library, load another at the same address,
and end up executing entirely the wrong code, which would have some
serious security implications.
The GNU/Linux equivalent of this function locks the DSO in memory
until all references to it have gone away. A call to dlclose() on
GNU/Linux will not actually unload the library until all threads
with destructors in that library have been unloaded. I believe
that this reuses the same reference counting mechanism that
allows the same library to be dlopened and dlclosed multiple times.
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Sage Weil [Sat, 10 Apr 2021 13:01:58 +0000 (09:01 -0400)]
Merge PR #40577 into master
* refs/pull/40577/head:
cephadm: normalize unqualified repo digests to docker.io
mgr/cephadm/upgrade: normalize unqualified target image
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Sage Weil [Sat, 10 Apr 2021 13:01:27 +0000 (09:01 -0400)]
Merge PR #40537 into master
* refs/pull/40537/head:
cephadm:persist the grafana.db file
Reviewed-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Sat, 10 Apr 2021 03:08:51 +0000 (20:08 -0700)]
Merge PR #40653 into master
* refs/pull/40653/head:
mon: check mdsmap is resizeable before promoting standby-replay
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Sat, 10 Apr 2021 03:06:21 +0000 (20:06 -0700)]
Merge PR #40642 into master
* refs/pull/40642/head:
client: don't allow access to MDS-private inodes
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Patrick Donnelly [Sat, 10 Apr 2021 03:04:32 +0000 (20:04 -0700)]
Merge PR #40481 into master
* refs/pull/40481/head:
qa: test standby-replay with fs:workloads
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Sat, 10 Apr 2021 03:02:27 +0000 (20:02 -0700)]
Merge PR #40431 into master
* refs/pull/40431/head:
qa/cephfs: remove create_keyring_file from cephfs_test_case.py
qa/cephfs: don't use sudo to write files in /tmp
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Patrick Donnelly [Sat, 10 Apr 2021 02:58:40 +0000 (19:58 -0700)]
Merge PR #40389 into master
* refs/pull/40389/head:
mds: reject lookup ino requests for mds dirs
test: add test for invalid lookup of mdsdir
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Neha Ojha [Sat, 10 Apr 2021 00:24:41 +0000 (17:24 -0700)]
Merge pull request #40723 from zdover23/wip-doc-second-attempt-mclock-rewrite-second-half-2021-Apr-09
doc/rados: rewrite mclock docs (2 of 2)
Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Josh Durgin [Fri, 9 Apr 2021 23:48:13 +0000 (16:48 -0700)]
Merge pull request #40738 from jdurgin/wip-librados-docs
include/librados: fix doxygen syntax for docs build
Reviewed-by: Neha Ojha <nojha@redhat.com>
Josh Durgin [Fri, 9 Apr 2021 22:01:32 +0000 (18:01 -0400)]
include/librados: fix doxygen syntax for docs build
The docs build is now warning about these like:
WARNING: Unparseable C cross-reference: '[in]'
Invalid C declaration: Expected identifier in nested name.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Sat, 3 Apr 2021 13:14:00 +0000 (09:14 -0400)]
cephadm: normalize unqualified repo digests to docker.io
A RepoDigests returned by docker|podman image inspect can either include
the docker.io/ prefix or not. For reasons that aren't entirely clear,
this may vary between hosts in a cluster. However, ceph/ceph@sha256:abc...
is the same thing as docker.io/ceph/ceph@sha256:abc..., and should be
treated as such. Otherwise, upgrade can get into a loop where it pulls
the image on a new host, finds the other variant of the repodigests,
sees no overlap, updates target_digests, and restarts. (It will then
find the first variant again on the first host and loop.)
Avoid this by normalizing any docker.io digests by always including the
docker.io/ prefix.
Note that it is technically possible that this assumption is wrong: it
may be that the image that already exists on the local host is from a
different registry in registries.conf's unqualified-search-registries.
However, we don't know which, since this is a search list. In practice,
it should be exceeding rare that an image that *we* are installing using
a fully-qualified image name will end up having an unqualified repodigest
in the local registry. Hopefully!
Fixes: https://tracker.ceph.com/issues/50114
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Tue, 6 Apr 2021 13:36:31 +0000 (09:36 -0400)]
mgr/cephadm/upgrade: normalize unqualified target image
If we get an unqualified target image, assume it's docker.io. This
ensures that we're passing a fully-qualified target to docker|podman on
the various hosts and don't end up with something different based on the
per-host search path for unqualified image names.
Signed-off-by: Sage Weil <sage@newdream.net>
Zac Dover [Fri, 9 Apr 2021 10:49:15 +0000 (20:49 +1000)]
doc/rados: rewrite mclock docs (2 of 2)
This is my second attempt to rewrite the
second half of the mclock docs. The first attempt
is enshrined in https://github.com/ceph/ceph/pull/40571,
in which I got cute with git and got burned.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Samuel Just [Fri, 9 Apr 2021 19:42:18 +0000 (12:42 -0700)]
Merge pull request #39216 from myoungwon/wip-manifest-dedup-test
osd, test: reworks for manifest dedup test cases
Reviewed-by: Samuel Just <sjust@redhat.com>
Yuri Weinstein [Fri, 9 Apr 2021 14:45:55 +0000 (07:45 -0700)]
Merge pull request #40623 from ronen-fr/wip-ronenf-revert-40077
osd: Revert "osd: Try other PGs when reservation failures occur"
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Fri, 9 Apr 2021 14:44:42 +0000 (07:44 -0700)]
Merge pull request #40606 from myoungwon/wip-49427-2
osd: recover unreadable snapshot before reading refcount info
Reviewed-by: Samuel Just <sjust@redhat.com>
Josh Durgin [Thu, 8 Apr 2021 22:36:27 +0000 (15:36 -0700)]
Merge pull request #40510 from aclamk/wip-bluestore-sharding-rst
doc: Add BlueStore sharding documentation
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Patrick Donnelly [Wed, 24 Mar 2021 20:54:17 +0000 (13:54 -0700)]
mds: reject lookup ino requests for mds dirs
Fixes: https://tracker.ceph.com/issues/49922
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 29 Mar 2021 22:08:28 +0000 (15:08 -0700)]
qa: test standby-replay with fs:workloads
Fixes: https://tracker.ceph.com/issues/50045
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 8 Apr 2021 18:35:05 +0000 (11:35 -0700)]
Merge PR #40486 into master
* refs/pull/40486/head:
mds: trim cache regularly for standby-replay
mds: remove extra heap release
Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Patrick Donnelly [Thu, 8 Apr 2021 18:34:21 +0000 (11:34 -0700)]
Merge PR #40520 into master
* refs/pull/40520/head:
mds/scrub: background scrub error fixes
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 8 Apr 2021 18:33:41 +0000 (11:33 -0700)]
Merge PR #40633 into master
* refs/pull/40633/head:
mds: ensure export_pin rank < max_mds
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 8 Apr 2021 18:33:08 +0000 (11:33 -0700)]
Merge PR #40638 into master
* refs/pull/40638/head:
mds: do not show the default auth if it's unambiguous
mds: switch to rank number instead
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 7 Apr 2021 19:27:05 +0000 (12:27 -0700)]
mon: check mdsmap is resizeable before promoting standby-replay
If any MDS is up:creating, some rank data structures may not exist yet.
Fixes: https://tracker.ceph.com/issues/50215
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Thu, 8 Apr 2021 14:57:23 +0000 (22:57 +0800)]
Merge pull request #40617 from tchaikov/wip-system-pmem
install-deps.sh: install libpmem libraries if WITH_PMEM is set
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 8 Apr 2021 14:28:10 +0000 (07:28 -0700)]
Merge PR #40467 into master
* refs/pull/40467/head:
doc: detail `fs snapshot mirror daemon status` mgr command
doc: s/<fs>/<fs_name>/g
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Kefu Chai [Thu, 8 Apr 2021 12:37:41 +0000 (20:37 +0800)]
Merge pull request #40654 from rzarzynski/wip-crimson-notify-lifetime
crimson/osd: fix the lifetime of Notify during timeouts
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ilya Dryomov [Thu, 8 Apr 2021 11:07:44 +0000 (13:07 +0200)]
Merge pull request #40641 from idryomov/wip-require-ceph-common-for-ioc
packaging: require ceph-common for immutable object cache daemon
Reviewed-by: Kefu Chai <kchai@redhat.com>
Radoslaw Zarzynski [Wed, 7 Apr 2021 19:49:17 +0000 (19:49 +0000)]
crimson/osd: improve debugs around Watch / Notify.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Wed, 7 Apr 2021 19:48:49 +0000 (19:48 +0000)]
crimson/osd: fix the lifetime of Notify during timeouts.
This fixes a segfault during `LibRadosWatchNotify.WatchNotify2Timeout`.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Venky Shankar [Mon, 29 Mar 2021 08:59:58 +0000 (04:59 -0400)]
doc: detail `fs snapshot mirror daemon status` mgr command
@leseb noticed that this interface did not have any documentation. Thanks!
Fixes: http://tracker.ceph.com/issues/50229
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 29 Mar 2021 09:29:54 +0000 (05:29 -0400)]
doc: s/<fs>/<fs_name>/g
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Kefu Chai [Thu, 8 Apr 2021 09:12:38 +0000 (17:12 +0800)]
run-make-check: enable WITH_RBD_RWL when WITH_PMEM is true
so we can at least build-test the rwl cache plugin in "make check" run.
this is an opt-in option which is only enabled if WITH_PMEM is "true",
we will set it in the corresponding ceph-build job.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 6 Apr 2021 12:17:12 +0000 (20:17 +0800)]
install-deps.sh: install libpmem libraries if WITH_PMEM is set
Signed-off-by: Kefu Chai <kchai@redhat.com>
myoungwon oh [Thu, 1 Apr 2021 00:59:22 +0000 (09:59 +0900)]
osd: do not assert() in the case of no obc
Upon rollback, we should handle ENOENT case,
so what we should do here is to return NOOP.
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
myoungwon oh [Wed, 31 Mar 2021 06:22:01 +0000 (15:22 +0900)]
osd: remove unnecessary ref handling in _delete_oid
Let's consider the following case when handling a delete op.
1. Delete --> whiteouted
2. Make clone
In this case, current code clears chunk_map and calls dec_all_manifest_refcount()
in _delete_oid() even if the clone still has the references.
To fix this, This commit remove unnecessary ref handling in _delete_oid, and
makes finish_ctx() to handle ref handling, which can aware of whether the
clone is created or not.
Also, remove oi.size == 0 condition in finish_ctx() to handle ref. counting
upon a delete op with whitedouted clone.
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Adam Kupczyk [Tue, 30 Mar 2021 20:56:58 +0000 (22:56 +0200)]
doc: Add BlueStore sharding documentation
Provide sharding explanation, configuration parameters explanation.
Provide resharding tool example into Pacific format.
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
Co-authored-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Thu, 8 Apr 2021 07:26:07 +0000 (15:26 +0800)]
Merge pull request #40596 from tchaikov/wip-cmake-clean
cmake: remove created directory when "clean" target is run
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Rishabh Dave [Thu, 8 Apr 2021 06:30:18 +0000 (12:00 +0530)]
qa/cephfs: remove create_keyring_file from cephfs_test_case.py
Since teuthology.orchestra.remote.mktemp() can write a temporary file
and not just create it, create_keyring_file() is now redundant.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Fri, 26 Mar 2021 09:20:20 +0000 (14:50 +0530)]
qa/cephfs: don't use sudo to write files in /tmp
Files in /tmp cannot be written by any user( including the root user)
other than the file owner even if the permission mode on the file is
777.
Fixes: https://tracker.ceph.com/issues/49466
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Venky Shankar [Thu, 8 Apr 2021 06:21:05 +0000 (11:51 +0530)]
Merge pull request #40342 from batrick/snap_schedule-qa-fixes
qa: snap_schedule test debugging
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Yuval Lifshitz [Thu, 8 Apr 2021 05:32:45 +0000 (08:32 +0300)]
Merge pull request #40625 from TRYTOBE8TME/wip-rgw-notifications
rgw/test: Changing force-branch to master
Kefu Chai [Thu, 8 Apr 2021 04:55:37 +0000 (12:55 +0800)]
Merge pull request #40622 from batrick/dev-make
doc: update some docs still referring to make
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 8 Apr 2021 03:58:56 +0000 (11:58 +0800)]
Merge pull request #40647 from rzarzynski/wip-crimson-notify-send_comp-broken-debug
crimson/osd: fix broken debug in Notify::send_completion().
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Patrick Donnelly [Thu, 8 Apr 2021 02:37:40 +0000 (19:37 -0700)]
Merge PR #40204 into master
* refs/pull/40204/head:
client: cleanup _preadv_pwritev_locked()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Patrick Donnelly [Thu, 8 Apr 2021 02:37:00 +0000 (19:37 -0700)]
Merge PR #40427 into master
* refs/pull/40427/head:
mds: skip the buffer in UnknownPayload::decode()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 8 Apr 2021 02:35:58 +0000 (19:35 -0700)]
Merge PR #40611 into master
* refs/pull/40611/head:
qa: retry cloning the ceph.git
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Thu, 8 Apr 2021 02:15:33 +0000 (10:15 +0800)]
Merge pull request #40636 from tchaikov/wip-50196
qa/tasks/mgr: skip test_diskprediction_local on python>=3.8
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Yanhu Cao [Wed, 7 Apr 2021 02:13:07 +0000 (10:13 +0800)]
mds: ensure export_pin rank < max_mds
Signed-off-by: Yanhu Cao <gmayyyha@gmail.com>
myoungwon oh [Tue, 6 Apr 2021 01:29:56 +0000 (10:29 +0900)]
osd: recover unreadable snapshot before reading ref. count info
Manifest objects needs adjacent clones when incrementing/decrementing
refcount. This commit makes the current code to call get_manifest_ref_count
before reading ref. count info.
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Adam C. Emerson [Wed, 7 Apr 2021 20:38:22 +0000 (16:38 -0400)]
Merge pull request #40632 from adamemerson/wip-warnless-4now
Warning Cleanup and Clang Compile Fix
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Kalpesh [Tue, 6 Apr 2021 15:59:43 +0000 (21:29 +0530)]
rgw/test: Changing force-branch to master
This PR includes 2 things:
1. Changing force-branch to master and removing the git-remote. This change was forgetten for PR #39139.
2. Proper cleanup/removal after completion of commands more precisely removing the kafka logs directory.
Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
Adam C. Emerson [Tue, 6 Apr 2021 19:23:58 +0000 (15:23 -0400)]
test/osd: Change const copy in loop to const reference
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Tue, 6 Apr 2021 19:21:30 +0000 (15:21 -0400)]
rgw: Fix brace-enclosed-scalar warning
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Tue, 6 Apr 2021 19:20:55 +0000 (15:20 -0400)]
rgw: Fix warnings from s3select
Since this is a submodule, just wrap the include in a pragma.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Tue, 6 Apr 2021 19:19:06 +0000 (15:19 -0400)]
rgw: Remove unused variables
(Also mark the file as C++ rather than C)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Tue, 6 Apr 2021 19:18:34 +0000 (15:18 -0400)]
test/librados: Remove unused capture
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Tue, 6 Apr 2021 18:00:48 +0000 (14:00 -0400)]
rbd: Fix ambiguous call to addr.parse
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Tue, 6 Apr 2021 17:59:14 +0000 (13:59 -0400)]
rgw: Fix signed comparison warning
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Tue, 6 Apr 2021 17:28:45 +0000 (13:28 -0400)]
test/librados: Disambiguate function call
Cleaning up a warning.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Tue, 6 Apr 2021 17:27:45 +0000 (13:27 -0400)]
rgw: Add missing extension to file in sources list
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
J. Eric Ivancich [Wed, 7 Apr 2021 16:31:37 +0000 (12:31 -0400)]
Merge pull request #38737 from IlsooByun/objmeta-key-underscore
rgw: keep underscore in metatdata key
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
J. Eric Ivancich [Wed, 7 Apr 2021 16:31:10 +0000 (12:31 -0400)]
Merge pull request #39749 from linuxbox2/wip-olock-fixes
rgw: objectlock: improve client error messages
Reviewed-by: Casey Bodley <cbodley@redhat.com>
J. Eric Ivancich [Wed, 7 Apr 2021 16:30:47 +0000 (12:30 -0400)]
Merge pull request #40263 from ivancich/wip-update-listing-comments
rgw: update bucket listing log output
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Neha Ojha [Wed, 7 Apr 2021 15:53:35 +0000 (08:53 -0700)]
Merge pull request #40570 from zdover23/wip-doc-mclock-rewrite-first-half-2021-Apr-2
doc/rados: rewrite mclock-config-ref
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
Casey Bodley [Wed, 7 Apr 2021 15:03:34 +0000 (11:03 -0400)]
Merge pull request #40639 from yuvalif/wip-yuval-fix-50201
rgw/multisite: return correct error code when op fails
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Radoslaw Zarzynski [Wed, 7 Apr 2021 14:35:06 +0000 (14:35 +0000)]
crimson/osd: fix broken debug in Notify::send_completion().
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Wed, 7 Apr 2021 05:38:27 +0000 (13:38 +0800)]
qa/tasks/mgr: skip test_diskprediction_local on python>=3.8
query the python version before trying to test diskprediction_local
Fixes: https://tracker.ceph.com/issues/50196
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 7 Apr 2021 13:18:01 +0000 (21:18 +0800)]
Merge pull request #40581 from weixinwei/master
os/bluestore/BlueFS: do not _flush_range deleted files
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Casey Bodley [Wed, 7 Apr 2021 12:49:49 +0000 (08:49 -0400)]
Merge pull request #40601 from cbodley/wip-50147
qa/rgw: move ignore-pg-availability.yaml out of suites/rgw
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Xiubo Li [Wed, 7 Apr 2021 11:37:26 +0000 (19:37 +0800)]
client: don't allow access to MDS-private inodes
Fixes: https://tracker.ceph.com/issues/50112
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Rishabh Dave [Wed, 7 Apr 2021 11:32:05 +0000 (17:02 +0530)]
Merge pull request #39907 from guits/fix_get_first_lv
ceph-volume: `get_first_lv()` refactor
Ilya Dryomov [Wed, 7 Apr 2021 09:36:53 +0000 (11:36 +0200)]
packaging: require ceph-common for immutable object cache daemon
This daemon has a systemd service which starts it with --setuser ceph
--setgroup ceph. "ceph" user and group are created by ceph-common and
won't be there unless ceph-common is installed.
Fixes: https://tracker.ceph.com/issues/50207
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ernesto Puerta [Wed, 7 Apr 2021 11:04:28 +0000 (13:04 +0200)]
Merge pull request #40624 from rhcs-dashboard/read-only-config-access-disable
mgr/dashboard: Revoke read-only user's access to Manager modules
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Kefu Chai [Wed, 7 Apr 2021 06:40:05 +0000 (14:40 +0800)]
mgr/selftest: add a command for querying python version
so the test driver can skip certain tests based on the version of python
runtime on the test node
Fixes: https://tracker.ceph.com/issues/50196
Signed-off-by: Kefu Chai <kchai@redhat.com>
Yuval Lifshitz [Wed, 7 Apr 2021 09:49:50 +0000 (12:49 +0300)]
rgw/multisite: return correct error code when op fails
when trying to disable/enbale sync on non-master zone
Fixes: https://tracker.ceph.com/issues/50201
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
Guillaume Abrioux [Mon, 8 Mar 2021 08:59:26 +0000 (09:59 +0100)]
ceph-volume: `get_first_*()` refactor
As indicated by commit
17957d9beb42a04b8f180ccb7ba07d43179a41d3 those
fuctions were meant to avoid writing something like following:
```
lvs = get_lvs()
if len(lvs) >= 1:
lvs = lv[0]
```
Those functions should return `None` if 0 or more than 1 item is returned.
The current name of these functions are confusing and can lead to thinking that
we just want the first item returned, even though it returns more than 1
item, let's rename them to `get_single_pv()`, `get_single_vg()` and
`get_single_lv()`
Closes: https://tracker.ceph.com/issues/49643
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Ronen Friedman [Wed, 7 Apr 2021 07:13:01 +0000 (10:13 +0300)]
Merge pull request #40637 from ronen-fr/wip-ronenf-rgw-logbacking
rgw: fix lambda capture of a non-variable
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Kefu Chai [Wed, 7 Apr 2021 07:12:24 +0000 (15:12 +0800)]
Merge pull request #40604 from liewegas/podman-registries-conf
qa/distros/podman: preserve registries.conf
Reviewed-by: David Galloway <dgallowa@redhat.com>
Kefu Chai [Wed, 7 Apr 2021 07:10:34 +0000 (15:10 +0800)]
Merge pull request #40487 from tchaikov/wip-boost-1.75
install-deps.sh: install boost 1.75
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Wed, 7 Apr 2021 07:07:34 +0000 (15:07 +0800)]
Merge pull request #40583 from a16bitsysop/include
tools/cephfs_mirror/PeerReplayer.cc: add missing include
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 7 Apr 2021 07:06:25 +0000 (15:06 +0800)]
Merge pull request #40607 from tchaikov/wip-journald-if-msghdr
common: disable journald logging backend if struct msghdr is not found
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Kefu Chai [Wed, 7 Apr 2021 07:05:23 +0000 (15:05 +0800)]
Merge pull request #40609 from tchaikov/wip-common-buffer-cleanup
common/buffer.cc: use shift_round_up() when appropriate
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Xiubo Li [Wed, 7 Apr 2021 03:08:03 +0000 (11:08 +0800)]
mds: do not show the default auth if it's unambiguous
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Xiubo Li [Tue, 6 Apr 2021 08:05:28 +0000 (16:05 +0800)]
mds: switch to rank number instead
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Ronen Friedman [Wed, 7 Apr 2021 05:42:02 +0000 (08:42 +0300)]
rgw: fix lambda capture of a non-variable
One cannot just capture a structured binding "non-variable".
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Ronen Friedman [Tue, 6 Apr 2021 15:01:15 +0000 (18:01 +0300)]
Revert "osd: Try other PGs when reservation failures occur"
This reverts commit
08c3ede0844507074de2b43638423c094976b493 .
Due to https://tracker.ceph.com/issues/49868
Should be reinstated once that bug is solved. See tracker comments for analysis
and suggested fixes.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Ronen Friedman [Tue, 6 Apr 2021 14:56:37 +0000 (17:56 +0300)]
Revert "test: Add test for scrub parallelism"
This reverts commit
dd63577ab372d1d4b2da284c6e506603b293d85d .
As
08c3ede0844507074de2b43638423c094976b493 (the tested functionality) is reverted.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
weixinwei [Sun, 4 Apr 2021 05:30:10 +0000 (13:30 +0800)]
os/bluestore/BlueFS: do not _flush_range deleted files
Fixes: https://tracker.ceph.com/issues/49861
Signed-off-by: weixinwei <weixw3@lenovo.com>
Sage Weil [Tue, 6 Apr 2021 21:28:08 +0000 (17:28 -0400)]
Merge PR #40603 into master
* refs/pull/40603/head:
qa/tasks/ceph.conf: shorten cephx TTL for testing
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Casey Bodley [Tue, 6 Apr 2021 20:08:28 +0000 (16:08 -0400)]
Merge pull request #40190 from cbodley/wip-qa-rgw-sigv4-warnings
rgw: silence some unused variable warnings
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Tue, 6 Apr 2021 20:04:27 +0000 (16:04 -0400)]
Merge PR #40602 into master
* refs/pull/40602/head:
qa/tasks/cephadm: add apply() method/task
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Tue, 6 Apr 2021 20:04:17 +0000 (16:04 -0400)]
Merge PR #40597 into master
* refs/pull/40597/head:
cephadm: pass '-i' to docker|podman run for shell|enter
Reviewed-by: Adam King <adking@redhat.com>
J. Eric Ivancich [Tue, 6 Apr 2021 17:49:35 +0000 (13:49 -0400)]
Merge pull request #40553 from dang/wip-dang-zipper-list
RGW Zipper - Make sure bucket list progresses
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Patrick Donnelly [Tue, 6 Apr 2021 17:46:23 +0000 (10:46 -0700)]
Merge PR #39939 into master
* refs/pull/39939/head:
cephfs: ceph-dokan - properly log the mounted root
cephfs: Update ceph-dokan "--removable" flag
cephfs: document using multiple fs on Windows
cephfs: provide additional volume details on Windows
cephfs: add ceph-dokan unmap command
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 6 Apr 2021 17:45:00 +0000 (10:45 -0700)]
Merge PR #40418 into master
* refs/pull/40418/head:
test: unmount when finished ino_release_cb
test: wait a time for inode release
qa: move ino_release_cb to libcephfs sub-suite
qa: simplify recall triggers for bug
qa: fix name for qa task referencing tracker issue
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Patrick Donnelly [Tue, 6 Apr 2021 17:43:54 +0000 (10:43 -0700)]
Merge PR #40460 into master
* refs/pull/40460/head:
client: only check pool permissions for regular files
Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 6 Apr 2021 17:43:12 +0000 (10:43 -0700)]
Merge PR #40465 into master
* refs/pull/40465/head:
test: bump up retries for `test_mirroring_init_failure_with_recovery` test
test: fix typo
test: disable mgr/mirroring for `test_mirroring_init_failure_with_recovery` test
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 6 Apr 2021 17:42:42 +0000 (10:42 -0700)]
Merge PR #40468 into master
* refs/pull/40468/head:
mds/metrics: add one whitespace between metric type the metainfo
Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>