]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agomgr/dashboard: Improve HTML formatting of the telemetry report preview 37596/head
Nizamudeen A [Thu, 8 Oct 2020 11:50:34 +0000 (17:20 +0530)]
mgr/dashboard: Improve HTML formatting of the telemetry report preview

Convert the string "Community Data License Agreement - Sharing - Version 1.0" to a clickable link

Fixes: https://tracker.ceph.com/issues/47790
Signed-off-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge PR #37591 into master
Jan Fajerski [Thu, 8 Oct 2020 09:52:56 +0000 (11:52 +0200)]
Merge PR #37591 into master

* refs/pull/37591/head:
ceph-volume: don't exit before empty report can be printed

Reviewed-by: Joshua Schmid <jschmid@suse.de>
4 years agoceph-volume: don't exit before empty report can be printed 37591/head
Jan Fajerski [Thu, 8 Oct 2020 06:45:26 +0000 (08:45 +0200)]
ceph-volume: don't exit before empty report can be printed

get_plan() called exit in case of an empty plan. This prevented a report
being printed under these circumstances. Avoid exit in this case. Also
adds tests to ensure an empty report is printed.

Fixes: https://tracker.ceph.com/issues/47760
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
4 years agoMerge pull request #37561 from tchaikov/wip-cmake-node-mirror
Kefu Chai [Thu, 8 Oct 2020 06:50:30 +0000 (14:50 +0800)]
Merge pull request #37561 from tchaikov/wip-cmake-node-mirror

cmake: support Node.js and npm registry mirror

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
4 years agoMerge pull request #37570 from ceph/wip-install-ceph-deploy
Josh Durgin [Thu, 8 Oct 2020 00:56:22 +0000 (17:56 -0700)]
Merge pull request #37570 from ceph/wip-install-ceph-deploy

doc: add a link to ceph-deploy document

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge PR #37446 into master
Patrick Donnelly [Wed, 7 Oct 2020 20:35:18 +0000 (13:35 -0700)]
Merge PR #37446 into master

* refs/pull/37446/head:
mds: remove dead mdsmap broadcast code

Reviewed-by: Jos Collin <jcollin@redhat.com>
4 years agoMerge PR #37497 into master
Patrick Donnelly [Wed, 7 Oct 2020 19:39:04 +0000 (12:39 -0700)]
Merge PR #37497 into master

* refs/pull/37497/head:
client,mds: Drop execute permission bits

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #37571 into master
Patrick Donnelly [Wed, 7 Oct 2020 19:38:04 +0000 (12:38 -0700)]
Merge PR #37571 into master

* refs/pull/37571/head:
qa/tasks/cephfs/nfs: Check ganesha daemon status after restarting mgr

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #37579 into master
Patrick Donnelly [Wed, 7 Oct 2020 19:29:03 +0000 (12:29 -0700)]
Merge PR #37579 into master

* refs/pull/37579/head:
SubmittingPatches: use "doc" prefix in title of doc-only commits

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #37577 into master
Jan Fajerski [Wed, 7 Oct 2020 13:19:54 +0000 (15:19 +0200)]
Merge PR #37577 into master

* refs/pull/37577/head:
PendingReleaseNotes: add note about batch refactor

Reviewed-by: Nathan Cutler <ncutler@suse.com>
4 years agoPendingReleaseNotes: add note about batch refactor 37577/head
Jan Fajerski [Wed, 7 Oct 2020 07:45:42 +0000 (09:45 +0200)]
PendingReleaseNotes: add note about batch refactor

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
4 years agoSubmittingPatches: use "doc" prefix in title of doc-only commits 37579/head
Kefu Chai [Wed, 7 Oct 2020 09:43:57 +0000 (17:43 +0800)]
SubmittingPatches: use "doc" prefix in title of doc-only commits

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #37498 from jan--f/cadm-new-batch-report
Joshua Schmid [Wed, 7 Oct 2020 07:56:10 +0000 (09:56 +0200)]
Merge pull request #37498 from jan--f/cadm-new-batch-report

pybind/mgr/orchestrator: fix preview for new c-v batch output

4 years agoMerge pull request #37556 from dillaman/wip-rbd-status
Mykola Golub [Wed, 7 Oct 2020 07:42:04 +0000 (10:42 +0300)]
Merge pull request #37556 from dillaman/wip-rbd-status

rbd: cleanup code and output formatting in status action

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #37521 from jschmid1/remove_orch_osd_spec_mention
Joshua Schmid [Wed, 7 Oct 2020 07:37:42 +0000 (09:37 +0200)]
Merge pull request #37521 from jschmid1/remove_orch_osd_spec_mention

docs: <orch osd spec> is no longer present

4 years agoMerge pull request #37574 from tchaikov/wip-crimson-doc
Kefu Chai [Wed, 7 Oct 2020 05:45:35 +0000 (13:45 +0800)]
Merge pull request #37574 from tchaikov/wip-crimson-doc

doc/crimson: cleanups

Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
4 years agodoc/crimson/poseidonstore: reformat 37574/head
Kefu Chai [Wed, 7 Oct 2020 03:43:54 +0000 (11:43 +0800)]
doc/crimson/poseidonstore: reformat

to render it as expected

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: move dev/crimson.rst into dev/crimson/
Kefu Chai [Wed, 7 Oct 2020 03:34:54 +0000 (11:34 +0800)]
doc: move dev/crimson.rst into dev/crimson/

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36343 from myoungwon/wip-doc-poseidon-store
Samuel Just [Wed, 7 Oct 2020 00:28:43 +0000 (17:28 -0700)]
Merge pull request #36343 from myoungwon/wip-doc-poseidon-store

doc: introduce PoseidonStore

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agoMerge pull request #37567 from liewegas/wip-stable-mod
Josh Durgin [Tue, 6 Oct 2020 18:54:04 +0000 (11:54 -0700)]
Merge pull request #37567 from liewegas/wip-stable-mod

include: ceph_stable_mod in public domain

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoqa/tasks/cephfs/nfs: Check ganesha daemon status after restarting mgr 37571/head
Varsha Rao [Tue, 6 Oct 2020 05:59:40 +0000 (11:29 +0530)]
qa/tasks/cephfs/nfs: Check ganesha daemon status after restarting mgr

Fixes: https://tracker.ceph.com/issues/47591
Signed-off-by: Varsha Rao <varao@redhat.com>
4 years agodoc: add a link to ceph-deploy document 37570/head
Kefu Chai [Tue, 6 Oct 2020 16:20:58 +0000 (00:20 +0800)]
doc: add a link to ceph-deploy document

4 years agoMerge pull request #37565 from tchaikov/wip-crimson-cleanup
Kefu Chai [Tue, 6 Oct 2020 15:21:51 +0000 (23:21 +0800)]
Merge pull request #37565 from tchaikov/wip-crimson-cleanup

crimson: do not capture unused variables

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
4 years agocrimson/os: mark class with "final" dtor "final" 37565/head
Kefu Chai [Tue, 6 Oct 2020 11:09:18 +0000 (19:09 +0800)]
crimson/os: mark class with "final" dtor "final"

to silence warning like

scheduler.cc:145:30: warning: class with destructor marked 'final' cannot be inherited from [-Wfinal-dtor-non-final-class]
  ~ClassedOpQueueScheduler() final {};
                             ^
/home/jenkins-build/build/workspace/ceph-perf-crimson/ceph-pr/src/crimson/osd/scheduler/scheduler.cc:52:7: note: mark 'ClassedOpQueueScheduler<T>' as 'final' to silence this warning
class ClassedOpQueueScheduler : public Scheduler {
      ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/os: mark dtor of interface class "virtual"
Kefu Chai [Tue, 6 Oct 2020 11:03:38 +0000 (19:03 +0800)]
crimson/os: mark dtor of interface class "virtual"

we use a smart_ptr in Seastore to manage the life cycle of
`TransactionManager` which is in turn a subclass
`ExtentCallbackInterface`, so should declare the dtor of latter as
virtual.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agorbd: cleanup code and output formatting in status action 37556/head
Jason Dillaman [Mon, 5 Oct 2020 20:08:38 +0000 (16:08 -0400)]
rbd: cleanup code and output formatting in status action

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agoinclude: ceph_stable_mod in public domain 37567/head
Sage Weil [Tue, 6 Oct 2020 13:30:08 +0000 (08:30 -0500)]
include: ceph_stable_mod in public domain

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agoMerge pull request #37395 from tchaikov/wip-doc-crimson
Kefu Chai [Tue, 6 Oct 2020 11:15:34 +0000 (19:15 +0800)]
Merge pull request #37395 from tchaikov/wip-doc-crimson

doc/dev/crimson: add instruction on running install-deps.sh for build…

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson: do not capture unused variables
Kefu Chai [Tue, 6 Oct 2020 10:58:20 +0000 (18:58 +0800)]
crimson: do not capture unused variables

also silence warnings like:

Signe-off-by: Kefu Chai <kchai@redhat.cop_btree_node.h:103:36: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
                                  [this, ec, len, &extents] (auto i) {
                                   ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoseastar: pick up document fixes 37395/head
Kefu Chai [Tue, 6 Oct 2020 09:43:56 +0000 (17:43 +0800)]
seastar: pick up document fixes

pick up changes to address the split script failure with HTML generated
with the latest pandoc.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc/dev/crimson: add links to seastar documents
Kefu Chai [Thu, 24 Sep 2020 16:37:16 +0000 (00:37 +0800)]
doc/dev/crimson: add links to seastar documents

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #37523 from Exotelis/wip-42404
Lenz Grimmer [Tue, 6 Oct 2020 09:11:49 +0000 (11:11 +0200)]
Merge pull request #37523 from Exotelis/wip-42404

mgr/dashboard: Show warning when replicated size is 1

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
4 years agodoc/dev/crimson: add instruction on running install-deps.sh for building crimson
Kefu Chai [Thu, 24 Sep 2020 14:52:43 +0000 (22:52 +0800)]
doc/dev/crimson: add instruction on running install-deps.sh for building crimson

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: introduce Poseidon store 36343/head
myoungwon oh [Thu, 23 Jul 2020 08:12:07 +0000 (17:12 +0900)]
doc: introduce Poseidon store

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Signed-off-by: Jiwoong Park <jw12.park@samsung.com>
Signed-off-by: Kyuho Son <kyuho.son@samsung.com>
Signed-off-by: Sungkyu Park <sk921.park@samsung.com>
4 years agocmake: read $NPM_REGISTRY for npm registry mirror 37561/head
Kefu Chai [Tue, 6 Oct 2020 06:58:55 +0000 (14:58 +0800)]
cmake: read $NPM_REGISTRY for npm registry mirror

in case the offical npm registry is slow or unreachable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocmake: extract add_npm_options()
Kefu Chai [Tue, 6 Oct 2020 06:14:07 +0000 (14:14 +0800)]
cmake: extract add_npm_options()

for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocmake: read $NODE_MIRROR for Node.js mirror
Kefu Chai [Tue, 6 Oct 2020 05:37:39 +0000 (13:37 +0800)]
cmake: read $NODE_MIRROR for Node.js mirror

in case the offical Node.js https://nodejs.org/dist/ is slow or
unreachable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #37134 from myoungwon/wip-tier-evict
Samuel Just [Tue, 6 Oct 2020 06:06:21 +0000 (23:06 -0700)]
Merge pull request #37134 from myoungwon/wip-tier-evict

osd: add tier_evict

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agoMerge pull request #37189 from orozery/striper-assemble-multiple-extents
Jason Dillaman [Mon, 5 Oct 2020 22:51:29 +0000 (18:51 -0400)]
Merge pull request #37189 from orozery/striper-assemble-multiple-extents

librbd: support assembling results of multiple object extents

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #37509 from lixiaoy1/fix_rwl
Jason Dillaman [Mon, 5 Oct 2020 20:19:20 +0000 (16:19 -0400)]
Merge pull request #37509 from lixiaoy1/fix_rwl

rbd/tools: fix rwl related names

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agorbd/tools: fix rwl related names 37509/head
lixiaoy1 [Thu, 1 Oct 2020 20:32:28 +0000 (16:32 -0400)]
rbd/tools: fix rwl related names

These attributes have been renamed.

Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
4 years agoMerge pull request #37507 from ofriedma/wip-ofriedma-leaked-logs
Ali Maredia [Mon, 5 Oct 2020 15:29:39 +0000 (11:29 -0400)]
Merge pull request #37507 from ofriedma/wip-ofriedma-leaked-logs

rgw: print to log leaked obj for any debug level

4 years agoMerge PR #37531 into master
Jan Fajerski [Mon, 5 Oct 2020 14:24:38 +0000 (16:24 +0200)]
Merge PR #37531 into master

* refs/pull/37531/head:
ceph-volume batch: return valid empty json reports

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Joshua Schmid <jschmid@suse.de>
4 years agoMerge PR #37545 into master
Jan Fajerski [Mon, 5 Oct 2020 13:37:46 +0000 (15:37 +0200)]
Merge PR #37545 into master

* refs/pull/37545/head:
ceph-volume: pass filter_for_batch as keyword argument

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
4 years agolibrbd: support assembling sparse results of multiple object extents 37189/head
Or Ozeri [Wed, 16 Sep 2020 08:42:45 +0000 (11:42 +0300)]
librbd: support assembling sparse results of multiple object extents

Currently, Striper supports assembling results representing a single object extent.
Recently, the object dispatch API was extended allowing to read multiple object extents per rados operation.
This commit enables the Striper to correctly un-sparsify the results of the new read extents API.

Signed-off-by: Or Ozeri <oro@il.ibm.com>
4 years agoceph-volume: pass filter_for_batch as keyword argument 37545/head
Jan Fajerski [Mon, 5 Oct 2020 10:56:26 +0000 (12:56 +0200)]
ceph-volume: pass filter_for_batch as keyword argument

This PR also removes an unused ctor argument in the Devices class.

Fixes: 7d168ad7bdbb6d6d5231a4ae540ab03040b49a38
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
4 years agoMerge pull request #37414 from votdev/issue_47647_pylint_isort
Lenz Grimmer [Mon, 5 Oct 2020 08:54:54 +0000 (10:54 +0200)]
Merge pull request #37414 from votdev/issue_47647_pylint_isort

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
4 years agoMerge PR #37221 into master
Jan Fajerski [Mon, 5 Oct 2020 07:29:07 +0000 (09:29 +0200)]
Merge PR #37221 into master

* refs/pull/37221/head:
ceph-volume: add no-systemd argument to zap

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
4 years agoMerge pull request #37532 from tchaikov/wip-crimson-more-privacy
Kefu Chai [Mon, 5 Oct 2020 04:00:45 +0000 (12:00 +0800)]
Merge pull request #37532 from tchaikov/wip-crimson-more-privacy

crimson: mark more methods private

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agoMerge pull request #37516 from anthonyeleven/anthonyeleven/misc-doc-tweaks
zdover23 [Sun, 4 Oct 2020 20:24:41 +0000 (06:24 +1000)]
Merge pull request #37516 from anthonyeleven/anthonyeleven/misc-doc-tweaks

doc/rbd: readability and spelling

Reviewed-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge pull request #37085 from sunnyku/wip-fix-46743
Kefu Chai [Sun, 4 Oct 2020 05:51:26 +0000 (13:51 +0800)]
Merge pull request #37085 from sunnyku/wip-fix-46743

mgr/devicehealth: device_health_metrics pool gets created even without any OSDs in the cluster

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Yaarit Hatuka <yaarit@redhat.com>
4 years agoMerge pull request #37487 from tchaikov/wip-backtrace
Kefu Chai [Sun, 4 Oct 2020 05:48:29 +0000 (13:48 +0800)]
Merge pull request #37487 from tchaikov/wip-backtrace

common/BackTrace: print path without symbol

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #37489 from Rethan/remove_address_helper
Kefu Chai [Sun, 4 Oct 2020 05:48:07 +0000 (13:48 +0800)]
Merge pull request #37489 from Rethan/remove_address_helper

common/address_helper: remove address_helper*

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #37494 from idryomov/wip-mon-session-timeout-fix
Kefu Chai [Sun, 4 Oct 2020 05:47:36 +0000 (13:47 +0800)]
Merge pull request #37494 from idryomov/wip-mon-session-timeout-fix

mon: set session_timeout when adding to session_map

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #37526 from ifed01/wip-ifed-verify-range
Kefu Chai [Sun, 4 Oct 2020 05:47:03 +0000 (13:47 +0800)]
Merge pull request #37526 from ifed01/wip-ifed-verify-range

os/bluestore: kill BitmapFreeListManager::_verify_range()

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #37423 from ronen-fr/wip-rf-scrub6
Kefu Chai [Sun, 4 Oct 2020 05:45:24 +0000 (13:45 +0800)]
Merge pull request #37423 from ronen-fr/wip-rf-scrub6

mon: fixing extra copying in some loops

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
4 years agoMerge pull request #37524 from jschmid1/dont_skip_unavailable_devices
Kefu Chai [Sun, 4 Oct 2020 05:44:17 +0000 (13:44 +0800)]
Merge pull request #37524 from jschmid1/dont_skip_unavailable_devices

python-common: do not skip unavailable devices

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
4 years agoMerge pull request #37525 from ifed01/wip-ifed-no-recursion-clist
Kefu Chai [Sun, 4 Oct 2020 05:40:49 +0000 (13:40 +0800)]
Merge pull request #37525 from ifed01/wip-ifed-no-recursion-clist

os/bluestore: avoid recursive calls in SimpleCollectionListIterator.

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #37528 from batrick/i47689
Kefu Chai [Sun, 4 Oct 2020 05:39:08 +0000 (13:39 +0800)]
Merge pull request #37528 from batrick/i47689

qa: ignore evicted client warnings

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #33963 from rosinL/wip-40668
Kefu Chai [Sun, 4 Oct 2020 05:32:09 +0000 (13:32 +0800)]
Merge pull request #33963 from rosinL/wip-40668

mon/OSDMonitor: Add a safety builtin to mon_osd_report_timeout

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
4 years agoMerge pull request #37289 from pcuzner/prometheus-add-compr
Kefu Chai [Sun, 4 Oct 2020 05:31:23 +0000 (13:31 +0800)]
Merge pull request #37289 from pcuzner/prometheus-add-compr

mgr/prometheus: add pool compression stats

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #36234 from vshankar/wip-rados-pybind-aio-notify
Kefu Chai [Sun, 4 Oct 2020 05:29:42 +0000 (13:29 +0800)]
Merge pull request #36234 from vshankar/wip-rados-pybind-aio-notify

pybind/rados: add aio_notify()

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #36732 from rishabh-d-dave/vr-rotate-logs
Kefu Chai [Sun, 4 Oct 2020 05:28:39 +0000 (13:28 +0800)]
Merge pull request #36732 from rishabh-d-dave/vr-rotate-logs

vstart_runner: rotate logs between testcases

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #37304 from tchaikov/wip-osd-message-ref
Kefu Chai [Sun, 4 Oct 2020 05:26:59 +0000 (13:26 +0800)]
Merge pull request #37304 from tchaikov/wip-osd-message-ref

osd,crimson/osd: pass message using intrusive_ptr<>

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
4 years agoMerge pull request #37076 from changchengx/env_to_args
Kefu Chai [Sun, 4 Oct 2020 04:28:49 +0000 (12:28 +0800)]
Merge pull request #37076 from changchengx/env_to_args

common: refine env_to_vec implementation

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #34906 from ErwanAliasr1/patch-1
Kefu Chai [Sun, 4 Oct 2020 04:27:36 +0000 (12:27 +0800)]
Merge pull request #34906 from ErwanAliasr1/patch-1

doc/config: osd_scrub_during_recovery is disabled by default

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-volume batch: return valid empty json reports 37531/head
Jan Fajerski [Sat, 3 Oct 2020 07:40:33 +0000 (09:40 +0200)]
ceph-volume batch: return valid empty json reports

Fixes: https://tracker.ceph.com/issues/47729
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
4 years agocrimson/osd: mark Operation::dump_detail() private 37532/head
Kefu Chai [Sat, 3 Oct 2020 11:05:15 +0000 (19:05 +0800)]
crimson/osd: mark Operation::dump_detail() private

Operation::dump_detail() is called by Operation::dump(), the latter is a
member of Blocker. so there is no need to mark dump_detail() protected
or public to grant the access Operation::dump() the access to this method.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: mark md_config_obs_t a private parent class
Kefu Chai [Sat, 3 Oct 2020 10:56:30 +0000 (18:56 +0800)]
crimson/osd: mark md_config_obs_t a private parent class

it registers itself as an observer in its ctor, so there is no need to
mark md_config_obs_t a public parent class.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: mark dump_detail() private
Kefu Chai [Sat, 3 Oct 2020 10:53:23 +0000 (18:53 +0800)]
crimson/osd: mark dump_detail() private

Blocker::dump_detail() is called by Blocker::dump(), the latter is a
member of Blocker. so there is no need to mark dump_detail() protected
or public to grant the access Blocker::dump() the access to this method.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: make OrderedPipelinePhase::mutex private
Kefu Chai [Sat, 3 Oct 2020 10:19:04 +0000 (18:19 +0800)]
crimson/osd: make OrderedPipelinePhase::mutex private

as inner class has access to all outers class's members, even if they
are private.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #37527 from tchaikov/wip-admin-use-feature
Kefu Chai [Sat, 3 Oct 2020 02:15:34 +0000 (10:15 +0800)]
Merge pull request #37527 from tchaikov/wip-admin-use-feature

admin: be compatible with pip shipped by distro older than v20.2

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #37502 from neha-ojha/wip-symlink-cephadm
Sebastian Wagner [Fri, 2 Oct 2020 23:07:10 +0000 (01:07 +0200)]
Merge pull request #37502 from neha-ojha/wip-symlink-cephadm

qa/suites/rados: move thrash-old-clients under cephadm

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoqa: ignore evicted client warnings for nautilus upgrades 37528/head
Patrick Donnelly [Fri, 2 Oct 2020 18:05:32 +0000 (11:05 -0700)]
qa: ignore evicted client warnings for nautilus upgrades

Nautilus monitors do not note the client sessions in the mgrmap. So when
we upgrade the warnings are unavoidable.

Fixes: https://tracker.ceph.com/issues/47689
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agomgr: log reason for respawn
Patrick Donnelly [Fri, 2 Oct 2020 17:55:45 +0000 (10:55 -0700)]
mgr: log reason for respawn

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoadmin: be compatible with pip shipped by distro older than v20.2 37527/head
Kefu Chai [Fri, 2 Oct 2020 16:41:06 +0000 (00:41 +0800)]
admin: be compatible with pip shipped by distro older than v20.2

pip v20.2 introduced a new option named --use-feature, which is not
available with <20.2. so we need to check for it before using it. see
also
https://pip.pypa.io/en/stable/user_guide/#changes-to-the-pip-dependency-resolver-in-20-2-2020

Fixes: https://tracker.ceph.com/issues/47636
Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoos/bluestore: kill BitmapFreeListManager::_verify_range() 37526/head
Igor Fedotov [Fri, 2 Oct 2020 15:30:40 +0000 (18:30 +0300)]
os/bluestore: kill BitmapFreeListManager::_verify_range()

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
4 years agoos/bluestore: avoid recursive calls in SimpleCollectionListIterator. 37525/head
Igor Fedotov [Fri, 2 Oct 2020 13:35:31 +0000 (16:35 +0300)]
os/bluestore: avoid recursive calls in SimpleCollectionListIterator.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
4 years agomgr/dashboard: Show warning when replicated size is 1 37523/head
Sebastian Krah [Fri, 2 Oct 2020 09:07:40 +0000 (11:07 +0200)]
mgr/dashboard: Show warning when replicated size is 1

Issues a warning when creating a replicated pool and the replicated size
is 1. It won't stop the user from creating the pool, but will give the
user a hint that no replication will be created.

Fixes: https://tracker.ceph.com/issues/42404
Signed-off-by: Sebastian Krah <skrah@suse.com>
4 years agopybind/mgr/orchestrator: fix preview for new c-v batch output 37498/head
Jan Fajerski [Wed, 30 Sep 2020 14:16:05 +0000 (16:16 +0200)]
pybind/mgr/orchestrator: fix preview for new c-v batch output

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
4 years agopython-common: do not skip unavailable devices 37524/head
Joshua Schmid [Fri, 2 Oct 2020 09:37:58 +0000 (11:37 +0200)]
python-common: do not skip unavailable devices

Fixes: https://tracker.ceph.com/issues/47726
We should assemble the device set based on the drivegroups in
mgr/cephadm (regardless of their availability) and pass it to c-v.

This patch is the missing piece to actually do this.

related changes: https://github.com/ceph/ceph/pull/34740/commits/7d168ad7bdbb6d6d5231a4ae540ab03040b49a38

Signed-off-by: Joshua Schmid <jschmid@suse.de>
4 years agoMerge pull request #34770 from Exotelis/wip-42963
Lenz Grimmer [Fri, 2 Oct 2020 08:23:18 +0000 (10:23 +0200)]
Merge pull request #34770 from Exotelis/wip-42963

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
4 years agodocs: <orch osd spec> is no longer present 37521/head
Joshua Schmid [Fri, 2 Oct 2020 08:22:23 +0000 (10:22 +0200)]
docs: <orch osd spec> is no longer present

Signed-off-by: Joshua Schmid <jschmid@suse.de>
4 years agodoc/rbd: readability and spelling 37516/head
Anthony D'Atri [Fri, 2 Oct 2020 04:09:56 +0000 (21:09 -0700)]
doc/rbd: readability and spelling

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
4 years agoMerge pull request #37448 from anthonyeleven/patch-1
Kefu Chai [Fri, 2 Oct 2020 03:29:14 +0000 (11:29 +0800)]
Merge pull request #37448 from anthonyeleven/patch-1

doc/rados: erasure-code-lrc corrections

Reviewed-by: Zac Dover <zac.dover@gmail.com>
4 years agoqa/suites/rados: move thrash-old-clients under cephadm 37502/head
Neha Ojha [Thu, 1 Oct 2020 21:57:57 +0000 (21:57 +0000)]
qa/suites/rados: move thrash-old-clients under cephadm

Since it uses cephadm, at the moment it makes sense to run it as a part of
rados/cephadm. This gives better test coverage for developers and has exposed
bugs such as https://tracker.ceph.com/issues/45421 and
https://tracker.ceph.com/issues/47709. We can always restructure this later.

Signed-off-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #37501 from linuxbox2/wip-file-hang
Matt Benjamin [Thu, 1 Oct 2020 21:35:21 +0000 (17:35 -0400)]
Merge pull request #37501 from linuxbox2/wip-file-hang

rgw_file: avoid long-ish delay on shutdown

4 years agoMerge PR #36473 into master
Patrick Donnelly [Thu, 1 Oct 2020 20:03:52 +0000 (13:03 -0700)]
Merge PR #36473 into master

* refs/pull/36473/head:
mds: remove snap past parents compat code

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #37392 from tchaikov/wip-doc-pip
Kefu Chai [Thu, 1 Oct 2020 17:54:07 +0000 (01:54 +0800)]
Merge pull request #37392 from tchaikov/wip-doc-pip

admin: pass --use-feature=2020-resolver to pip

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #37406 from MahatiC/wip-refactor-rwl
Jason Dillaman [Thu, 1 Oct 2020 15:39:01 +0000 (11:39 -0400)]
Merge pull request #37406 from MahatiC/wip-refactor-rwl

librbd/cache: Refactor common code for RWL and SSD

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #37238 from cbodley/wip-rgw-sync-etag-verify
Casey Bodley [Thu, 1 Oct 2020 15:38:01 +0000 (11:38 -0400)]
Merge pull request #37238 from cbodley/wip-rgw-sync-etag-verify

rgw: rgw_sync_obj_etag_verify accounts for compressed multipart uploads

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
4 years agoMerge pull request #37316 from trociny/wip-46803-2
Jason Dillaman [Thu, 1 Oct 2020 15:01:28 +0000 (11:01 -0400)]
Merge pull request #37316 from trociny/wip-46803-2

librbd: track complete async operation return code

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #37499 from tspmelo/wip-ng-profiler
Lenz Grimmer [Thu, 1 Oct 2020 14:38:32 +0000 (16:38 +0200)]
Merge pull request #37499 from tspmelo/wip-ng-profiler

mgr/dashboard: Enable Angular's debug tools when using dev mode

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
4 years agomgr/dashboard: Fix tox warning about PYTHONPATH 37414/head
Volker Theile [Thu, 1 Oct 2020 13:14:08 +0000 (15:14 +0200)]
mgr/dashboard: Fix tox warning about PYTHONPATH

Get rid of the warning "WARNING: Discarding $PYTHONPATH from environment, to override specify PYTHONPATH in 'passenv' in your configuration." by declaring "passenv=PYTHONPATH" according to the tox documentation.

> PYTHONPATH will be passed down if explicitly defined. If PYTHONPATH exists in the host environment but is not declared in passenv a warning will be emitted.

See https://tox.readthedocs.io/en/latest/config.html?highlight=passenv#conf-passenv.

Signed-off-by: Volker Theile <vtheile@suse.com>
4 years agomgr/dashboard: Add isort to rearrange imports
Volker Theile [Wed, 30 Sep 2020 14:14:10 +0000 (16:14 +0200)]
mgr/dashboard: Add isort to rearrange imports

* Add 'isort' tox environment.
* Apply 'isort' fixes.

Signed-off-by: Volker Theile <vtheile@suse.com>
4 years agomgr/dashboard: update pylint to 2.6.0
Volker Theile [Fri, 25 Sep 2020 11:17:19 +0000 (13:17 +0200)]
mgr/dashboard: update pylint to 2.6.0

* Update pylint to 2.6.0.
* Fix pylint issues.

Fixes: https://tracker.ceph.com/issues/47647
Signed-off-by: Volker Theile <vtheile@suse.com>
s

4 years agorgw: print to log leaked obj for any debug level 37507/head
Or Friedmann [Thu, 1 Oct 2020 11:43:14 +0000 (14:43 +0300)]
rgw: print to log leaked obj for any debug level
print to log leaked obj for any debug level

Signed-off-by: Or Friedmann <ofriedma@redhat.com>
4 years agolibrbd/cache: Refactor common code for RWL and SSD 37406/head
Mahati Chamarthy [Wed, 23 Sep 2020 09:32:17 +0000 (15:02 +0530)]
librbd/cache: Refactor common code for RWL and SSD

... from AbstractWriteLog class

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>
4 years agomgr/dashboard: Enable Angular's debug tools when using dev mode 37499/head
Tiago Melo [Wed, 30 Sep 2020 14:34:27 +0000 (14:34 +0000)]
mgr/dashboard: Enable Angular's debug tools when using dev mode

Enabling this will allows us to run `ng.profiler.timeChangeDetection();`
in the browser.

Fixes: https://tracker.ceph.com/issues/47699
Signed-off-by: Tiago Melo <tmelo@suse.com>
4 years agomgr/dashboard: improve logs 34770/head
Sebastian Krah [Fri, 20 Mar 2020 09:27:08 +0000 (10:27 +0100)]
mgr/dashboard: improve logs

Changes the text that is being displayed when no log entry was found.
Also changes the log level to debug.
User can no longer select a date in the future to filter log entries.

Fixes: https://tracker.ceph.com/issues/42963
Signed-off-by: Sebastian Krah <skrah@suse.com>