]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agorbd/rwl: correct m_perfcounter access scope 35228/head
Changcheng Liu [Mon, 25 May 2020 08:54:27 +0000 (16:54 +0800)]
rbd/rwl: correct m_perfcounter access scope

There's no m_perfcounter in SyncPoint. Its scope is in
ReplicatedWriteLog.

Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
5 years agoMerge pull request #35129 from smithfarm/wip-fix-PendingReleaseNotes-headings
Nathan Cutler [Mon, 25 May 2020 08:41:30 +0000 (10:41 +0200)]
Merge pull request #35129 from smithfarm/wip-fix-PendingReleaseNotes-headings

doc/releases/octopus.rst: move still-pending release notes to official v15.2.0 release notes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agodoc/releases/octopus: use fixed-width font for "ceph fs dump" 35129/head
Nathan Cutler [Mon, 25 May 2020 08:39:47 +0000 (10:39 +0200)]
doc/releases/octopus: use fixed-width font for "ceph fs dump"

We are using fixed-width font to render commands elsewhere, so
let's do so in this release note, too - just for the sake of uniformity.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #35142 from mgfritch/cephadm-validate-mds-fsname
Sebastian Wagner [Mon, 25 May 2020 07:46:21 +0000 (09:46 +0200)]
Merge pull request #35142 from mgfritch/cephadm-validate-mds-fsname

mgr/orch: allow MDS with explicit naming

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34174 from theanalyst/doc/active-releases-oct
Nathan Cutler [Sun, 24 May 2020 20:00:48 +0000 (22:00 +0200)]
Merge pull request #34174 from theanalyst/doc/active-releases-oct

doc: move luminous to archived releases & octopus to active

Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #35219 from tchaikov/wip-crimson-cleanups
Kefu Chai [Sun, 24 May 2020 11:06:46 +0000 (19:06 +0800)]
Merge pull request #35219 from tchaikov/wip-crimson-cleanups

crimson/osd,test/crimson: avoid using variadic future and s/apply/invoke/

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
5 years agocrimson/osd: avoid using variadic future 35219/head
Kefu Chai [Sun, 24 May 2020 04:25:38 +0000 (12:25 +0800)]
crimson/osd: avoid using variadic future

see also 3cee25ba41069e9e9b4855f99be20910759440ca

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agotest/crimson: use invoke instead of apply
Kefu Chai [Sun, 24 May 2020 04:18:12 +0000 (12:18 +0800)]
test/crimson: use invoke instead of apply

it's an oversight in 33af821baafbb2e9c4ebea2e377db665e210701f

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35204 from tchaikov/wip-tools-cephfs
Kefu Chai [Sun, 24 May 2020 04:12:56 +0000 (12:12 +0800)]
Merge pull request #35204 from tchaikov/wip-tools-cephfs

tools/cephfs/MetaTool: print buffer::error::what()

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge pull request #35207 from tchaikov/wip-crimson-remove-vardiadict-future
Kefu Chai [Sat, 23 May 2020 08:50:43 +0000 (16:50 +0800)]
Merge pull request #35207 from tchaikov/wip-crimson-remove-vardiadict-future

crimson/osd: avoid using variadic future and cleanup

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: remove redundant std::move() 35207/head
Kefu Chai [Sat, 23 May 2020 08:26:42 +0000 (16:26 +0800)]
crimson/osd: remove redundant std::move()

this should address following warning:

../src/crimson/osd/ops_executer.cc:821:6:   required from here
../src/crimson/osd/ops_executer.cc:818:37: warning: redundant move in return statement [-Wredundant-move]
  818 |             return std::move(entries);
      |                                     ^
../src/crimson/osd/ops_executer.cc:818:37: note: remove ‘std::move’ call

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/osd: avoid using variadic future
Kefu Chai [Sat, 23 May 2020 08:19:19 +0000 (16:19 +0800)]
crimson/osd: avoid using variadic future

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35205 from Huber-ming/zsm_doc
Kefu Chai [Sat, 23 May 2020 07:01:15 +0000 (15:01 +0800)]
Merge pull request #35205 from Huber-ming/zsm_doc

doc: replace https://ceph.com/ with http://download.ceph.com/

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agodoc:replacing https://ceph.com/ by http://download.ceph.com/ 35205/head
Shengming Zhang [Sat, 23 May 2020 05:40:41 +0000 (13:40 +0800)]
doc:replacing https://ceph.com/ by http://download.ceph.com/

Signed-off-by: Shengming Zhang <zhangsm01@inspur.com>
5 years agoMerge pull request #35179 from myoungwon/wip-affiliation-mw
Kefu Chai [Sat, 23 May 2020 05:33:29 +0000 (13:33 +0800)]
Merge pull request #35179 from myoungwon/wip-affiliation-mw

mailmap: update affiliation for Myoungwon Oh

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agotools/cephfs/MetaTool: print buffer::error::what() 35204/head
Kefu Chai [Sat, 23 May 2020 03:54:53 +0000 (11:54 +0800)]
tools/cephfs/MetaTool: print buffer::error::what()

* buffer::error does not offer operator<<(ostream&, const
  buffer::error&). so in this change, err.what() is used instead.
* also add spaces to follow our coding style convention.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #34755 into master
Patrick Donnelly [Fri, 22 May 2020 21:25:03 +0000 (14:25 -0700)]
Merge PR #34755 into master

* refs/pull/34755/head:
tool: add function of show/amend fnode

Reviewed-by: Zheng Yan <zyan@redhat.com>
5 years agoMerge PR #35090 into master
Patrick Donnelly [Fri, 22 May 2020 21:23:57 +0000 (14:23 -0700)]
Merge PR #35090 into master

* refs/pull/35090/head:
mgr/volumes: Fix subvolume create idempotency

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
5 years agoMerge PR #35063 into master
Patrick Donnelly [Fri, 22 May 2020 21:21:30 +0000 (14:21 -0700)]
Merge PR #35063 into master

* refs/pull/35063/head:
cephfs: allow pool names with '-' and '.'

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #34975 into master
Patrick Donnelly [Fri, 22 May 2020 21:19:56 +0000 (14:19 -0700)]
Merge PR #34975 into master

* refs/pull/34975/head:
systemd: lock down more privileges

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #34757 into master
Patrick Donnelly [Fri, 22 May 2020 21:19:08 +0000 (14:19 -0700)]
Merge PR #34757 into master

* refs/pull/34757/head:
mds: take xlock in the order requests start locking

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #35143 into master
Patrick Donnelly [Fri, 22 May 2020 21:18:39 +0000 (14:18 -0700)]
Merge PR #35143 into master

* refs/pull/35143/head:
mgr/status: 'ceph fs status' output add dirs and caps

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #35026 from changchengx/rwl
Jason Dillaman [Fri, 22 May 2020 17:39:24 +0000 (13:39 -0400)]
Merge pull request #35026 from changchengx/rwl

librbd: track per syncpoint's logentry number with perf counter

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge PR #35109 into master
Patrick Donnelly [Fri, 22 May 2020 17:34:19 +0000 (10:34 -0700)]
Merge PR #35109 into master

* refs/pull/35109/head:
qa: use py3 compat list from range

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32601 from adamemerson/wip-objection-triumphant
Adam C. Emerson [Fri, 22 May 2020 17:15:01 +0000 (13:15 -0400)]
Merge pull request #32601 from adamemerson/wip-objection-triumphant

Asynchronous work on objecter and asynchronous RADOS library.

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #35020 from yuvalif/cls_2pc_q_async_api
Casey Bodley [Fri, 22 May 2020 14:36:30 +0000 (10:36 -0400)]
Merge pull request #35020 from yuvalif/cls_2pc_q_async_api

cls/2pc_queue: add async API to read operations

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #34505 from ktdreyer/doc-forwarded-https
Casey Bodley [Fri, 22 May 2020 13:58:53 +0000 (09:58 -0400)]
Merge pull request #34505 from ktdreyer/doc-forwarded-https

doc/rgw: warn about "trust forwarded https" security

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #35158 from dillaman/wip-45137
Mykola Golub [Fri, 22 May 2020 13:30:56 +0000 (16:30 +0300)]
Merge pull request #35158 from dillaman/wip-45137

librbd: initial implementation of plugin support

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agomgr/volumes: Fix subvolume create idempotency 35090/head
Kotresh HR [Fri, 15 May 2020 14:59:01 +0000 (20:29 +0530)]
mgr/volumes: Fix subvolume create idempotency

After subvolume is created, it can be resized
using subvolume create command. But it was
broken and the same is fixed.

Fixes: https://tracker.ceph.com/issues/45398
Signed-off-by: Kotresh HR <khiremat@redhat.com>
5 years agoMerge pull request #33964 from rosinL/openss_engine
Kefu Chai [Fri, 22 May 2020 08:39:11 +0000 (16:39 +0800)]
Merge pull request #33964 from rosinL/openss_engine

common, rgw: add openssl engine support

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge pull request #33237 from aclamk/wip-bluefs-list-files
Kefu Chai [Fri, 22 May 2020 04:45:49 +0000 (12:45 +0800)]
Merge pull request #33237 from aclamk/wip-bluefs-list-files

os/bluestore/bluefs: add inspection of bluefs files

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge pull request #35104 from varshar16/wip-fix-roleless-mon-issue
Kefu Chai [Fri, 22 May 2020 04:44:09 +0000 (12:44 +0800)]
Merge pull request #35104 from varshar16/wip-fix-roleless-mon-issue

qa/cephadm: Add roleless mon names to ctx.cluster.remotes role dict

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Georgios Kyratsas <gkyratsas@suse.com>
5 years agoMerge pull request #35055 from mgfritch/py3-log-warning
Kefu Chai [Fri, 22 May 2020 04:42:58 +0000 (12:42 +0800)]
Merge pull request #35055 from mgfritch/py3-log-warning

mgr: logger.warn() -> logger.warning()

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34897 from neha-ojha/wip-45298
Kefu Chai [Fri, 22 May 2020 04:41:00 +0000 (12:41 +0800)]
Merge pull request #34897 from neha-ojha/wip-45298

test/cli-integration/balancer/misplaced.t: start with balancer off

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge pull request #34852 from wpf1253/master
Kefu Chai [Fri, 22 May 2020 04:39:49 +0000 (12:39 +0800)]
Merge pull request #34852 from wpf1253/master

compressor/zlib:make zlib windowBits configurable for compression

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge pull request #35082 from badone/wip-xenial-cmake-install-test_envlibrados_for_r...
Kefu Chai [Fri, 22 May 2020 04:35:30 +0000 (12:35 +0800)]
Merge pull request #35082 from badone/wip-xenial-cmake-install-test_envlibrados_for_rocksdb

qa/workunits: Remove redundant Xenial cmake3 requirements

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34593 from hfutljx/master
Kefu Chai [Fri, 22 May 2020 04:33:52 +0000 (12:33 +0800)]
Merge pull request #34593 from hfutljx/master

qa/workunits:fix the error of getting encoding technique in ec test

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34936 from ddiss/timer_thread_name
Kefu Chai [Fri, 22 May 2020 04:33:25 +0000 (12:33 +0800)]
Merge pull request #34936 from ddiss/timer_thread_name

common/ceph_timer: set thread name

Reviewed-by: Adam Emersen <aemerson@redhat.com>
5 years agoMerge pull request #35107 from yuvalif/fix_issue_45586
Kefu Chai [Fri, 22 May 2020 04:32:04 +0000 (12:32 +0800)]
Merge pull request #35107 from yuvalif/fix_issue_45586

cls/2pc_queue: fix access to invalidated iterator

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #34836 from ifed01/wip-ifed-fix-45337
Kefu Chai [Fri, 22 May 2020 04:30:18 +0000 (12:30 +0800)]
Merge pull request #34836 from ifed01/wip-ifed-fix-45337

os/bluestore: fix large (>2GB) writes when bluefs_buffered_io = true

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35140 from batrick/i45612
Kefu Chai [Fri, 22 May 2020 04:28:02 +0000 (12:28 +0800)]
Merge pull request #35140 from batrick/i45612

qa: run install task only once

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34864 from aclamk/fix-45335
Kefu Chai [Fri, 22 May 2020 04:26:20 +0000 (12:26 +0800)]
Merge pull request #34864 from aclamk/fix-45335

kv/RocksDBStore: Reduced verification on sharding

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agodoc/rgw: warn about "trust forwarded https" security 34505/head
Ken Dreyer [Thu, 9 Apr 2020 22:32:55 +0000 (16:32 -0600)]
doc/rgw: warn about "trust forwarded https" security

Warn users about the implications of enabling this option when there is
no trusted proxy in front of radosgw.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
5 years agorpm,deb: package librbd parent cache plugin with librbd 35158/head
Jason Dillaman [Wed, 20 May 2020 21:02:54 +0000 (17:02 -0400)]
rpm,deb: package librbd parent cache plugin with librbd

The librbd parent cache is an initial testbed for librbd plugin
support. The shared library will be packaged with librbd for the
time being.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agolibrbd: moved parent image cache to its own plugin
Jason Dillaman [Wed, 20 May 2020 20:09:53 +0000 (16:09 -0400)]
librbd: moved parent image cache to its own plugin

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agolibrbd: parent image cache should work for all parents in hierarchy
Jason Dillaman [Wed, 20 May 2020 20:08:36 +0000 (16:08 -0400)]
librbd: parent image cache should work for all parents in hierarchy

A parent image might have its own parent image and so forth. Use the
ImageCtx::child member instead to determine if it's a R/W image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #35139 from smithfarm/wip-proxy-is-removed
Neha Ojha [Thu, 21 May 2020 17:07:56 +0000 (10:07 -0700)]
Merge pull request #35139 from smithfarm/wip-proxy-is-removed

qa/cephtool: remove/deprecate proxy cache-tier mode

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agomailmap: update affiliation for Myoungwon Oh 35179/head
myoungwon oh [Thu, 21 May 2020 16:28:31 +0000 (12:28 -0400)]
mailmap: update affiliation for Myoungwon Oh

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 years agoMerge pull request #35177 from wjwithagen/wjw-fix-ceph-backport.sh
Nathan Cutler [Thu, 21 May 2020 15:53:32 +0000 (17:53 +0200)]
Merge pull request #35177 from wjwithagen/wjw-fix-ceph-backport.sh

script: fix bash invocation on systems where bash live elsewhere

Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoscript: fix bash invocation on systems where bash live elsewhere 35177/head
Willem Jan Withagen [Thu, 21 May 2020 16:30:25 +0000 (16:30 +0000)]
script: fix bash invocation on systems where bash live elsewhere

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
5 years agoPendingReleaseNotes: drop mention of CVE fix
Nathan Cutler [Thu, 21 May 2020 11:57:56 +0000 (13:57 +0200)]
PendingReleaseNotes: drop mention of CVE fix

CVEs fixed before the first stable Pacific release need not be mentioned
explicitly in the release notes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoqa/cephtool: clean up after removal of cache-tier modes 35139/head
Nathan Cutler [Tue, 19 May 2020 20:05:22 +0000 (22:05 +0200)]
qa/cephtool: clean up after removal of cache-tier modes

The "proxy" and "forward" cache-tier modes have been completely removed,
so it's sufficient to test once that they cannot be set.

Fixes: a0a3ed324a130a9934735927600f01d1fa65bc0d
Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #35160 from rzarzynski/wip-crimson-objclass-subop_num
Kefu Chai [Thu, 21 May 2020 04:08:24 +0000 (12:08 +0800)]
Merge pull request #35160 from rzarzynski/wip-crimson-objclass-subop_num

crimson/osd: implement cls_current_subop_num of the objclass API.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35154 from tchaikov/wip-crimson-admin-cleanup
Kefu Chai [Thu, 21 May 2020 02:26:20 +0000 (10:26 +0800)]
Merge pull request #35154 from tchaikov/wip-crimson-admin-cleanup

crimson/admin: remove the unix domain socket for asock when stopping

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agotools/immutable_object_cache: fixed memory leak upon destruction
Jason Dillaman [Wed, 20 May 2020 20:08:19 +0000 (16:08 -0400)]
tools/immutable_object_cache: fixed memory leak upon destruction

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agolibrbd: initial plugin registry implementation
Jason Dillaman [Wed, 20 May 2020 18:36:49 +0000 (14:36 -0400)]
librbd: initial plugin registry implementation

The plugin registry will attempt to dynamically load the specified
librbd plugins at image open time.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agocrimson/osd: implement cls_current_subop_num of the objclass API. 35160/head
Radoslaw Zarzynski [Wed, 20 May 2020 23:18:38 +0000 (01:18 +0200)]
crimson/osd: implement cls_current_subop_num of the objclass API.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge pull request #35114 from mgfritch/cephadm-reconfig-port-in-use
Sebastian Wagner [Wed, 20 May 2020 18:34:30 +0000 (20:34 +0200)]
Merge pull request #35114 from mgfritch/cephadm-reconfig-port-in-use

cephadm: skip port in use check during reconfig/redeploy

Reviewed-by: Varsha Rao <varao@redhat.com>
5 years agoMerge pull request #35087 from sebastian-philipp/cephadm-fix-osd-service-create
Sebastian Wagner [Wed, 20 May 2020 18:33:57 +0000 (20:33 +0200)]
Merge pull request #35087 from sebastian-philipp/cephadm-fix-osd-service-create

mgr/cephadm: Fix OSDs not being created

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #35112 from athanatos/sjust/wip-manifest-doc
Samuel Just [Wed, 20 May 2020 17:07:15 +0000 (10:07 -0700)]
Merge pull request #35112 from athanatos/sjust/wip-manifest-doc

doc: update manifest.rst with plans for manifest work

Reviewed-by: Myoungwon Oh <omwmw@sk.com>
5 years agocrimson/admin: remove the unix domain socket file for asock when stopping 35154/head
Kefu Chai [Wed, 20 May 2020 16:12:19 +0000 (00:12 +0800)]
crimson/admin: remove the unix domain socket file for asock when stopping

should remove the leftovers when stopping

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #33286 into master
Patrick Donnelly [Wed, 20 May 2020 16:15:24 +0000 (09:15 -0700)]
Merge PR #33286 into master

* refs/pull/33286/head:
cephfs-shell: support cephfs-shell.conf

Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agocephfs-shell: support cephfs-shell.conf 33286/head
Rishabh Dave [Thu, 27 Feb 2020 07:50:11 +0000 (13:20 +0530)]
cephfs-shell: support cephfs-shell.conf

cephfs-shell options should reside in cephfs-shell.conf and not in
ceph.conf. Please note, unlike before, -c option of cephfs-shell must
take path to cephfs-shell.conf instead of path to ceph.conf.

This commit also updates the docs and the tests for cephfs-shell accordingly
and renames the variable config_path in cephfs-shell to shell_conf_path so
that it's easy to distinguish.

Fixes: https://tracker.ceph.com/issues/44127
Signed-off-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge PR #33264 into master
Patrick Donnelly [Wed, 20 May 2020 15:27:34 +0000 (08:27 -0700)]
Merge PR #33264 into master

* refs/pull/33264/head:
test_cephfs_shell: refactor test_put_and_get_without_target_directory

Reviewed-by: Varsha Rao <varao@redhat.com>
5 years agomgr/orch: add explicit naming tests (MDS / RGW) 35142/head
Michael Fritch [Wed, 20 May 2020 14:27:17 +0000 (08:27 -0600)]
mgr/orch: add explicit naming tests (MDS / RGW)

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agolibrbd/rwl: track syncpoint's logentry number and write bytes 35026/head
Changcheng Liu [Tue, 12 May 2020 09:47:47 +0000 (17:47 +0800)]
librbd/rwl: track syncpoint's logentry number and write bytes

The SyncPoint's logentry number and write bytes affect the
peformance of rwl cache a lot. It needs to be tracked by
perf couter for analysis.

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
5 years agomon/OSDMonitor: do not tell user 'proxy' cache-mode allowed
Nathan Cutler [Tue, 19 May 2020 20:40:55 +0000 (22:40 +0200)]
mon/OSDMonitor: do not tell user 'proxy' cache-mode allowed

The 'proxy' cache-mode is deprecated and can no longer be used.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #35088 from sebastian-philipp/cephadm-admin-socket
Sebastian Wagner [Wed, 20 May 2020 10:37:22 +0000 (12:37 +0200)]
Merge pull request #35088 from sebastian-philipp/cephadm-admin-socket

doc/cephadm: accessing the admin socket

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #35125 from tchaikov/wip-cephadm-test
Kefu Chai [Wed, 20 May 2020 06:37:43 +0000 (14:37 +0800)]
Merge pull request #35125 from tchaikov/wip-cephadm-test

qa/tasks/cephadm: ignore tarfile.ReadError

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agodoc/dev/osd_internals:manifest.rst: clarification for manifest design and future... 35112/head
Samuel Just [Mon, 18 May 2020 21:53:52 +0000 (14:53 -0700)]
doc/dev/osd_internals:manifest.rst: clarification for manifest design and future steps

I've added a few significant changes:
* TIER_PROMOTE purely ensures that data is resident in the base pool
* Add EVICT_CHUNK to permit a tiering agent to selectively cold space
  from HEAD/snapshots independently of SET_CHUNK.
* Avoid using DIRTY entirely for dedup targets.
* Instead of modifying clone_range when updating clone manifests, simply
  update ReplicatedBackend::calc_*_subsets to also consider the clone
  obc manifest.

I've also added sections on how tiering agents are rbd/rgw are meant
to interact as well as on testing.

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agodoc: more information on future work for manifest tiering
myoungwon oh [Thu, 23 Apr 2020 03:29:21 +0000 (23:29 -0400)]
doc: more information on future work for manifest tiering

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 years agodoc: more information on status and future work for manifest tiering
Samuel Just [Wed, 1 Apr 2020 02:13:25 +0000 (19:13 -0700)]
doc: more information on status and future work for manifest tiering

Signed-off-by: Samuel Just <sjust@redhat.com>
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 years agodoc: add more information for manifest tiering
Samuel Just [Fri, 13 Mar 2020 00:12:01 +0000 (17:12 -0700)]
doc: add more information for manifest tiering

Signed-off-by: Samuel Just <sjust@redhat.com>
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 years agoMerge pull request #35119 from ShraddhaAg/update-docs
Kefu Chai [Wed, 20 May 2020 04:25:11 +0000 (12:25 +0800)]
Merge pull request #35119 from ShraddhaAg/update-docs

doc: add machine type in teuthology commands

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agomgr/status: 'ceph fs status' output add dirs and caps 35143/head
Yanhu Cao [Wed, 20 May 2020 03:11:35 +0000 (11:11 +0800)]
mgr/status: 'ceph fs status' output add dirs and caps

Signed-off-by: Yanhu Cao <gmayyyha@gmail.com>
5 years agomgr/orch: fixup chars before hostname without '.' test
Michael Fritch [Wed, 20 May 2020 01:21:39 +0000 (19:21 -0600)]
mgr/orch: fixup chars before hostname without '.' test

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/orch: allow MDS with explicit naming
Michael Fritch [Wed, 20 May 2020 01:20:35 +0000 (19:20 -0600)]
mgr/orch: allow MDS with explicit naming

Fixes: https://tracker.ceph.com/issues/45617
Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/orch: allow RGWs with explicit naming
Sebastian Wagner [Tue, 19 May 2020 13:28:03 +0000 (15:28 +0200)]
mgr/orch: allow RGWs with explicit naming

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoqa: run install task only once 35140/head
Patrick Donnelly [Tue, 19 May 2020 22:28:49 +0000 (15:28 -0700)]
qa: run install task only once

Fixes: https://tracker.ceph.com/issues/45612
Fixes: 8d77d134c73d3471515f113320e9db1f0e59eb1f
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #35110 from neha-ojha/wip-revert-34894
Neha Ojha [Tue, 19 May 2020 21:06:20 +0000 (14:06 -0700)]
Merge pull request #35110 from neha-ojha/wip-revert-34894

Revert "qa/tests: replaced ubuntu_latest.yaml with ubuntu 20.04"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Yuri Weinstein <yuriw@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35113 from athanatos/sjust/wip-crimson-clang-cleanup
Samuel Just [Tue, 19 May 2020 17:32:40 +0000 (10:32 -0700)]
Merge pull request #35113 from athanatos/sjust/wip-crimson-clang-cleanup

crimson clang cleanups

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/osd: remove unnecessary captures 35113/head
Samuel Just [Tue, 19 May 2020 15:52:19 +0000 (08:52 -0700)]
crimson/osd: remove unnecessary captures

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson/os: remove some unnecessary lambda captures
Samuel Just [Tue, 19 May 2020 15:51:55 +0000 (08:51 -0700)]
crimson/os: remove some unnecessary lambda captures

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson/os/seastore/journal: avoid capturing destructured labels
Samuel Just [Mon, 18 May 2020 18:06:00 +0000 (11:06 -0700)]
crimson/os/seastore/journal: avoid capturing destructured labels

clang at least doesn't allow those labels to be captured.

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson: remove a few unnecessary lambda captures
Samuel Just [Mon, 18 May 2020 18:05:05 +0000 (11:05 -0700)]
crimson: remove a few unnecessary lambda captures

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agoerrorator: don't rely on non-evaluation of static_assert in constexpr branch
Samuel Just [Mon, 18 May 2020 18:03:36 +0000 (11:03 -0700)]
errorator: don't rely on non-evaluation of static_assert in constexpr branch

At least in clang, we appear to fail that static assert even with another
branch taken.  Instead, assert that one of the other conditions is true.

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agoMerge pull request #35127 from ronen-fr/scrub4
Jason Dillaman [Tue, 19 May 2020 15:44:29 +0000 (11:44 -0400)]
Merge pull request #35127 from ronen-fr/scrub4

test/librbd, Crimson: remove some unused captures

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoPendingReleaseNotes: add missing ">= 16.0.0" heading
Nathan Cutler [Tue, 19 May 2020 14:06:03 +0000 (16:06 +0200)]
PendingReleaseNotes: add missing ">= 16.0.0" heading

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agodoc: add machine type in teuthology commands 35119/head
Shraddha Agrawal [Tue, 19 May 2020 06:02:59 +0000 (11:32 +0530)]
doc: add machine type in teuthology commands

This commit adds mandatory --machine-type flag in teuthology
command examples in docs.

Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>
5 years agoMerge pull request #32927 from linuxbox2/wip-rgw-lc-threads
Matt Benjamin [Tue, 19 May 2020 14:02:56 +0000 (10:02 -0400)]
Merge pull request #32927 from linuxbox2/wip-rgw-lc-threads

rgwlc: enable thread-parallelism in RGWLC

5 years agodoc/releases/octopus: add "default bucket index shards" release note
Nathan Cutler [Tue, 19 May 2020 14:01:39 +0000 (16:01 +0200)]
doc/releases/octopus: add "default bucket index shards" release note

The RGW "default number of bucket index shards for new buckets was raised from
1 to 11" release note was added to PendingReleaseNotes by
1ec77ec7ba13da68d7919176b3675513ed7d7c21 but it did not find its way into the
official v15.2.0 release notes until now.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agodoc/releases/octopus: add "BlockPublicAccess" release note
Nathan Cutler [Tue, 19 May 2020 13:59:42 +0000 (15:59 +0200)]
doc/releases/octopus: add "BlockPublicAccess" release note

The RGW BlockPublicAccess release note was added to PendingReleaseNotes
by df384ea95f88196a9723877a5aa9041ef25b5f29 but it did not find its way
into the official v15.2.0 release notes until now.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agodoc/releases/octopus: add "rgw bucket granularity" release note
Nathan Cutler [Tue, 19 May 2020 13:58:32 +0000 (15:58 +0200)]
doc/releases/octopus: add "rgw bucket granularity" release note

The RGW bucket granularity release note was added to PendingReleaseNotes
by 50f13fd54b709bd0b8ad25e818fc61e2c55828fd but it never found its way
into the official v15.2.0 release notes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoCrimson: cleanup Clang issues in Crimson code 35127/head
Ronen Friedman [Tue, 19 May 2020 13:58:13 +0000 (16:58 +0300)]
Crimson: cleanup Clang issues in Crimson code

Mostly: remove redundant captures

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
5 years agodoc/releases/octopus: enforce mds_join_fs cluster affinity
Nathan Cutler [Tue, 19 May 2020 13:50:53 +0000 (15:50 +0200)]
doc/releases/octopus: enforce mds_join_fs cluster affinity

The "enforce mds_join_fs cluster affinity" release note was
added to PendingReleaseNotes by 3fac3b1236c4918e9640e38fe7f5f59efc0a23b9
but it never made its way into the official v15.2.0 release notes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agodoc/releases/octopus: osd_calc_pg_upmaps_max_stddev removal
Nathan Cutler [Tue, 19 May 2020 13:48:51 +0000 (15:48 +0200)]
doc/releases/octopus: osd_calc_pg_upmaps_max_stddev removal

The release note about osd_calc_pg_upmaps_max_stddev removal
was added to PendingReleaseNotes by
65d03bae8b4f50cc3cbaa50640eaeab4cabd711f but never found its
way into the official v15.2.0 release notes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agodoc/releases/octopus: add bucket notification JSON array
Nathan Cutler [Tue, 19 May 2020 13:45:39 +0000 (15:45 +0200)]
doc/releases/octopus: add bucket notification JSON array

The release note about bucket notifications being encapsulated in a JSON
array was added to PendingReleaseNotes by
19832a0daeb7b23006d1c38059ad14f0c239d32a but it never found its way into
the actual v15.2.0 release notes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agodoc/cephadm: accessing the admin socket 35088/head
Sebastian Wagner [Fri, 15 May 2020 12:17:38 +0000 (14:17 +0200)]
doc/cephadm: accessing the admin socket

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agodoc/releases/octopus.rst: add nvme self-classify release note
Nathan Cutler [Tue, 19 May 2020 13:43:35 +0000 (15:43 +0200)]
doc/releases/octopus.rst: add nvme self-classify release note

The release note about OSDs self-classifying themselves as "nvme" in
certain rare cases was added to PendingReleaseNotes by
1d0fd5603e9fd74d54d41b7c4895f9e41c510c29 but it never found its way into
the official v15.2.0 release notes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agodoc/releases/octopus.rst: add "-o" behavior release note
Nathan Cutler [Tue, 19 May 2020 13:41:37 +0000 (15:41 +0200)]
doc/releases/octopus.rst: add "-o" behavior release note

The release note about restoring the original behavior of the rados
tool's "-o" option was added to PendingReleaseNotes by
d2b806070de5f56474283035a7ffc91fe96afbab but it never found its way into
the official v15.2.0 release notes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>