]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Patrick Donnelly [Mon, 11 Jan 2021 16:26:11 +0000 (08:26 -0800)]
*: remove legacy ceph_volume_client.py library
This library is obsolete with the mgr volumes plugin since Nautilus.
The last remaining user of this library was Manila which will be using
the volumes plugin with Pacific and onwards.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 11 Jan 2021 15:48:13 +0000 (07:48 -0800)]
Merge PR #38836 into master
* refs/pull/38836/head:
client: add debug messages for osdmap wait
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Sebastian Wagner [Mon, 11 Jan 2021 14:04:55 +0000 (15:04 +0100)]
Merge pull request #38141 from Daniel-Pivonka/nodeexporterpullauth
cephadm: fix podman failure to pull authenticated registry image from systemd unit
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Paul Cuzner <pcuzner@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Jason Dillaman [Mon, 11 Jan 2021 13:29:51 +0000 (08:29 -0500)]
Merge pull request #38712 from orozery/librbd-encryption-api
librbd: encryption API
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Or Ozeri [Sun, 10 Jan 2021 16:46:28 +0000 (18:46 +0200)]
librbd: add encryption api
This commit exposes librbd encryption api
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Mon, 11 Jan 2021 11:50:30 +0000 (13:50 +0200)]
librbd: change remap_extents to lvalue reference
This commit changes the remap_extents api to use lvalue instead of ravlue references
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Mon, 11 Jan 2021 11:45:00 +0000 (13:45 +0200)]
librbd: fix wrong delete type in DataCryptor
This commit fixes a delete which does not match its allocation
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Sebastian Wagner [Mon, 11 Jan 2021 11:03:29 +0000 (12:03 +0100)]
Merge pull request #38804 from sebastian-philipp/cephadm-silence-evict-container
cephadm: silence "Failed to evict container" log msg
Reviewed-by: Adam King <adking@redhat.com>
Sebastian Wagner [Mon, 11 Jan 2021 11:02:25 +0000 (12:02 +0100)]
Merge pull request #38615 from adk3798/haproxy-stuff
mgr/cephadm: HA for RGW endpoints
Reviewed-by: Daniel-Pivonka <dpivonka@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Mon, 11 Jan 2021 10:26:45 +0000 (18:26 +0800)]
Merge pull request #38543 from zjcmszh/cmpext_op
pybind/rados: add WriteOp::cmpext() and ReadOp::cmpext()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Gregory Farnum [Mon, 11 Jan 2021 06:06:22 +0000 (22:06 -0800)]
Merge pull request #38531 from gregsfortytwo/wip-stretch-updates
More stretch updates for overly-aggressive safety checks that broke clients
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Patrick Donnelly [Sat, 9 Jan 2021 22:25:32 +0000 (14:25 -0800)]
client: add debug messages for osdmap wait
To help debug i47294.
See-also: https://tracker.ceph.com/issues/47294
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Or Ozeri [Sun, 10 Jan 2021 15:55:29 +0000 (17:55 +0200)]
librbd: move object create before set alloc hint
This commit fixes the order of ops in write requests to have create before set alloc hint, so that exclusive create will not falsely fail
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Kefu Chai [Sun, 10 Jan 2021 11:58:03 +0000 (19:58 +0800)]
Merge pull request #38701 from rosinL/fix-memory-over-use
commom/buffer: use small page aligned when bufferlist prealloc memory
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 10 Jan 2021 11:52:00 +0000 (19:52 +0800)]
Merge pull request #38747 from tchaikov/wip-scrub-event
osd/scrub_machine: pass an instance of event to post_event()
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Or Ozeri [Sat, 9 Jan 2021 20:26:59 +0000 (22:26 +0200)]
librbd: fix crypto related memory leaks
This commit fixes memory leaks introduced by the new librbd encryption feature
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Jason Dillaman [Sat, 9 Jan 2021 21:52:20 +0000 (16:52 -0500)]
Merge pull request #38796 from MahatiC/wip-ssd-read
librbd/cache: Implement aio_read operation
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Sat, 9 Jan 2021 16:25:06 +0000 (00:25 +0800)]
Merge pull request #38272 from vbashkirtsev/master
test/test_arch.cc: search "pni" in CPU flags also when detecting SSE3
Reviewed-by: Kefu Chai <kchai@redhat.com>
Vladimir Bashkirtsev [Wed, 25 Nov 2020 01:54:03 +0000 (12:24 +1030)]
test/test_arch.cc: search "pni" in CPU flags also when detecting SSE3
as sometimes a SSE-3 CPU reports "pni" (Prescott New Instructions) in /proc/cpuinfo.
Signed-off-by: Vladimir Bashkirtsev <vladimir@bashkirtsev.com>
Vladimir Bashkirtsev [Wed, 25 Nov 2020 01:40:49 +0000 (12:10 +1030)]
do_cmake.sh: do not perform 'git submodule update' if building from tarball
Signed-off-by: Vladimir Bashkirtsev <vladimir@bashkirtsev.com>
Kefu Chai [Sat, 9 Jan 2021 04:06:47 +0000 (12:06 +0800)]
Merge pull request #38753 from Rethan/style-ceph-df-output
mon/PGMap: align to same side when output ceph df / ceph df detail
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Sat, 9 Jan 2021 03:06:58 +0000 (19:06 -0800)]
Merge PR #38775 into master
* refs/pull/38775/head:
qa: remove ceph file systems on completion
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 23:17:47 +0000 (15:17 -0800)]
Merge PR #38791 into master
* refs/pull/38791/head:
mon/MDSMonitor: add missing frozen checks
Reviewed-by: Jos Collin <jcollin@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 23:17:10 +0000 (15:17 -0800)]
Merge PR #38778 into master
* refs/pull/38778/head:
mds: don't use dentry_key_t in C_IO_Dir_Commit_Ops
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 23:15:54 +0000 (15:15 -0800)]
Merge PR #38773 into master
* refs/pull/38773/head:
mds: avoid spurious sleeps
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 23:14:10 +0000 (15:14 -0800)]
Merge PR #38698 into master
* refs/pull/38698/head:
client: fix the cache size check
client: add more detail info for the _put_inode debug log
client: skip putting inodes if map is empty
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 23:13:22 +0000 (15:13 -0800)]
Merge PR #38683 into master
* refs/pull/38683/head:
mds: add scrub perf counters support
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 23:12:42 +0000 (15:12 -0800)]
Merge PR #38642 into master
* refs/pull/38642/head:
rpm/deb/cmake: install mount.fuse.ceph man page
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Greg Farnum [Fri, 8 Jan 2021 22:17:07 +0000 (22:17 +0000)]
osd: osdmap: do not assert target_v when encoding in stretch mode
Again, this was an overly-strict safety check. It passed testing against
(even old) userspace clients, but the kernel clients don't have all the
same feature bits and so when encoding for them, we see lower target_v values
and assert out erroneously.
As before, monitors and OSDs that actually need to interpret this data
are gated on cluster entry, so we don't need this safety check here.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Daniel-Pivonka [Mon, 26 Oct 2020 18:34:39 +0000 (14:34 -0400)]
cephadm: HA for RGW endpoints
Cephadm deploying keepalived and HAproxy for providing High availability for RGW endpoints
Fixes: https://tracker.ceph.com/issues/45116
Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
Signed-off-by: Adam King <adking@redhat.com>
Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Casey Bodley [Fri, 8 Jan 2021 20:16:23 +0000 (15:16 -0500)]
Merge pull request #37882 from cbodley/wip-rgw-data-sync-notification-fix
rgw: data sync: fix obligation check
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
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 [Tue, 5 Jan 2021 20:34:00 +0000 (12:34 -0800)]
qa: remove ceph file systems on completion
So that we can avoid MDS replacement warnings.
Fixes: https://tracker.ceph.com/issues/48757
Signed-off-by: Patrick Donnelly <pdonnell@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>
zhangjiao [Fri, 11 Dec 2020 10:43:37 +0000 (18:43 +0800)]
pybind/rados: add test_cmpext_op()
Signed-off-by: Zhang Jiao <zhangjiao_yewu@cmss.chinamobile.com>
zhangjiao [Fri, 11 Dec 2020 10:36:48 +0000 (18:36 +0800)]
pybind/rados: add ReadOp::cmpext()
Signed-off-by: Zhang Jiao <zhangjiao_yewu@cmss.chinamobile.com>
zhangjiao [Fri, 11 Dec 2020 10:21:51 +0000 (18:21 +0800)]
pybind/rados:add WriteOp::cmpext()
Signed-off-by: Zhang Jiao <zhangjiao_yewu@cmss.chinamobile.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>
Sebastian Wagner [Thu, 7 Jan 2021 15:14:03 +0000 (16:14 +0100)]
cephadm: silence "Failed to evict container" log msg
Right now, we're printing some evil looking messages in the log:
```
systemd[1]: Starting Ceph mgr.node2.ankmgz for ...
podman[32354]: Error: no container with name or ID ceph-... found: no such container
bash[32363]: Error: Failed to evict container: "": Failed to find container "ceph-..." in state: no container with name or ID ceph-... found: no such container
bash[32363]: Error: no container with ID or name "ceph-..." found: no such container
````
Also, the unit.run command already removes the container. No need
for ExecStartPre to do the same.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.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>
Daniel-Pivonka [Tue, 17 Nov 2020 19:05:05 +0000 (14:05 -0500)]
cephadm: fix podman failure to pull authenticated registry image from systemd unit
have podman keep auth file in /var/lic/ceph/<fsid> becasue podman commands run from systemd do not have access to the default location and the default location is not consistant depending on the user logged in as, where your using sudo or not.
Signed-off-by: Daniel-Pivonka <dpivonka@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>
Mahati Chamarthy [Mon, 4 Jan 2021 10:27:59 +0000 (15:57 +0530)]
librbd/cache: Implement aio_read operation
... and retire entries i.e. flush to OSD.
Support writesame, compare_and_write, discard
and invalidate IO operations with tests.
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>
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>
Xiubo Li [Tue, 22 Dec 2020 02:14:25 +0000 (10:14 +0800)]
mds: add scrub perf counters support
Signed-off-by: Xiubo Li <xiubli@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>
Patrick Donnelly [Wed, 6 Jan 2021 18:56:21 +0000 (10:56 -0800)]
mon/MDSMonitor: add missing frozen checks
This has no known impact on testing.
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>
Patrick Donnelly [Tue, 5 Jan 2021 17:03:27 +0000 (09:03 -0800)]
mds: avoid spurious sleeps
Like trim_interval, don't sleep for small amounts of time. This avoids
spurious sleeps like:
2020-12-25T00:14:22.242+0000
7f6a95884700 20 mds.0.cache upkeep thread waiting interval 0.000000108s
2020-12-25T00:14:22.242+0000
7f6a95884700 20 mds.0.cache upkeep thread waiting interval 0.000000108s
2020-12-25T00:14:22.242+0000
7f6a95884700 20 mds.0.cache upkeep thread waiting interval 0.000000108s
2020-12-25T00:14:22.242+0000
7f6a95884700 20 mds.0.cache upkeep thread waiting interval 0.000000108s
2020-12-25T00:14:22.242+0000
7f6a95884700 20 mds.0.cache upkeep thread waiting interval 0.000000108s
2020-12-25T00:14:22.242+0000
7f6a95884700 20 mds.0.cache upkeep thread waiting interval 0.000000108s
2020-12-25T00:14:22.242+0000
7f6a95884700 20 mds.0.cache upkeep thread waiting interval 0.000000108s
Also, fix the same issue in the Client.
Fixes: https://tracker.ceph.com/issues/48753
Signed-off-by: Patrick Donnelly <pdonnell@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>