Commit Graph

110886 Commits

Author SHA1 Message Date
Kefu Chai
516785822e
Merge pull request #34874 from tchaikov/wip-crimson-thread-pool-test
test/crimson: minimize the lexical scope of thread pool

Reviewed-by: Samuel Just <sjust@redhat.com>
2020-05-02 11:52:41 +08:00
Josh Durgin
beaa4b04bc
Merge pull request #34880 from neha-ojha/wip-balancer-cleanup
qa/suites/rados/thrash*: remove upmap.yaml and off.yaml

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-05-01 13:15:58 -07:00
Gregory Farnum
294a662a86
Merge pull request #34536 from varshar16/wip-cephfs-shell-flake8-py3
cephfs-shell: Change tox testenv name to py3

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-05-01 12:30:00 -07:00
Neha Ojha
d46ea00320 qa/suites/rados/thrash*: add on.yaml
To test with balancer in upmap mode, which is the default.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-05-01 18:49:36 +00:00
Neha Ojha
cb5611e0d5 qa/suites/rados/thrash*: remove upmap.yaml and off.yaml
The balancer is always on, so we don't need upmap.yaml.
off.yaml doesn't make sense anymore.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-05-01 18:31:01 +00:00
Jason Dillaman
5b1e05fc25
Merge pull request #34765 from changchengx/doc
doc/rbd: explicit reminder for libvirt directory access permissions

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-05-01 12:33:00 -04:00
Casey Bodley
83cea4f3b7
Merge pull request #34877 from vumrao/wip-vumrao-45355
rgw/rgw_bucket: clear tenant string for non tenanted buckets in rgw_bucket_parse_bucket_key function.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-05-01 12:31:49 -04:00
Vikhyat Umrao
6c4594a6aa rgw/rgw_bucket: clear tenant string for non tenanted buckets
in rgw_bucket_parse_bucket_key function.

Fixes: https://tracker.ceph.com/issues/45355

Signed-off-by: Vikhyat Umrao <vikhyat@redhat.com>
2020-05-01 08:28:55 -07:00
Jason Dillaman
efb6b656a1
Merge pull request #34787 from trociny/wip-45305
qa/workunits/rbd: fix list-mapped filter in unmap_device

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-05-01 11:23:02 -04:00
Changcheng Liu
f90b4997b8 doc/rbd: explicit remind the directory access right
It needs to create admin socket to use perf counter for
debug purpose. Remind the access right to directory.

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
2020-05-01 22:51:18 +08:00
Jason Dillaman
384c3db1ed
Merge pull request #34756 from yison/rwl-image-writeback-cache-seq7
rbd/cache: Replicated Write Log core codes - aio_discard

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-05-01 10:41:28 -04:00
Yuri Weinstein
9bc92c3aac
Merge pull request #34575 from hillpd/suicide_grace_fix
rados: prevent ShardedOpWQ suicide_grace drop when waiting for work.
2020-05-01 07:33:10 -07:00
Yuri Weinstein
e10f02cbde
Merge pull request #34569 from ifed01/wip-ifed-more-bluefs-stats
os/bluestore: improve bluefs stats reporting

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2020-05-01 07:31:52 -07:00
Casey Bodley
e68c60ac73
Merge pull request #34376 from yuvalif/fix_amqp_routable_option
rgw/amqp: fix the "routable" delivery mode

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-05-01 09:00:01 -04:00
Kefu Chai
4c81db2abf test/crimson: minimize the lexical scope of thread pool
to show the typical use case of thread pool in a better manner: thread
pool can be initialized *in* a seastar application.

also move `handle_exception()` out to catch all exceptions throwns in
the seastar app.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-01 15:05:22 +08:00
Kefu Chai
fcf222a589
Merge pull request #34657 from lxbsz/py3_com
qa/tasks/vstart_runner.py: to be python3 compatible

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-05-01 13:35:46 +08:00
Kefu Chai
d80e566c9e
Merge pull request #34824 from sebastian-philipp/python-common-fix-device-selection-type-annotation
python-common: Fix wrong type annotation

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2020-05-01 13:11:01 +08:00
Kefu Chai
f701ed8b26
Merge pull request #34846 from tchaikov/wip-45147
mgr: do not load disabled modules

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-05-01 13:08:29 +08:00
Kefu Chai
e44d861f27
Merge pull request #34786 from aclamk/wip-common-pretty-binary
common: Add pretty_binary_string conversions

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-05-01 13:06:59 +08:00
Kefu Chai
193a5b274b
Merge pull request #34772 from aclamk/wip-bs-faster-fsck-no-cache
kv/KeyValueDB, os/bluestore: Made fsck faster by not caching results

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-05-01 13:06:09 +08:00
Kefu Chai
c21200b614
Merge pull request #34754 from ifed01/wip-ifed-fix-45195
os/bluestore: fix improper blob usage while handling deferred big write.

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2020-05-01 13:04:30 +08:00
Kefu Chai
151557b850
Merge pull request #34738 from sebastian-philipp/insights-rm-tox
pybind/mgr: Remove insights/tox.ini

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-05-01 13:03:18 +08:00
Kefu Chai
a08ff8194c
Merge pull request #34690 from sebastian-philipp/cephadm-crush-keyring-erro
mgr/cephadm: raise, if crash keyring fails

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-05-01 13:02:18 +08:00
Kefu Chai
d14afb8fa9
Merge pull request #34632 from kotreshhr/bash-completion
bash_completion: Do not auto complete obsolete and hidden cmds

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-05-01 13:01:28 +08:00
Kefu Chai
befb2ab5a4
Merge pull request #34503 from ifed01/wip-ifed-fix-huge-bluefs-reads
os/bluestore: fix huge (>4GB) bluefs reads

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
2020-05-01 13:00:05 +08:00
Kefu Chai
60b7772e40
Merge pull request #34363 from majianpeng/osd-thread-per-shard-ssd
osd: wakeup all threads of shard rather than one thread.

Reviewed-by: Mark Nelson <mnelson@redhat.com>
2020-05-01 12:58:51 +08:00
Casey Bodley
eba76abdf8
Merge pull request #34641 from yuvalif/fix_zer_size_in_notifications
rgw/notifications: fix zero size in notifications

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-04-30 10:21:34 -04:00
Casey Bodley
6c1f3cbb24
Merge pull request #34352 from smanjara/wip-dynamic-resharding
rgw: more multisite dynamic resharding pieces.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-04-30 10:02:12 -04:00
David Galloway
fee0cda092
Merge pull request #34743 from sebastian-philipp/doc-fix-getting-started
doc: fix "getting started" link
2020-04-30 08:57:47 -04:00
Kefu Chai
067adbf9a0 mgr: do not load disabled modules
an option named "mgr_disabled_modules" is added in this change to
prevent mgr from loading modules listed in this option. because mgr
loads *all* modules found in the configured path, and per
https://tracker.ceph.com/issues/45147, python subinterpreter could hang
when loading numpy, so this behavior practically creates a deadlock
in mgr.

this issue is found when mgr uses python3.8 runtime. in development
environment, it'd be inconvenient to disable the offending mgr module
without changing the source code, even if we can choose to not install
them, for instance, the enduser can workaround this issue by
uninstalling `ceph-mgr-diskprediction-local`.

an option would be useful in this case, so we can add the module to the
list before mgr tries to load it.

as this issue is found with python3.8 + diskprediction_local (numpy), so
this mgr module is disabled by default if mgr is compiled with python3.8
runtime.

Fixes: https://tracker.ceph.com/issues/45147
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-30 19:11:22 +08:00
Kefu Chai
40d06ce623 mgr/PyModuleRegistry: probe modules using std::filesystem
for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-30 19:10:02 +08:00
Kefu Chai
ea5c668fea
Merge pull request #34594 from tchaikov/wip-more-tolerant-perf-test
test/crimson/cbt: increase stddev variance to 2

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
2020-04-30 17:42:47 +08:00
Kefu Chai
39b561fe03
Merge pull request #34603 from liu-chunmei/crimson_msgr_local_conf
crimson/net: remove hardcoded msgr configuration

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-30 17:39:26 +08:00
Sebastian Wagner
ef8a2cde4f
Merge pull request #34707 from jschmid1/fix_orch_docs
doc/orchestrator: adapt to new syntax, add more examples

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-30 10:36:54 +02:00
Shilpa Jagannath
71b657b9d2 minor fix: run tests in python venv
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
2020-04-30 12:39:50 +05:30
Yuri Weinstein
84fbf1c5cd
Merge pull request #34616 from ifed01/wip-ifed-fix-upgrade-super
os/bluestore: invoke _prepare_ondisk_format_super as the last op

Reviewed-by: Greg Farnum <gfarnum@redhat
2020-04-29 09:24:02 -07:00
Lenz Grimmer
dc9973a7fb
Merge pull request #33462 from s0nea/wip-dashboard-telemetry-report
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-04-29 17:22:50 +02:00
Tatjana Dehler
18875ef337 mgr/dashboard: add telemetry report component
Add a telemetry component in order to give the user the
possibility to configure the telemetry module in a more
guided fashion. The component offers broader explanations,
shows a preview of the generated report and asks the user
to accept the license before enabling the module.

Fixes: https://tracker.ceph.com/issues/43956
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2020-04-29 16:34:00 +02:00
Tatjana Dehler
d2f76c91af mgr/dashboard: handle textarea and add tooltip
Enhance `Copy2ClipboardButtonDirective` in order to
handle `textarea`s and copy a formatted input.
Add a tooltip to the button, too.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2020-04-29 16:33:50 +02:00
Ilya Dryomov
c033094bfb
Merge pull request #34818 from idryomov/wip-krbd-tempfile-fixes
qa/tasks/rbd{,_fio}: update NamedTemporaryFile usage for python3

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-29 15:38:48 +02:00
Tatjana Dehler
8d91443c8b mgr/telemetry: refactor/enhance CLI commands
1. Move the implementations of the `on` and `off`
command into dedicated methods so that they can
be accessed by other mgr modules via `mgr.remote`.

2. Add a `show-all` command to return the report
and device report at once. Also add a method
`get_report` to make the reports accessible for
other mgr modules as mentioned above.

3. Add two  minor changes and a note where the
gathered data can be found to the Telemetry docu
file.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2020-04-29 15:08:35 +02:00
Lenz Grimmer
e2c8d49906
Merge pull request #34580 from bk201/wip-45106
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-04-29 14:42:47 +02:00
Lenz Grimmer
c7d602929a
Merge pull request #34587 from rhcs-dashboard/async_user_name
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-04-29 14:00:11 +02:00
Sebastian Wagner
ea085d6839 python-common: Fix wrong type annotation
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-29 13:22:22 +02:00
Sebastian Wagner
1cafad1244
Merge pull request #34733 from sebastian-philipp/cepahdm-15.2.2-release-notes
PendingReleaseNotes: Add Cephadm for >15.2.1

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-04-29 13:07:56 +02:00
Sebastian Wagner
1f889815ff pybind/mgr: Remove insights/tox.ini
All we need is part of mgr/tox.ini nowadays.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-29 13:02:37 +02:00
Adam Kupczyk
f2db105438 kv/KeyValueDB, os/bluestore: Made fsck faster by not caching results
Added ability to pass extra options when creating iterators to KV.
Used that ability to perform fsck operations without caching results.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2020-04-29 12:32:20 +02:00
Lenz Grimmer
2c38355f66
Merge pull request #34682 from rhcs-dashboard/fix-45183-master
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-04-29 12:27:32 +02:00
Adam Kupczyk
6b254a7872 common: Add pretty_binary_string conversions
Moved all incarnations of pretty binary printing into one common place.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2020-04-29 12:03:12 +02:00
Kefu Chai
4eb64d38a6
Merge pull request #34251 from JackSlateur/doc-os-recommendations
doc/start/os-recommendations.rst: add Octopus' platform

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-29 17:43:39 +08:00