]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
yuliyang [Fri, 27 Sep 2019 07:39:15 +0000 (15:39 +0800)]
ceph-dencoder: add RGWPeriodLatestEpochInfo support.
Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
Kefu Chai [Tue, 24 Sep 2019 17:40:44 +0000 (01:40 +0800)]
Merge pull request #30036 from tchaikov/wip-python3-pkgversion
ceph.spec.in: s/pkgversion/version_nodots/
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Kefu Chai [Fri, 30 Aug 2019 11:49:28 +0000 (19:49 +0800)]
ceph.spec.in: s/pkgversion/version_nodots/
`python3_pkgversion` is now defined as 3, while we don't have packages
like python3-Cython yet in EPEL7. but we do have `python36-Cython`. so
let's use `python3_version_nodots` instead.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Lenz Grimmer [Tue, 24 Sep 2019 15:11:47 +0000 (15:11 +0000)]
mgr/dashboard: Gracefully handle client/target info not found (#30349)
mgr/dashboard: Gracefully handle client/target info not found
Reviewed-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Tue, 24 Sep 2019 13:58:50 +0000 (13:58 +0000)]
mgr/dashboard: Using wrong identifiers in RGW user/bucket data… (#30492)
mgr/dashboard: Using wrong identifiers in RGW user/bucket datatables
Reviewed-by: Tiago Melo <tmelo@suse.com>
Sage Weil [Tue, 24 Sep 2019 13:25:44 +0000 (08:25 -0500)]
Merge PR #30537 into master
* refs/pull/30537/head:
test/pybind: fix local variables for emacs
crush: add editor property variables
Reviewed-by: Sage Weil <sage@redhat.com>
Ricardo Marques [Wed, 11 Sep 2019 17:42:44 +0000 (18:42 +0100)]
mgr/dashboard: Gracefully handle client/target info not found
Fixes: https://tracker.ceph.com/issues/41779
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Patrick Donnelly [Tue, 24 Sep 2019 11:32:28 +0000 (04:32 -0700)]
Merge PR #29824 into master
* refs/pull/29824/head:
qa: whitelist new FS_INLINE_DATA_DEPRECATED health warning
mds: add a HEALTH_WARN message when inline_data is enabled
mds: log a warning message when mds is started on an fs with inline_data
mon: deprecate CephFS inline_data support
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Patrick Donnelly [Tue, 24 Sep 2019 11:31:28 +0000 (04:31 -0700)]
Merge PR #29526 into master
* refs/pull/29526/head:
client: _readdir_cache_cb() may use the readdir_cache already clear
Reviewed-by: Zheng Yan <zyan@redhat.com>
Lenz Grimmer [Tue, 24 Sep 2019 11:23:50 +0000 (11:23 +0000)]
Merge pull request #30426 from votdev/harden_mgr_modules_list
mgr/dashboard: Prevent KeyError when requesting always_on_modules
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Patrick Donnelly [Tue, 24 Sep 2019 11:15:02 +0000 (04:15 -0700)]
Merge PR #30164 into master
* refs/pull/30164/head:
mds: Remove unnecessary headers in Locker
mds: Reorganize class members in Locker header
Reviewed-by: Jos Collin <jcollin@redhat.com>
Patrick Donnelly [Tue, 24 Sep 2019 11:11:00 +0000 (04:11 -0700)]
Merge PR #30312 into master
* refs/pull/30312/head:
client:EINVAL may be returned when offset is 0 ,Loff_t pos = f->pos should be the best.
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Lenz Grimmer [Tue, 24 Sep 2019 11:00:34 +0000 (11:00 +0000)]
Merge pull request #30493 from p-se/wip-pse-osd-improvements
mgr/dashboard: OSD improvements
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Tue, 24 Sep 2019 10:59:22 +0000 (10:59 +0000)]
mgr/dashboard: enable run-frontend-unittest.sh to run from any… (#30496)
mgr/dashboard: enable run-frontend-unittest.sh to run from any directory
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Tue, 24 Sep 2019 09:02:38 +0000 (09:02 +0000)]
mgr/dashboard: Fix error editing iSCSI disk controls (#30100)
mgr/dashboard: Fix error editing iSCSI disk controls
Reviewed-by: Ricardo Dias <rdias@suse.com>
Kefu Chai [Tue, 24 Sep 2019 07:03:28 +0000 (15:03 +0800)]
Merge pull request #30535 from xiexingguo/wip-test_ceph_argparse
test/pybind/test_ceph_argparse.py: pg_num of pool creation now optional
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 24 Sep 2019 06:51:49 +0000 (14:51 +0800)]
test/pybind: fix local variables for emacs
* pass CEPH_BIN env variable if necessary
* do not 'make' unless necessary
* use `cmake --build` as developer might be using some different cmake
generator for building ceph.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 24 Sep 2019 06:48:55 +0000 (14:48 +0800)]
crush: add editor property variables
so the local settings won't interfere when working on ceph.
Signed-off-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Tue, 24 Sep 2019 04:18:21 +0000 (12:18 +0800)]
test/pybind/test_ceph_argparse.py: pg_num of pool creation now optional
introduced by
f88d95bef6948410603bd877aa4714a2afefd5a5
note that we remove the bad pg_num = -1 test too, which will now
be treated as the the crush rule name (invalid but allowed) since
pg_num is optional
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Patrick Donnelly [Tue, 24 Sep 2019 02:36:17 +0000 (19:36 -0700)]
Merge PR #30348 into master
* refs/pull/30348/head:
doc: Add a new document on Dynamic Metadata Management in CephFS
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Xie Xingguo [Tue, 24 Sep 2019 00:56:17 +0000 (08:56 +0800)]
Merge pull request #30512 from xiexingguo/wip-vstart-inc-osd
vstart: add --inc-osd option
Reviewed-by: Sage Weil <sage@redhat.com>
Alfredo Deza [Mon, 23 Sep 2019 18:53:38 +0000 (14:53 -0400)]
Merge pull request #30490 from ceph/guits-41392
ceph-volume: do not fail when trying to remove crypt mapper
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Kefu Chai [Mon, 23 Sep 2019 15:18:01 +0000 (23:18 +0800)]
Merge pull request #30507 from tchaikov/wip-mgr-features-in-mgrmap
qa/tasks/mgr/dashboard/test_health: update schema
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Sidharth Anupkrishnan [Wed, 11 Sep 2019 14:19:54 +0000 (19:49 +0530)]
doc: Add a new document on Dynamic Metadata Management in CephFS
Signed-off-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Sage Weil [Mon, 23 Sep 2019 14:12:42 +0000 (09:12 -0500)]
Merge PR #30475 into master
* refs/pull/30475/head:
qa/standalone/ceph-helpers: default pg autoscale mode off for standalone
os/bluestore: fix objectstore_blackhole read-after-write
test,misc: do not specify pg_num per pool
mgr/volumes: do not specify pg_num
pybind/ceph_volume_client: do not specify pg_num for new pools
doc: remove all pg_num arguments to 'osd pool create'
mon: do not require pg_num to 'osd pool create'
common: default pg_autoscale_mode=on for new pools
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Mon, 23 Sep 2019 14:11:57 +0000 (09:11 -0500)]
Merge PR #30503 into master
* refs/pull/30503/head:
osd/PeeringState: recover_got - add special handler for empty log
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 23 Sep 2019 14:11:34 +0000 (09:11 -0500)]
Merge PR #30506 into master
* refs/pull/30506/head:
qa/standalone/osd/divergent-priors: add reproducer for bug 41816
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Lenz Grimmer [Mon, 23 Sep 2019 11:17:21 +0000 (11:17 +0000)]
mgr/dashboard: Fix spacing between cards (#30461)
mgr/dashboard: Fix spacing between cards
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Patrick Seidensal [Fri, 20 Sep 2019 13:55:18 +0000 (15:55 +0200)]
mgr/dashboard: Improve and simplify OsdListComponent
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
Lenz Grimmer [Mon, 23 Sep 2019 10:49:48 +0000 (10:49 +0000)]
mgr/dashboard: fix error when linking a bucket to a tenanted u… (#30123)
mgr/dashboard: fix error when linking a bucket to a tenanted user
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Mon, 23 Sep 2019 10:37:49 +0000 (10:37 +0000)]
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>
Lenz Grimmer [Mon, 23 Sep 2019 09:45:48 +0000 (09:45 +0000)]
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>
Guillaume Abrioux [Fri, 20 Sep 2019 12:57:58 +0000 (14:57 +0200)]
ceph-volume: do not fail when trying to remove crypt mapper
In a containerized context, at some point, need to run `simple scan` on a device
from a separate container (not the existing and running corresponding container
to that device), but this can't work because when it tries to remove the
mapper which is still in use by the corresponding running osd container,
it fails.
This can be a bit more permissive and simply throw a warning.
Closes: https://tracker.ceph.com/issues/41392
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Mykola Golub [Mon, 23 Sep 2019 07:50:01 +0000 (10:50 +0300)]
Merge pull request #30411 from dillaman/wip-41653
rbd-mirror: simplify peer bootstrapping
Reviewed-by: Mykola Golub <mgolub@suse.com>
Patrick Donnelly [Mon, 23 Sep 2019 04:26:50 +0000 (21:26 -0700)]
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>
Patrick Donnelly [Mon, 23 Sep 2019 04:07:02 +0000 (21:07 -0700)]
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>
Patrick Donnelly [Mon, 23 Sep 2019 03:58:45 +0000 (20:58 -0700)]
Merge PR #30497 into master
* refs/pull/30497/head:
ceph-volume: systemd fix typo in log message
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
xie xingguo [Wed, 8 May 2019 08:54:50 +0000 (16:54 +0800)]
vstart: add --inc-osd option
I am currently developing some scale-up[down] related feature.
It would be nice if I can simply develop and test it on the
vcluster at the early stage.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Thu, 19 Sep 2019 17:20:55 +0000 (12:20 -0500)]
qa/standalone/ceph-helpers: default pg autoscale mode off for standalone
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 20 Sep 2019 13:10:59 +0000 (08:10 -0500)]
os/bluestore: fix objectstore_blackhole read-after-write
Instead of tossing out transactions from queue_transactions (which prevents
us from reading back the results), instead (1) stop doing any write IO, and
(2) stop trimming the cache.
Fixes: https://tracker.ceph.com/issues/40684
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Sep 2019 15:48:07 +0000 (10:48 -0500)]
test,misc: do not specify pg_num per pool
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Sep 2019 15:47:43 +0000 (10:47 -0500)]
mgr/volumes: do not specify pg_num
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Sep 2019 15:47:24 +0000 (10:47 -0500)]
pybind/ceph_volume_client: do not specify pg_num for new pools
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Sep 2019 15:47:07 +0000 (10:47 -0500)]
doc: remove all pg_num arguments to 'osd pool create'
Also, update the dicussion about pg_num and pool creation, with a reference
to the autoscaler.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Sep 2019 15:42:29 +0000 (10:42 -0500)]
mon: do not require pg_num to 'osd pool create'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 3 Sep 2019 15:54:47 +0000 (10:54 -0500)]
common: default pg_autoscale_mode=on for new pools
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 22 Sep 2019 12:50:37 +0000 (20:50 +0800)]
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>
Kefu Chai [Sun, 22 Sep 2019 04:48:10 +0000 (12:48 +0800)]
qa/tasks/mgr/dashboard/test_health: update schema
see
351a3b9d3867ab8dd6d0502fbc46c0016553c6d5
Fixes: https://tracker.ceph.com/issues/41947
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 22 Sep 2019 12:43:49 +0000 (20:43 +0800)]
mon/MgrMap: dump mgr_features as an object property
it's a property of "standby" object, not an element of
"available_modules".
it's a follow-up fix of
351a3b9d
Signed-off-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Sun, 22 Sep 2019 05:05:07 +0000 (22:05 -0700)]
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>
Kefu Chai [Sun, 22 Sep 2019 04:12:21 +0000 (12:12 +0800)]
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>
Kefu Chai [Sun, 22 Sep 2019 04:11:25 +0000 (12:11 +0800)]
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>
Kefu Chai [Sun, 22 Sep 2019 04:08:58 +0000 (12:08 +0800)]
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>
Kefu Chai [Sun, 22 Sep 2019 04:03:47 +0000 (12:03 +0800)]
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>
Kefu Chai [Sun, 22 Sep 2019 04:01:39 +0000 (12:01 +0800)]
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>
Kefu Chai [Sun, 22 Sep 2019 03:47:46 +0000 (11:47 +0800)]
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>
Kefu Chai [Sun, 22 Sep 2019 03:45:55 +0000 (11:45 +0800)]
Merge pull request #30448 from tchaikov/wip-40871
mgr: set hostname in DeviceState::set_metadata()
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Sun, 22 Sep 2019 03:42:43 +0000 (11:42 +0800)]
Merge pull request #30449 from tchaikov/wip-37884
mon,mgr: pass MessageRef to monc.send_mon_message() …
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Sun, 22 Sep 2019 03:41:38 +0000 (11:41 +0800)]
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>
Kefu Chai [Sun, 22 Sep 2019 03:38:41 +0000 (11:38 +0800)]
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>
Kefu Chai [Sun, 22 Sep 2019 03:37:41 +0000 (11:37 +0800)]
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>
Kefu Chai [Sun, 22 Sep 2019 03:36:43 +0000 (11:36 +0800)]
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>
Kefu Chai [Sun, 22 Sep 2019 03:34:58 +0000 (11:34 +0800)]
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>
Kefu Chai [Sun, 22 Sep 2019 03:33:48 +0000 (11:33 +0800)]
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>
Sage Weil [Sat, 21 Sep 2019 15:08:58 +0000 (10:08 -0500)]
qa/standalone/osd/divergent-priors: add reproducer for bug 41816
Reproducer for https://tracker.ceph.com/issues/41816
Signed-off-by: Sage Weil <sage@redhat.com>
Ilya Dryomov [Sat, 21 Sep 2019 09:12:28 +0000 (11:12 +0200)]
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>
Xie Xingguo [Sat, 21 Sep 2019 05:56:52 +0000 (13:56 +0800)]
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>
xie xingguo [Fri, 20 Sep 2019 07:33:40 +0000 (15:33 +0800)]
osd/PeeringState: recover_got - add special handler for empty log
If we use a small osd_min[max]_pg_log_entries setting, say, 10, and
do splitting, a child pg may only be able to keep some divergent log
entries in the list. Any follow-up peering cycle on that child pg
would then rewind all the divergent log entries and lead to an empty
log list, which as a result could reliably fire the
ceph_assert(info.last_complete == info.last_update)
assert if we start to recover any of the missing divergent objects
later.
Fixes: https://tracker.ceph.com/issues/41816
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Ilya Dryomov [Fri, 20 Sep 2019 19:01:09 +0000 (21:01 +0200)]
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>
Manu Zurmühl [Fri, 20 Sep 2019 14:47:22 +0000 (16:47 +0200)]
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>
Patrick Seidensal [Fri, 20 Sep 2019 14:36:31 +0000 (16:36 +0200)]
mgr/dashboard: enable run-frontend-unittest.sh to run from any directory
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
Volker Theile [Fri, 20 Sep 2019 13:46:50 +0000 (15:46 +0200)]
mgr/dashboard: Using wrong identifiers in RGW user/bucket datatables
Fixes: https://tracker.ceph.com/issues/41940
Signed-off-by: Volker Theile <vtheile@suse.com>
Chang Liu [Fri, 20 Sep 2019 12:51:09 +0000 (12:51 +0000)]
rgw: kill compile warnning in rgw_object_lock.h
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Jason Dillaman [Mon, 16 Sep 2019 19:07:36 +0000 (15:07 -0400)]
qa/suites/rbd: test case for rbd-mirror bootstrap
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 20 Sep 2019 11:55:00 +0000 (07:55 -0400)]
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>
Tiago Melo [Thu, 19 Sep 2019 13:39:22 +0000 (13:39 +0000)]
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>
Tiago Melo [Thu, 19 Sep 2019 13:38:42 +0000 (13:38 +0000)]
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>
Tiago Melo [Thu, 19 Sep 2019 11:06:10 +0000 (11:06 +0000)]
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>
Kefu Chai [Wed, 18 Sep 2019 04:46:09 +0000 (12:46 +0800)]
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>
Kefu Chai [Wed, 18 Sep 2019 04:41:46 +0000 (12:41 +0800)]
mon/MonClient: include necessary #includes
ideally, a header file should be self-contained.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 18 Sep 2019 04:30:36 +0000 (12:30 +0800)]
mon/MonClient: add send_mon_message(MessageRef)
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 20 Sep 2019 10:18:35 +0000 (18:18 +0800)]
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>
Volker Theile [Tue, 17 Sep 2019 10:39:22 +0000 (12:39 +0200)]
mgr/dashboard: Prevent KeyError when requesting always_on_modules
`ceph_release` is not necessarily a valid key for `mgr_map['always_on_modules']`
This PR is inspired by https://github.com/ceph/ceph/pull/30421.
Signed-off-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Fri, 20 Sep 2019 09:21:28 +0000 (09:21 +0000)]
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>
Mykola Golub [Fri, 20 Sep 2019 08:59:27 +0000 (11:59 +0300)]
Merge pull request #30438 from dillaman/wip-41833
cls/rbd: sanitize entity instance messenger version type
Reviewed-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Fri, 20 Sep 2019 08:25:01 +0000 (09:25 +0100)]
rbd-mirror: potential nullptr dereference in ImageReplayer::handle_start_replay
Signed-off-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Fri, 20 Sep 2019 02:51:54 +0000 (10:51 +0800)]
Merge pull request #30474 from tchaikov/wip-discard-future
crimson: run in foreground if possible, silence warnings
Reviewed-by: Samuel Just <sjust@redhat.com>
Yuval Lifshitz [Thu, 19 Sep 2019 22:35:02 +0000 (01:35 +0300)]
Merge pull request #28971 from yuvalif/wip-yuval-pubsub-api2
rgw/pubsub: add S3 compliant API to master zone
Alfredo Deza [Thu, 19 Sep 2019 19:10:49 +0000 (15:10 -0400)]
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>
Casey Bodley [Thu, 19 Sep 2019 18:33:47 +0000 (14:33 -0400)]
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>
Casey Bodley [Thu, 19 Sep 2019 18:24:47 +0000 (14:24 -0400)]
Merge pull request #29637 from liuchang0812/rgw-es7
rgw: sync with elastic search v7
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Thu, 19 Sep 2019 18:23:31 +0000 (14:23 -0400)]
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>
Casey Bodley [Thu, 19 Sep 2019 18:22:18 +0000 (14:22 -0400)]
Merge pull request #29909 from cbodley/wip-40935
rgw: fix default storage class for get_compression_type
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Thu, 19 Sep 2019 18:21:37 +0000 (14:21 -0400)]
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>
Casey Bodley [Thu, 19 Sep 2019 18:20:50 +0000 (14:20 -0400)]
Merge pull request #30163 from zhangsw/feature-rgw-opslog-transid
rgw: add transaction id to ops log.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 19 Sep 2019 18:18:59 +0000 (14:18 -0400)]
Merge pull request #30175 from tianshan/improve-data-sync-retry
rgw: improve data sync restart after failure
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 19 Sep 2019 18:18:14 +0000 (14:18 -0400)]
Merge pull request #30189 from linuxbox2/wip-rgw-ss3lite
rgw: crypt: permit RGW-AUTO/default with SSE-S3 headers
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 19 Sep 2019 18:17:35 +0000 (14:17 -0400)]
Merge pull request #30194 from vumrao/wip-vumrao-41589
radosgw-admin: add --uid check in bucket list command
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Thu, 19 Sep 2019 18:16:29 +0000 (14:16 -0400)]
Merge pull request #30332 from linuxbox2/wip-ldap-denied
rgw: ldap auth: S3 auth failure should return InvalidAccessKeyId
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Thu, 19 Sep 2019 18:15:33 +0000 (14:15 -0400)]
Merge pull request #30384 from ZVampirEM77/bucket-create-time
rgw: add creation time information into bucket stats
Reviewed-by: Casey Bodley <cbodley@redhat.com>