]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agomake-dist: Don't prompt while running 'npm ci' 37826/head
Brad Hubbard [Tue, 27 Oct 2020 00:37:15 +0000 (10:37 +1000)]
make-dist: Don't prompt while running 'npm ci'

Prompting for input while in the background results in SIGTTOU being
sent and npm hanging forever.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
4 years agoMerge pull request #37714 from dillaman/wip-librbd-migration-1
Mykola Golub [Mon, 26 Oct 2020 19:26:17 +0000 (21:26 +0200)]
Merge pull request #37714 from dillaman/wip-librbd-migration-1

librbd: initial set of changes to migration API for instant-restore

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agolibrbd/io: ensure ImageDispatchSpec cannot re-use AioCompletion 37714/head
Jason Dillaman [Mon, 26 Oct 2020 12:27:46 +0000 (08:27 -0400)]
librbd/io: ensure ImageDispatchSpec cannot re-use AioCompletion

Prevent re-using the same AioCompletion between multiple
ImageDispatchSpec objects to prevent the possibility of a memory
leak.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agolibrbd/migration: native format should not issue a new read request
Jason Dillaman [Mon, 26 Oct 2020 12:11:12 +0000 (08:11 -0400)]
librbd/migration: native format should not issue a new read request

Tweak the format interface's 'read' call to just let the existing
read request continue passed the migration layer if the native
format is in use. Otherwise, the provided AioCompletion would need to
be wrapped with another AioCompletion to prevent the original
image dispatch spec from getting lost.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #37683 from adamemerson/wip-fifo-lessnoisy
Adam C. Emerson [Mon, 26 Oct 2020 15:58:41 +0000 (11:58 -0400)]
Merge pull request #37683 from adamemerson/wip-fifo-lessnoisy

rgw: Be less noisy when probing FIFO existence

Reviewed-By: Casey Bodley cbodley@redhat.com
Reviewed-By: J. Eric Ivancich ivancich@redhat.com
4 years agoMerge pull request #37273 from trociny/wip-rbd-nbd-persist
Jason Dillaman [Mon, 26 Oct 2020 11:57:47 +0000 (07:57 -0400)]
Merge pull request #37273 from trociny/wip-rbd-nbd-persist

rbd-nbd: allow to restart daemon without destroying device

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #37769 from rhcs-dashboard/black-border-text
Lenz Grimmer [Mon, 26 Oct 2020 11:57:32 +0000 (12:57 +0100)]
Merge pull request #37769 from rhcs-dashboard/black-border-text

mgr/dashboard: Removing the black border on the text/input field when its clicked

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
4 years agoMerge pull request #37743 from lixiaoy1/fix_1022
Jason Dillaman [Mon, 26 Oct 2020 11:55:42 +0000 (07:55 -0400)]
Merge pull request #37743 from lixiaoy1/fix_1022

librbd/image: remove implicit features when cloning

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #37753 from bk201/wip-47947
Lenz Grimmer [Mon, 26 Oct 2020 10:33:24 +0000 (11:33 +0100)]
Merge pull request #37753 from bk201/wip-47947

mgr/dashboard: fix disable action for MGR modules

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
4 years agoMerge pull request #37006 from clwluvw/monitoring-osd-latency
Lenz Grimmer [Mon, 26 Oct 2020 10:31:45 +0000 (11:31 +0100)]
Merge pull request #37006 from clwluvw/monitoring-osd-latency

monitoring: Use null yaxes min for OSD read latency

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
4 years agoMerge pull request #37568 from s0nea/wip-dashboard-qa-linting
Lenz Grimmer [Mon, 26 Oct 2020 10:27:23 +0000 (11:27 +0100)]
Merge pull request #37568 from s0nea/wip-dashboard-qa-linting

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
4 years agoMerge pull request #37754 from smithfarm/wip-nautilus-rn-typo
Abhishek L [Mon, 26 Oct 2020 09:36:17 +0000 (10:36 +0100)]
Merge pull request #37754 from smithfarm/wip-nautilus-rn-typo

doc/releases/nautilus: fix typo

Reviewed-By: Neha Ojha <nojha@redhat.com>
Reviewed-By: Kefu Chai <kchai@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoMerge PR #37415 into master
Jan Fajerski [Mon, 26 Oct 2020 08:10:05 +0000 (09:10 +0100)]
Merge PR #37415 into master

* refs/pull/37415/head:
pybind/mgr/snap-schedule: fix deactivate

Reviewed-by: Venky Shankar <vshankar@redhat.com>
4 years agoMerge pull request #37758 from batrick/i47951
Kefu Chai [Mon, 26 Oct 2020 06:59:39 +0000 (14:59 +0800)]
Merge pull request #37758 from batrick/i47951

mon/MonMap: fix unconditional failure for init_with_hosts

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #37759 from adamemerson/wip-context4all
Kefu Chai [Mon, 26 Oct 2020 06:41:55 +0000 (14:41 +0800)]
Merge pull request #37759 from adamemerson/wip-context4all

cmake, rgw: always enable Boost.context

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agolibrbd: migration raw format source
Jason Dillaman [Tue, 20 Oct 2020 00:28:55 +0000 (20:28 -0400)]
librbd: migration raw format source

The raw format maps an abstract, fully allocated, raw block device image
to the migration source IO API.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agolibrbd: migration file stream source
Jason Dillaman [Mon, 19 Oct 2020 22:28:21 +0000 (18:28 -0400)]
librbd: migration file stream source

The file stream helper will translate byte-extent IO read requests
to ASIO file read requests on the specified backing file. This can be
layered with file format helpers to translate image IO extents down
to the backing file.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agolibrbd: increase debug logging in ImageCtx
Jason Dillaman [Tue, 20 Oct 2020 06:56:58 +0000 (02:56 -0400)]
librbd: increase debug logging in ImageCtx

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agolibrbd: migration should attempt to open destination image first
Jason Dillaman [Tue, 20 Oct 2020 06:55:36 +0000 (02:55 -0400)]
librbd: migration should attempt to open destination image first

With the exception of the 'prepare' command, always attempt to open
the destination image first. This will better align with the
ability for read-only, non-native images to be used as a source
image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge PR #37776 into master
Patrick Donnelly [Sun, 25 Oct 2020 23:29:13 +0000 (16:29 -0700)]
Merge PR #37776 into master

* refs/pull/37776/head:
cephfs: Fix variable declartion in capture list in lambda

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #37735 into master
Patrick Donnelly [Sun, 25 Oct 2020 23:27:48 +0000 (16:27 -0700)]
Merge PR #37735 into master

* refs/pull/37735/head:
client: fix inode ll_ref reference count leak

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #37629 into master
Patrick Donnelly [Sun, 25 Oct 2020 23:26:36 +0000 (16:26 -0700)]
Merge PR #37629 into master

* refs/pull/37629/head:
qa/cephfs: add session_timeout option support
qa/cephfs: move the cephfs's opertions setting to create()
qa/cephfs: add 'cephfs:' section support

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #37652 into master
Patrick Donnelly [Sun, 25 Oct 2020 23:25:24 +0000 (16:25 -0700)]
Merge PR #37652 into master

* refs/pull/37652/head:
qa/tasks: tear down the background process before unmounting
qa/tasks: switch to _kill_background() helper to terminate the daemons

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
4 years agoMerge pull request #37718 from smithfarm/wip-rn-nautilus
Nathan Cutler [Sat, 24 Oct 2020 20:27:00 +0000 (22:27 +0200)]
Merge pull request #37718 from smithfarm/wip-rn-nautilus

doc/releases: add Nautilus 14.2.12 release notes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agolibrbd: pass source ImageCtx to migration API helper methods
Jason Dillaman [Tue, 20 Oct 2020 01:44:55 +0000 (21:44 -0400)]
librbd: pass source ImageCtx to migration API helper methods

This will help ensure that the source ImageCtx can be made optional
when migrating from a read-only, non-native image source.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agolibrbd: new helper API method to retrieving the migration source spec
Jason Dillaman [Fri, 16 Oct 2020 01:07:07 +0000 (21:07 -0400)]
librbd: new helper API method to retrieving the migration source spec

When using advanced, non-legacy migration sources like a remote Ceph
cluster or a flat file, this API will return the JSON-encoded description
of the migration source.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agolibrbd: helper method for constructing source-spec for legacy migration
Jason Dillaman [Fri, 16 Oct 2020 00:31:02 +0000 (20:31 -0400)]
librbd: helper method for constructing source-spec for legacy migration

The legacy migration source format has explicit pool, namespace, and image
parameters. This helper method will convert it into the JSON format that
will be used for the new-style migration source-spec.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #37755 from rhcs-dashboard/notification-style
Lenz Grimmer [Sat, 24 Oct 2020 17:02:58 +0000 (19:02 +0200)]
Merge pull request #37755 from rhcs-dashboard/notification-style

mgr/dashboard: Adding more style to the notification sidebar

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #37738 from ifed01/wip-ifed-fix-death-tests
Kefu Chai [Sat, 24 Oct 2020 16:17:33 +0000 (00:17 +0800)]
Merge pull request #37738 from ifed01/wip-ifed-fix-death-tests

test/store_test: use 'threadsafe' style for death tests.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #37765 from tchaikov/wip-mgr-common-cleanup
Kefu Chai [Sat, 24 Oct 2020 16:15:29 +0000 (00:15 +0800)]
Merge pull request #37765 from tchaikov/wip-mgr-common-cleanup

mgr,common: use make_unique<> and fmt::format()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #37431 from sseshasa/wip-handle-future-sched-ops
Sridhar Seshasayee [Sat, 24 Oct 2020 07:52:01 +0000 (13:22 +0530)]
Merge pull request #37431 from sseshasa/wip-handle-future-sched-ops

osd: Handle possible future work items returned from mclock scheduler.

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agocephfs: Fix variable declartion in capture list in lambda 37776/head
Willem Jan Withagen [Fri, 23 Oct 2020 23:41:17 +0000 (01:41 +0200)]
cephfs: Fix variable declartion in capture list in lambda

/home/jenkins/workspace/ceph-master-compile/src/tools/cephfs_mirror/Mirror.cc:529:33: error: 'mirror_action' in capture list does not name a variable
    m_cond.wait(locker, [this, &mirror_action] {return !mirror_action.action_in_progress;});
                                ^
/home/jenkins/workspace/ceph-master-compile/src/tools/cephfs_mirror/Mirror.cc:529:57: error: reference to local binding 'mirror_action' declared in enclosing function 'cephfs::mirror::Mirror::run'
    m_cond.wait(locker, [this, &mirror_action] {return !mirror_action.action_in_progress;});
                                                        ^
/home/jenkins/workspace/ceph-master-compile/src/tools/cephfs_mirror/Mirror.cc:526:27: note: 'mirror_action' declared here
  for (auto &[filesystem, mirror_action] : m_mirror_actions) {
                          ^
/home/jenkins/workspace/ceph-master-compile/src/tools/cephfs_mirror/Mirror.cc:529:26: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
    m_cond.wait(locker, [this, &mirror_action] {return !mirror_action.action_in_progress;});
                         ^~~~
1 warning and 2 errors generated.

Tracker: https://tracker.ceph.com/issues/47973
Fixes: https://github.com/ceph/ceph/pull/37313
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
4 years agomon/MonMap: fix unconditional failure for init_with_hosts 37758/head
Patrick Donnelly [Thu, 22 Oct 2020 17:08:26 +0000 (10:08 -0700)]
mon/MonMap: fix unconditional failure for init_with_hosts

This bug prevents setting mon_host to a DNS name.

Fixes: https://tracker.ceph.com/issues/47951
Fixes: 7a1f02acfe6b5d8a760efd16bb594a0656b39eac
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agotest/mon: add tests for mon_host build by hostname
Patrick Donnelly [Fri, 23 Oct 2020 23:33:23 +0000 (16:33 -0700)]
test/mon: add tests for mon_host build by hostname

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agotest/mon: fix compiler errors in MonMap unittest
Patrick Donnelly [Fri, 23 Oct 2020 23:28:08 +0000 (16:28 -0700)]
test/mon: fix compiler errors in MonMap unittest

The code atrophied. Clean this up.

The tests are disabled because they SIGSEGV during SetUp.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agotest/mon: build MonMap unittest
Patrick Donnelly [Fri, 23 Oct 2020 23:27:39 +0000 (16:27 -0700)]
test/mon: build MonMap unittest

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #37678 from ideepika/wip-drop-hammer-from-qa
Neha Ojha [Fri, 23 Oct 2020 15:35:02 +0000 (08:35 -0700)]
Merge pull request #37678 from ideepika/wip-drop-hammer-from-qa

qa: drop hammer branch qa tests

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agodpkg: Remove use of no-longer-existing WITH_BOOST_CONTEXT option 37759/head
Adam C. Emerson [Fri, 23 Oct 2020 01:48:21 +0000 (21:48 -0400)]
dpkg: Remove use of no-longer-existing WITH_BOOST_CONTEXT option

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
4 years agorpm: Remove use of no-longer-existing WITH_BOOST_CONTEXT option
Adam C. Emerson [Fri, 23 Oct 2020 01:46:28 +0000 (21:46 -0400)]
rpm: Remove use of no-longer-existing WITH_BOOST_CONTEXT option

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
4 years ago{rgw, cmake}: Remove WITH_BOOST_CONTEXT
Adam C. Emerson [Thu, 22 Oct 2020 18:55:17 +0000 (14:55 -0400)]
{rgw, cmake}: Remove WITH_BOOST_CONTEXT

As Boost.Context now supports s390, there is no longer any need for
the conditional compilation.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
4 years agoMerge pull request #37193 from rhcs-dashboard/log_download
Lenz Grimmer [Fri, 23 Oct 2020 14:47:20 +0000 (16:47 +0200)]
Merge pull request #37193 from rhcs-dashboard/log_download

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
4 years agoMerge pull request #36449 from s0nea/wip-dashboard-osd-flags-indiv
Lenz Grimmer [Fri, 23 Oct 2020 14:45:28 +0000 (16:45 +0200)]
Merge pull request #36449 from s0nea/wip-dashboard-osd-flags-indiv

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
4 years agoMerge pull request #37440 from Devp00l/wip-44433
Lenz Grimmer [Fri, 23 Oct 2020 11:57:51 +0000 (13:57 +0200)]
Merge pull request #37440 from Devp00l/wip-44433

mgr/dashboard: Add clay plugin support

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
4 years agoMerge pull request #37512 from tspmelo/wip-ng-validation
Lenz Grimmer [Fri, 23 Oct 2020 11:29:32 +0000 (13:29 +0200)]
Merge pull request #37512 from tspmelo/wip-ng-validation

mgr/dashboard: Extract ng-bootstrap-form-validation

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
4 years agoMerge pull request #37748 from Rethan/msg_remove_dispatch_strategy
Kefu Chai [Fri, 23 Oct 2020 10:09:20 +0000 (18:09 +0800)]
Merge pull request #37748 from Rethan/msg_remove_dispatch_strategy

msg: move DispatchStrategy into test/

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/dashboard: Removing the black border on the text/input field when its clicked 37769/head
Nizamudeen A [Fri, 23 Oct 2020 09:16:24 +0000 (14:46 +0530)]
mgr/dashboard: Removing the black border on the text/input field when its clicked

Resolves: https://tracker.ceph.com/issues/47967
Signed-off-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #37404 from badone/wip-docker-test-allow-persistent-containers
Kefu Chai [Fri, 23 Oct 2020 08:15:35 +0000 (16:15 +0800)]
Merge pull request #37404 from badone/wip-docker-test-allow-persistent-containers

test/docker-test: Allow persistent containers

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/DaemonHealthMetricCollector: replace boost::format with fmt::format 37765/head
Kefu Chai [Fri, 23 Oct 2020 08:00:55 +0000 (16:00 +0800)]
mgr/DaemonHealthMetricCollector: replace boost::format with fmt::format

the latter is easier to use, and future proof in the sense that {fmt}
was included as a part of C++20 standard

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocommon/Formatter: replace boost::format with fmt::format
Kefu Chai [Fri, 23 Oct 2020 07:59:37 +0000 (15:59 +0800)]
common/Formatter: replace boost::format with fmt::format

the latter is easier to use, and future proof in the sense that {fmt}
was included as a part of C++20 standard

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomgr: use make_unique<> when appropriate
Kefu Chai [Fri, 23 Oct 2020 07:40:41 +0000 (15:40 +0800)]
mgr: use make_unique<> when appropriate

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoqa/cephfs: add session_timeout option support 37629/head
Xiubo Li [Tue, 20 Oct 2020 05:26:33 +0000 (01:26 -0400)]
qa/cephfs: add session_timeout option support

When the mds revoking the Fwbl caps, the clients need to flush
the dirty data back to the OSDs, but the flush may make the OSDs
to be overloaded and slow, which may take more than 60 seconds to
finish. Then the MDS daemons will report the WRN messages.

For the teuthology test cases, let's just increase the timeout
value to make it work.

Fixes: https://tracker.ceph.com/issues/47565
Signed-off-by: Xiubo Li <xiubli@redhat.com>
4 years agoqa/cephfs: move the cephfs's opertions setting to create()
Xiubo Li [Mon, 12 Oct 2020 02:13:43 +0000 (10:13 +0800)]
qa/cephfs: move the cephfs's opertions setting to create()

Fixes: https://tracker.ceph.com/issues/47565
Signed-off-by: Xiubo Li <xiubli@redhat.com>
4 years agoqa/cephfs: add 'cephfs:' section support
Xiubo Li [Tue, 20 Oct 2020 05:06:25 +0000 (01:06 -0400)]
qa/cephfs: add 'cephfs:' section support

Fixes: https://tracker.ceph.com/issues/47565
Signed-off-by: Xiubo Li <xiubli@redhat.com>
4 years agoMerge pull request #36754 from rzarzynski/wip-bs-filewriter-appender
Kefu Chai [Fri, 23 Oct 2020 06:19:32 +0000 (14:19 +0800)]
Merge pull request #36754 from rzarzynski/wip-bs-filewriter-appender

common/bl, os/bluestore: eradicate bufferlist rebuilds caused by FileWriter of BlueFS

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agotest/docker-test: Allow persistent containers 37404/head
Brad Hubbard [Fri, 25 Sep 2020 02:26:34 +0000 (12:26 +1000)]
test/docker-test: Allow persistent containers

It can be useful to allow the container to persist for debugging
purposes. Also show the command used to create the container.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
4 years agomsg: move DispatchStrategy into test/ 37748/head
haoyixing [Sun, 18 Oct 2020 01:23:48 +0000 (09:23 +0800)]
msg: move DispatchStrategy into test/

Since commit cc9a914, xio related code were all removed, which made
direct_messenger become the only user of DispatchStraegy. So move
these code there.

Signed-off-by: haoyixing <haoyixing@kuaishou.com>
4 years agoclient: fix inode ll_ref reference count leak 37735/head
sepia-liu [Tue, 20 Oct 2020 09:24:57 +0000 (09:24 +0000)]
client: fix inode ll_ref reference count leak

Fixes: https://tracker.ceph.com/issues/47918
Signed-off-by: sepia-liu <liuwei_coder@163.com>
4 years agocmake: Bump boost version to 1.72
Adam C. Emerson [Thu, 22 Oct 2020 18:04:53 +0000 (14:04 -0400)]
cmake: Bump boost version to 1.72

This gives us s390 support for Boost.Context.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
4 years agoMerge pull request #37760 from athanatos/sjust/wip-fix-lba-leaf
Kefu Chai [Fri, 23 Oct 2020 00:33:48 +0000 (08:33 +0800)]
Merge pull request #37760 from athanatos/sjust/wip-fix-lba-leaf

crimson/seastore: remove invalid mutate_mapping assert

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #36204 into master
Patrick Donnelly [Fri, 23 Oct 2020 00:17:37 +0000 (17:17 -0700)]
Merge PR #36204 into master

* refs/pull/36204/head:
client: add command_lock support
client: defer swapping the newmap to mdsmap
client: try to grab the client_lock when needed
client: clean up the client code

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agocrimson/os/seastore/.../lba_btree_node_impl: remove invalid mutate_mapping assert 37760/head
Samuel Just [Thu, 22 Oct 2020 23:08:07 +0000 (16:08 -0700)]
crimson/os/seastore/.../lba_btree_node_impl: remove invalid mutate_mapping assert

A leaf node can have fewer than min_capacity items when it is the root.

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agotest/crimson/seastore/test_btree_lba_manager: test mutate_mapping on more split/merge...
Samuel Just [Thu, 22 Oct 2020 23:07:06 +0000 (16:07 -0700)]
test/crimson/seastore/test_btree_lba_manager: test mutate_mapping on more split/merge states

incref_mapping has a slightly different relationship with merge than
decref_mapping, update split/merge test to ensure that we call into
mutate_mapping at each step as the nodes fill, split, empty, and merge.

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agoMerge pull request #37715 from anthonyeleven/rados-doc-improvements
zdover23 [Thu, 22 Oct 2020 23:00:51 +0000 (09:00 +1000)]
Merge pull request #37715 from anthonyeleven/rados-doc-improvements

doc/rados: operations.rst: clarity, detail, modernization

Reviewed-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge PR #37702 into master
Patrick Donnelly [Thu, 22 Oct 2020 19:58:15 +0000 (12:58 -0700)]
Merge PR #37702 into master

* refs/pull/37702/head:
mon/MDSMonitor: do not ignore mds's down:dne request

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #37663 into master
Patrick Donnelly [Thu, 22 Oct 2020 19:57:46 +0000 (12:57 -0700)]
Merge PR #37663 into master

* refs/pull/37663/head:
msg/MFSMap: remove unused variable

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #37313 into master
Patrick Donnelly [Thu, 22 Oct 2020 19:55:54 +0000 (12:55 -0700)]
Merge PR #37313 into master

* refs/pull/37313/head:
cephfs-mirror: restart mirroring on blocklist
cephfs-mirror: public method to fetch peer list
cephfs-mirror: dump rados address in "fs mirror status" asok command
cephfs-mirror: handle blocklist errors during rewatch
cephfs-mirror: periodically drive mirror enable, disable and peer updates
cephfs-mirror: identify a ceph filesystem using (id, name)
cephfs-mirror: introduce Filesystem type
cephfs-mirror: record failed FSMirror instances
cephfs-mirror: protect FSMirror::is_stopping() under lock
cephfs-mirror: unregister asok commands outside lock
cephfs-mirror: spawn peer replayers on peer changes
cephfs-mirror: s/blacklist/blocklist/i
cephfs-mirror: s/dir_name/dir_path/

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #36004 into master
Patrick Donnelly [Thu, 22 Oct 2020 19:53:44 +0000 (12:53 -0700)]
Merge PR #36004 into master

* refs/pull/36004/head:
mds: detect mds-mds messages not of type MMDSOp
messages: inherit MMDSPing and MMDSMetrics from MMDSOp

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #36544 into master
Patrick Donnelly [Thu, 22 Oct 2020 19:52:01 +0000 (12:52 -0700)]
Merge PR #36544 into master

* refs/pull/36544/head:
vstart_runner: omit result line only when testcases are run one by one
vstart_runner: don't quit running testsuite on a test failure

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agomgr/dashboard: Extract ng-bootstrap-form-validation 37512/head
Tiago Melo [Thu, 1 Oct 2020 15:44:43 +0000 (15:44 +0000)]
mgr/dashboard: Extract ng-bootstrap-form-validation

Remove ng-bootstrap-form-validation and
extract part of its code into the dashboard.

Fixes: https://tracker.ceph.com/issues/47721
Signed-off-by: Tiago Melo <tmelo@suse.com>
4 years agoMerge pull request #35355 from ofriedma/wip-ofriedma-beast-timeout
Casey Bodley [Thu, 22 Oct 2020 14:37:05 +0000 (10:37 -0400)]
Merge pull request #35355 from ofriedma/wip-ofriedma-beast-timeout

rgw: Add request timeout to beast

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #37666 from pritha-srivastava/wip-rgw-gc-list-loop
Casey Bodley [Thu, 22 Oct 2020 14:14:33 +0000 (10:14 -0400)]
Merge pull request #37666 from pritha-srivastava/wip-rgw-gc-list-loop

rgw/gc: fixing the condition when marker for a queue is

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
4 years agoMerge pull request #37409 from pritha-srivastava/wip-rgw-gc-perf-counter
Casey Bodley [Thu, 22 Oct 2020 14:13:18 +0000 (10:13 -0400)]
Merge pull request #37409 from pritha-srivastava/wip-rgw-gc-perf-counter

rgw/gc: fix for incrementing the perf counter 'gc_retire_object'

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
4 years agoMerge PR #37752 into master
Patrick Donnelly [Thu, 22 Oct 2020 13:55:02 +0000 (06:55 -0700)]
Merge PR #37752 into master

* refs/pull/37752/head:
vstart.sh: fix fs set max_mds bug

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agolibrbd: expand migration spec to include an optional free-form source spec
Jason Dillaman [Thu, 15 Oct 2020 18:32:15 +0000 (14:32 -0400)]
librbd: expand migration spec to include an optional free-form source spec

This source-spec will include a JSON-encoded structure describing the source
format and protocol for accessing the source image data.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agolibrbd: refresh parent now utilizes migration open source request
Jason Dillaman [Thu, 15 Oct 2020 14:21:22 +0000 (10:21 -0400)]
librbd: refresh parent now utilizes migration open source request

The migration open source image state machine will handle how to
initialize the source ImageCtx depending on the format and
protocol utilized for the source image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agolibrbd: new migration IO image dispatch layer
Jason Dillaman [Wed, 14 Oct 2020 20:03:47 +0000 (16:03 -0400)]
librbd: new migration IO image dispatch layer

The initial hooks merely abstract the standard RBD parent/child
clone relationship. The basic interface, however, is abstract
enough to allow third party data formats and streams to be eventually
integrated with RBD live-migration.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agomgr/dashboard: Adding more style to the notification sidebar 37755/head
Nizamudeen A [Thu, 22 Oct 2020 13:28:19 +0000 (18:58 +0530)]
mgr/dashboard: Adding more style to the notification sidebar

This commit improves the notification sidebar styling by adding a border on the left side and the color of the border aligns with the type of the warning (succes, info or danger).

Fixes: https://tracker.ceph.com/issues/47950
Signed-off-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #36199 from ofriedma/wip-ofriedma-lc-fixes-tags-and
Matt Benjamin [Thu, 22 Oct 2020 12:16:25 +0000 (08:16 -0400)]
Merge pull request #36199 from ofriedma/wip-ofriedma-lc-fixes-tags-and

rgw: fix expiration header returned even if there is only one tag in …

4 years agomgr/dashboard/qa: add pylint check 37568/head
Tatjana Dehler [Mon, 12 Oct 2020 15:22:52 +0000 (17:22 +0200)]
mgr/dashboard/qa: add pylint check

Fixes: https://tracker.ceph.com/issues/47757
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
4 years agomgr/dashboard/qa: add isort check
Tatjana Dehler [Mon, 12 Oct 2020 13:58:17 +0000 (15:58 +0200)]
mgr/dashboard/qa: add isort check

Add isort check to the QA test files and
fix issues.

Fixes: https://tracker.ceph.com/issues/47757
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
4 years agomgr/dashboard/qa: add flake8 linting
Tatjana Dehler [Tue, 6 Oct 2020 07:03:31 +0000 (09:03 +0200)]
mgr/dashboard/qa: add flake8 linting

Add flake8 linting to the QA test files and
fix issues.

Fixes: https://tracker.ceph.com/issues/47757
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
4 years agodoc/releases/nautilus: fix typo 37754/head
Nathan Cutler [Thu, 22 Oct 2020 12:01:29 +0000 (14:01 +0200)]
doc/releases/nautilus: fix typo

Signed-off-by: Nathan Cutler <ncutler@suse.com>
4 years agomgr/dashboard: Created a Download and Copy-to-Clipboard option for the logs 37193/head
Nizamudeen A [Wed, 16 Sep 2020 13:54:31 +0000 (19:24 +0530)]
mgr/dashboard: Created a Download and Copy-to-Clipboard option for the logs

Created Download Button Component.
Added a Download and Copy-to-Clipboard button for the Cluster and Audit Logs in the Log section. Also added a flag in the current Copy2ClipboardButton directive to indicate the incoming string is actually a log.

Fixes: https://tracker.ceph.com/issues/47498
Signed-off-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #37745 from tchaikov/wip-crimson-recovery-cleanup
Kefu Chai [Thu, 22 Oct 2020 11:02:36 +0000 (19:02 +0800)]
Merge pull request #37745 from tchaikov/wip-crimson-recovery-cleanup

crimson/osd: add more privacy

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agomgr/dashboard: fix disable action for MGR modules 37753/head
Kiefer Chang [Thu, 22 Oct 2020 06:39:46 +0000 (14:39 +0800)]
mgr/dashboard: fix disable action for MGR modules

Fixes: https://tracker.ceph.com/issues/47947
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
4 years agovstart.sh: fix fs set max_mds bug 37752/head
jinmyeonglee [Thu, 22 Oct 2020 08:25:51 +0000 (17:25 +0900)]
vstart.sh: fix fs set max_mds bug

Fix a bug where the name used when creating a volume and the name used when setting max_mds were different.
Fixes: https://tracker.ceph.com/issues/47946
Signed-off-by: Jinmyeong Lee <jinmyeong.lee@linecorp.com>
4 years agorbd/image: remove implicit features when cloning 37743/head
lixiaoy1 [Thu, 22 Oct 2020 08:22:42 +0000 (04:22 -0400)]
rbd/image: remove implicit features when cloning

Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
4 years agoMerge pull request #37557 from wjwithagen/wjw-fix-warnings-clang-iterators
Kefu Chai [Thu, 22 Oct 2020 05:45:56 +0000 (13:45 +0800)]
Merge pull request #37557 from wjwithagen/wjw-fix-warnings-clang-iterators

mds,osd: fix clang warnings to prevent unneeded copies

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agomds: detect mds-mds messages not of type MMDSOp 36004/head
Jos Collin [Thu, 15 Oct 2020 11:30:50 +0000 (17:00 +0530)]
mds: detect mds-mds messages not of type MMDSOp

* Detect mds-mds messages not of type MMDSOp.
* Return true from MetricAggregator::ms_dispatch2 only when the peer is an MDS and the metrics is handled.

Fixes: https://tracker.ceph.com/issues/46426
Signed-off-by: Jos Collin <jcollin@redhat.com>
4 years agomessages: inherit MMDSPing and MMDSMetrics from MMDSOp
Jos Collin [Fri, 10 Jul 2020 07:38:43 +0000 (13:08 +0530)]
messages: inherit MMDSPing and MMDSMetrics from MMDSOp

The inter-MDS messages MMDSPing and MMDSMetrics should inherit from
MMDSOp before the MDS dispatch the message.

Fixes: https://tracker.ceph.com/issues/46426
Signed-off-by: Jos Collin <jcollin@redhat.com>
4 years agoMerge pull request #37709 from tchaikov/wip-common-pick-address
Kefu Chai [Thu, 22 Oct 2020 04:58:40 +0000 (12:58 +0800)]
Merge pull request #37709 from tchaikov/wip-common-pick-address

common/pick_address: fail if cannot bind with specified network family

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agocrimson/osd: add more privacy 37745/head
Kefu Chai [Thu, 22 Oct 2020 04:40:37 +0000 (12:40 +0800)]
crimson/osd: add more privacy

* reorder the member variable and member function definitions so the
  private members are listed at the end of class. as requested by
  the CodingStyle
* mark some member variables and member functions private, as long as
  they are not used by other classes or non-friend classes.
* document UrgentRecovery
* refactor BackgroundRecovery::get_scheduler_params() to dedup
  the comments

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #37739 from ivancich/wip-rados-ls-flush
J. Eric Ivancich [Wed, 21 Oct 2020 20:39:42 +0000 (16:39 -0400)]
Merge pull request #37739 from ivancich/wip-rados-ls-flush

tools/rados: flush formatter periodically during json output of `rados ls`

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 years agoMerge PR #37717 into master
Patrick Donnelly [Wed, 21 Oct 2020 20:33:21 +0000 (13:33 -0700)]
Merge PR #37717 into master

* refs/pull/37717/head:
doc/cephfs: add sample cephfs-shell.conf

Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #37622 from ivancich/wip-rgw-orphan-list-comma
J. Eric Ivancich [Wed, 21 Oct 2020 18:33:38 +0000 (14:33 -0400)]
Merge pull request #37622 from ivancich/wip-rgw-orphan-list-comma

rgw: rgw-orphan-list should use "plain" formatted `rados ls` output

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
4 years agotools/rados: flush formatter periodically during json output of `rados ls` 37739/head
J. Eric Ivancich [Wed, 21 Oct 2020 14:32:30 +0000 (10:32 -0400)]
tools/rados: flush formatter periodically during json output of `rados ls`

While `rados ls` is emitting object info through a json formatter,
flush the formatter after there are at least 4096 bytes are buffered
for output.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
4 years agodoc/rados/operations: clarity, detail, modernization 37715/head
Anthony D'Atri [Tue, 20 Oct 2020 07:51:44 +0000 (00:51 -0700)]
doc/rados/operations: clarity, detail, modernization

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
4 years agoMerge pull request #37615 from rhcs-dashboard/remove-last-change-column
Tatjana Dehler [Wed, 21 Oct 2020 16:32:55 +0000 (18:32 +0200)]
Merge pull request #37615 from rhcs-dashboard/remove-last-change-column

mgr/dashboard: Remove the "Last change" column in Pools table

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
4 years agolibrbd: fix issue with image-extent based ReadResult handler
Jason Dillaman [Wed, 14 Oct 2020 23:46:06 +0000 (19:46 -0400)]
librbd: fix issue with image-extent based ReadResult handler

The partial result should be based upon buffer-extent positions
not the original image-extent positions.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agotest/store_test: use 'threadsafe' style for death tests. 37738/head
Igor Fedotov [Wed, 21 Oct 2020 13:24:30 +0000 (16:24 +0300)]
test/store_test: use 'threadsafe' style for death tests.

Hopefully Fixes: https://tracker.ceph.com/issues/47328
Signed-off-by: Igor Fedotov <ifedotov@suse.com>