Commit Graph

122954 Commits

Author SHA1 Message Date
Kotresh HR
2bd6ba8026 test: Add test for mgr hang when osd is full
Add fs suite for tests requiring one node as well.

Fixes: https://tracker.ceph.com/issues/50532
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2021-05-22 19:09:07 +05:30
Kotresh HR
d95655cc48 mgr: Set client_check_pool_perm to false
When osd is full, checking pool permission causes
mgr to hang. Hence disabling it.

Fixes: https://tracker.ceph.com/issues/50532
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2021-05-19 13:09:01 +05:30
Kotresh HR
6db81d8479 mds: Add full caps to avoid osd full check
Fixes: https://tracker.ceph.com/issues/50532
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2021-05-19 13:08:37 +05:30
Samuel Just
8eeca6efdc
Merge pull request #41272 from Aran85/fix-assert
crimson/os: cleanup wrongly assertion

Reviewed-by: Samuel Just <sjust@redhat.com>
2021-05-11 08:06:56 -07:00
Samuel Just
d531b69a69
Merge pull request #41274 from tchaikov/wip-crimson-os-cleanups
crimson/os/seastore: do not capture unused variables

Reviewed-by: Samuel Just <sjust@redhat.com>
2021-05-11 08:06:01 -07:00
Sebastian Wagner
2f4dc31477
Merge pull request #41193 from sebastian-philipp/cephadm-cephfs-mirror-key-profile-cephfs-mirror
mgr/cephadm: Use `cephfs-mirror` caps profile

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2021-05-11 16:45:44 +02:00
Sebastian Wagner
754bae0217
Merge pull request #41181 from adk3798/iscsi-timeout
mgr/cephadm: add timeout when removing iscsi gateway.conf

Reviewed-by: Daniel Pivonka <dpivonka@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2021-05-11 16:44:17 +02:00
Sebastian Wagner
fb29ed97b3
Merge pull request #41175 from mgfritch/cephadm-autopep8
cephadm: introduce autopep8

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2021-05-11 16:43:14 +02:00
Sebastian Wagner
0b5f2ffc6d
Merge pull request #41250 from VasishtaShastry/tune_err_msg
mgr: Fix orch osd rm stop help message

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-05-11 15:03:49 +02:00
Kefu Chai
331fb495d5
Merge pull request #41240 from tchaikov/wip-debian-install-cleanup
debian/ceph-common.postinst: fix indent and cleanups

Reviewed-by: Sage Weil <sage@redhat.com>
2021-05-11 21:02:53 +08:00
Kefu Chai
8ff85103cb
Merge pull request #41276 from tchaikov/wip-docs-responsive-button
doc/_theme: show the menu button

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2021-05-11 20:57:49 +08:00
zdover23
36afbb8e2f
Merge pull request #41265 from zdover23/wip-doc-config-ssl-tls-for-grafana-2021-05-11
doc/cephadm: rewrite "config ssl/tls f. grafana"

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-05-11 22:52:14 +10:00
Ilya Dryomov
d4579e1dca
Merge pull request #41194 from idryomov/wip-rbd-pwl-status
rbd: don't attempt to interpret image cache state json

Reviewed-by: Yin Congmin <congmin.yin@intel.com>
Reviewed-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
2021-05-11 13:05:11 +02:00
Kefu Chai
58713ea61e doc/_theme: show the menu button
because we have a top-nav bar, which is setting on top of the bar
containing the menu button when the docs is displayed wit a device with
smaller width. in this change, the container of the menu button is moved
down a little bit, so it is visible again.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-11 17:57:47 +08:00
Kefu Chai
1e697560f8 crimson/os/seastore: do not capture unused variables
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-11 16:56:44 +08:00
Ernesto Puerta
8211fbacc9
Merge pull request #41100 from navinbarnwal/MinorIssueFeature
mgr/dashboard: fix rename inventory to disks

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-05-11 10:28:36 +02:00
Aran85
a87c751ed9 crimson/os: cleanup wrongly assertion
Signed-off-by: Zengran Zhang <zhangzengran@sangfor.com.cn>
2021-05-11 16:13:44 +08:00
Kefu Chai
a37dde650e
Merge pull request #41269 from tchaikov/wip-mgr-max_misplaced
doc/rados/operations: s/max_misplaced/target_max_misplaced_ratio/

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-05-11 15:39:02 +08:00
Samuel Just
961afd428e
Merge pull request #41075 from cyx1231st/wip-seastore-onode-mgr
crimson/seastore: integrate and test onode-erase/list features

Reviewed-by: Samuel Just <sjust@redhat.com>
2021-05-10 23:43:26 -07:00
Kefu Chai
cc43462ab3 doc/rados/operations: s/max_misplaced/target_max_misplaced_ratio/
max_misplaced with replaced by in target_max_misplaced_ratio
edbd592ee4, but the document was not
sync'ed. let's update it accordingly.

Fixes: https://tracker.ceph.com/issues/50745
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-11 12:23:02 +08:00
Kefu Chai
4a4c2fe8c8
Merge pull request #41207 from paulreece42/wip-doc-balancer-options
doc: added doc on more throttling options for the PG balancer module

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-05-11 12:04:49 +08:00
Zac Dover
b9554b0840 doc/cephadm: rewrite "config ssl/tls f. grafana"
This PR streamlines the grammar in the subsection
called "Configuring SSL/TLS for Grafana" in the
monitoring.rst file. It also corrects the prompt
rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-05-11 09:19:10 +10:00
Patrick Donnelly
8594b4f9a5
Merge PR #41128 into master
* refs/pull/41128/head:
	qa/crontab: reduce frequency of pacific nightlies

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-05-10 07:43:43 -07:00
J. Eric Ivancich
c48fe06e3f
Merge pull request #40563 from BryceCao/wip_add_check_for_sync_url
rgw : add check empty for sync url

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-05-10 10:32:39 -04:00
J. Eric Ivancich
0132accc1c
Merge pull request #38729 from rosinL/fix-rgw-file-read
rgw/rgw_file: Fix the return value of read() and readlink()

Reviewed-by: Matt Benjamin mbenjamin@redhat.com
2021-05-10 10:32:11 -04:00
J. Eric Ivancich
89125de281
Merge pull request #36305 from ivancich/wip-ordered-list-map-efficiency
rgw: ordered list map efficiency

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-05-10 10:31:42 -04:00
Daniel Gryniewicz
5dd603946f
Merge pull request #41108 from dang/wip-dang-zipper-link
RGW Zipper - Remove link/unlink from API
2021-05-10 10:15:57 -04:00
Kefu Chai
4029ac1d87
Merge pull request #37720 from ifed01/wip-ifed-alloc-tool-fixes
os/bluestore: some minor fixes/improvements for allocator's stats inquiries

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2021-05-10 21:26:17 +08:00
VasishtaShastry
87fe9cec8a mgr: Fix orch osd rm stop help message
Corrects help message of `ceph orch osd rm --help`
Doc link - https://docs.ceph.com/en/latest/cephadm/osd/#stopping-osd-removal

Signed-off-by: VasishtaShastry <vipin.indiasmg@gmail.com>
2021-05-10 18:24:49 +05:30
Amnon Hanuhov
7860c48b22
Merge pull request #40931 from AmnonHanuhov/wip-refactor_conn_send
crimson/net: Refactor conn::send()
2021-05-10 13:37:29 +03:00
Ernesto Puerta
932b294147
Merge pull request #41218 from rhcs-dashboard/revert-base-href
mgr/dashboard: fix base-href: revert it to previous approach

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-05-10 10:28:41 +02:00
Ilya Dryomov
907044dc59
Merge pull request #41185 from idryomov/wip-rbd-pwl-reopen
librbd/cache/pwl: fix parsing of cache_type in create_image_cache_state()

Reviewed-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
Reviewed-by: Yin Congmin <congmin.yin@intel.com>
2021-05-09 21:49:53 +02:00
Kefu Chai
8aa5ea0cf1 debian/ceph-common.postinst: fix indent and cleanups
* add editor variables for emacs
* replace tab with 8 spaces
* move "then" to previous line to be more consistent

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-08 23:15:07 +08:00
J. Eric Ivancich
2a30142d8a
Merge pull request #41141 from ivancich/wip-listing-initial-marker
rgw: fix bucket object listing when marker matches prefix

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2021-05-08 10:55:37 -04:00
J. Eric Ivancich
0e24f05d7e
Merge pull request #41140 from ivancich/wip-bucket-purge-paging
rgw: radosgw_admin remove bucket not purging past 1,000 objects

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-05-08 10:54:58 -04:00
J. Eric Ivancich
d568416961
Merge pull request #40886 from pritha-srivastava/wip-rgw-mfa-pin-check
rgw: fix for mfa resync crash when supplied with only one totp_pin.

Reviewed-by: Matt Benjamin mbenjamin@redhat.com
2021-05-08 10:54:08 -04:00
Kefu Chai
078b30e1f1
Merge pull request #41166 from tchaikov/wip-cmake-cython-cflags
cmake: remove cflags from CC

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-05-08 21:17:19 +08:00
Kefu Chai
467932a430
Merge pull request #41234 from tchaikov/wip-crimson-common
crimson/common: use string_view when appropriate

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
2021-05-08 20:00:37 +08:00
Kefu Chai
f3be0d8d81 crimson/common: use string_view when appropriate
the typical use case of get_val() passes a literal string as the key,
in that case, there is no need to create a std::string. as
md_config_t::get_val() always accepts a string_view as the option name.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-08 16:46:00 +08:00
Kefu Chai
0edba988f1
Merge pull request #41080 from t-msn/readdir-fix2
os/FileStore: fix to handle readdir error correctly

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-05-08 16:36:51 +08:00
Kefu Chai
a46db0c127
Merge pull request #40993 from neha-ojha/wip-50466
osd/PG.cc: handle removal of pgmeta object

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2021-05-08 16:31:52 +08:00
Kefu Chai
912850d084
Merge pull request #41143 from idryomov/wip-posix-memalign-fix
common/buffer: adjust align before calling posix_memalign()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-05-08 16:29:37 +08:00
Kefu Chai
a490e7f67a
Merge pull request #41155 from rzarzynski/wip-global-backtrace-bug-50653
log: fix the formatting when dumping thread IDs.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-05-08 16:29:00 +08:00
Yingxin Cheng
ded8bd9c57 crimson/seastore: integrate and test remove/list to SeaStore
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-05-08 10:07:41 +08:00
Yingxin Cheng
022532645d crimson/seastore: integrate and test oid list to OnodeManager
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-05-08 10:04:46 +08:00
Yingxin Cheng
16a464f77c crimson/onode-staged-tree: make sure oids in tree are always valid
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-05-08 10:04:46 +08:00
Yingxin Cheng
9076e100cc crimson/onode-staged-tree: use const reference in test_fltree_onode_manager
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-05-08 10:04:46 +08:00
Yingxin Cheng
865f7275f2 crimson/onode-staged-tree: define and use _MIN/_MAX_OID internally
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-05-08 10:04:46 +08:00
Yingxin Cheng
c9b885efef crimson/onode-staged-tree: declare and use max key indexes
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-05-08 10:04:46 +08:00
Yingxin Cheng
6a103faccb crimson/onode-staged-tree: print the signed shard_t
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-05-08 10:04:46 +08:00