Alan Somers
e31acf6567
blkdev: FreeBSD support
...
Signed-off-by: Alan Somers <asomers@gmail.com>
2018-10-19 19:37:42 +08:00
Alan Somers
bde6c0de1c
blkdev: overhaul API for better portability
...
* Turn the API into a class so it will work with GoogleMock
* Take file descriptors for all methods, instead of a mix of file
descriptors, path names, and canonical device names. It's more
consistent and it will work better with FreeBSD.
* Split get_device_by_fd into block_device_partition and
block_device_wholedisk
* Remove dead code
Signed-off-by: Alan Somers <asomers@gmail.com>
2018-10-19 19:35:23 +08:00
Alan Somers
2fa3845d8f
blkdev: move test_get_blkdev_size to test_get_blkdev_props
...
Also, enhance blkdev test program to show more properties than just size
Signed-off-by: Alan Somers <asomers@gmail.com>
2018-10-19 19:35:23 +08:00
Alan Somers
025f6c90d8
blkdev: Add dedicated accessors for all property functions
...
Hide get_block_device_string_property and get_block_device_int_property
to lower risk of misuse.
Signed-off-by: Alan Somers <asomers@gmail.com>
2018-10-19 19:35:23 +08:00
Alan Somers
559461b284
blkdev: add an enum type for block device properties
...
Signed-off-by: Alan Somers <asomers@gmail.com>
2018-10-19 19:35:23 +08:00
Kefu Chai
80376d32be
Merge pull request #21155 from runsisi/wip-auth-cleanup
...
auth/cephx: minor code cleanup
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-10-19 19:21:17 +08:00
Tim Serong
d08f290bcb
Merge pull request #24672 from SUSE/wip-orchestrator-result-property
...
mgr/orchestrator: use result property in Completion classes
2018-10-19 21:19:10 +10:00
Mehdi Abaakouk
f4a985b092
ceph-volume: extract flake8 config
...
It's preferable to use [flake8] section to configure flake8.
So external tools/editor can read the configuration.
Signed-off-by: Mehdi Abaakouk <sileht@sileht.net>
2018-10-19 13:18:47 +02:00
Lenz Grimmer
94aefee3b0
Merge pull request #24314 from rhcs-dashboard/dashboards
...
mgr/dashboard: Grafana dashboard updates and additions
Reviewed-by: Boris Ranto <branto@redhat.com>
2018-10-19 12:42:23 +02:00
Lenz Grimmer
203e3d2e60
Merge pull request #24628 from Devp00l/wip-issue-36445
...
mgr/dashboard: Add missing test requirement "werkzeug"
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-10-19 11:57:12 +02:00
John Spray
02d26041fe
mon: don't commit osdmap on no-op application ops
...
This enables callers to use "application set"... etc
freely without worrying about generating spurious
(and possibly slow) map updates in the cases where
the relevant app metadata was already set.
Signed-off-by: John Spray <john.spray@redhat.com>
2018-10-19 05:56:19 -04:00
Kefu Chai
3797d1f654
Merge pull request #24669 from falcon78921/wip-docs-36527
...
doc: add spacing to subcommand references
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-10-19 17:32:59 +08:00
Kefu Chai
39fcba396b
Merge pull request #19386 from ganeshmaharaj/qat-ceph-crypto
...
crypto: QAT based Encryption for RGW
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-10-19 17:02:56 +08:00
Kefu Chai
7200b16544
librbd: remove unused context_cb() function
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-10-19 16:33:42 +08:00
Kefu Chai
533064aa58
test/objectstore: silence "-Wsign-compare" warnings
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-10-19 16:33:42 +08:00
Tim Serong
76d3f0d537
mgr/orchestrator: use result property in Completion classes
...
The _Completion class defined a get_result() method, but the orchestrator
CLI and Rook module both just expected a result property, so let's run with
the property version.
Signed-off-by: Tim Serong <tserong@suse.com>
2018-10-19 19:28:04 +11:00
runsisi
f1d741c823
auth/cephx: remove unused member method
...
Signed-off-by: runsisi <runsisi@zte.com.cn>
2018-10-19 13:55:15 +08:00
runsisi
55ef6cf5d7
auth: remove unused forward declaration
...
Signed-off-by: runsisi <runsisi@zte.com.cn>
2018-10-19 13:48:36 +08:00
Jos Collin
6572cd9ee3
Merge pull request #24618 from CharlotteRose/wip-number-eviction-events
...
doc: numbered eviction situations
Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-10-19 10:43:51 +05:30
Ganesh Maharaj Mahalingam
1193805185
crypto: Merge compilation of crypto accelerators under a single cmake.
...
- Control ISA-L and QAT under a crypto makefile
- Allow conditional compile of QAT.
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
2018-10-18 21:48:18 -07:00
Ganesh Maharaj Mahalingam
bf5f83decc
crypto: QAT Wrapper for Ceph Encryption
...
- Crypto plugin created and currently handles only AES_256_CBC
- Contents
-- Poller thread for QAT HW
-- Contiguous memory allocator using QAT's usdm driver
-- Do in-place crypto operation reducing mem usage.
-- Enable multi-QAT instance to allow parallel operations.
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
2018-10-18 21:48:18 -07:00
James McClune
f0447b29ad
doc: updated wording from federated to multisite
...
Updated the terminology from federated architecture
to multisite configuration. Updated the reference link for multisite
configuration.
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2018-10-19 00:45:33 -04:00
James McClune
8372e85f52
doc: add spacing to subcommand references
...
Added appropriate spacing for subcommand
code references.
Fixes: https://tracker.ceph.com/issues/36527
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2018-10-19 00:34:54 -04:00
Sage Weil
c22d5a0fce
qa/suites/rados/thrash-erasure-code*/thrashers/*: less likely resv rejection injection
...
For EC pools we have a lot of shards, and 30% probability on each one
means we are very like to repeatedly fail backfill reservations.. long
enough that teuthology gives up waiting.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-18 17:17:41 -05:00
Alfredo Deza
496f27eac2
Merge pull request #24531 from alfredodeza/wip-rm36386
...
ceph-volume remove version reporting from help menu
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-10-18 15:43:44 -03:00
Tina Kallio
601a42988f
mgr/dashboard: Fixed documentation link on RGW page
...
Fixes: https://tracker.ceph.com/issues/24548
Signed-off-by: Tina Kallio <tina.kallio@gmail.com>
2018-10-18 19:33:31 +02:00
Matt Benjamin
f79e95d5d5
Merge pull request #24453 from cbodley/wip-rgw-putobjprocessor
...
rgw: refactor PutObjProcessor stack
2018-10-18 13:09:00 -04:00
Gregory Farnum
f9d66bb080
Merge pull request #23304 from smithfarm/wip-23776
...
tools: ceph-authtool: report correct number of caps when creating keyring
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-10-18 09:10:16 -07:00
Scoots Hamilton
169824444e
doc: numbered eviction situations
...
Signed-off-by: Scoots Hamilton <scoots@redhat.com>
2018-10-18 11:57:09 -04:00
Casey Bodley
bdd71142c0
Merge pull request #19571 from Fusl/patch-1
...
doc: doc/radosgw/s3.rst: Adding AWS S3 `Storage Class` as `Not Supported`
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-10-18 11:30:12 -04:00
Kefu Chai
d4b564480e
Merge pull request #24660 from tchaikov/wip-crimson-cleanup
...
crimson: crimson/mon: remove timeout support from mon::Client::authenticate()
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-10-18 21:57:56 +08:00
jtlayton
dcac4a6a53
Merge pull request #24626 from jtlayton/wip-mgr-urlparse
...
mgr/rook: fix urljoin import
2018-10-18 08:32:17 -04:00
Jason Dillaman
f3c843c715
Merge pull request #24604 from yangdongsheng/token_fix
...
common/Throttle: TokenBucketThrottle: use reference to m_blockers.front()
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-10-18 07:30:02 -04:00
Kefu Chai
671804a3e7
Merge pull request #24653 from mynaramana/claydoc
...
doc: erasure-code-clay fixes typos
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-10-18 12:37:56 +08:00
Kefu Chai
2358cf154c
Merge pull request #22162 from liuzhanhao/master
...
doc: Update cpp.rst to accommodate the new APIs in libs3
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-10-18 12:29:07 +08:00
Yao Guotao
9aab195eaa
osd: remove unused parameter 'dev' in OSD::mkfs function
...
Signed-off-by: Yao Guotao <yaoguot@gmail.com>
2018-10-18 10:35:39 +08:00
Myna V
105fbb658c
doc: erasure-code-clay fixes typos
...
Signed-off-by: Myna <mynaramana@gmail.com>
2018-10-18 07:09:49 +05:30
Brad Hubbard
24636267f9
rpm: Use updated gperftools-libs at runtime
...
Due to ABI breakage in libtcmalloc.so.4 we need to specify the minimum
version to be used at runtime to be greater than or equal to the version
used at build time.
Fixes: http://tracker.ceph.com/issues/36508
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2018-10-18 11:22:25 +10:00
David Zafman
da3c556aa2
test: Make sure kill_daemons failure will be easy to find
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-10-17 16:54:45 -07:00
David Zafman
b33edbc4f6
test: Add flush_pg_stats to make test more deterministic
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-10-17 16:54:45 -07:00
Nathan Cutler
aef4fc8786
tests/ceph-authtool: add reproducer for "with 0 caps" issue
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-10-18 00:18:29 +02:00
Nathan Cutler
b8c78bd44e
tools: ceph-authtool: report correct number of caps when creating
...
Fixes: https://tracker.ceph.com/issues/23776
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-10-18 00:13:14 +02:00
Jason Dillaman
d3363e6139
rbd-mirror: always attempt to restart canceled status update task
...
Fixes: http://tracker.ceph.com/issues/36500
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-10-17 17:21:16 -04:00
Igor Fedotov
91c73df113
tool/bluestore-tool: print target path for bluestore symlinks.
...
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-10-17 22:39:27 +03:00
Igor Fedotov
02b5768a4f
tests: add qa test case for bluefs volume coalescence
...
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-10-17 22:39:27 +03:00
Igor Fedotov
57abe88768
os/bluestore: force multiple directories usage for bluefs no matter what
...
amount of volumes is configured.
This allows both coalescence and split for BlueFS backing volumes.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-10-17 22:39:27 +03:00
Igor Fedotov
a45e633ad3
os/bluestore: introduce offline DB/WAL volume migration for
...
ceph-bluestore-tool.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-10-17 22:39:25 +03:00
Casey Bodley
dac26de1fa
cls/user: cls_user_remove_bucket writes modified header
...
if cls_user_remove_bucket() modifies the header with dec_header_stats(),
it should write the updated header back
Fixes: http://tracker.ceph.com/issues/36496
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-17 14:50:19 -04:00
Patrick Donnelly
092801ae34
qa: add timeouts for remote ops for client mounts
...
Fixes: https://tracker.ceph.com/issues/36390
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-10-17 10:39:13 -07:00
Patrick Donnelly
b1dca00f90
Merge PR #24503 into master
...
* refs/pull/24503/head:
qa: increase timeout for cleanup
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2018-10-17 10:18:50 -07:00