Commit Graph

115838 Commits

Author SHA1 Message Date
lixiaoy1
be08a85dde rbd/tools: fix rwl related names
These attributes have been renamed.

Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
2020-10-05 14:20:21 -04:00
Ali Maredia
d4f15c75d6
Merge pull request #37507 from ofriedma/wip-ofriedma-leaked-logs
rgw: print to log leaked obj for any debug level
2020-10-05 11:29:39 -04:00
Jan Fajerski
2db4684432 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>
2020-10-05 16:24:38 +02:00
Jan Fajerski
f8ea1f38ae 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>
2020-10-05 15:37:46 +02:00
Or Ozeri
4f36d3e936 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>
2020-10-05 16:01:57 +03:00
Jan Fajerski
c5a711e5b6 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>
2020-10-05 13:58:59 +02:00
Lenz Grimmer
bfdeff1ed1
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>
2020-10-05 10:54:54 +02:00
Jan Fajerski
edb851be09 Merge PR #37221 into master
* refs/pull/37221/head:
	ceph-volume: add no-systemd argument to zap

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2020-10-05 09:29:07 +02:00
Kefu Chai
17105e54e6
Merge pull request #37532 from tchaikov/wip-crimson-more-privacy
crimson: mark more methods private

Reviewed-by: Samuel Just <sjust@redhat.com>
2020-10-05 12:00:45 +08:00
zdover23
8e530674ff
Merge pull request #37516 from anthonyeleven/anthonyeleven/misc-doc-tweaks
doc/rbd: readability and spelling

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-10-05 06:24:41 +10:00
Kefu Chai
0a92d5094f
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>
2020-10-04 13:51:26 +08:00
Kefu Chai
2bb2dae218
Merge pull request #37487 from tchaikov/wip-backtrace
common/BackTrace: print path without symbol

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-10-04 13:48:29 +08:00
Kefu Chai
35779eb327
Merge pull request #37489 from Rethan/remove_address_helper
common/address_helper: remove address_helper* 

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-10-04 13:48:07 +08:00
Kefu Chai
3829f3c853
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>
2020-10-04 13:47:36 +08:00
Kefu Chai
dd617a42d4
Merge pull request #37526 from ifed01/wip-ifed-verify-range
os/bluestore: kill BitmapFreeListManager::_verify_range()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-10-04 13:47:03 +08:00
Kefu Chai
70033c0ac2
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>
2020-10-04 13:45:24 +08:00
Kefu Chai
abbd7fdb95
Merge pull request #37524 from jschmid1/dont_skip_unavailable_devices
python-common: do not skip unavailable devices

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2020-10-04 13:44:17 +08:00
Kefu Chai
86d597c7b9
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>
2020-10-04 13:40:49 +08:00
Kefu Chai
d4cb26296f
Merge pull request #37528 from batrick/i47689
qa: ignore evicted client warnings 

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-10-04 13:39:08 +08:00
Kefu Chai
3dcaf8c56a
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>
2020-10-04 13:32:09 +08:00
Kefu Chai
1b2dfcf4a2
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>
2020-10-04 13:31:23 +08:00
Kefu Chai
9d90be42a2
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>
2020-10-04 13:29:42 +08:00
Kefu Chai
fbb2cc49bf
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>
2020-10-04 13:28:39 +08:00
Kefu Chai
c96d5eb2a1
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>
2020-10-04 13:26:59 +08:00
Kefu Chai
f46e58305d
Merge pull request #37076 from changchengx/env_to_args
common: refine env_to_vec implementation

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-10-04 12:28:49 +08:00
Kefu Chai
ff981063d2
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>
2020-10-04 12:27:36 +08:00
Jan Fajerski
ab59269a6c ceph-volume batch: return valid empty json reports
Fixes: https://tracker.ceph.com/issues/47729

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-10-03 15:47:27 +02:00
Kefu Chai
68c5be0a5a 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>
2020-10-03 19:07:46 +08:00
Kefu Chai
903f4b47e8 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>
2020-10-03 19:07:46 +08:00
Kefu Chai
3a93bc2d43 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>
2020-10-03 19:07:46 +08:00
Kefu Chai
a8b35f00cc 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>
2020-10-03 19:07:46 +08:00
Kefu Chai
dc23260dfb
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>
2020-10-03 10:15:34 +08:00
Sebastian Wagner
2d5bf454b7
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>
2020-10-03 01:07:10 +02:00
Patrick Donnelly
2163c60916
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>
2020-10-02 11:52:37 -07:00
Patrick Donnelly
b835b07bc3
mgr: log reason for respawn
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-02 10:55:45 -07:00
Kefu Chai
70caf0dfe8 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>
2020-10-03 00:45:39 +08:00
Igor Fedotov
649434a9ed os/bluestore: kill BitmapFreeListManager::_verify_range()
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2020-10-02 18:30:40 +03:00
Igor Fedotov
d1c1614db0 os/bluestore: avoid recursive calls in SimpleCollectionListIterator.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2020-10-02 18:02:00 +03:00
Sebastian Krah
af1a7dbfe2
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>
2020-10-02 13:16:52 +02:00
Jan Fajerski
996df56a4a pybind/mgr/orchestrator: fix preview for new c-v batch output
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-10-02 12:37:40 +02:00
Joshua Schmid
b9e3da3919
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: 7d168ad7bd

Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-10-02 11:46:06 +02:00
Lenz Grimmer
3314844fb3
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>
2020-10-02 10:23:18 +02:00
Joshua Schmid
b38bc14525 docs: <orch osd spec> is no longer present
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-10-02 10:22:55 +02:00
Anthony D'Atri
d3f9c6853d doc/rbd: readability and spelling
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-10-02 00:28:30 -07:00
Kefu Chai
87f23d0350
Merge pull request #37448 from anthonyeleven/patch-1
doc/rados: erasure-code-lrc corrections

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-10-02 11:29:14 +08:00
Neha Ojha
06bd919a78 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>
2020-10-01 22:09:50 +00:00
Matt Benjamin
d98075628e
Merge pull request #37501 from linuxbox2/wip-file-hang
rgw_file: avoid long-ish delay on shutdown
2020-10-01 17:35:21 -04:00
Patrick Donnelly
08fe4fb368
Merge PR #36473 into master
* refs/pull/36473/head:
	mds: remove snap past parents compat code

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-01 13:03:52 -07:00
David Zafman
3ba7ebd3e2 test: Avoid races by waiting for PGs go clean before query
Fixes: https://tracker.ceph.com/issues/46405

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-10-01 19:43:57 +00:00
Kefu Chai
60949c9b1a
Merge pull request #37392 from tchaikov/wip-doc-pip
admin: pass --use-feature=2020-resolver to pip

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-10-02 01:54:07 +08:00