Commit Graph

115975 Commits

Author SHA1 Message Date
Jason Dillaman
42227097c1
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>
2020-10-05 18:51:29 -04:00
Jason Dillaman
8772316a05
Merge pull request #37509 from lixiaoy1/fix_rwl
rbd/tools: fix rwl related names

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-10-05 16:19:20 -04:00
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: 7d168ad7bd

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-10-05 13:58:59 +02:00
Tim Serong
768e89d9ae cephadm: allow uid/gid == 0 in copy_tree, copy_files, move_files
If the uid or gid passed to copy_tree(), copy_files() or
move_files() is 0 (the root user), the current check for
`if not uid or not gid` does the wrong thing, i.e. it
thinks the uid and/or gid aren't set, then calls out to
extract_uid_gid(), which fails when run against
prometheus/grafana/alertmanager containers.

Fixes: https://tracker.ceph.com/issues/47745
Signed-off-by: Tim Serong <tserong@suse.com>
2020-10-05 20:14:44 +11: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
Yuval Lifshitz
8347a2e3a1 rgw/auth: fix copy&paste bug in RoleApplier::is_owner_of
issue was detected by pvs-studio static analyzer

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2020-10-05 08:02:26 +03: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
Sebastian Wagner
86f5b1f16c mgr/cepahdm: move convert_tags_to_repo_digest to serve.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-10-03 01:01:14 +02:00
Sebastian Wagner
972feac4a9 mgr/cephadm: move _check_daemons to serve.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-10-03 01:00:57 +02:00
Sebastian Wagner
6b2664a9e3 mgr/cephadm: move _apply_service to serve.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-10-03 00:56:10 +02:00
Sebastian Wagner
3ff6a38c48 mgr/cephadm: move _apply_all_services to serve.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-10-02 23:45:56 +02:00
Sebastian Wagner
e927ccfdde mgr/cephadm: move _update_paused_health to serve.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-10-02 23:45:56 +02:00
Sebastian Wagner
1601b699b3 mgr/cephadm: move _check_for_strays to serve.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-10-02 23:45:38 +02:00
Sebastian Wagner
7fd92ec680 mgr/cephadm: move _deploy_etc_ceph_ceph_conf to serve.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-10-02 23:41:30 +02:00
Sebastian Wagner
d9811c3d85 mgr/cephadm: move _refresh_host_osdspec_previews to serve.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-10-02 23:41:30 +02:00
Sebastian Wagner
f674fa22a7 mgr/cephadm: move _refresh_host_devices to serve.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-10-02 23:41:07 +02:00
Sebastian Wagner
698ae220e1 mgr/cephadm: move _refresh_host_daemons to serve.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-10-02 23:35:48 +02:00
Sebastian Wagner
d691469400 mgr/cephadm: move _check_host to serve.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-10-02 23:35:48 +02:00
Sebastian Wagner
d73dc54e4e mgr/cephadm: move _refresh_hosts_and_daemons to serve.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-10-02 23:35:31 +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