Commit Graph

115756 Commits

Author SHA1 Message Date
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
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
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
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
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
Jason Dillaman
116283abac
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>
2020-10-01 11:39:01 -04:00
Casey Bodley
472d1afd00
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>
2020-10-01 11:38:01 -04:00
Jason Dillaman
05b9ae8904
Merge pull request #37316 from trociny/wip-46803-2
librbd: track complete async operation return code

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-10-01 11:01:28 -04:00
Lenz Grimmer
48825c5eef
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>
2020-10-01 16:38:32 +02:00
Mahati Chamarthy
b485bf8318 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>
2020-10-01 16:54:46 +05:30
Tiago Melo
c427901252 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>
2020-10-01 09:43:42 +00:00
Sebastian Krah
8e4f3bcbe7
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>
2020-10-01 08:33:02 +02:00
Matt Benjamin
805f749564 rgw_file: avoid long-ish delay on shutdown
Normal shutdown was likely to be delayed a substantial fraction
of rgw_nfs_namespace_expire_secs due to an ill-advised use of
this_thread::sleep_for.

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

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2020-09-30 15:24:47 -04:00
Mykola Golub
5c3ba95b4d librbd: reset complete async request expiration time
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-09-30 18:51:38 +01:00
Mykola Golub
6044d39d8d librbd: mark quiesce notification complete after quiesce complete
Previoulsy it was marked complete only after unqiesce was
complete, which did not allow us to use the error code stored in
m_async_complete for a quiesce dup coming between the quiesce was
complete and unqiesce was complete.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-09-30 18:51:38 +01:00
Lenz Grimmer
72c9c66781
Merge pull request #37443 from ktdreyer/node-12.18.2
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-09-30 17:07:56 +02:00
Lenz Grimmer
d5de9a58ea
Merge pull request #36771 from rhcs-dashboard/wip-47118-master
mgr/dashboard: add JUnit reports to Dashboard e2e tests

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-09-30 17:06:06 +02:00
Jan Fajerski
239c4bc8f3
Merge pull request #34740 from jan--f/c-v-refactor-batch-use-create
ceph-volume: major batch refactor
2020-09-30 15:37:52 +02:00
Jason Dillaman
214c63db25
Merge pull request #37014 from lixiaoy1/rwl_plugin
rbd/cache: update RWL as ImageDispatch

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-09-30 09:33:03 -04:00
Ilya Dryomov
76fbe8b4aa mon: set session_timeout when adding to session_map
With msgr2, the session is added in Monitor::ms_handle_accept()
which is queued by ProtocolV2 at the end of handling CLIENT_IDENT
frame, before responding with SERVER_IDENT frame.  session_timeout
is 0 and gets set only in Monitor::ms_dispatch(), so if the session
trimming code in Monitor::tick() gets to the session before the peer
receives our SERVER_IDENT, handles it, sends the first message and
we receive it, the session is wrongly closed.

This doesn't happen with msgr1, because there the session is added in
Monitor::ms_dispatch(), upon receive of the first message (MSG_AUTH).

Fixes: https://tracker.ceph.com/issues/47697
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2020-09-30 13:30:25 +02:00
Yuval Lifshitz
0bc89e5ec8
Merge pull request #37030 from Amrita42/wip-doc-Amy-radosgw
doc: Bucket notifications in the radosgateway-the usage of 'if not'
2020-09-30 13:51:52 +03:00
Lenz Grimmer
3fec8e7ac7
Merge pull request #37312 from votdev/issue_47578_clipboard_firefox
mgr/dashboard: Copy to clipboard does not work in Firefox

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-09-30 11:49:41 +02:00
Ernesto Puerta
5a16ed2360
mgr/dashboard: add JUnit reports to tests
Fixes: https://tracker.ceph.com/issues/47118
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-09-30 11:15:01 +02:00
Joshua Schmid
c1a39ce17a
Merge pull request #37411 from p-se/fix-cephadm-custom-template-escaping
mgr/cephadm: do not escape HTML for custom templates
2020-09-30 09:57:58 +02:00
Joshua Schmid
cef4c44346
Merge pull request #36622 from dmick/wip-46665
mgr/cephadm: continue trying all hosts for service deployment
2020-09-30 09:57:27 +02:00