Commit Graph

116277 Commits

Author SHA1 Message Date
Jason Dillaman
0db501b2e3
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>
2020-10-26 07:57:47 -04:00
Lenz Grimmer
f99d15ab0d
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>
2020-10-26 12:57:32 +01:00
Jason Dillaman
43525ae5f5
Merge pull request #37743 from lixiaoy1/fix_1022
librbd/image: remove implicit features when cloning

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-10-26 07:55:42 -04:00
Lenz Grimmer
a363e69336
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>
2020-10-26 11:33:24 +01:00
Lenz Grimmer
b0e963a2c9
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>
2020-10-26 11:31:45 +01:00
Lenz Grimmer
10cb89241f
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>
2020-10-26 11:27:23 +01:00
Abhishek L
27916d18c0
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>
2020-10-26 10:36:17 +01:00
Jan Fajerski
562ee2a0a9 Merge PR #37415 into master
* refs/pull/37415/head:
	pybind/mgr/snap-schedule: fix deactivate

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2020-10-26 09:10:05 +01:00
Kefu Chai
07019beead
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>
2020-10-26 14:59:39 +08:00
Kefu Chai
9809db9099
Merge pull request #37759 from adamemerson/wip-context4all
cmake, rgw: always enable Boost.context

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-10-26 14:41:55 +08:00
Patrick Donnelly
d6097c4971
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>
2020-10-25 16:29:13 -07:00
Patrick Donnelly
0078579530
Merge PR #37735 into master
* refs/pull/37735/head:
	client: fix inode ll_ref reference count leak

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-25 16:27:48 -07:00
Patrick Donnelly
c569036c5d
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>
2020-10-25 16:26:36 -07:00
Patrick Donnelly
e059e9666c
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>
2020-10-25 16:25:24 -07:00
Nathan Cutler
e3c0edf616
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>
2020-10-24 22:27:00 +02:00
Lenz Grimmer
77bb88be28
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>
2020-10-24 19:02:58 +02:00
Kefu Chai
5a59e16b97
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>
2020-10-25 00:17:33 +08:00
Kefu Chai
6678c7c6c2
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>
2020-10-25 00:15:29 +08:00
Sridhar Seshasayee
5c987403eb
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>
2020-10-24 13:22:01 +05:30
Willem Jan Withagen
77f2f88dcb 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::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>
2020-10-24 01:53:14 +02:00
Patrick Donnelly
21d9f8333b
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: 7a1f02acfe
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-23 16:33:44 -07:00
Patrick Donnelly
4022c1f1fb
test/mon: add tests for mon_host build by hostname
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-23 16:33:44 -07:00
Patrick Donnelly
06f44cbf12
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>
2020-10-23 16:29:30 -07:00
Patrick Donnelly
8408b63e90
test/mon: build MonMap unittest
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-23 16:29:30 -07:00
Neha Ojha
27871caa7f
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>
2020-10-23 08:35:02 -07:00
Adam C. Emerson
5429f10c47 dpkg: Remove use of no-longer-existing WITH_BOOST_CONTEXT option
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2020-10-23 11:21:53 -04:00
Adam C. Emerson
c9d20eb1a0 rpm: Remove use of no-longer-existing WITH_BOOST_CONTEXT option
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2020-10-23 11:21:53 -04:00
Adam C. Emerson
b132d68930 {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>
2020-10-23 11:21:53 -04:00
Lenz Grimmer
6434564e71
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>
2020-10-23 16:47:20 +02:00
Lenz Grimmer
1e131d5a99
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>
2020-10-23 16:45:28 +02:00
Lenz Grimmer
2564dd4b09
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>
2020-10-23 13:57:51 +02:00
Lenz Grimmer
a38d766881
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>
2020-10-23 13:29:32 +02:00
Kefu Chai
8ecce5cfa2
Merge pull request #37748 from Rethan/msg_remove_dispatch_strategy
msg: move DispatchStrategy into test/

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-10-23 18:09:20 +08:00
Nizamudeen A
e6b7b9d3e4 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>
2020-10-23 14:46:24 +05:30
Kefu Chai
cdf596c8ca
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>
2020-10-23 16:15:35 +08:00
Kefu Chai
85acc8bf12 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>
2020-10-23 16:02:16 +08:00
Kefu Chai
990f742b38 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>
2020-10-23 16:02:16 +08:00
Kefu Chai
fb725f7cc3 mgr: use make_unique<> when appropriate
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-23 16:02:16 +08:00
Xiubo Li
0422673b61 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>
2020-10-23 14:27:37 +08:00
Xiubo Li
cb8081ce7f 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>
2020-10-23 14:27:37 +08:00
Xiubo Li
3b5303482f qa/cephfs: add 'cephfs:' section support
Fixes: https://tracker.ceph.com/issues/47565
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-10-23 14:27:30 +08:00
Kefu Chai
179f6a1c7a
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>
2020-10-23 14:19:32 +08:00
Brad Hubbard
76eb858e40 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>
2020-10-23 16:07:07 +10:00
haoyixing
65c66f2fda 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>
2020-10-23 11:27:02 +08:00
sepia-liu
019ba52c8f client: fix inode ll_ref reference count leak
Fixes: https://tracker.ceph.com/issues/47918

Signed-off-by: sepia-liu <liuwei_coder@163.com>
2020-10-23 09:50:35 +08:00
Adam C. Emerson
713efb66e8 cmake: Bump boost version to 1.72
This gives us s390 support for Boost.Context.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2020-10-22 21:39:50 -04:00
Kefu Chai
43710ed030
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>
2020-10-23 08:33:48 +08:00
Patrick Donnelly
f946e783ee
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>
2020-10-22 17:17:37 -07:00
Samuel Just
2c3bed268c 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>
2020-10-22 16:12:25 -07:00
Samuel Just
8bf261016f 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>
2020-10-22 16:07:06 -07:00