Commit Graph

116419 Commits

Author SHA1 Message Date
Patrick Donnelly
8408b63e90
test/mon: build MonMap unittest
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-23 16:29:30 -07:00
Daniel Gryniewicz
96ed166570 Don't writeback when inside a readdir callback
The code updates some attributes that may have changed between versions
when doing a lookup.  However, a lookup can be done from within a
readdir callback, which causes a deadlock during the writeback.  Extend
the flag indicating we're in a callback all the way down, so we can
conditionally avoid the write.

Fixes RHBZ#1845501

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2020-10-23 12:43:03 -04: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
Kefu Chai
36759b5363 ceph.spec.in: install gcc-toolset on RHEL only
there is no need to use GTS for compiling crimson, as the GCC-10 shipped by
fedora32 is good enough.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-23 10:49:08 +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
zdover23
a5b6270464
Merge pull request #37715 from anthonyeleven/rados-doc-improvements
doc/rados: operations.rst: clarity, detail, modernization

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-10-23 09:00:51 +10:00
Patrick Donnelly
ad61410b7e
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>
2020-10-22 12:58:15 -07:00
Patrick Donnelly
f16b3fc114
Merge PR #37663 into master
* refs/pull/37663/head:
	msg/MFSMap: remove unused variable

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-22 12:57:46 -07:00
Patrick Donnelly
262ee22b3a
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>
2020-10-22 12:55:54 -07:00
Patrick Donnelly
a070d4150d
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>
2020-10-22 12:53:44 -07:00
Patrick Donnelly
24137e1ffa
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>
2020-10-22 12:52:01 -07:00
Kamoltat
2af2afa5e9 mgr/progress: Global Recovery Event in ceph -s
Modified the progress module and BaseMgrModule to
support Global Recovert Event. Adding more arguments
to update_progress_event, ceph_update_progress_event.
To only show global recovery event progress with `ceph -s`.
All sub events have been move to `ceph progress`

Signed-off-by: Kamoltat <ksirivad@redhat.com>
2020-10-22 16:44:50 +00:00
Tiago Melo
72e9c78d15 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>
2020-10-22 15:24:43 +00:00
Casey Bodley
0d37cd30c8
Merge pull request #35355 from ofriedma/wip-ofriedma-beast-timeout
rgw: Add request timeout to beast

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-10-22 10:37:05 -04:00
Casey Bodley
f4d8625e0e
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>
2020-10-22 10:14:33 -04:00
Casey Bodley
5b0b33d223
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>
2020-10-22 10:13:18 -04:00
Patrick Donnelly
7247abe343
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>
2020-10-22 06:55:02 -07:00
Jason Dillaman
23d28ed969 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>
2020-10-22 09:40:40 -04:00
Jason Dillaman
8ad19af30a 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>
2020-10-22 09:40:40 -04:00
Jason Dillaman
1c47afb197 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>
2020-10-22 09:40:39 -04:00
Nizamudeen A
d2bb9269f8 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>
2020-10-22 19:09:17 +05:30
Matt Benjamin
68668f7d25
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 …
2020-10-22 08:16:25 -04:00
Tatjana Dehler
1b67691492 mgr/dashboard/qa: add pylint check
Fixes: https://tracker.ceph.com/issues/47757
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2020-10-22 14:12:14 +02:00
Tatjana Dehler
1474259b65 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>
2020-10-22 14:12:14 +02:00
Tatjana Dehler
bc3d1997bd 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>
2020-10-22 14:12:14 +02:00
Nathan Cutler
055d6ee140 doc/releases/nautilus: fix typo
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-10-22 14:01:29 +02:00