]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 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 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 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 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 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 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: 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 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 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 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>
4 years agomgr/dashboard: assign flags to single OSDs 36449/head
Tatjana Dehler [Mon, 27 Jul 2020 09:33:19 +0000 (11:33 +0200)]
mgr/dashboard: assign flags to single OSDs

Add the possibility to assign the flags ['noup',
'nodown', 'noin', 'noout'] to single OSDs.

Fixes: https://tracker.ceph.com/issues/40739
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
4 years agoMerge pull request #37088 from Devp00l/wip-37408
Lenz Grimmer [Wed, 21 Oct 2020 13:06:52 +0000 (15:06 +0200)]
Merge pull request #37088 from Devp00l/wip-37408

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
4 years agoMerge pull request #37416 from tspmelo/wip-rbd-clone
Lenz Grimmer [Wed, 21 Oct 2020 13:06:27 +0000 (15:06 +0200)]
Merge pull request #37416 from tspmelo/wip-rbd-clone

mgr/dashboard: Disable RBD clone action when conditions are not met

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
4 years agoMerge pull request #37396 from SMIL-IT/fix-keycount
Daniel Gryniewicz [Wed, 21 Oct 2020 12:48:03 +0000 (08:48 -0400)]
Merge pull request #37396 from SMIL-IT/fix-keycount

rgw: fix: S3 API KeyCount incorrect return.

4 years agomgr/dashboard: remove custom class `oa-hr-small`
Tatjana Dehler [Thu, 1 Oct 2020 12:59:28 +0000 (14:59 +0200)]
mgr/dashboard: remove custom class `oa-hr-small`

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
4 years agomgr/dashboard: remove unnecessary blank
Tatjana Dehler [Wed, 2 Sep 2020 14:09:18 +0000 (16:09 +0200)]
mgr/dashboard: remove unnecessary blank

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
4 years agodoc/releases: add Nautilus 14.2.12 release notes 37718/head
Nathan Cutler [Tue, 20 Oct 2020 11:28:24 +0000 (13:28 +0200)]
doc/releases: add Nautilus 14.2.12 release notes

Also fix missing Octopus 15.2.5 in "doc/releases/general.rst" and
"doc/releases/releases.yml"

Signed-off-by: Nathan Cutler <ncutler@suse.com>
4 years agoMerge pull request #37727 from dillaman/wip-librbd-readresult-clip
Mykola Golub [Wed, 21 Oct 2020 08:14:24 +0000 (11:14 +0300)]
Merge pull request #37727 from dillaman/wip-librbd-readresult-clip

librbd: remove io::ReadResult::set_clip_length

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #37726 from dillaman/wip-librbd-remove-image-cache
Mykola Golub [Wed, 21 Oct 2020 08:13:35 +0000 (11:13 +0300)]
Merge pull request #37726 from dillaman/wip-librbd-remove-image-cache

librbd: remove remainder of ImageCache API hooks

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agoqa/tasks: tear down the background process before unmounting 37652/head
Xiubo Li [Tue, 13 Oct 2020 08:11:43 +0000 (16:11 +0800)]
qa/tasks: tear down the background process before unmounting

If the background process keeps running by opening the mountpoint
directory, the unmount will fail with BUSY.

Fixes: https://tracker.ceph.com/issues/46883
Signed-off-by: Xiubo Li <xiubli@redhat.com>
4 years agoqa/tasks: switch to _kill_background() helper to terminate the daemons
Xiubo Li [Mon, 19 Oct 2020 01:57:09 +0000 (21:57 -0400)]
qa/tasks: switch to _kill_background() helper to terminate the daemons

Fixes: https://tracker.ceph.com/issues/46883
Signed-off-by: Xiubo Li <xiubli@redhat.com>
4 years agoMerge pull request #37614 from smithfarm/wip-revert-suse-podman-requires
Kefu Chai [Wed, 21 Oct 2020 07:23:06 +0000 (15:23 +0800)]
Merge pull request #37614 from smithfarm/wip-revert-suse-podman-requires

Revert "rpm: on SUSE, podman is required for cephadm to work" and "spec: Podman (temporarily) requires apparmor-abstractions on suse"

Reviewed-by: Michael Fritch <mfritch@suse.com>
4 years agodoc/cephfs: add sample cephfs-shell.conf 37717/head
Rishabh Dave [Mon, 28 Sep 2020 05:38:16 +0000 (11:08 +0530)]
doc/cephfs: add sample cephfs-shell.conf

And elaborate the description about it.

Fixes: https://tracker.ceph.com/issues/43028
Signed-off-by: Rishabh Dave <ridave@redhat.com>
4 years agoMerge pull request #37403 from athanatos/sjust/wip-seastore-gc
Kefu Chai [Wed, 21 Oct 2020 03:01:42 +0000 (11:01 +0800)]
Merge pull request #37403 from athanatos/sjust/wip-seastore-gc

crimson/seastore: add online gc to seastore

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #37731 from adk3798/cephadm-logs
Sebastian Wagner [Tue, 20 Oct 2020 22:51:49 +0000 (00:51 +0200)]
Merge pull request #37731 from adk3798/cephadm-logs

doc: document additional journal args in cephadm logs command

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc: document additional journal args in cephadm logs command 37731/head
Adam King [Tue, 20 Oct 2020 20:08:28 +0000 (16:08 -0400)]
doc: document additional journal args in cephadm logs command

Signed-off-by: Adam King <adking@redhat.com>
4 years agotest/crimson/seastore/test_btree_lba_manager: fix get_overlap 37403/head
Samuel Just [Mon, 19 Oct 2020 22:14:43 +0000 (15:14 -0700)]
test/crimson/seastore/test_btree_lba_manager: fix get_overlap

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agotest/crimson/seastore/test_btree_lba_manager: add single transaction split/merge...
Samuel Just [Mon, 19 Oct 2020 22:14:28 +0000 (15:14 -0700)]
test/crimson/seastore/test_btree_lba_manager: add single transaction split/merge test

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/.../lba_btree_node_impl: always return absolute or record relativ...
Samuel Just [Mon, 19 Oct 2020 20:14:21 +0000 (13:14 -0700)]
crimson/os/seastore/.../lba_btree_node_impl: always return absolute or record relative addrs

insert and lookup_range should return absolute or record-relative addrs,
never block relative.

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/.../lba_btree_node_impl: use node_[un]resolve_vals
Samuel Just [Mon, 19 Oct 2020 20:13:26 +0000 (13:13 -0700)]
crimson/os/seastore/.../lba_btree_node_impl: use node_[un]resolve_vals

Implement node_[un]resolve_vals to transform values to/from block relative
representations when copying out of/in to newly created blocks.  This can
happen when splitting a node which has had entries added during the
same transaction, or itself was created during the transaction.

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/common/fixed_kv_node_layout: add support for node dependent values
Samuel Just [Mon, 19 Oct 2020 20:10:32 +0000 (13:10 -0700)]
crimson/common/fixed_kv_node_layout: add support for node dependent values

node_[un]resolve_vals can be used by implementations to transform vals
during split and merge.

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agotest/crimson/seastore/test_transaction_manager: add test for large single-transaction...
Samuel Just [Mon, 19 Oct 2020 21:11:31 +0000 (14:11 -0700)]
test/crimson/seastore/test_transaction_manager: add test for large single-transaction split/merge

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/lba_manager/btree: fix lookup_range, scan_* references with weak...
Samuel Just [Mon, 19 Oct 2020 21:44:16 +0000 (14:44 -0700)]
crimson/os/seastore/lba_manager/btree: fix lookup_range, scan_* references with weak transactions

Weak transactions won't keep references in memory as we traverse
the tree, update each recursive call to ensure lifecycle of
this.

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agotest/crimson/seastore: extract common test logic for transaction_maanager initialization
Samuel Just [Wed, 14 Oct 2020 07:13:40 +0000 (00:13 -0700)]
test/crimson/seastore: extract common test logic for transaction_maanager initialization

This should make it somewhat easier to avoid breaking tests that
depend on transaction_manager.

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/segment_cleaner: add online gc
Samuel Just [Thu, 17 Sep 2020 23:40:50 +0000 (16:40 -0700)]
crimson/os/seastore/segment_cleaner: add online gc

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agotest/crimson/seastore/test_transaction_manager: close and reopen tm after mkfs
Samuel Just [Thu, 17 Sep 2020 23:11:26 +0000 (16:11 -0700)]
test/crimson/seastore/test_transaction_manager: close and reopen tm after mkfs

We'll just require this generally.  Most of the time, mkfs will be a
standalone operation anyway.

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/lba_manager: add get_physical_extent_if_live
Samuel Just [Thu, 17 Sep 2020 22:56:20 +0000 (15:56 -0700)]
crimson/os/seastore/lba_manager: add get_physical_extent_if_live

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/cache: add public, cache aware get_extent_by_type variants
Samuel Just [Thu, 17 Sep 2020 22:49:17 +0000 (15:49 -0700)]
crimson/os/seastore/cache: add public, cache aware get_extent_by_type variants

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agoos/seastore/journal: replay_segment: skip replay on deltas to released segments
Samuel Just [Thu, 17 Sep 2020 22:45:56 +0000 (15:45 -0700)]
os/seastore/journal: replay_segment: skip replay on deltas to released segments

See comment.

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/journal: fix get_journal_seq
Samuel Just [Thu, 17 Sep 2020 22:28:06 +0000 (15:28 -0700)]
crimson/os/seastore/journal: fix get_journal_seq

current_journal_segment_seq was misleading -- it's actually the value
for the next one.  Fix naming and update get_journal_seq.

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore: add journal_replay check and debugging
Samuel Just [Thu, 17 Sep 2020 22:15:43 +0000 (15:15 -0700)]
crimson/os/seastore: add journal_replay check and debugging

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/journal: add segment_header_t operator<<
Samuel Just [Thu, 17 Sep 2020 22:15:05 +0000 (15:15 -0700)]
crimson/os/seastore/journal: add segment_header_t operator<<

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/cache: add duplicate_for_write debugging
Samuel Just [Thu, 17 Sep 2020 22:14:11 +0000 (15:14 -0700)]
crimson/os/seastore/cache: add duplicate_for_write debugging

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/journal: check offset against segment length in replay
Samuel Just [Tue, 1 Sep 2020 23:08:01 +0000 (16:08 -0700)]
crimson/os/journal: check offset against segment length in replay

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/journal: no need for p2roundup, to_write must already be aligned
Samuel Just [Fri, 28 Aug 2020 09:55:15 +0000 (02:55 -0700)]
crimson/os/seastore/journal: no need for p2roundup, to_write must already be aligned

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/cache: simplify new extent paddr mapping during complete_transaction
Samuel Just [Fri, 28 Aug 2020 09:54:54 +0000 (02:54 -0700)]
crimson/os/seastore/cache: simplify new extent paddr mapping during complete_transaction

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/journal: improve encode_record debugging
Samuel Just [Tue, 1 Sep 2020 23:08:12 +0000 (16:08 -0700)]
crimson/os/seastore/journal: improve encode_record debugging

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/journal: use scan_segment to add extent scan
Samuel Just [Fri, 4 Sep 2020 07:46:40 +0000 (00:46 -0700)]
crimson/os/seastore/journal: use scan_segment to add extent scan

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/journal: generalize replay scan
Samuel Just [Fri, 4 Sep 2020 07:46:19 +0000 (00:46 -0700)]
crimson/os/seastore/journal: generalize replay scan

We'll need to do at least two forms of scan:
- deltas for replay
- extents for gc

Most of the mechanics are common, however, so this patch
hoists the common machinery into scan_segemnt.

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/journal: record extents types and laddr in record metadata
Samuel Just [Fri, 4 Sep 2020 04:17:52 +0000 (21:17 -0700)]
crimson/os/seastore/journal: record extents types and laddr in record metadata

We'll need this to scan segments for live blocks.

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/journal: use metadata size for block base rather than assuming...
Samuel Just [Fri, 28 Aug 2020 08:53:41 +0000 (01:53 -0700)]
crimson/os/seastore/journal: use metadata size for block base rather than assuming one block

Uncaught because it's rare for the metadata prefix to exceed 4k.

Signed-off-by: Samuel Just <sjust@redhat.com>