Commit Graph

116222 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Nizamudeen A
f4c3ac1add 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>
2020-10-22 16:39:37 +05:30
Kefu Chai
35ff387850
Merge pull request #37745 from tchaikov/wip-crimson-recovery-cleanup
crimson/osd: add more privacy

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-10-22 19:02:36 +08:00
jinmyeonglee
6a9445c2cb 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>
2020-10-22 17:25:51 +09:00
Kefu Chai
0acdb82146
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>
2020-10-22 13:45:56 +08:00
Jos Collin
05b6cbe908
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>
2020-10-22 10:31:46 +05:30
Jos Collin
18c1386f1d
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>
2020-10-22 10:31:46 +05:30
Kefu Chai
170b6ef9be
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>
2020-10-22 12:58:40 +08:00
Kefu Chai
3f52aef0f6 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>
2020-10-22 12:44:52 +08:00
J. Eric Ivancich
bb1a7be8a4
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>
2020-10-21 16:39:42 -04:00
Patrick Donnelly
e32cdd28b1
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>
2020-10-21 13:33:21 -07:00
J. Eric Ivancich
35d41101a7
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>
2020-10-21 14:33:38 -04:00
J. Eric Ivancich
1548ef7a97 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>
2020-10-21 14:19:31 -04:00
Anthony D'Atri
ade052e08a doc/rados/operations: clarity, detail, modernization
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-10-21 10:56:05 -07:00
Tatjana Dehler
71dd328cec
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>
2020-10-21 18:32:55 +02:00
Tatjana Dehler
3639332f34 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>
2020-10-21 15:11:23 +02:00
Lenz Grimmer
6bd8fa8679
Merge pull request #37088 from Devp00l/wip-37408
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-10-21 15:06:52 +02:00
Lenz Grimmer
7d9d3a60d5
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>
2020-10-21 15:06:27 +02:00
Daniel Gryniewicz
0477cc2b0e
Merge pull request #37396 from SMIL-IT/fix-keycount
rgw: fix: S3 API KeyCount incorrect return.
2020-10-21 08:48:03 -04:00
Tatjana Dehler
9a66425fa4 mgr/dashboard: remove custom class oa-hr-small
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2020-10-21 12:06:21 +02:00
Tatjana Dehler
52a9c7610d mgr/dashboard: remove unnecessary blank
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2020-10-21 12:06:21 +02:00
Mykola Golub
656386e9c0
Merge pull request #37727 from dillaman/wip-librbd-readresult-clip
librbd: remove io::ReadResult::set_clip_length

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-10-21 11:14:24 +03:00
Mykola Golub
2ee4aecb02
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>
2020-10-21 11:13:35 +03:00
Kefu Chai
20d7d5180a
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>
2020-10-21 15:23:06 +08:00