Commit Graph

116432 Commits

Author SHA1 Message Date
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
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