Commit Graph

89310 Commits

Author SHA1 Message Date
Alfredo Deza
26ca6c129a ceph-volume tests.functional add bluestore,filestore playbooks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-11 18:48:43 -04:00
Casey Bodley
6bb38deb35
Merge pull request #22868 from iliul/modify-log-level
rgw: Fix log level of gc_iterate_entries

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-11 10:48:24 -04:00
iliul
0a3f3d0e34
rgw: Fix log level of gc_iterate_entries
Fixes: http://tracker.ceph.com/issues/23801

Signed-off-by: iliul <liul.stone@gmail.com>
2018-08-11 11:17:15 +08:00
Yan, Zheng
7fc04be933 mds: use fast dispatch to handle MDSBeacon
Current mds handles MDSBeacon messages through MDSRank::ms_dispatch().
MDSRank::ms_dispatch() locks mds_lock at the very beginning. This means
that long running task (such as processing finished contexts) can delay
MMDSBeacon. Using fast dispatch for MDSBeacon can avoid this issue.

Fixes: http://tracker.ceph.com/issues/23519
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-08-11 07:33:13 +08:00
Sage Weil
c6eb1c4a5a Merge PR #22838 into master
* refs/pull/22838/head:
	kv/RocksDBStore: Handle nullptr if clock cache is chosen.
	kv/rocksdb_cache/BinnedLRUCache: Don't promote data to the high pri pool.
	src/kv: Initial import of a custom RocksDB cache.
	src/rocksdb: switch back to master branch.

Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-10 16:32:34 -05:00
Sage Weil
bdf1653ec9 Merge PR #22970 into master
* refs/pull/22970/head:
	os/bluestore: limit OSD memory usage by tuning the cache size.

Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-10 16:32:29 -05:00
Alfredo Deza
a4ff2bff50 ceph-volume tests.functional add centos7 filestore batch tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 16:19:54 -04:00
Alfredo Deza
544e364e8c ceph-volume tests.functional add centos7 bluestore batch tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 16:19:54 -04:00
James McClune
19aa4b8445
doc: updated troubleshooting OSDs documentation
Restructured OSD event descriptions for better clarification.
Added a link to the write() system call reference.

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2018-08-10 15:18:19 -04:00
Casey Bodley
7ad313768a qa/rgw: raise default curl timeout for multisite suite
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-08-10 14:50:52 -04:00
Sage Weil
b500359409 qa/rgw: vary omap osd-side limit
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-08-10 14:50:52 -04:00
Sage Weil
e320830a71 rgw: use get_omap_keys2
Making looping less fragile.

Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-08-10 14:50:52 -04:00
Alfredo Deza
d2c181fc70 ceph-volume tests.util assert new as_int,as_float helper methods
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:32 -04:00
Alfredo Deza
3adf13f868 ceph-volume tests verify new utility for journal sizes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
4c0b4df1df ceph-volume util.prepare add a helper to get journal sizes from ceph.conf
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
ff7054116c ceph-volume util.disk add as_int and as_float helpers for Size objects
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
f473bce7ad ceph-volume lvm.strategies fix a bug where incorrect template was used
The template wouldn't render the total OSDs and the removed section was
repeated

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
01aebfc6a0 ceph-volume lvm.strategies use get_journal_size helper for filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
f29ec4c607 ceph-volume lvm.strategies update filestore use of Size objects
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
75e9729b76 ceph-volume lvm.strategies update bluestore use of Size
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
af99401cad ceph-volume lvm.strategies create single type filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
5a54ab1760 ceph-volume tests.util verify that Size object don't change state
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
7816fa9f90 ceph-volume tests.util update to reflect Size object changes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
00dba2e83a ceph-volume util.disk do not modify self instance of Size objects
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:30 -04:00
Alfredo Deza
8f7bca7ba1 ceph-volume lvm.strategies use new template location in bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:30 -04:00
Alfredo Deza
783e58472c ceph-volume util create a templates module
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:30 -04:00
Alfredo Deza
35a48728ae doc/rados update journal size defaults to 5GB
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:30 -04:00
Enming.Zhang
fd47c91a45 radosgw-admin: add mfa related command and options
command:
+ mfa create
+ mfa list
+ mfa get
+ mfa remove
+ mfa check
+ mfa resync

options:
+ --totp-serial
+ --totp-seed
+ --totp-second
+ --totp-window
+ --totp-pin

Signed-off-by: Enming.Zhang <enming.zhang@umcloud.com>
2018-08-10 12:16:49 -04:00
Yuri Weinstein
75967da42b
Merge pull request #22967 from linuxbox2/wip-slo-nosize
rgw: Swift SLO size_bytes member is optional

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-10 09:14:09 -07:00
Yuri Weinstein
2a72d893d2
Merge pull request #23056 from stiopaa1/fixRgwAdminUser
rgw: fix dependencies/target_link_libraries

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-08-10 09:13:40 -07:00
Yuri Weinstein
d6e2f9f24b
Merge pull request #23282 from zhangsw/fix-rgw-server-header
rgw: add Http header 'Server' in response headers.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-10 09:13:18 -07:00
Yuri Weinstein
4ea1111e60
Merge pull request #23405 from joke-lee/WIP-RGW-BUCKET-NOTIFY
rgw: add s3 notification sub resources

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-10 09:12:41 -07:00
Yuri Weinstein
82b35dbc72
Merge pull request #23434 from joke-lee/wip-cors-rule-num-limit
rgw: cors rules num limit

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-08-10 09:12:15 -07:00
Alfredo Deza
0b63a746ee
Merge pull request #23210 from alfredodeza/wip-bluestore-sizing
doc: document sizing for `block.db`

Reviewed-by: Ben England <bengland@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-10 11:15:29 -04:00
Casey Bodley
81ce951655
Merge pull request #23511 from excellentkf/WIP-test
common/options: correct the description of rgw_enable_lc_threads option

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-10 09:00:47 -04:00
Jos Collin
270697eccf
mds: make has_feature const function
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-08-10 17:48:25 +05:30
Jos Collin
a39fb4ffa0
cephfs: InodeStat versioning
* Use the new feature bit CEPHFS_FEATURE_REPLY_ENCODING for encoding.
* encode/decode in the new format.
* The old format is maintained for backward compatibility.

Fixes: http://tracker.ceph.com/issues/24444
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-08-10 17:48:05 +05:30
Patrick Nawracay
7340e70d7f mgr/dashboard/backend: API to manage dashboard settings
Enables to change (set/unset) values of settings of the dashboard using
the REST API.

Fixes: https://tracker.ceph.com/issues/24273

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-08-10 11:32:25 +02:00
Kefu Chai
50f7f7e32e
Merge pull request #23496 from bstillwell/crush_doc_fixes
doc: Fix a couple typos and improve diagram formatting

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-10 12:45:29 +08:00
Kefu Chai
c91006141b
Merge pull request #23477 from liewegas/wip-kv-merge-name
kv/KeyValueDB: return const char* from MergeOperator::name()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-10 10:54:13 +08:00
Kefu Chai
7acb991728
Merge pull request #23474 from tchaikov/wip-config-expand-meta
common: expand meta in parse_argv()

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-10 10:52:53 +08:00
yanjun
e4c35bfa8f
Merge pull request #23481 from Yan-waller/wip-walle-180808-smooth-intervals
mgr,mon: fix to apply changed mon_stat_smooth_intervals

Reviewed-by: John Spray <john.spray@redhat.com>
2018-08-10 10:51:52 +08:00
yanjun
d50bef3861
Merge pull request #23482 from Yan-waller/wip-walle-180808-mgr-deadlock
mgr: fix beacon interruption caused by deadlock

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-10 10:49:19 +08:00
yanjun
8d50ca449c
Merge pull request #23487 from xiexingguo/wip-hb-peers-v2
osd/OSD: choose heartbeat peers more carefully

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Yan Jun <yan.jun8@zte.com.cn>
2018-08-10 10:47:19 +08:00
James McClune
1b9f24a5c5
doc: cleaned up troubleshooting OSDs documentation
Fixed grammar in Troubleshooting OSDs documentation. 
Added code markup for debugging slow request commands.

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2018-08-09 22:43:17 -04:00
Igor Fedotov
af0c9b9a8c os/bluestore: uniform loging format for bluefs_extent_t.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-08-10 00:59:26 +03:00
Igor Fedotov
c39a2d19ce os/bluestore_tool: handle fsck's returned status properly.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-08-10 00:52:21 +03:00
Igor Fedotov
3befd56ec7 os/bluestore_tool: fix multiple extents handling in BlueFS::log_dump
Without the fix the op crashed when trying to read from the second
extent of the log file which was absent in superblock but actually existed.
Regular replay properly retrieves it - which wasn't the case
for log_dump due to 'noop' mode of operation.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-08-10 00:52:02 +03:00
Mark Nelson
9202285b44 kv/RocksDBStore: Handle nullptr if clock cache is chosen.
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2018-08-09 16:50:51 -05:00
Mark Nelson
269713d0f8 kv/rocksdb_cache/BinnedLRUCache: Don't promote data to the high pri pool.
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2018-08-09 16:50:51 -05:00