Commit Graph

102361 Commits

Author SHA1 Message Date
Volker Theile
59a7bb209d mgr/dashboard: test_mgr_module QA test has not been adapted to latest controller changes
Fixes: https://tracker.ceph.com/issues/41993

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-09-23 12:54:35 +02:00
Lenz Grimmer
6c244abb37
mgr/dashboard: OSD list component improvements (#30488)
mgr/dashboard: OSD list component improvements

Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-09-23 10:37:49 +00:00
Lenz Grimmer
b049d55c1d
mgr/dashboard: NFS list should display the "Pseudo Path" (#30395)
mgr/dashboard: NFS list should display the "Pseudo Path"

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-09-23 09:45:48 +00:00
Mykola Golub
9068510305
Merge pull request #30411 from dillaman/wip-41653
rbd-mirror: simplify peer bootstrapping

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-09-23 10:50:01 +03:00
Patrick Donnelly
9a274a6ae5
Merge PR #30428 into master
* refs/pull/30428/head:
	doc/dev/developer_guide: fix heading level

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-22 21:26:50 -07:00
Patrick Donnelly
61494b1c8b
Merge PR #30435 into master
* refs/pull/30435/head:
	doc: improve developer guide doc

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-22 21:07:02 -07:00
Patrick Donnelly
a2d1ed08ed
Merge PR #30497 into master
* refs/pull/30497/head:
	ceph-volume: systemd fix typo in log message

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-22 20:58:45 -07:00
Kefu Chai
42b8ff1026
Merge pull request #30457 from dillaman/wip-41908
osd/PrimaryLogPG: do not append outdata to TMAPUP ops

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-09-22 20:50:37 +08:00
Patrick Donnelly
7bce31f0b0
Merge PR #30427 into master
* refs/pull/30427/head:
	doc/cephfs: correct a description mistake about mds states

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-21 22:05:07 -07:00
Kefu Chai
d90b4701c4
Merge pull request #30432 from yanghonggang/wip-yhg-balancer-eval-maxmin
pybind/mgr/balancer/module.py: add max/min info in stats_by_root

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-09-22 12:12:21 +08:00
Kefu Chai
7533221840
Merge pull request #30479 from liewegas/wip-fix-osd-invalid-stats
osd/osd_types: fix {omap,hitset_bytes}_stats_invalid handling on split/merge

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-09-22 12:11:25 +08:00
Kefu Chai
83d74a72f3
Merge pull request #29800 from Devp00l/wip-41372
mgr/dashboard: CephFS tab component

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-09-22 12:08:58 +08:00
Kefu Chai
ffc337147b
Merge pull request #30412 from tchaikov/wip-crimson-osd-make-message
osd,crimson: use make_message for creating message

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-09-22 12:03:47 +08:00
Kefu Chai
993b85e956
Merge pull request #30408 from p-se/wip-pna-smartctl-report
osd: add common smartctl output to JSON output

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-22 12:01:39 +08:00
Kefu Chai
cf23754a30
Merge pull request #30414 from neha-ojha/wip-fix-missing
osd/PeeringState.h: get_num_missing() should report num_missing()

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-22 11:47:46 +08:00
Kefu Chai
096eff1116
Merge pull request #30448 from tchaikov/wip-40871
mgr: set hostname in DeviceState::set_metadata()

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-09-22 11:45:55 +08:00
Kefu Chai
451470e134
Merge pull request #30449 from tchaikov/wip-37884
mon,mgr: pass MessageRef to monc.send_mon_message()  …

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-09-22 11:42:43 +08:00
Kefu Chai
349e01fb42
Merge pull request #30413 from vumrao/wip-vumrao-41875
tools/rados: call pool_lookup() after rados is connected.

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-22 11:41:38 +08:00
Kefu Chai
2b801c26fc
Merge pull request #30409 from uweigand/cleanup-endian
src/: Clean up endian handling

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-22 11:38:41 +08:00
Kefu Chai
a5160be989
Merge pull request #30383 from vumrao/wip-vumrao-tools-rados-add-pgid-in-help
tools/rados: add --pgid in help

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-22 11:37:41 +08:00
Kefu Chai
e2c901b93f
Merge pull request #30211 from majianpeng/msg-clear-payload
msg/async: clear_payload when requeue_sent.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-09-22 11:36:43 +08:00
Kefu Chai
b278284bb4
Merge pull request #30445 from tchaikov/wip-41320
mgr/dashboard: do not log tokens

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-09-22 11:34:58 +08:00
Kefu Chai
5e7d740bfd
Merge pull request #29947 from iotcg/nosrq
support RDMA NIC without SRQ in msg/async/rdma

Reviewed-by: Roman Penyaev <rpenyaev@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-22 11:33:48 +08:00
Ilya Dryomov
7bbd290de3
Merge pull request #30502 from idryomov/wip-krbd-avoid-hexdump-s
qa: avoid hexdump skip and length options

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-09-21 11:12:28 +02:00
Xie Xingguo
81764b5190
Merge pull request #30489 from liuchang0812/kill-compile-warning
rgw: kill compile warnning in rgw_object_lock.h

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2019-09-21 13:56:52 +08:00
Ilya Dryomov
d1b69136b0 qa: avoid hexdump skip and length options
On Debian-based distros, hexdump(1) comes from FreeBSD in bsdmainutils
package (other distros ship a Linux version from util-linux).  It turns
out that '-s skip' for anything but a regular file has been broken for
ages in FreeBSD -- instead of calling fseek(), it consumed the input
byte by byte with getchar().  This was fixed in commit 7cd5ae492557
"hexdump(1): Speed up -s flag on devices" last year, but it hasn't made
it to the Debian world yet.

bsdmainutils_9.0.6ubuntu3 in xenial had a custom patch for that, but
it's no longer there in bsdmainutils_11.1.2ubuntu1 in bionic.  hexdump
-s <large offset> is now a fancy infinite loop!

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-09-20 21:43:49 +02:00
Manu Zurmühl
8d9780ce50 ceph-volume: systemd fix typo in log message
Fixes: https://tracker.ceph.com/issues/41942
Signed-off-by: Manu Zurmühl <m.zurmuehl@heinlein-support.de>
2019-09-20 16:47:22 +02:00
Chang Liu
eb5ee0a331 rgw: kill compile warnning in rgw_object_lock.h
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2019-09-20 12:51:09 +00:00
Jason Dillaman
85f98c01c0 qa/suites/rbd: test case for rbd-mirror bootstrap
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-09-20 08:09:21 -04:00
Jason Dillaman
057547fadb
Merge pull request #30484 from trociny/wip-handle_start_replay_interrupted
rbd-mirror: potential nullptr dereference in ImageReplayer::handle_start_replay

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-09-20 07:55:00 -04:00
Tiago Melo
0a27d5a1aa mgr/dashboard: Fix validation of OSDs
There were situations where the OSD was removed and then we tried to access some
property of the OSD object, causing a frontend error.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-20 11:48:19 +00:00
Tiago Melo
e78569a4cb mgr/dashboard: Fix error when removing osds
After purging or destroying OSDs the details component would stay open and try
to fetch data related to a non existent OSDs.
This would result in error notifications and frontend exceptions.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-20 11:48:19 +00:00
Tiago Melo
6b1c6cd897 mgr/dashboard: Improve processing of multiple OSD requests
We were not using forkJoin when calling scrub endpoint.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-20 11:48:18 +00:00
Kefu Chai
12d301a199 mgr: pass MessageRef to monc.send_mon_message()
less chance to leak memory

see also: https://tracker.ceph.com/issues/37884

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-20 18:21:56 +08:00
Kefu Chai
7df36081d1 mon/MonClient: include necessary #includes
ideally, a header file should be self-contained.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-20 18:21:56 +08:00
Kefu Chai
a144cacdd8 mon/MonClient: add send_mon_message(MessageRef)
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-20 18:21:56 +08:00
Kefu Chai
cb9127ab92 messages/MLog: pass rvalue ref instead const ref to ctor
easier to use this way. and so far, there is no caller of this function
yet.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-20 18:21:56 +08:00
Lenz Grimmer
b2ca51a8bf
mgr/dashboard Adds multiple selection in osd table (#29662)
mgr/dashboard Adds multiple selection in osd table

Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-09-20 09:21:28 +00:00
Mykola Golub
72076d3a0c
Merge pull request #30438 from dillaman/wip-41833
cls/rbd: sanitize entity instance messenger version type

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-09-20 11:59:27 +03:00
Mykola Golub
a01597b00f rbd-mirror: potential nullptr dereference in ImageReplayer::handle_start_replay
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-09-20 09:25:01 +01:00
Kefu Chai
a363dea882
Merge pull request #30474 from tchaikov/wip-discard-future
crimson: run in foreground if possible, silence warnings

Reviewed-by: Samuel Just <sjust@redhat.com>
2019-09-20 10:51:54 +08:00
Yuval Lifshitz
751c4514e0
Merge pull request #28971 from yuvalif/wip-yuval-pubsub-api2
rgw/pubsub: add S3 compliant API to master zone
2019-09-20 01:35:02 +03:00
Alfredo Deza
41e456a4d6
Merge pull request #30101 from rishabh-d-dave/cv-minor
ceph-volume: api/lvm: check if list of LVs is empty

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2019-09-19 15:10:49 -04:00
Casey Bodley
bd94272cd2
Merge pull request #19020 from zhangsw/feature-rgw-bucketsync-api
rgw: add admin rest api for bucket sync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-19 14:33:47 -04:00
Casey Bodley
125ab97d88
Merge pull request #29637 from liuchang0812/rgw-es7
rgw: sync with elastic search v7

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-09-19 14:24:47 -04:00
Casey Bodley
3993a72412
Merge pull request #29897 from tianshan/fix_list_start_with_null_marker
rgw: fix list versions starts with version_id=null

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-19 14:23:31 -04:00
Casey Bodley
30b3ecbcc6
Merge pull request #29909 from cbodley/wip-40935
rgw: fix default storage class for get_compression_type

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-09-19 14:22:18 -04:00
Casey Bodley
d5d0d7fef3
Merge pull request #30127 from zhangsw/rgw-fix-adminuser
rgw: add missing admin property when sync user info.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-19 14:21:37 -04:00
Casey Bodley
026eed47d2
Merge pull request #30163 from zhangsw/feature-rgw-opslog-transid
rgw: add transaction id to ops log.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-19 14:20:50 -04:00
Casey Bodley
b087c4eacd
Merge pull request #30175 from tianshan/improve-data-sync-retry
rgw: improve data sync restart after failure

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-19 14:18:59 -04:00