]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Jason Dillaman [Tue, 26 Jan 2021 14:46:35 +0000 (09:46 -0500)]
Merge pull request #39044 from orozery/librbd-crypto-close-bug
librbd: do not share crypto image layers with ancestors
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 26 Jan 2021 14:46:20 +0000 (09:46 -0500)]
Merge pull request #39006 from orozery/librbd-luks-cli-test
test/librbd: add luks encryption cli test
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 26 Jan 2021 14:45:54 +0000 (09:45 -0500)]
Merge pull request #39005 from orozery/librbd-plain64-iv-fix
librbd: use 512 sector size for crypto IV
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Ilya Dryomov [Tue, 26 Jan 2021 12:37:10 +0000 (13:37 +0100)]
Merge pull request #39064 from idryomov/wip-doc-osdtimeout
doc: don't mention osdtimeout option in mount.ceph man page
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Ilya Dryomov [Tue, 26 Jan 2021 10:46:08 +0000 (11:46 +0100)]
Merge pull request #39060 from idryomov/wip-krbd-msgr2
krbd: add support for msgr2 (kernel 5.11)
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Tue, 26 Jan 2021 09:33:22 +0000 (17:33 +0800)]
Merge pull request #38929 from jdurgin/wip-cot-log
qa/tasks/ceph_manager: let c-o-t log errors
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 26 Jan 2021 09:28:30 +0000 (17:28 +0800)]
Merge pull request #38931 from trociny/wip-48821
osd: fix potential null pointer dereference when sending ping
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Tue, 26 Jan 2021 09:25:41 +0000 (17:25 +0800)]
Merge pull request #38901 from gmayyyha/io_uring-48872
blk/kernel: fix io_uring got (4) Interrupted system call
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 26 Jan 2021 09:23:19 +0000 (17:23 +0800)]
Merge pull request #38932 from tchaikov/wip-48905
mgr: update mon metadata when monmap is updated
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Matt Benjamin [Tue, 26 Jan 2021 03:10:37 +0000 (22:10 -0500)]
Merge pull request #37250 from cbodley/wip-qa-librgw
qa/rgw: add librgw_file unit tests to rgw/verify task
Harish Munjulur [Mon, 25 Jan 2021 23:22:38 +0000 (15:22 -0800)]
Merge pull request #38852 from adamemerson/wip-thou-shalt-not-unwind
Thou Shalt Not Unwind
Harish Munjulur [Mon, 25 Jan 2021 23:17:05 +0000 (15:17 -0800)]
Merge pull request #38905 from cbodley/wip-48874
rgw: fix trailing null in object names of multipart reuploads
Neha Ojha [Mon, 25 Jan 2021 22:11:53 +0000 (14:11 -0800)]
Merge pull request #39063 from yuriw/wip-yuriw-crontab-master
qa/tests: added pacific branch to the mix
Reviewed-by: Neha Ojha <nojha@redhat.com>
Casey Bodley [Mon, 25 Jan 2021 22:04:36 +0000 (17:04 -0500)]
Merge pull request #39009 from mdw-at-linuxbox/wip-master-keystonebindep
qa/tasks/keystone.py: centos-8 bindep fix
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Neha Ojha [Mon, 25 Jan 2021 22:03:38 +0000 (14:03 -0800)]
Merge pull request #38962 from aclamk/wip-aclamk-bluestore-tool-reshard-fix
Fix ceph-bluestore-tool reshard command
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Neha Ojha [Mon, 25 Jan 2021 22:02:32 +0000 (14:02 -0800)]
Merge pull request #38965 from aclamk/wip-aclamk-bluestore-tool-sharding-show
Add command 'show-sharding' to ceph-bluestore-tool
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Matt Benjamin [Mon, 25 Jan 2021 18:35:03 +0000 (13:35 -0500)]
test/rgw_file: bypass one bad-deletes test due to intermittent failure
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Thu, 14 Jan 2021 19:15:46 +0000 (14:15 -0500)]
test/rgw_file: override keyring if we gen keys
Run with ceph.keyring not that of client.${CEPH_ID}.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Tue, 12 Jan 2021 22:14:57 +0000 (17:14 -0500)]
test/rgw_file: elaborate test cycle
Ensure that all delete phases are run so that script can be
re-run when desired.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Please enter the commit message for your changes. Lines starting
Matt Benjamin [Tue, 12 Jan 2021 22:14:26 +0000 (17:14 -0500)]
rgw_file: delete test bucket when do_delete
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Tue, 5 Jan 2021 21:08:02 +0000 (16:08 -0500)]
rgw_file: add librgw unit test arguments
Also adjust some unit test files to avoid trivial failures.
Fixes missing commit after rgw_write(), as well as conditional
cleanup.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Tue, 22 Sep 2020 14:38:22 +0000 (10:38 -0400)]
qa/rgw: librgw workunit creates a test user
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 18 Sep 2020 16:48:07 +0000 (12:48 -0400)]
cmake: install the ceph_test_librgw_file_* targets
these need to be installed in order to be included in packages for
testing in teuthology
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Fri, 18 Sep 2020 16:15:10 +0000 (12:15 -0400)]
qa/rgw: add librgw_file unit tests to rgw/verify task
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Ilya Dryomov [Wed, 20 Jan 2021 15:00:18 +0000 (16:00 +0100)]
qa/suites/krbd: add msgr2 modes to most subsuites
basic, rbd and rbd-nomount subsuites are expanded to run with each
of ms_mode=legacy, ms_mode=crc and ms_mode=secure. This increases
the total number of jobs in the suite from 100 to 220.
fsx, singleton and thrash subsuites choose ms_mode at random (from
the above plus ms_mode=prefer-crc).
unmap and wac subsuites remain msgr1-only.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Mon, 18 Jan 2021 13:29:27 +0000 (14:29 +0100)]
doc: deprecate [no]cephx_require_signatures map options
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Mon, 18 Jan 2021 12:49:49 +0000 (13:49 +0100)]
krbd: add support for msgr2
Recognize ms_mode map option and filter initial monitor addresses
accordingly: if ms_mode is not given or ms_mode=legacy, discard v2
addresses, otherwise discard v1 addresses.
Note that nothing was discarded (i.e. v2 addresses were passed to
the kernel) previously. The intent was to preserve that behaviour
in case ms_mode is not given, allowing to change the kernel default
in the future. However, it turns out that mount.ceph helper has
been misguidedly discarding v2 addresses since commit
eae01275134e
("mount.ceph: fork a child to get info from local configuration"),
so that ship has sailed.
Fixes: https://tracker.ceph.com/issues/48976
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Harish Munjulur [Mon, 25 Jan 2021 19:50:45 +0000 (11:50 -0800)]
Merge pull request #37694 from BryceCao/wip-add-MD5-in-forward_request
rgw : add MD5 in forward_request
Harish Munjulur [Mon, 25 Jan 2021 19:48:56 +0000 (11:48 -0800)]
Merge pull request #38977 from adamemerson/wip-48929
rgw: Fix spurious error on empty datalog shard
Neha Ojha [Mon, 25 Jan 2021 18:17:19 +0000 (10:17 -0800)]
Merge pull request #38958 from badone/wip-osd-df-tree-accounting-error
An empty bucket or OSD is not an error
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Neha Ojha [Mon, 25 Jan 2021 18:10:15 +0000 (10:10 -0800)]
Merge pull request #38992 from ifed01/wip-ifed-fix-48776-2
os/bluestore: be more protective in _deferred_queue
Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Ilya Dryomov [Sat, 23 Jan 2021 11:08:35 +0000 (12:08 +0100)]
doc: don't mention osdtimeout option in mount.ceph man page
It was deprecated over 8 years ago and will be entirely removed in
kernel 5.12.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Kefu Chai [Mon, 25 Jan 2021 17:00:52 +0000 (01:00 +0800)]
Merge pull request #39051 from tchaikov/wip-install-deps-libzbd
install-deps.sh: install libzbd-dev when WITH_ZBD is set
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yuri Weinstein [Mon, 25 Jan 2021 16:36:28 +0000 (08:36 -0800)]
qa/tests: added pacific branch to the mix
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Kefu Chai [Mon, 25 Jan 2021 06:11:46 +0000 (14:11 +0800)]
install-deps.sh: install libzbd-dev when WITH_ZBD is set
to avoid zbd backend bitrot, and for build test it in our "make check"
builds.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Sun, 24 Jan 2021 11:32:26 +0000 (12:32 +0100)]
Merge pull request #39040 from liewegas/cephadm-qa-targets
qa/suites/rados/cephadm: test against ubuntu 20.04 (and update ubuntu_latest)
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Or Ozeri [Sun, 24 Jan 2021 07:32:44 +0000 (09:32 +0200)]
librbd: do not share crypto image layers with ancestors
This commit creates a unique crypto image dispatch per image,
instead of sharing a single object with all ancestors.
This should fix a seg-fault caused when closing an encrypted cloned image.
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Thu, 21 Jan 2021 16:18:57 +0000 (18:18 +0200)]
test/librbd: add luks encryption cli test
This commit adds a cli test for rbd encryption verifying LUKS compatbility with cryptsetup
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Sage Weil [Sun, 24 Jan 2021 00:56:42 +0000 (18:56 -0600)]
qa/workunits/cephadm/test_repos: adjust target version
15.2.7 is available for 20.04; 15.1.1 is not
Signed-off-by: Sage Weil <sage@newdream.net>
Kefu Chai [Sat, 23 Jan 2021 19:30:29 +0000 (03:30 +0800)]
Merge pull request #39042 from tchaikov/wip-cram
test/run-cli-tests: use cram from github
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 23 Jan 2021 18:13:31 +0000 (02:13 +0800)]
test/downloads: drop cram-0.5 tar ball
since we install cram from github, drop the tarball from repo
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 23 Jan 2021 18:12:31 +0000 (02:12 +0800)]
test/run-cli-tests: use cram from github
to address the failure of
WARNING: Built wheel for cram is invalid: Metadata 1.2 mandates PEP 440 version, but '0.5.0ceph.2011-01-14' is not
Failed to build cram
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 23 Jan 2021 18:23:38 +0000 (02:23 +0800)]
Merge pull request #39035 from tchaikov/wip-cephadm-call
cephadm: rewrite call() with asyncio
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Kefu Chai [Sat, 23 Jan 2021 05:18:56 +0000 (13:18 +0800)]
cephadm: rewrite call() with asyncio
for better readability, also return 124 when subprocess times out
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 23 Jan 2021 17:26:06 +0000 (11:26 -0600)]
qa/suites/rados/cephadm: add 20.04 targets
Add 20.04 targets.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Sat, 23 Jan 2021 17:23:13 +0000 (11:23 -0600)]
qa/suites/rados/cephadm: add 20.04 target
Link directly to the distro version... no need to use _latest here since
it obscures the podman vs docker difference.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Sat, 23 Jan 2021 17:21:58 +0000 (11:21 -0600)]
qa/distros: change ubuntu_latest to 20.04
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Sat, 23 Jan 2021 17:20:52 +0000 (11:20 -0600)]
qa/distros: add ubuntu 20.04 targets
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Sat, 23 Jan 2021 17:03:10 +0000 (11:03 -0600)]
Merge PR #38974 into master
* refs/pull/38974/head:
qa/suites/rados/cephadm/upgrade: avoid allow_ptrace with old cephadm
Reviewed-by: Michael Fritch <mfritch@suse.com>
Casey Bodley [Sat, 23 Jan 2021 16:32:51 +0000 (11:32 -0500)]
Merge pull request #39032 from adamemerson/wip-layout-initialize
rgw: Initialize Layout Logs
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Mykola Golub [Sat, 23 Jan 2021 08:52:27 +0000 (10:52 +0200)]
Merge pull request #39029 from dillaman/wip-48964
ocf: add support for mapping images within an RBD namespace
Reviewed-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Sat, 23 Jan 2021 08:51:24 +0000 (10:51 +0200)]
Merge pull request #39024 from dillaman/wip-librbd-q-release
librbd: bump minor version to match Q release
Reviewed-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Sat, 23 Jan 2021 04:22:42 +0000 (12:22 +0800)]
Merge pull request #39034 from liewegas/fix-vstart-init-ceph
init-ceph: fix python and library paths for vstart
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Fri, 22 Jan 2021 23:37:48 +0000 (15:37 -0800)]
Merge pull request #38957 from yuriw/wip-yuriw-crontab-master
qa/tests: added pacific, changed octopus number of runs
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 22 Jan 2021 20:47:54 +0000 (14:47 -0600)]
init-ceph: fix python and library paths for vstart
The current version does not result in a functional mgr after restarting
from a vstart cluster.
Signed-off-by: Sage Weil <sage@newdream.net>
Adam C. Emerson [Fri, 15 Jan 2021 23:41:37 +0000 (18:41 -0500)]
rgw: Initialize logs on layout initialization
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Jason Dillaman [Fri, 22 Jan 2021 20:45:56 +0000 (15:45 -0500)]
Merge pull request #39013 from MahatiC/wip-ssd-doc
doc: update rwl doc to include ssd config
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Fri, 22 Jan 2021 19:53:48 +0000 (20:53 +0100)]
Merge pull request #38942 from smithfarm/wip-bci-pacific
script: make backport scripts know about pacific
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 22 Jan 2021 18:33:52 +0000 (12:33 -0600)]
Merge PR #39003 into master
* refs/pull/39003/head:
cephadm: fix 2> syntax in unit.run
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
Yuri Weinstein [Fri, 22 Jan 2021 16:38:47 +0000 (08:38 -0800)]
qa/tests: moved 'master' runs to 'gibba' machines
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Sage Weil [Fri, 22 Jan 2021 15:55:40 +0000 (09:55 -0600)]
Merge PR #38990 into master
* refs/pull/38990/head:
mgr/devicehealth: fix 'device monitoring on|off' return value
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Jason Dillaman [Fri, 22 Jan 2021 15:29:29 +0000 (10:29 -0500)]
ocf: add support for mapping images within an RBD namespace
Support for RBD namespaces was not added to the OCF resource agent.
This commit fixes this oversight and also fixes a bug in handling
of the "rbd device list" output.
Fixes: https://tracker.ceph.com/issues/48964
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Mon, 18 Jan 2021 09:26:38 +0000 (10:26 +0100)]
script: make backport scripts know about pacific
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Jason Dillaman [Fri, 22 Jan 2021 13:35:22 +0000 (08:35 -0500)]
librbd: bump minor version to match Q release
This will assist layered projects like QEMU and libvirt
determine which features are supported.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Ernesto Puerta [Fri, 22 Jan 2021 13:08:57 +0000 (14:08 +0100)]
Merge pull request #38938 from rhcs-dashboard/rgw-user-validation
mgr/dashboard: Fix for incorrect validation in rgw user form
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Fri, 22 Jan 2021 11:46:42 +0000 (19:46 +0800)]
Merge pull request #39016 from sebastian-philipp/cephadm-mypy-status-none
mgr/cephadm: mypy says: dd.status can be None
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Jan 2021 11:45:30 +0000 (19:45 +0800)]
Merge pull request #38999 from tchaikov/wip-crimson-bootstrap
crimson/osd: fetch_config() before mkfs
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Sage Weil [Thu, 21 Jan 2021 15:10:51 +0000 (09:10 -0600)]
cephadm: fix 2> syntax in unit.run
We need a space between the command (which ends with a container name)
and the 2> or else the 2 is considered part of the command. E.g.,
! /usr/bin/podman rm -f ceph-
a9a8c7ee -5b72-11eb-8f93-
001a4aab830c -mon.a2> /dev/null
Fixes: 1bed46e4b0094863a119df59c6ae5f254c2e211d
Signed-off-by: Sage Weil <sage@newdream.net>
Kefu Chai [Fri, 22 Jan 2021 04:41:04 +0000 (12:41 +0800)]
vstart.sh: print out osd mkfs command
for better understanding the progress of vstart, and also allows
developer to repeat the command.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Jan 2021 02:35:00 +0000 (10:35 +0800)]
mon/MonClient: do not include unused header
MGetConfig.h is not used anywhere in this source file, so no need to
include it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Jan 2021 02:33:56 +0000 (10:33 +0800)]
crimson/os: do not use __func__ in lambda
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Jan 2021 02:31:10 +0000 (10:31 +0800)]
crimson/mon: use switch case for checking return code
also, since seastar supports returning plain value instead a ready
future, let's return plain value. simpler this way.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Jan Fajerski [Fri, 22 Jan 2021 10:35:18 +0000 (11:35 +0100)]
Merge PR #32027 into master
* refs/pull/32027/head:
librados: avoid symbol versioning on Windows
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sebastian Wagner [Fri, 22 Jan 2021 10:32:40 +0000 (11:32 +0100)]
mgr/cephadm: Minor pep8 fix
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 22 Jan 2021 10:32:31 +0000 (11:32 +0100)]
mgr/cephadm: mypy says: dd.status can be None
`DaemonDescription.status` is annotated
as `Optional[int]` and thus can be `None`
This is a conflict between
c95ba878c66aae44816b1451049449685d444f0a
and
01f60cf4e0a751c314120c02956d4ff941eb71b4
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 22 Jan 2021 09:40:00 +0000 (10:40 +0100)]
Merge pull request #38978 from liewegas/cephadm-daemon-health
mgr/cephadm: raise HEALTH_WARN when cephadm daemon in 'error' state
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 22 Jan 2021 09:36:25 +0000 (10:36 +0100)]
Merge pull request #38967 from liewegas/wip-cephadm-pacific
cephadm: latest stable release is now pacific
Reviewed-by: Juan Miguel Olmo MartÃnez <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sebastian Wagner [Fri, 22 Jan 2021 09:35:19 +0000 (10:35 +0100)]
Merge pull request #38739 from jecluis/wip-cephadm-splits
cephadm: splits bootstrap function, add context, drop global variables
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Mahati Chamarthy [Fri, 22 Jan 2021 05:25:29 +0000 (10:55 +0530)]
doc: update rwl doc to include ssd config
... options.
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
Kefu Chai [Thu, 21 Jan 2021 12:46:47 +0000 (20:46 +0800)]
crimson/osd: fetch_config() before mkfs
* fetch_config() before mkfs and starting osd
for populating settings related to booting and transport layer
before it starts.
* set fsid read from monitor before mkfs
it's crucial to mkfs if osd is supposed to retrieve the fsid
from monitor.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 21 Jan 2021 12:44:59 +0000 (20:44 +0800)]
crimson/net: move implementation of dtor into .cc file
ceph_assert() is expanded into 5 lines of code. it'd help to speed up
the compiling a little bit.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 21 Jan 2021 12:40:06 +0000 (20:40 +0800)]
crimson/mon: add mon::Client::wait_for_config()
just for waiting for monmap and config from mon. crimson-osd needs this
for populating settings related to booting and transport layer before it
starts.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 21 Jan 2021 12:35:55 +0000 (20:35 +0800)]
crimson/mon: fallback to msgr v2 for unbound msgr
so, for instance, if we want to connect to monitor without bind to any
address, we can try to use the v2 addresses advertised in monmap or
local settings, instead of being unable to connect to mon because we are
using an `entity_addr_t::TYPE_NONE` address which is returned by
`entity_addrvec_t::front()` if the addrvec is empty.
see also AsyncMessenger::should_use_msgr2().
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 21 Jan 2021 07:27:24 +0000 (15:27 +0800)]
crimson/mon: print out entity addr type when non peer address matches
Signed-off-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Thu, 21 Jan 2021 22:42:38 +0000 (17:42 -0500)]
Merge pull request #39010 from mdw-at-linuxbox/wip-master-barbicany2021
qa/tasks/barbican.py: fix year2021 problem
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 21 Jan 2021 22:42:09 +0000 (17:42 -0500)]
Merge pull request #39008 from mdw-at-linuxbox/wip-master-vaultunzip
qa/tasks/vault.py: unzip: try harder to find a working unzip.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Adam C. Emerson [Mon, 30 Nov 2020 20:57:02 +0000 (15:57 -0500)]
rgw: Since we aren't using these anyway
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Jason Dillaman [Thu, 21 Jan 2021 20:07:01 +0000 (15:07 -0500)]
Merge pull request #38988 from orozery/librbd-crypto-empty-copyup
librbd: don't restart empty copyups in crypto layer
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 21 Jan 2021 20:06:20 +0000 (15:06 -0500)]
Merge pull request #38985 from orozery/rbd-nbd-luks2-blksize
tools/rbd-nbd: change block size to 4K for LUKS2 images
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 21 Jan 2021 20:05:30 +0000 (15:05 -0500)]
Merge pull request #38983 from orozery/qa-qemu-rbd-encryption
qa/tasks/rbd: increase image size of encrypted disks
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nizamudeen A [Sun, 17 Jan 2021 06:56:15 +0000 (12:26 +0530)]
mgr/dashboard: Fix for incorrect validation in rgw user form
The rgw users create form doesnt validate the username correctly if the username is a tenated one. For eg. Consider there is a user called tenate$sample. Now I am trying to create another user and I entered tenate$sample as username. But it doesn't async validate the username as existing. Instead it just shows the green tick and once the submit button is clicked it'll show the user as existing.
Fixes: https://tracker.ceph.com/issues/48907
Signed-off-by: Nizamudeen A <nia@redhat.com>
Marcus Watts [Thu, 14 Jan 2021 20:41:49 +0000 (15:41 -0500)]
qa/tasks/barbican.py: fix year2021 problem
The expiration timestamp was hard-coded as
2020-12-31T19:14:44.180394
which is now in the past. Instead, use a timestamp
90 minutes in the future.
Fixes: https://tracker.ceph.com/issues/48919
Signed-off-by: Marcus Watts <mwatts@redhat.com>
Marcus Watts [Thu, 14 Jan 2021 18:14:11 +0000 (13:14 -0500)]
qa/tasks/keystone.py: centos-8 bindep fix
The upstream git repository for keystone contains a dependency
for "python34-devel" which only exists in centos 7.
For centos 8, the correct package is "python36-devel".
So, patch bindep.txt before running bindep.
Fixes: https://tracker.ceph.com/issues/48920
Signed-off-by: Marcus Watts <mwatts@redhat.com>
Marcus Watts [Wed, 13 Jan 2021 05:17:38 +0000 (00:17 -0500)]
qa/tasks/vault.py: unzip: try harder to find a working unzip.
The existing logic uses "python -m zipfile" to unzip files.
This will (most likely) fail on CentOS 8-Stream , where python
defaults to 'unset' (see man unversioned-python).
So: try harder: try unzip, python3, and python in that order,
to find something that can unzip files.
Fixes: https://tracker.ceph.com/issues/48921
Signed-off-by: Marcus Watts <mwatts@redhat.com>
Harish Munjulur [Thu, 21 Jan 2021 17:25:06 +0000 (09:25 -0800)]
Merge pull request #38691 from soumyakoduri/lc_fixes
rgw/lc: Fix use-after-free in RGWLC::process
Harish Munjulur [Thu, 21 Jan 2021 17:24:51 +0000 (09:24 -0800)]
Merge pull request #38465 from IlsooByun/fix_lc_infinite_loop
rgw: lc: fix infinite loop in bucket_lc_prepare
Or Ozeri [Thu, 21 Jan 2021 15:51:23 +0000 (17:51 +0200)]
librbd: use 512 sector size for crypto IV
This commit aligns with the LUKS2 format which requires plain-64 mode IV
to be derived from the 512 bytes sector number
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Venky Shankar [Thu, 21 Jan 2021 04:16:51 +0000 (09:46 +0530)]
Merge pull request #36698 from vshankar/wip-cephfs-mirror-tests
cephfs-mirror: teuthology task and tests
Venky Shankar [Thu, 21 Jan 2021 04:15:41 +0000 (09:45 +0530)]
Merge pull request #35993 from vshankar/wip-fs-mirror-interface
pybind/mgr/mirroring: directory snapshot mirror support
Brad Hubbard [Tue, 19 Jan 2021 04:08:08 +0000 (14:08 +1000)]
osd/OSDMap: An empty bucket or OSD is not an error
Fixes: https://tracker.ceph.com/issues/48884
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>