]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Ernesto Puerta [Fri, 8 Jan 2021 20:09:46 +0000 (21:09 +0100)]
Merge pull request #38720 from bk201/wip-48717
mgr/dashboard: fix Reads/Writes ratio of Clients IOPS donut chart
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Patrick Donnelly [Fri, 8 Jan 2021 19:27:08 +0000 (11:27 -0800)]
Merge PR #38776 into master
* refs/pull/38776/head:
qa: get pool holding file data from file layout
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 19:25:23 +0000 (11:25 -0800)]
Merge PR #38664 into master
* refs/pull/38664/head:
qa: bump scrub timeout
qa: move cephfs_ec_profile under cephfs
qa: do not use ec pools for default data pool
qa: skip check-counters for light workloads
qa: remove empty multimds suite
qa: merge multimds:verify with fs:verify
qa: merge multimds:thrash to fs:thrash
qa: remove dead multimds:basic
qa: move functional multimds tests to fs:functional
qa: migrate multimds workloads to fs:workloads
qa: only run valgrind on cephfs daemons
qa: stop testing filestore on cephfs suites
qa: load data pools before deleting fs
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Tested-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 18:47:07 +0000 (10:47 -0800)]
Merge PR #38693 into master
* refs/pull/38693/head:
qa: execute scrubs only on rank 0
client: print debug information about resolved MDS
qa: let Client::resolve_mds lookup the rank
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 18:39:38 +0000 (10:39 -0800)]
Merge PR #38510 into master
* refs/pull/38510/head:
PendingReleaseNotes: Update about volume/nfs cluster id changes
mgr/volumes/nfs: remove 'ganesha-' prefix from cluster id
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Harish Munjulur [Fri, 8 Jan 2021 17:25:35 +0000 (09:25 -0800)]
Merge pull request #38537 from IlsooByun/fix_ret_invalid_err
rgw: return error when trying to copy encrypted object without key
Harish Munjulur [Fri, 8 Jan 2021 17:24:42 +0000 (09:24 -0800)]
Merge pull request #38283 from dvanders/dvanders_throttle
rgw: add an outstanding_requests perf counter
Harish Munjulur [Fri, 8 Jan 2021 17:23:46 +0000 (09:23 -0800)]
Merge pull request #38242 from theanalyst/rgw/reset-stats-1-fix
rgw: cls/user: set from_index for reset stats calls
Jason Dillaman [Fri, 8 Jan 2021 14:24:21 +0000 (09:24 -0500)]
Merge pull request #38725 from CongMinYin/immutable-obejct-cache-doc
doc/rbd: Immutable object cache doc
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sebastian Wagner [Fri, 8 Jan 2021 14:23:31 +0000 (15:23 +0100)]
Merge pull request #38667 from pcuzner/fix-cephadm-stdout
cephadm: make host add failure message more friendly
Sebastian Wagner [Fri, 8 Jan 2021 14:21:45 +0000 (15:21 +0100)]
Merge pull request #37920 from votdev/issue_48068_timezone
cephadm: Various properties like 'last_refresh' do not contain timezone
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Fri, 8 Jan 2021 12:35:28 +0000 (20:35 +0800)]
Merge pull request #38807 from tchaikov/wip-mon-cmd-doc
doc: build mon_command_api.rst using a homebrew extension
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Varsha Rao [Tue, 5 Jan 2021 11:28:20 +0000 (16:58 +0530)]
PendingReleaseNotes: Update about volume/nfs cluster id changes
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Tue, 8 Dec 2020 18:16:27 +0000 (23:46 +0530)]
mgr/volumes/nfs: remove 'ganesha-' prefix from cluster id
Orchestrator defines service name as "<service_type>.<service_id>". The ganesha
common config object name in orchestrator is "conf-<service_name>". Volume's
nfs plugin deploys nfs-ganesha clusters with 'ganesha' prefixed to cluster id
and common config object. It can cause unecessary issues in rook and cephadm.
So let's remove the prefix.
Fixes: https://tracker.ceph.com/issues/48514
Signed-off-by: Varsha Rao <varao@redhat.com>
Kefu Chai [Fri, 8 Jan 2021 06:00:06 +0000 (14:00 +0800)]
Merge pull request #38754 from tchaikov/wip-confutil-string-view
common/ConfUtils: pass string_view instead of string
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Thu, 7 Jan 2021 17:48:36 +0000 (01:48 +0800)]
doc/_ext: accept params separated with ", "
"mon enable_stretch_mode" command's arg descriptors are delimited with
", ", so we should ignore empty kv when split the params with ",".
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 7 Jan 2021 15:43:26 +0000 (23:43 +0800)]
doc: build mon_command_api.rst using a homebrew extension
so we can build the command doc using ReadTheDoc infra, without adding
the generated rst file to the source repo.
before this change, all the commands are ordered alphabetically. after
this change, command docs are generated by two directives, and are
ordered separately. we could restructure the directives and merge them.
but let's leave it for a future change if this is important.
for more details on writing sphinx directives, see
https://www.sphinx-doc.org/en/master/extdev/markupapi.html and
https://docutils.sourceforge.io/docs/howto/rst-directives.html
Signed-off-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Tue, 5 Jan 2021 20:24:32 +0000 (12:24 -0800)]
qa: bump scrub timeout
To avoid timeouts for large workloads.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 23 Dec 2020 23:44:57 +0000 (15:44 -0800)]
qa: move cephfs_ec_profile under cephfs
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 23 Dec 2020 17:39:03 +0000 (09:39 -0800)]
qa: do not use ec pools for default data pool
This configuration unnecessarily slows down backtrace writes and bloats
the used disk space.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 22 Dec 2020 18:08:08 +0000 (10:08 -0800)]
qa: skip check-counters for light workloads
None of these are likely to generate exports.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Sun, 20 Dec 2020 03:19:52 +0000 (19:19 -0800)]
qa: remove empty multimds suite
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Fixes: https://tracker.ceph.com/issues/48121
Patrick Donnelly [Sun, 20 Dec 2020 03:19:19 +0000 (19:19 -0800)]
qa: merge multimds:verify with fs:verify
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Fixes: https://tracker.ceph.com/issues/48121
Patrick Donnelly [Sun, 20 Dec 2020 02:55:40 +0000 (18:55 -0800)]
qa: merge multimds:thrash to fs:thrash
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Fixes: https://tracker.ceph.com/issues/48121
Patrick Donnelly [Sun, 20 Dec 2020 02:34:26 +0000 (18:34 -0800)]
qa: remove dead multimds:basic
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Fixes: https://tracker.ceph.com/issues/48121
Patrick Donnelly [Sun, 20 Dec 2020 02:33:52 +0000 (18:33 -0800)]
qa: move functional multimds tests to fs:functional
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Fixes: https://tracker.ceph.com/issues/48121
Patrick Donnelly [Sun, 20 Dec 2020 02:25:26 +0000 (18:25 -0800)]
qa: migrate multimds workloads to fs:workloads
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Fixes: https://tracker.ceph.com/issues/48121
Patrick Donnelly [Sun, 20 Dec 2020 03:26:50 +0000 (19:26 -0800)]
qa: only run valgrind on cephfs daemons
OSD valgrind slows things down too much to the point where some tasks
fail to complete.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Sat, 19 Dec 2020 22:09:24 +0000 (14:09 -0800)]
qa: stop testing filestore on cephfs suites
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 23 Dec 2020 18:19:57 +0000 (10:19 -0800)]
qa: load data pools before deleting fs
Otherwise current data pools at time of deletion may not be known.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 7 Jan 2021 16:46:24 +0000 (08:46 -0800)]
Merge PR #38794 into master
* refs/pull/38794/head:
qa: add debug vstart_runner option
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Harish Munjulur [Thu, 7 Jan 2021 15:11:25 +0000 (07:11 -0800)]
Merge pull request #38377 from yanghonggang/master
rgw/rgw_http_client.cc: Introduce a new configuration item - rgw_curl_buffersize
Sebastian Wagner [Thu, 7 Jan 2021 14:44:58 +0000 (15:44 +0100)]
Merge pull request #38800 from sebastian-philipp/doc-cephadm-rm-link-to-de
doc/cephadm: some minor updates
Reviewed-by: Varsha Rao <varao@redhat.com>
Sebastian Wagner [Thu, 7 Jan 2021 11:06:30 +0000 (12:06 +0100)]
doc/cephadm: /etc/ceph is created automaticlly now
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Thu, 7 Jan 2021 11:05:58 +0000 (12:05 +0100)]
doc/cephadm: CephFS: Encourage users to call `ceph fs volume create`
Manually deploying MDS daemons is an advanced topic.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Thu, 7 Jan 2021 10:50:36 +0000 (11:50 +0100)]
doc/cephadm: update stability notes
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Thu, 7 Jan 2021 10:50:13 +0000 (11:50 +0100)]
doc/cephadm: Rm doc/dev/cephadm from user docs
We should not link the dev guide form the user documentation. The user docs are already convoluted and hard to follow. Adding the dev guide is not helpful.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Thu, 7 Jan 2021 10:46:12 +0000 (11:46 +0100)]
Merge pull request #38784 from sebastian-philipp/resurect-doc-dev-cephadm
doc/dev: resurrect hidden dev/cephadm.rst
Reviewed-by: Varsha Rao <varao@redhat.com>
Sebastian Wagner [Thu, 7 Jan 2021 10:02:15 +0000 (11:02 +0100)]
Merge pull request #38560 from pcuzner/cephadm-maintenance-mode
cephadm: add host-maintenance subcommand
Reviewed-by: Juan Miguel Olmo MartÃnez <jolmomar@redhat.com>
Sebastian Wagner [Thu, 7 Jan 2021 09:30:53 +0000 (10:30 +0100)]
Merge pull request #38681 from pcuzner/enable-exporter
cephadm: enable exporter deployment at bootstrap
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Thu, 7 Jan 2021 09:29:49 +0000 (10:29 +0100)]
Merge pull request #38704 from varshar16/wip-fix-rook-rm-service
mgr/rook: Remove service_type param from remove_service()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
Jason Dillaman [Thu, 7 Jan 2021 03:45:09 +0000 (22:45 -0500)]
Merge pull request #38025 from MahatiC/wip-ssd-write
librbd/cache: Implement aio_write operation
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Yuri Weinstein [Wed, 6 Jan 2021 23:23:56 +0000 (15:23 -0800)]
Merge pull request #38795 from yuriw/wip-yuriw-octopus-x-master
qa/tests: changed the dirs structure
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Patrick Donnelly [Wed, 6 Jan 2021 22:30:21 +0000 (14:30 -0800)]
Merge PR #38792 into master
* refs/pull/38792/head:
.github: add MDSMonitor to cephfs label
Reviewed-by: Neha Ojha <nojha@redhat.com>
Patrick Donnelly [Wed, 6 Jan 2021 21:34:38 +0000 (13:34 -0800)]
Merge PR #38587 into master
* refs/pull/38587/head:
doc: add explanatory note about cache trim rate setting
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Wed, 6 Jan 2021 20:50:10 +0000 (12:50 -0800)]
qa/tests: changed the dirs structure
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Yuri Weinstein [Wed, 6 Jan 2021 20:47:06 +0000 (12:47 -0800)]
Merge pull request #38787 from yuriw/wip-yuriw-octopus-x-master
qa/tests: octopus-x suite added more workloads
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Wed, 6 Jan 2021 20:31:50 +0000 (12:31 -0800)]
Merge pull request #38789 from neha-ojha/wip-fix-cephadm-task
qa/tasks/cephadm.py: do not create rbd pool by default
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Patrick Donnelly [Wed, 6 Jan 2021 19:36:49 +0000 (11:36 -0800)]
qa: add debug vstart_runner option
The default was changed to INFO recently but there was no way to restore
visibility of DEBUG messages.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 6 Jan 2021 18:59:41 +0000 (10:59 -0800)]
.github: add MDSMonitor to cephfs label
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Wed, 6 Jan 2021 16:52:54 +0000 (08:52 -0800)]
qa/tests: octopus-x suite added more workloads
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Neha Ojha [Wed, 6 Jan 2021 15:37:47 +0000 (15:37 +0000)]
qa/tasks/cephadm.py: do not create rbd pool by default
rados/cephadm/smoke* does not use the install task and the adjust-ulimits
dependency is met as a part of it. create_rbd_pool needs adjust-ulimits,
so for now we will disable create_rbd_pool by default and only set it
to true for the upgrade suite.
Signed-off-by: Neha Ojha <nojha@redhat.com>
Patrick Donnelly [Tue, 5 Jan 2021 21:43:26 +0000 (13:43 -0800)]
qa: get pool holding file data from file layout
Otherwise it always looks at the default data pool. For ec pools, this
may not be where the file data is.
Fixes: https://tracker.ceph.com/issues/48756
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Wed, 6 Jan 2021 14:53:34 +0000 (22:53 +0800)]
Merge pull request #38714 from tchaikov/wip-better-vstart
vstart: format the customized options in ceph.conf
Reviewed-by: luo rixin <luorixin@huawei.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 6 Jan 2021 14:50:24 +0000 (06:50 -0800)]
Merge PR #38769 into master
* refs/pull/38769/head:
doc/cephfs: add data pool-MDS instructions link
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Mahati Chamarthy [Fri, 6 Nov 2020 12:09:55 +0000 (17:39 +0530)]
librbd/cache: Implement aio_write operation
...along with load_existing_entries and shutdown cache
operation
Signed-off-by: Lisa Li <xiaoyan.li@intel.com>
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
Sebastian Wagner [Wed, 6 Jan 2021 13:11:47 +0000 (14:11 +0100)]
doc/dev: resurrect hidden dev/cephadm.rst
some time ago, a cephadm folder was added that did hide the
old dev documentation page.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Zac Dover [Tue, 5 Jan 2021 13:55:16 +0000 (23:55 +1000)]
doc/cephfs: add data pool-MDS instructions link
- This commit adds a link to the "Create a Ceph
File System" page. The link that it adds is to the
"Adding a data pool to the MDS" subsection of the
file layouts page.
- s/mds/file system/
Fixes: https://tracker.ceph.com/issues/48531
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Kefu Chai [Wed, 6 Jan 2021 03:34:09 +0000 (11:34 +0800)]
Merge pull request #38713 from tchaikov/wip-ceph-annotations
ceph.in: return bytes as outbuf in error path, add type annotations
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yin Congmin [Fri, 25 Dec 2020 16:01:34 +0000 (00:01 +0800)]
tools: update immutable object cache water mark
Signed-off-by: Yin Congmin <congmin.yin@intel.com>
Yin Congmin [Fri, 25 Dec 2020 14:24:33 +0000 (22:24 +0800)]
doc/rbd: add the configuration description of immutable object cache throttle
Signed-off-by: Yin Congmin <congmin.yin@intel.com>
Neha Ojha [Wed, 6 Jan 2021 00:31:37 +0000 (16:31 -0800)]
Merge pull request #38777 from neha-ojha/wip-cephadm-rbd
qa: allow the cephadm task to create an RBD pool and add workload to use it
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Neha Ojha [Tue, 5 Jan 2021 21:36:04 +0000 (21:36 +0000)]
qa/suites/upgrade/octopus-x: add rados_loadgenbig workload
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Tue, 5 Jan 2021 17:38:52 +0000 (17:38 +0000)]
qa/tasks/cephadm.py: create RBD pool
The ceph task already does this and a bunch of tests rely on this pool
being already present. Can be disabled by setting create_rbd_pool to False.
Signed-off-by: Neha Ojha <nojha@redhat.com>
Patrick Donnelly [Tue, 5 Jan 2021 16:38:41 +0000 (08:38 -0800)]
Merge PR #38742 into master
* refs/pull/38742/head:
doc/cephfs/nfs: Add more details about path and pseudo path
doc/cephfs/nfs: Add note about how to fetch port details with rook
doc/cephfs/nfs: Add warning note about management of dashboard created exports
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Jason Dillaman [Tue, 5 Jan 2021 14:33:49 +0000 (09:33 -0500)]
Merge pull request #38735 from changchengx/pwl_load_existing_cache
librbd/cache/pwl: correct update previous_sync_point_entry
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 5 Jan 2021 14:12:20 +0000 (09:12 -0500)]
Merge pull request #38520 from lixiaoy1/wip-doc-pwl
doc: add RBD persistent write-back cache
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
lixiaoy1 [Tue, 17 Nov 2020 14:47:42 +0000 (09:47 -0500)]
doc: add RBD persistent write-back cache
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Varsha Rao [Thu, 31 Dec 2020 11:30:29 +0000 (17:00 +0530)]
doc/cephfs/nfs: Add more details about path and pseudo path
Fixes: https://tracker.ceph.com/issues/48731
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Thu, 31 Dec 2020 10:54:34 +0000 (16:24 +0530)]
doc/cephfs/nfs: Add note about how to fetch port details with rook
Fixes: https://tracker.ceph.com/issues/48731
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Thu, 31 Dec 2020 10:45:09 +0000 (16:15 +0530)]
doc/cephfs/nfs: Add warning note about management of dashboard created exports
Fixes: https://tracker.ceph.com/issues/48731
Signed-off-by: Varsha Rao <varao@redhat.com>
Jan Fajerski [Tue, 5 Jan 2021 11:50:37 +0000 (12:50 +0100)]
Merge PR #32776 into master
* refs/pull/32776/head:
win32*.sh: fetch WNBD dependency
win32*.sh: bump win32 boost dependency
cmake: skip osd, Lua and neorados on Windows
win32*.sh: improve lib handling
win32*.sh: update openssl location
win32*.sh: cleanup dependency build dir when targetting Windows
win32*.sh: Strip binaries individually
win32*.sh: Cleanup zip archive creation
cmake,win32*.sh: Add OS=(ubuntu|suse) flag, for distro settings
win32*.sh: Use nproc for CPU count when targeting win32
test: Include compat.h to find uid_t/gid_t/gidlist when cross compiling
win32*.sh: improve win32 dependency check
win32*.sh: isolate network operations when building win32 dependencies
cmake: drop Python dependency when targeting Windows
win32*.sh: cleanup Windows build script
win32*.sh: fix patch command
win32*.sh: update Windows build scripts and readme
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Volker Theile [Thu, 10 Dec 2020 09:47:46 +0000 (10:47 +0100)]
cephadm: Various properties like 'last_refresh' do not contain timezone
Fixes: https://tracker.ceph.com/issues/48068
Signed-off-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Tue, 5 Jan 2021 11:06:57 +0000 (19:06 +0800)]
Merge pull request #38699 from rosinL/boost-paralllel
do_cmake: add a default value to BOOST_J
Reviewed-by: Kefu Chai <kchai@redhat.com>
zdover23 [Tue, 5 Jan 2021 08:34:19 +0000 (18:34 +1000)]
Merge pull request #38745 from zdover23/wip-doc-jan-2021-dev-guide-basic-workflow-reorg
doc/dev: restructure basic-workflow.rst
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Tue, 5 Jan 2021 02:32:48 +0000 (10:32 +0800)]
Merge pull request #38749 from tchaikov/wip-cmake-check-nasm
cmake: only display the result of checking nasm once
Reviewed-by: Changcheng Liu <changcheng.liu@aliyun.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Patrick Donnelly [Mon, 4 Jan 2021 17:49:00 +0000 (09:49 -0800)]
Merge PR #38703 into master
* refs/pull/38703/head:
test: move snap delete operation to non-root directory
client: optionally check client permission on rmsnap()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Mon, 4 Jan 2021 17:39:14 +0000 (01:39 +0800)]
Merge pull request #38758 from tchaikov/wip-crimson-cleanup
crimson/os: do not let omap_get_values() return input_output_error
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Kefu Chai [Mon, 4 Jan 2021 15:32:18 +0000 (23:32 +0800)]
Merge pull request #38757 from rosinL/wip-remove-unused-options
common/options: remove ununsed options
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 4 Jan 2021 15:25:10 +0000 (23:25 +0800)]
crimson/os: do not let omap_get_values() return input_output_error
BlueStore only returns 0 or -ENOENT. so no need to handle the cases
where the return value is neither of them.
but Seastore might return EIO, so keep the interface unchanged.
Signed-off-by: Kefu Chai <kchai@redhat.com>
ofriedma [Mon, 4 Jan 2021 15:11:37 +0000 (17:11 +0200)]
Merge pull request #38616 from ofriedma/wip-ofriedma-dist-cache
rgw: distribute cache for exclusive put
Kefu Chai [Mon, 4 Jan 2021 14:54:10 +0000 (22:54 +0800)]
Merge pull request #38663 from tchaikov/wip-crimson-recovery-cleanups
crimson/osd: fixes and cleanups
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
luo rixin [Mon, 4 Jan 2021 12:40:54 +0000 (20:40 +0800)]
common/options: remove ununsed options
Signed-off-by: luo rixin <luorixin@huawei.com>
Kefu Chai [Mon, 4 Jan 2021 11:04:45 +0000 (19:04 +0800)]
Merge pull request #38676 from ronen-fr/wip-48690
qa/standalone/scrub/osd-scrub-snaps.sh: fix Python print syntax
Reviewed-by: Kefu Chai <kchai@redhat.com>
Nathan Cutler [Mon, 4 Jan 2021 09:58:54 +0000 (10:58 +0100)]
Merge pull request #38603 from smithfarm/wip-48604
rpm: require smartmontools on SUSE
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Mon, 4 Jan 2021 09:22:09 +0000 (17:22 +0800)]
common/ConfUtils: pass string_view instead of string
pass string_view as the section_name when reading options from a
ConfFile. as there is no need to create a temporary string object
if the section name is a `const char*` literal.
also, update the caller site in `common/config.cc` accordingly as a
cleanup. as it's not necessary to pass a `const char*` for the section
name even without this change.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 24 Dec 2020 14:16:52 +0000 (22:16 +0800)]
vstart: format the customized options in ceph.conf
better formatted in ceph.conf, no extra spaces and tabs anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 3 Jan 2021 17:15:54 +0000 (01:15 +0800)]
cmake: only display the result of checking nasm once
if nasm is able to emit AVX512 instructions, we can assume that it's
able to generate AVX2 instructions as well. so no need to print "Found
nasm" multiple times.
and by chaining mutual exclusive branches with "elseif", we can have
better readability.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 3 Jan 2021 17:28:23 +0000 (01:28 +0800)]
cmake: drop duplicated variable
not_arch_x32 replicates ${_support_x64}. and a variable starts with
"not" is just difficult to parse. so drop it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Sun, 3 Jan 2021 09:07:20 +0000 (11:07 +0200)]
Merge pull request #38694 from dillaman/wip-migration-import
librbd/migration: tweaks and initial set of documentation
Reviewed-by: Mykola Golub <mgolub@suse.com>
Jason Dillaman [Mon, 21 Dec 2020 19:40:13 +0000 (14:40 -0500)]
doc/rbd: incorporate external data source support for live-migration
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 22 Dec 2020 18:56:59 +0000 (13:56 -0500)]
librbd/migration: fixed missing return statements on stream error path
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 22 Dec 2020 18:36:57 +0000 (13:36 -0500)]
librbd/migration: optionally pull S3 keys from MON config store
This allows the S3 keys to be better protected since the MON can
be configured to restrict access to keys by user and the results
can be encrypted in transit.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 22 Dec 2020 18:34:51 +0000 (13:34 -0500)]
librbd: helper utility to retrieve config from the MON config store
A special "config://" URI prefix can be used to denote configuration
settings that should be (securely) pulled from the MON config store.
This will be first used in a follow-up commit to support storing
the S3 access and secret keys in the MON config store.
This "config://" syntax is already in-use by RGW and ceph-iscsi for
pulling secrets when deployed via cephadm.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 22 Dec 2020 14:46:04 +0000 (09:46 -0500)]
librbd/migration: require snapshot when importing from native source
Since we cannot mark the source image read-only when running in import-only
migration mode, we should require the user to provide a snapshot to ensure
that data cannot change while the migration is running.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Fri, 1 Jan 2021 12:34:21 +0000 (20:34 +0800)]
ceph.in: remove unused indent
no need to put `if True`. it was used when removing unused variables.
but it'd be better to have less indent for better readability.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 1 Jan 2021 12:28:37 +0000 (20:28 +0800)]
ceph.in: do not apply rados.cstr() to a bytes
since the parameter is already a bytes instance, there is no need to encode it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 1 Jan 2021 12:14:37 +0000 (20:14 +0800)]
pybind/rados: correct annotation of {mon,pg,osd}_command
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 24 Dec 2020 14:50:44 +0000 (22:50 +0800)]
pybind/ceph_argparse: no need to import print()
we are already in a python3 world.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 24 Dec 2020 14:12:35 +0000 (22:12 +0800)]
pybind/ceph_argparse: PEP8 related cleanups
Signed-off-by: Kefu Chai <kchai@redhat.com>