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
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
Sebastian Wagner
776fd78f67
mgr/cephadm: move _serve_sleep to serve.py
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-10-02 18:00:06 +02:00
Sebastian Wagner
2228d59229
mgr/cephadm: move serve() to serve.py
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-10-02 18:00:06 +02:00
Sebastian Wagner
acd6854bbc
mgr/cephadm: add serve.py
...
This module contains functions that are executed in the
serve() thread.
Meaning they don't block the CLI
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-10-02 18:00:06 +02: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