Commit Graph

116419 Commits

Author SHA1 Message Date
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
Kiefer Chang
d8c393bafa
mgr/dashboard: fix disable action for MGR modules
Fixes: https://tracker.ceph.com/issues/47947
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
2020-10-22 17:02:01 +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
lixiaoy1
a5a172a633 rbd/image: remove implicit features when cloning
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
2020-10-22 04:23:38 -04: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
Jason Dillaman
e943ac80ac 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>
2020-10-21 12:25:03 -04:00
Igor Fedotov
99ac34cbfe 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>
2020-10-21 16:24:30 +03: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
Nathan Cutler
23ee4e6a2d 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>
2020-10-21 10:24:01 +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
Xiubo Li
7acd445fcc 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>
2020-10-21 04:02:38 -04:00
Xiubo Li
def177ff3b 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>
2020-10-21 04:01:35 -04: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
Rishabh Dave
6f95ebf04a 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>
2020-10-21 10:10:38 +05:30
Kefu Chai
af4d035d3c
Merge pull request #37403 from athanatos/sjust/wip-seastore-gc
crimson/seastore: add online gc to seastore

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-10-21 11:01:42 +08:00
Sebastian Wagner
687ade71be
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>
2020-10-21 00:51:49 +02:00
Adam King
5224c5baf4 doc: document additional journal args in cephadm logs command
Signed-off-by: Adam King <adking@redhat.com>
2020-10-20 16:08:28 -04:00
Samuel Just
5f3348e06a test/crimson/seastore/test_btree_lba_manager: fix get_overlap
Signed-off-by: Samuel Just <sjust@redhat.com>
2020-10-20 12:27:12 -07:00
Samuel Just
33f61b832a test/crimson/seastore/test_btree_lba_manager: add single transaction split/merge test
Signed-off-by: Samuel Just <sjust@redhat.com>
2020-10-20 12:27:12 -07:00
Samuel Just
0266f5851e 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>
2020-10-20 12:27:12 -07:00
Samuel Just
95ddd9cfc8 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>
2020-10-20 12:27:12 -07:00
Samuel Just
88fd179489 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>
2020-10-20 12:27:12 -07:00
Samuel Just
0f5b5d0043 test/crimson/seastore/test_transaction_manager: add test for large single-transaction split/merge
Signed-off-by: Samuel Just <sjust@redhat.com>
2020-10-20 12:27:12 -07:00
Samuel Just
513ec5333b 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>
2020-10-20 12:27:12 -07:00
Samuel Just
2ac5ba6fbf 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>
2020-10-20 12:27:12 -07:00
Samuel Just
debd83d175 crimson/os/seastore/segment_cleaner: add online gc
Signed-off-by: Samuel Just <sjust@redhat.com>
2020-10-20 12:27:08 -07:00
Samuel Just
c8d3d47dfe 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>
2020-10-20 12:27:08 -07:00
Samuel Just
562224b70c crimson/os/seastore/lba_manager: add get_physical_extent_if_live
Signed-off-by: Samuel Just <sjust@redhat.com>
2020-10-20 12:27:08 -07:00
Samuel Just
37783172a6 crimson/os/seastore/cache: add public, cache aware get_extent_by_type variants
Signed-off-by: Samuel Just <sjust@redhat.com>
2020-10-20 12:27:08 -07:00
Samuel Just
c300ec9630 os/seastore/journal: replay_segment: skip replay on deltas to released segments
See comment.

Signed-off-by: Samuel Just <sjust@redhat.com>
2020-10-20 12:27:08 -07:00
Samuel Just
41df0a17b4 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>
2020-10-20 12:27:08 -07:00
Samuel Just
7b242b56ef crimson/os/seastore: add journal_replay check and debugging
Signed-off-by: Samuel Just <sjust@redhat.com>
2020-10-20 12:27:08 -07:00
Samuel Just
f3b79db4e4 crimson/os/seastore/journal: add segment_header_t operator<<
Signed-off-by: Samuel Just <sjust@redhat.com>
2020-10-20 12:27:08 -07:00