]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoMerge pull request #26089 from taoCH/wip-librgw-create-bucket-bug
Matt Benjamin [Tue, 16 Apr 2019 14:53:13 +0000 (10:53 -0400)]
Merge pull request #26089 from taoCH/wip-librgw-create-bucket-bug

rgw: unexpected crash when creating bucket in librgw

6 years agoMerge PR #27564 into master
Sage Weil [Tue, 16 Apr 2019 13:38:34 +0000 (08:38 -0500)]
Merge PR #27564 into master

* refs/pull/27564/head:
ceph-objectstore-tool: Rename dump-import to dump-export
osd: Fix fast path to use version bumped value

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #27546 into master
Sage Weil [Tue, 16 Apr 2019 13:28:24 +0000 (08:28 -0500)]
Merge PR #27546 into master

* refs/pull/27546/head:
mgr/progress: fix typo
mgr/progress: behave if pgs disappear (due to a racing pg merge)

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
6 years agoMerge pull request #27036 from votdev/issue_24453
Lenz Grimmer [Tue, 16 Apr 2019 12:39:05 +0000 (14:39 +0200)]
Merge pull request #27036 from votdev/issue_24453

mgr/dashboard: Manager should complain about wrong dashboard certificate

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #27433 from rhcs-dashboard/wip-36243-master
Lenz Grimmer [Tue, 16 Apr 2019 12:34:20 +0000 (14:34 +0200)]
Merge pull request #27433 from rhcs-dashboard/wip-36243-master

mgr/dashboard: Add frontend code documentation

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #27530 from yuvalif/fix_pubsub_duplicates
Yuval Lifshitz [Tue, 16 Apr 2019 06:09:45 +0000 (09:09 +0300)]
Merge pull request #27530 from yuvalif/fix_pubsub_duplicates

rgw/pubsub: handle subscription conf errors better

6 years agoMerge pull request #27552 from tchaikov/wip-corpus.rst
Kefu Chai [Tue, 16 Apr 2019 01:15:24 +0000 (09:15 +0800)]
Merge pull request #27552 from tchaikov/wip-corpus.rst

doc/corpus: update to adapt the change from autotools to cmake

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Changcheng Liu <changcheng.liu@intel.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agodoc/corpus: update to adapt the change from autotools to cmake 27552/head
Kefu Chai [Fri, 12 Apr 2019 10:01:15 +0000 (18:01 +0800)]
doc/corpus: update to adapt the change from autotools to cmake

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27493 from yuvalif/pubsub_zone_conf_doc
Yuval Lifshitz [Mon, 15 Apr 2019 13:42:09 +0000 (16:42 +0300)]
Merge pull request #27493 from yuvalif/pubsub_zone_conf_doc

rgw/pubsub: clarify pubsub zone configuration

6 years agoMerge PR #27585 into master
Sage Weil [Mon, 15 Apr 2019 13:26:08 +0000 (08:26 -0500)]
Merge PR #27585 into master

* refs/pull/27585/head:
messages: remove MNop

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #27578 from cbodley/wip-rgw-pubsub-warning
Casey Bodley [Mon, 15 Apr 2019 13:03:04 +0000 (09:03 -0400)]
Merge pull request #27578 from cbodley/wip-rgw-pubsub-warning

rgw: silence a -Wunused-function warning in pubsub

Reviewed-by: Yuval Lifshitz <yuvalif@yahoo.com>
6 years agoMerge pull request #27178 from pritha-srivastava/wip-rgw-iam
Casey Bodley [Mon, 15 Apr 2019 13:00:32 +0000 (09:00 -0400)]
Merge pull request #27178 from pritha-srivastava/wip-rgw-iam

rgw: Adding 'iam' namespace for Role and User Policy related REST APIs.

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agoMerge pull request #27553 from theanalyst/doc/releases/12.2.12
Abhishek L [Mon, 15 Apr 2019 10:53:07 +0000 (12:53 +0200)]
Merge pull request #27553 from theanalyst/doc/releases/12.2.12

doc: releases/luminous: release notes for 12.2.12

Reviewed-By: Nathan Cutler <ncutler@suse.com>
6 years agodoc: releases/12.2.12: fix changelog to add issues without trackers 27553/head
Abhishek Lekshmanan [Mon, 15 Apr 2019 09:00:35 +0000 (11:00 +0200)]
doc: releases/12.2.12: fix changelog to add issues without trackers

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agoMerge pull request #27491 from sebastian-philipp/rook-service-ls-rgw
Sebastian Wagner [Mon, 15 Apr 2019 08:42:23 +0000 (10:42 +0200)]
Merge pull request #27491 from sebastian-philipp/rook-service-ls-rgw

mgr/rook: Added missing `rgw` daemons in `service ls`

Reviewed-by: Jeff Layton <jlayton@redhat.com>
6 years agoMerge pull request #27462 from sebastian-philipp/rook-fix-rgw
Sebastian Wagner [Mon, 15 Apr 2019 08:41:15 +0000 (10:41 +0200)]
Merge pull request #27462 from sebastian-philipp/rook-fix-rgw

mgr/rook: Fix RGW creation

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
6 years agoMerge pull request #27339 from david-z/wip-fix-rbd-map-hang
Ilya Dryomov [Mon, 15 Apr 2019 08:36:42 +0000 (10:36 +0200)]
Merge pull request #27339 from david-z/wip-fix-rbd-map-hang

krbd: fix rbd map hang due to udev return subsystem unordered

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
6 years agomessages: remove MNop 27585/head
Kefu Chai [Mon, 15 Apr 2019 03:15:09 +0000 (11:15 +0800)]
messages: remove MNop

MNop was introduced along with xio messenger. since we've dropped
xiomessenger in #27021, there is no need to keep MNop around anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #27517 into master
Sage Weil [Mon, 15 Apr 2019 01:37:21 +0000 (20:37 -0500)]
Merge PR #27517 into master

* refs/pull/27517/head:
mon: make mon_osd_down_out_subtree_limit update at runtime

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agoMerge PR #27458 into master
Sage Weil [Sun, 14 Apr 2019 20:27:46 +0000 (15:27 -0500)]
Merge PR #27458 into master

* refs/pull/27458/head:
bluestore: fix for FreeBSD iocb structure

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #27485 into master
Sage Weil [Sun, 14 Apr 2019 20:27:12 +0000 (15:27 -0500)]
Merge PR #27485 into master

* refs/pull/27485/head:
mgr/ActivePyModules: handle_command - fix broken lock

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #27506 into master
Sage Weil [Sun, 14 Apr 2019 20:26:44 +0000 (15:26 -0500)]
Merge PR #27506 into master

* refs/pull/27506/head:
src/tests/crushtool: Add test for an empty default
crush/CrushCompiler: Fix __replacement_assert

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27271 from idryomov/wip-krbd-wac-on-dm
Ilya Dryomov [Sun, 14 Apr 2019 19:31:00 +0000 (21:31 +0200)]
Merge pull request #27271 from idryomov/wip-krbd-wac-on-dm

qa: add device mapper and lvm test cases for stable pages

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #27533 from dillaman/wip-39257
Mykola Golub [Sun, 14 Apr 2019 07:09:25 +0000 (10:09 +0300)]
Merge pull request #27533 from dillaman/wip-39257

rbd-mirror: periodically flush IO and commit positions

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #27229 from dillaman/wip-librbd-writearound
Mykola Golub [Sun, 14 Apr 2019 07:08:37 +0000 (10:08 +0300)]
Merge pull request #27229 from dillaman/wip-librbd-writearound

librbd: introduce new default write-around cache policy

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #27446 from trociny/wip-rbd-io-simple-scheduler-improvements
Jason Dillaman [Sat, 13 Apr 2019 17:21:09 +0000 (13:21 -0400)]
Merge pull request #27446 from trociny/wip-rbd-io-simple-scheduler-improvements

librbd: dispatch delayed requests only if read intersects

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #27513 from ddiss/librados_silence_unused_vars
Jason Dillaman [Sat, 13 Apr 2019 17:20:53 +0000 (13:20 -0400)]
Merge pull request #27513 from ddiss/librados_silence_unused_vars

librbd: silence -Wunused-variable warnings

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agorgw: silence a -Wunused-function warning in pubsub 27578/head
Casey Bodley [Sat, 13 Apr 2019 17:06:23 +0000 (13:06 -0400)]
rgw: silence a -Wunused-function warning in pubsub

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoceph-objectstore-tool: Rename dump-import to dump-export 27564/head
David Zafman [Fri, 12 Apr 2019 20:09:43 +0000 (13:09 -0700)]
ceph-objectstore-tool: Rename dump-import to dump-export

If user specifies dump-import it will still work, but isn't
in the usage that way.

Fixes: http://tracker.ceph.com/issues/39284
Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agoosd: Fix fast path to use version bumped value
David Zafman [Fri, 12 Apr 2019 16:44:14 +0000 (09:44 -0700)]
osd: Fix fast path to use version bumped value

Fix the code so that the version is in one place
for both the slow and fast path.

Caused by: d2ca3d2feb442f97ca89023c7d01178d96f517a6

Fixes: http://tracker.ceph.com/issues/39281
Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agomgr/dashboard: Add frontend code documentation 27433/head
Ernesto Puerta [Mon, 1 Oct 2018 11:52:11 +0000 (13:52 +0200)]
mgr/dashboard: Add frontend code documentation

Adds compodoc as auto-documentation tool for Angular frontend code.

Fixes: http://tracker.ceph.com/issues/36243
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
6 years agoMerge pull request #27470 from cbodley/wip-39160
Casey Bodley [Fri, 12 Apr 2019 16:25:34 +0000 (12:25 -0400)]
Merge pull request #27470 from cbodley/wip-39160

rgw: don't recalculate etags for slo/dlo

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agoMerge pull request #27528 from cbodley/wip-qa-rgw-no-debuginfo
Ali Maredia [Fri, 12 Apr 2019 16:11:17 +0000 (12:11 -0400)]
Merge pull request #27528 from cbodley/wip-qa-rgw-no-debuginfo

qa/rgw: disable debuginfo packages

6 years agolibrbd: write-around cache should honor FUA op flag 27229/head
Jason Dillaman [Fri, 12 Apr 2019 15:07:31 +0000 (11:07 -0400)]
librbd: write-around cache should honor FUA op flag

If force unit access is specified, the cache should be bypassed just
like other non-optimized IO through the cache.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd: support new bench 'full-seq' io pattern option
Jason Dillaman [Thu, 11 Apr 2019 02:24:00 +0000 (22:24 -0400)]
rbd: support new bench 'full-seq' io pattern option

This ensures IOs are issued in sequential order regardless of the current
IO thread setting.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agodoc: releases/luminous: release notes for 12.2.12
Abhishek Lekshmanan [Fri, 12 Apr 2019 13:21:46 +0000 (15:21 +0200)]
doc: releases/luminous: release notes for 12.2.12

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agomgr/progress: fix typo 27546/head
Sage Weil [Sat, 16 Feb 2019 19:20:39 +0000 (13:20 -0600)]
mgr/progress: fix typo

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr/progress: behave if pgs disappear (due to a racing pg merge)
Sage Weil [Fri, 12 Apr 2019 12:07:03 +0000 (07:07 -0500)]
mgr/progress: behave if pgs disappear (due to a racing pg merge)

If one of the PGs we care about disappears, consider it complete.

Fixes: http://tracker.ceph.com/issues/38157
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #27473 into master
Sage Weil [Fri, 12 Apr 2019 11:57:03 +0000 (06:57 -0500)]
Merge PR #27473 into master

* refs/pull/27473/head:
mgr/DaemonServer: prevent pgp_num reductions from outpacing pg_num merges

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #27477 into master
Sage Weil [Fri, 12 Apr 2019 11:56:45 +0000 (06:56 -0500)]
Merge PR #27477 into master

* refs/pull/27477/head:
os/bluestore: check return value of func _open_db_and_around.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 years agoMerge PR #27499 into master
Sage Weil [Fri, 12 Apr 2019 11:54:58 +0000 (06:54 -0500)]
Merge PR #27499 into master

* refs/pull/27499/head:
qa/standalone/osd/osd-markdown: fix dup command disabling

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #27516 into master
Sage Weil [Fri, 12 Apr 2019 11:54:35 +0000 (06:54 -0500)]
Merge PR #27516 into master

* refs/pull/27516/head:
mgr/rook: Fix Python 2 regression

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Gabriel Brascher <gabriel@apache.org>
6 years agoMerge pull request #26816 from iotcg/doc
Kefu Chai [Fri, 12 Apr 2019 09:59:07 +0000 (17:59 +0800)]
Merge pull request #26816 from iotcg/doc

doc: correct example to use vstart to run up cluster

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27535 from yuriw/wip-yuriw-wip-yuriw-crontab-master
Yuri Weinstein [Fri, 12 Apr 2019 02:17:36 +0000 (19:17 -0700)]
Merge pull request #27535 from yuriw/wip-yuriw-wip-yuriw-crontab-master

qa/tests: added rados on master, reduced fs, rbd, multimds

6 years agoMerge pull request #27428 from cyx1231st/wip-seastar-msgr-write
Kefu Chai [Fri, 12 Apr 2019 01:07:53 +0000 (09:07 +0800)]
Merge pull request #27428 from cyx1231st/wip-seastar-msgr-write

crimson/net: extract do_write_dispatch_sweep()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoqa/tests: added rados on master, reduced fs, rbd, multimds 27535/head
Yuri Weinstein [Fri, 12 Apr 2019 00:46:44 +0000 (17:46 -0700)]
qa/tests: added rados on master, reduced fs, rbd, multimds

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge pull request #27515 from tchaikov/wip-seastar-fix-monc
Kefu Chai [Fri, 12 Apr 2019 00:31:12 +0000 (08:31 +0800)]
Merge pull request #27515 from tchaikov/wip-seastar-fix-monc

test/crimson: fix build of unittest_seastar_monc

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agosrc/tests/crushtool: Add test for an empty default 27506/head
Brad Hubbard [Thu, 11 Apr 2019 07:29:30 +0000 (17:29 +1000)]
src/tests/crushtool: Add test for an empty default

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6 years agoMerge pull request #27524 from tchaikov/wip-39164
Kefu Chai [Fri, 12 Apr 2019 00:16:51 +0000 (08:16 +0800)]
Merge pull request #27524 from tchaikov/wip-39164

install-deps.sh: install '*rpm-macros'

Reviewed-by: Boris Ranto <branto@redhat.com>
6 years agorbd-mirror: periodically flush prior to updating status 27533/head
Jason Dillaman [Thu, 11 Apr 2019 21:01:22 +0000 (17:01 -0400)]
rbd-mirror: periodically flush prior to updating status

This ensure the most up-to-date commit position is included in the
status report.

Fixes: http://tracker.ceph.com/issues/39257
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: simplify image replayer IO / commit position flush path
Jason Dillaman [Thu, 11 Apr 2019 20:18:54 +0000 (16:18 -0400)]
rbd-mirror: simplify image replayer IO / commit position flush path

There is no current user of the callback context provided to the
flush method and there are no longer any reason to have the flush
support methods be virtual.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #27443 from Polynomial-C/tinfo
Jason Dillaman [Thu, 11 Apr 2019 18:32:15 +0000 (14:32 -0400)]
Merge pull request #27443 from Polynomial-C/tinfo

cmake: Fix build against ncurses with separate libtinfo

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #27527 into master
Sage Weil [Thu, 11 Apr 2019 18:30:33 +0000 (13:30 -0500)]
Merge PR #27527 into master

* refs/pull/27527/head:
qa/tests: run luminous-x and mimic-x 2 times a week but with high priority

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agorgw/pubsub: handle subscription conf errors better 27530/head
Yuval Lifshitz [Thu, 11 Apr 2019 17:16:52 +0000 (20:16 +0300)]
rgw/pubsub: handle subscription conf errors better

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
6 years agolibrbd: enable the simple IO scheduler by default
Jason Dillaman [Wed, 27 Mar 2019 23:17:46 +0000 (19:17 -0400)]
librbd: enable the simple IO scheduler by default

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: switch to write-around cache policy by default
Jason Dillaman [Wed, 27 Mar 2019 23:16:04 +0000 (19:16 -0400)]
librbd: switch to write-around cache policy by default

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: new alternative write-around cache layer
Jason Dillaman [Wed, 27 Mar 2019 23:09:55 +0000 (19:09 -0400)]
librbd: new alternative write-around cache layer

This is a replacement for the ObjectCacher-based writethrough/
writeback cache. It permits a configurable maximum byte size
of in-flight writes (bytes) to the OSDs where the writes are
immediately completed back to the caller. Any IO errors are
propagated on the next flush request.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: pass journal tid through flush object dispatch spec
Jason Dillaman [Thu, 4 Apr 2019 20:46:37 +0000 (16:46 -0400)]
librbd: pass journal tid through flush object dispatch spec

This permits moving the journal flush and commit logic down to the
journal object dispatch layer.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: remove special case for journal replay via writeback
Jason Dillaman [Wed, 27 Mar 2019 17:43:24 +0000 (13:43 -0400)]
librbd: remove special case for journal replay via writeback

With the future addition of a writearound cache (and to a much
lesser extent the IO scheduler), the code will become easier
to maintain via a single IO path that periodically injects IO
flushes to ensure the data is consistently committed to disk.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: moved object cacher writeback handler to cache sub-directory
Jason Dillaman [Wed, 27 Mar 2019 13:28:49 +0000 (09:28 -0400)]
librbd: moved object cacher writeback handler to cache sub-directory

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agocommon/buffer: hexdump should skip lines that are the same as previous
Jason Dillaman [Thu, 28 Mar 2019 02:23:52 +0000 (22:23 -0400)]
common/buffer: hexdump should skip lines that are the same as previous

Previously, it would only skip similar lines if the data was all zeroed.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoqa/tests: run luminous-x and mimic-x 2 times a week but with high priority 27527/head
Yuri Weinstein [Thu, 11 Apr 2019 16:25:23 +0000 (09:25 -0700)]
qa/tests: run luminous-x and mimic-x 2 times a week but with high priority
hope is it will help with locking 5 nodes for tests

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge PR #27345 into master
Patrick Donnelly [Thu, 11 Apr 2019 16:18:15 +0000 (09:18 -0700)]
Merge PR #27345 into master

* refs/pull/27345/head:
cephfs-shell: Change type of d_name to bytes array
cephfs-shell: Revert "cephfs.pyx: add py3 compatibility"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoinstall-deps.sh: install '*rpm-macros' 27524/head
Kefu Chai [Thu, 11 Apr 2019 16:11:42 +0000 (00:11 +0800)]
install-deps.sh: install '*rpm-macros'

so `yum-builddep` can have access to the latest macros for preparing the
build dependencies

Fixes: http://tracker.ceph.com/issues/39164
Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27504 from tchaikov/wip-qa-use-python36-for-py3-tests
Kefu Chai [Thu, 11 Apr 2019 15:16:58 +0000 (23:16 +0800)]
Merge pull request #27504 from tchaikov/wip-qa-use-python36-for-py3-tests

qa/tasks/ceph_deploy: install python3.6 instead of python3.4 for py3 tests

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
6 years agomon: make mon_osd_down_out_subtree_limit update at runtime 27517/head
Sage Weil [Thu, 11 Apr 2019 13:41:03 +0000 (08:41 -0500)]
mon: make mon_osd_down_out_subtree_limit update at runtime

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr/rook: Fix Python 2 regression 27516/head
Sebastian Wagner [Thu, 11 Apr 2019 13:32:13 +0000 (15:32 +0200)]
mgr/rook: Fix Python 2 regression

Fixes: http://tracker.ceph.com/issues/39250
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agoMerge PR #27323 into master
Sage Weil [Thu, 11 Apr 2019 13:36:00 +0000 (08:36 -0500)]
Merge PR #27323 into master

* refs/pull/27323/head:
msg/async: avoid creating unnecessary AsyncConnectionRef

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #27444 from ifed01/wip-ifed-fix-21312
Kefu Chai [Thu, 11 Apr 2019 13:33:36 +0000 (21:33 +0800)]
Merge pull request #27444 from ifed01/wip-ifed-fix-21312

os/bluestore: call fault_range prior to looking for blob to reuse

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #27445 from ifed01/wip-ifed-fix-39143
Kefu Chai [Thu, 11 Apr 2019 13:24:20 +0000 (21:24 +0800)]
Merge pull request #27445 from ifed01/wip-ifed-fix-39143

os/ceph-bluestore-tool: bluefs-bdev-expand asserts if no WAL

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agocrimson: add move ctor for CephContext and mon::Client 27515/head
Kefu Chai [Thu, 11 Apr 2019 13:03:54 +0000 (21:03 +0800)]
crimson: add move ctor for CephContext and mon::Client

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agotest/crimson: add dummy_auth_handler to test_monc
Yingxin Cheng [Wed, 10 Apr 2019 09:42:31 +0000 (17:42 +0800)]
test/crimson: add dummy_auth_handler to test_monc

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agoMerge pull request #27438 from Devp00l/wip-issue-37701
Lenz Grimmer [Thu, 11 Apr 2019 10:58:47 +0000 (12:58 +0200)]
Merge pull request #27438 from Devp00l/wip-issue-37701

mgr/dashboard: Removes distracting search behavior

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agolibrbd: silence -Wunused-variable warnings 27513/head
David Disseldorp [Thu, 11 Apr 2019 09:43:09 +0000 (11:43 +0200)]
librbd: silence -Wunused-variable warnings

Signed-off-by: David Disseldorp <ddiss@suse.de>
6 years agorgw/pubsub: more info on notification deletion compatibility 27493/head
Yuval Lifshitz [Thu, 11 Apr 2019 09:23:17 +0000 (12:23 +0300)]
rgw/pubsub: more info on notification deletion compatibility

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
6 years agoMerge pull request #27348 from Devp00l/wip-issue-39086
Lenz Grimmer [Thu, 11 Apr 2019 09:04:33 +0000 (11:04 +0200)]
Merge pull request #27348 from Devp00l/wip-issue-39086

mgr/dashboard: Enable read only users to read again

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agocmake: Fix build against ncurses with separate libtinfo 27443/head
Lars Wendler [Mon, 8 Apr 2019 14:34:53 +0000 (16:34 +0200)]
cmake: Fix build against ncurses with separate libtinfo

Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
6 years agocephfs-shell: Change type of d_name to bytes array 27345/head
Varsha Rao [Thu, 11 Apr 2019 07:07:46 +0000 (12:37 +0530)]
cephfs-shell: Change type of d_name to bytes array

By reverting commit 5106582 'd_name' is always a bytes array. This produces
type error wherever 'd_name' is used with 'str' type. In such cases decode it.

Fixes: https://tracker.ceph.com/issues/39060
Signed-off-by: Varsha Rao <varao@redhat.com>
6 years agocephfs-shell: Revert "cephfs.pyx: add py3 compatibility"
Varsha Rao [Thu, 11 Apr 2019 07:03:12 +0000 (12:33 +0530)]
cephfs-shell: Revert "cephfs.pyx: add py3 compatibility"

This reverts commit 5106582fc7edae7f39161cf89e566c020fcfa0ce.

Signed-off-by: Varsha Rao <varao@redhat.com>
6 years agokrbd: fix rbd map hang due to udev return subsystem unordered 27339/head
Zhi Zhang [Thu, 11 Apr 2019 05:09:01 +0000 (13:09 +0800)]
krbd: fix rbd map hang due to udev return subsystem unordered

The order of subsystem returned by udev_device_get_subsystem
might not be same order as adding subsystem by
udev_monitor_filter_add_match_subsystem_devtype. So if block
event is returned first and rbd event is returned next, then
further poll will get nothing back until timed-out.

Fixes: http://tracker.ceph.com/issues/39089
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
6 years agocrush/CrushCompiler: Fix __replacement_assert
Brad Hubbard [Thu, 11 Apr 2019 05:00:25 +0000 (15:00 +1000)]
crush/CrushCompiler: Fix __replacement_assert

When compiled with _GLIBCXX_ASSERTIONS we see an assert due to UB of
passing the address of an empty vector. Use vector's data member
function instead of address of array syntax.

Fixes: http://tracker.ceph.com/issues/39174
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6 years agoqa/tasks/ceph_deploy: install python3.6 instead of python3.4 for py3 tests 27504/head
Kefu Chai [Thu, 11 Apr 2019 02:02:32 +0000 (10:02 +0800)]
qa/tasks/ceph_deploy: install python3.6 instead of python3.4 for py3 tests

EPEL7 has switched over to python3.6 as the main python3. and we started
packaging python bindings for python3.6 since
https://github.com/ceph/ceph-build/pull/1283

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/ActivePyModules: handle_command - fix broken lock 27485/head
xie xingguo [Wed, 10 Apr 2019 03:25:02 +0000 (11:25 +0800)]
mgr/ActivePyModules: handle_command - fix broken lock

by unlocking properly when module is not available.

Fixes: http://tracker.ceph.com/issues/39235
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge PR #27495 into master
Sage Weil [Wed, 10 Apr 2019 22:41:49 +0000 (17:41 -0500)]
Merge PR #27495 into master

* refs/pull/27495/head:
doc/releases/nautilus: fix config update step

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoqa/standalone/osd/osd-markdown: fix dup command disabling 27499/head
Sage Weil [Wed, 10 Apr 2019 21:44:38 +0000 (16:44 -0500)]
qa/standalone/osd/osd-markdown: fix dup command disabling

The ceph cli tool checks for the presence of the variable, not its value.

Fixes: http://tracker.ceph.com/issues/38359
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agorgw/pubsub: fix comments from PR #27493
Yuval Lifshitz [Wed, 10 Apr 2019 16:32:02 +0000 (19:32 +0300)]
rgw/pubsub: fix comments from PR #27493

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
6 years agodoc/releases/nautilus: fix config update step 27495/head
Sage Weil [Wed, 10 Apr 2019 16:25:11 +0000 (11:25 -0500)]
doc/releases/nautilus: fix config update step

'ceph ... > /etc/ceph/ceph.conf' fails because bash truncates ceph.conf
before the ceph cli invocation is able to use it to connect to the cluster.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #27290 from sebastian-philipp/rook-system-namespace
Sebastian Wagner [Wed, 10 Apr 2019 13:20:40 +0000 (15:20 +0200)]
Merge pull request #27290 from sebastian-philipp/rook-system-namespace

mgr/rook: Support other system namespaces

Reviewed-by: Blaine Gardner <blaine.gardner@suse.com>
Reviewed-by: Rohan Gupta <rohanrgupta1996@gmail.com>
Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
6 years agoMerge pull request #27408 from nathan-weinberg/reformat
Lenz Grimmer [Wed, 10 Apr 2019 12:56:08 +0000 (14:56 +0200)]
Merge pull request #27408 from nathan-weinberg/reformat

mgr/dashboard: Updated existing E2E tests to match new format

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agorgw/pubsub: clarify pubsub zone configuration
Yuval Lifshitz [Wed, 10 Apr 2019 12:38:35 +0000 (15:38 +0300)]
rgw/pubsub: clarify pubsub zone configuration

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
6 years agoMerge PR #27490 into master
Sage Weil [Wed, 10 Apr 2019 12:27:27 +0000 (07:27 -0500)]
Merge PR #27490 into master

* refs/pull/27490/head:
PendingReleaseNotes: note on python3.6 changes

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agomgr/rook: Added missing `rgw` daemons in `service ls` 27491/head
Sebastian Wagner [Wed, 10 Apr 2019 11:17:29 +0000 (13:17 +0200)]
mgr/rook: Added missing `rgw` daemons in `service ls`

Fixes: http://tracker.ceph.com/issues/39171
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agoPendingReleaseNotes: note on python3.6 changes 27490/head
Kefu Chai [Wed, 10 Apr 2019 10:08:04 +0000 (18:08 +0800)]
PendingReleaseNotes: note on python3.6 changes

Fixes: http://tracker.ceph.com/issues/39164
Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27406 from rhcs-dashboard/fix-39125-master
Ricardo Marques [Wed, 10 Apr 2019 09:53:27 +0000 (10:53 +0100)]
Merge pull request #27406 from rhcs-dashboard/fix-39125-master

mgr/dashboard: Add whitelist to guard

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #27289 from sebastian-philipp/rook-fix-osd-create
Sebastian Wagner [Wed, 10 Apr 2019 08:50:22 +0000 (10:50 +0200)]
Merge pull request #27289 from sebastian-philipp/rook-fix-osd-create

mgr/rook: Fix creation of bluestore OSDs

Reviewed-by: Blaine Gardner <blaine.gardner@suse.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
6 years agoos/bluestore: check return value of func _open_db_and_around. 27477/head
Jianpeng Ma [Wed, 10 Apr 2019 03:17:03 +0000 (11:17 +0800)]
os/bluestore: check return value of func _open_db_and_around.

In develop, met the following error messages:

2019-04-08 10:24:54.259 7faa25114d80  1 bdev create path /var/lib/ceph/mnt/osd-device-6-data/block.db type kernel
2019-04-08 10:24:54.259 7faa25114d80  1 bdev(0x55ef0840ce00 /var/lib/ceph/mnt/osd-device-6-data/block.db) open path /var/lib/ceph/mnt/osd-device-6-data/block.db
2019-04-08 10:24:54.259 7faa25114d80 -1 bdev(0x55ef0840ce00 /var/lib/ceph/mnt/osd-device-6-data/block.db) _lock flock failed on /var/lib/ceph/mnt/osd-device-6-data/block.db
2019-04-08 10:24:54.259 7faa25114d80 -1 bdev(0x55ef0840ce00 /var/lib/ceph/mnt/osd-device-6-data/block.db) open failed to lock /var/lib/ceph/mnt/osd-device-6-data/block.db: (11) Resource temporarily unavailable
2019-04-08 10:24:54.259 7faa25114d80 -1 bluestore(/var/lib/ceph/mnt/osd-device-6-data) _minimal_open_bluefs add block device(/var/lib/ceph/mnt/osd-device-6-data/block.db) returned: (11) Resource temporarily unavailable
2019-04-08 10:24:54.259 7faa25114d80  1 fbmap_alloc 0x55ef0754ef00 shutdown
2019-04-08 10:24:54.259 7faa25114d80  1 freelist shutdown
2019-04-08 10:24:54.259 7faa25114d80  1 bluestore(/var/lib/ceph/mnt/osd-device-6-data) _upgrade_super from 2, latest 2
2019-04-08 10:24:54.259 7faa25114d80  1 bluestore(/var/lib/ceph/mnt/osd-device-6-data) _upgrade_super done
2019-04-08 10:24:54.264 7faa25114d80 -1 *** Caught signal (Segmentation fault) **
 in thread 7faa25114d80 thread_name:ceph-osd

 ceph version 14.2.0 (3a54b2b6d167d4a2a19e003a705696d4fe619afc) nautilus (stable)
 1: (()+0xf5d0) [0x7faa21d655d0]
 2: (BlueStore::_open_collections(int*)+0x5b) [0x55eefd1f511b]
 3: (BlueStore::_mount(bool, bool)+0x6c6) [0x55eefd22d1c6]
 4: (OSD::init()+0x3aa) [0x55eefcda4e4a]
 5: (main()+0x14fa) [0x55eefcc4137a]
 6: (__libc_start_main()+0xf5) [0x7faa20b483d5]
 7: (()+0x5646c5) [0x55eefcd356c5]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
6 years agomgr/DaemonServer: prevent pgp_num reductions from outpacing pg_num merges 27473/head
Sage Weil [Tue, 9 Apr 2019 22:12:37 +0000 (17:12 -0500)]
mgr/DaemonServer: prevent pgp_num reductions from outpacing pg_num merges

If we are merging lots of pgs down to a much smaller number of pgs, and
the pgs are able to move quickly (faster than the merges happen), we can
end up with too many pgs on a small number of osds, triggering the max
pgs per osd limits.

Avoid this by preventing the pgp_num reductions from getting too far
out in front of the merges themselves.  Basically, cap the delta between
pgp_num and pg_num to the max_misplaced ratio.  We are already limiting
the movement caused by pgp_num by max_misplaced; this effectively just
makes sure that the actual merging (and pg_num reductions) are keeping
up.

Fixes: http://tracker.ceph.com/issues/38786
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agorgw: don't recalculate etags for slo/dlo 27470/head
Casey Bodley [Tue, 9 Apr 2019 19:26:08 +0000 (15:26 -0400)]
rgw: don't recalculate etags for slo/dlo

for slo, we've already calculated this as 'lo_etag' in get_params()
for dlo, the local 'etag' already contains the hash of an empty string

the calls to complete_etag() were calling hash.Final() a second time on
the same hash without a hash.Restart() in between. this apparently
worked fine with NSS, but with OpenSSL the second call to Final()
returns a different value

Fixes: https://tracker.ceph.com/issues/39160
Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge PR #27464 into master
Sage Weil [Tue, 9 Apr 2019 18:49:42 +0000 (13:49 -0500)]
Merge PR #27464 into master

* refs/pull/27464/head:
msg/async/frames_v2.h: fix warning

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge pull request #27357 from dillaman/wip-39021
Mykola Golub [Tue, 9 Apr 2019 17:34:16 +0000 (20:34 +0300)]
Merge pull request #27357 from dillaman/wip-39021

librbd: fixed several race conditions related to copyup

Reviewed-by: Mykola Golub <mgolub@suse.com>