Commit Graph

89322 Commits

Author SHA1 Message Date
Pavani Rajula
2beb133efc tools/cephfs-shell:fixing the issue in using with_argparse.
Signed-off-by: Pavani Rajula <rpavani1998@gmail.com>
2018-08-12 18:39:31 +05:30
Alfredo Deza
21d4f4afce ceph-volume lvm.zap iterate over multiple lvs on a pv
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-12 08:23:31 -04:00
Kefu Chai
e0abbb7d1c
Merge pull request #22563 from ifed01/wip-ifed-bdev-minsize
os/bluestore: fix bluefs extent miscalculations on small slow device

Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-12 17:30:28 +08:00
Kefu Chai
7fada44d9a
Merge pull request #23294 from noahdesu/timely-mgr-health-updates
mgr: timely health updates between monitor and manager

Reviewed-by: John Spray <john.spray@redhat.com>
2018-08-12 17:29:29 +08:00
Kefu Chai
bf33564177
Merge pull request #23257 from ifed01/wip-ifed-fix-rcoll-race
os/bluestore: fix race between remove_collection and object removals

Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-12 17:28:28 +08:00
Kefu Chai
84ef860caf
Merge pull request #23492 from liewegas/wip-mgrc-warning
mgr/MgrClient: make some noise for a user if no mgr daemon is running

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-08-12 17:26:17 +08:00
Jos Collin
2de7e88e4a
cephfs: LeaseStat versioning
* Use the new feature bit CEPHFS_FEATURE_REPLY_ENCODING for encoding.
* encode/decode in the new format.
* Dropped LeaseStat::encode().
* The old format is maintained for backward compatibility.
* Created Locker::encode_lease() for encoding and dropped the duplicates.

Fixes: http://tracker.ceph.com/issues/24444
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-08-12 06:42:18 +05:30
Jos Collin
b576cebb65
cephfs: DirStat versioning
* Use the new feature bit CEPHFS_FEATURE_REPLY_ENCODING for encoding.
* encode/decode in the new format.
* Dropped DirStat::encode().
* The old format is maintained for backward compatibility.
* Created CDir::encode_dirstat() for encoding and dropped the duplicates.

Fixes: http://tracker.ceph.com/issues/24444
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-08-12 06:38:41 +05:30
Patrick Donnelly
4a9fcb6c6f
Merge PR #23500 into master
* refs/pull/23500/head:
	debian: mark python-ceph-argparse Arch = all
	rpm: package cephfs-shell for fedora
	tools/cephfs,deb: package cephfs-shell
	cmake: install script and egg-info files of cephfs-shell
	tools/cephfs: add setup.py for cephfs-shell

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-11 16:33:47 -07:00
Patrick Donnelly
7b766ab48e
Merge PR #23480 into master
* refs/pull/23480/head:
	tools/cephfs: fix mkdirs(exist_ok) call
	tools/cephfs: cephfs-shell cleanup
	tools/cephfs: run cephfs-shell thru autopep8

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-11 16:27:48 -07:00
Patrick Donnelly
ec3fa7b565
mds: mark beacons as high priority
The mons already mark beacon replies as high priority (via default mon message
priority). We should expect that the mons handle our beacons at the same
priority so the MDS doesn't wrongly get marked laggy.

Fixes: http://tracker.ceph.com/issues/26899

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-11 16:11:34 -07:00
Alfredo Deza
bfd1bfc242 ceph-volume tests.functional add xenial batch tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-11 18:48:43 -04:00
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