]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agodoc: fix cephfs spelling errors 23763/head
Chen Zhenghua [Tue, 28 Aug 2018 01:49:36 +0000 (09:49 +0800)]
doc: fix cephfs spelling errors

Signed-off-by: Chen Zhenghua <chen.zhenghua@zte.com.cn>
6 years agoMerge PR #23718 into master
Sage Weil [Mon, 27 Aug 2018 20:31:43 +0000 (15:31 -0500)]
Merge PR #23718 into master

* refs/pull/23718/head:
cleanup: Replace always-false assertions with abort
include/assert: Smarten up ceph_assert
common: Call ceph_abort(), not abort()
include,common: Remove assert and clobber-foo
rbd_replay: Use ceph_assert for asserts.
rbd_fuse: Use ceph_assert for asserts.
osdc: Use ceph_assert for asserts.
osd: Use ceph_assert for asserts.
msg: Use ceph_assert for asserts.
mgr: Use ceph_assert for asserts.
messages: Use ceph_assert for asserts.
mds: Use ceph_assert for asserts.
log: Use ceph_assert for asserts.
libradosstriper: Use ceph_assert for asserts.
librados: Use ceph_assert for asserts.
kv: Use ceph_assert for asserts.
test: Use ceph_assert for asserts.
key_value_store: Use ceph_assert for asserts.
json_spirit: Use ceph_assert for asserts.
journal: Use ceph_assert for asserts.
global: Use ceph_assert for asserts.
erasure-code: Use ceph_assert for asserts.
rbd: Use ceph_assert for asserts.
tools: Use ceph_assert for asserts.
rgw: Use ceph_assert for asserts.
mon: Use ceph_assert for asserts.
crush: Use ceph_assert for asserts in C++ code.
crimson: Use ceph_assert for asserts.
compressor: Use ceph_assert for asserts.
cls: Use ceph_assert for asserts.
client: Use ceph_assert for asserts.
auth: Use ceph_assert for asserts
os: Use ceph_assert for asserts
common: Use ceph_assert for asserts
include: Use ceph_assert for asserts
include/assert: Deprecate assert macro

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23750 from tchaikov/wip-doc-cephx
Sage Weil [Mon, 27 Aug 2018 14:51:10 +0000 (10:51 -0400)]
Merge pull request #23750 from tchaikov/wip-doc-cephx

doc/dev/cephx_protocol: fix couple errors

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23747 from tchaikov/wip-monclient-no-magic-nr
Sage Weil [Mon, 27 Aug 2018 14:50:04 +0000 (10:50 -0400)]
Merge pull request #23747 from tchaikov/wip-monclient-no-magic-nr

mon/MonClient: avoid using magic number for the `MAuth::protocol`

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agocleanup: Replace always-false assertions with abort 23718/head
Adam C. Emerson [Thu, 23 Aug 2018 20:27:11 +0000 (16:27 -0400)]
cleanup: Replace always-false assertions with abort

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoinclude/assert: Smarten up ceph_assert
Adam C. Emerson [Thu, 23 Aug 2018 19:39:11 +0000 (15:39 -0400)]
include/assert: Smarten up ceph_assert

Change ceph_assert_msg to not require a CephContext. Add
ceph_assert_msgf that accepts a format string.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agocommon: Call ceph_abort(), not abort()
Adam C. Emerson [Thu, 23 Aug 2018 18:32:03 +0000 (14:32 -0400)]
common: Call ceph_abort(), not abort()

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoinclude,common: Remove assert and clobber-foo
Adam C. Emerson [Thu, 23 Aug 2018 17:23:41 +0000 (13:23 -0400)]
include,common: Remove assert and clobber-foo

Since everything is using the ceph_assert macro, get rid of the assert
macro in include/assert.h .

As that is no longer a concern, get of macros to break the compile if
our macro gets replaced with the system assert.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agorbd_replay: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:26:38 +0000 (11:26 -0400)]
rbd_replay: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agorbd_fuse: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:26:30 +0000 (11:26 -0400)]
rbd_fuse: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoosdc: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:26:18 +0000 (11:26 -0400)]
osdc: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoosd: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:26:10 +0000 (11:26 -0400)]
osd: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomsg: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:26:01 +0000 (11:26 -0400)]
msg: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomgr: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:25:51 +0000 (11:25 -0400)]
mgr: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomessages: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:25:42 +0000 (11:25 -0400)]
messages: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomds: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:25:33 +0000 (11:25 -0400)]
mds: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agolog: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:25:26 +0000 (11:25 -0400)]
log: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agolibradosstriper: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:25:16 +0000 (11:25 -0400)]
libradosstriper: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agolibrados: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:25:02 +0000 (11:25 -0400)]
librados: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agokv: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:24:49 +0000 (11:24 -0400)]
kv: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agotest: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:24:39 +0000 (11:24 -0400)]
test: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agokey_value_store: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:24:28 +0000 (11:24 -0400)]
key_value_store: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agojson_spirit: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:24:12 +0000 (11:24 -0400)]
json_spirit: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agojournal: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:24:01 +0000 (11:24 -0400)]
journal: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoglobal: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:23:49 +0000 (11:23 -0400)]
global: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoerasure-code: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:23:37 +0000 (11:23 -0400)]
erasure-code: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agorbd: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:23:21 +0000 (11:23 -0400)]
rbd: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agotools: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:21:13 +0000 (11:21 -0400)]
tools: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agorgw: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:21:04 +0000 (11:21 -0400)]
rgw: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomon: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:20:29 +0000 (11:20 -0400)]
mon: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoMerge pull request #20526 from k0ste/newfeature
Casey Bodley [Mon, 27 Aug 2018 13:26:21 +0000 (09:26 -0400)]
Merge pull request #20526 from k0ste/newfeature

docs: radosgw: ldap-auth: fixed option name 'rgw_ldap_searchfilter'

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agocrush: Use ceph_assert for asserts in C++ code.
Adam C. Emerson [Thu, 23 Aug 2018 15:20:00 +0000 (11:20 -0400)]
crush: Use ceph_assert for asserts in C++ code.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agocrimson: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:19:34 +0000 (11:19 -0400)]
crimson: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agocompressor: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:19:18 +0000 (11:19 -0400)]
compressor: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agocls: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:19:07 +0000 (11:19 -0400)]
cls: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoclient: Use ceph_assert for asserts.
Adam C. Emerson [Thu, 23 Aug 2018 15:18:54 +0000 (11:18 -0400)]
client: Use ceph_assert for asserts.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoauth: Use ceph_assert for asserts
Adam C. Emerson [Thu, 23 Aug 2018 15:18:15 +0000 (11:18 -0400)]
auth: Use ceph_assert for asserts

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoos: Use ceph_assert for asserts
Adam C. Emerson [Thu, 23 Aug 2018 15:17:42 +0000 (11:17 -0400)]
os: Use ceph_assert for asserts

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agocommon: Use ceph_assert for asserts
Adam C. Emerson [Thu, 23 Aug 2018 15:17:26 +0000 (11:17 -0400)]
common: Use ceph_assert for asserts

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoinclude: Use ceph_assert for asserts
Adam C. Emerson [Thu, 23 Aug 2018 15:16:52 +0000 (11:16 -0400)]
include: Use ceph_assert for asserts

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoinclude/assert: Deprecate assert macro
Adam C. Emerson [Wed, 22 Aug 2018 16:39:41 +0000 (12:39 -0400)]
include/assert: Deprecate assert macro

Prior to switching callers to ceph_assert.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agodoc/dev/cephx_protocol: fix couple errors 23750/head
Kefu Chai [Mon, 27 Aug 2018 09:41:16 +0000 (17:41 +0800)]
doc/dev/cephx_protocol: fix couple errors

there are 3 phases of authentication and authorization in cephx:

0. proto = CEPH_AUTH_UNKNOWN, for start the session,
   create auth handlers on both sides.
1. GET_AUTH_SESSION_KEY, to get authenticated, the client will
   get the session ticket at the end of this phase. the session ticket,
   is actually also a service ticket for CEPH_ENTITY_TYPE_AUTH.
2. CEPHX_GET_PRINCIPAL_SESSION_KEY, to get authorized, the client
   will get the requested, service tickets at the end of this phase.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23391 from votdev/cleanup_25161
Lenz Grimmer [Mon, 27 Aug 2018 09:28:08 +0000 (11:28 +0200)]
Merge pull request #23391 from votdev/cleanup_25161

mgr/dashboard: Prevent API call on every keystroke

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agomon/MonClient: avoid using magic number for the `MAuth::protocol` 23747/head
Kefu Chai [Mon, 27 Aug 2018 08:26:10 +0000 (16:26 +0800)]
mon/MonClient: avoid using magic number for the `MAuth::protocol`

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23746 from libingyang-zte/master
Xie Xingguo [Mon, 27 Aug 2018 07:49:10 +0000 (15:49 +0800)]
Merge pull request #23746 from libingyang-zte/master

doc: Fix Spelling Error of Rados Deployment/Operations

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agodoc: Fix Spelling Error of Rados Deployment/Operations 23746/head
libingyang [Mon, 27 Aug 2018 02:47:47 +0000 (10:47 +0800)]
doc: Fix Spelling Error of Rados Deployment/Operations
Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
6 years agoMerge pull request #23745 from chenzhua/master
Xie Xingguo [Mon, 27 Aug 2018 04:13:48 +0000 (12:13 +0800)]
Merge pull request #23745 from chenzhua/master

doc: fix spelling errors of cephfs

Reviewed-by: Jos Collin <jcollin@redhat.com>
6 years agodoc: fix spelling errors of cephfs 23745/head
Chen Zhenghua [Mon, 27 Aug 2018 02:56:24 +0000 (10:56 +0800)]
doc: fix spelling errors of cephfs

Signed-off-by: Chen Zhenghua <chen.zhenghua@zte.com.cn>
6 years agoMerge pull request #23688 from tchaikov/wip-monclient-sub
Kefu Chai [Mon, 27 Aug 2018 02:19:49 +0000 (10:19 +0800)]
Merge pull request #23688 from tchaikov/wip-monclient-sub

mon/MonClient: extract MonSub out

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23736 from dillaman/wip-librbd-gmock
Mykola Golub [Sun, 26 Aug 2018 07:13:29 +0000 (10:13 +0300)]
Merge pull request #23736 from dillaman/wip-librbd-gmock

test/librbd: fix gmock warning in snapshot rollback test

Reviewed-by: songweibin <song.weibin@zte.com.cn>
Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge PR #23088 into master
Patrick Donnelly [Sat, 25 Aug 2018 20:14:09 +0000 (13:14 -0700)]
Merge PR #23088 into master

* refs/pull/23088/head:
mds: adjust export size after renaming directory into freezing subtree
mds: clear scatterlock's flushed when removing dirty
mds: export subtree part by part
mds: change default mds_max_export_size to 20M
mds: limit total size of exporting subtrees
mds: optimize the way how max export size is enforced
mds: make CInode::get_dirfrags container agnostic
mds: cleanup MutationImpl::More initialization

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #23548 into master
Patrick Donnelly [Sat, 25 Aug 2018 20:14:04 +0000 (13:14 -0700)]
Merge PR #23548 into master

* refs/pull/23548/head:
mds: migrate strays part by part when shutdown mds

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #23439 into master
Patrick Donnelly [Sat, 25 Aug 2018 20:04:43 +0000 (13:04 -0700)]
Merge PR #23439 into master

* refs/pull/23439/head:
qa: whitelist cap revoke warning
doc: document cap revoke non-responders client eviction
test: validate client eviction for cap revoke non-responders
mds: add counter for tracking cap non-responding clients
mds: evict clients that do not respond to cap revoke by MDS
mds: pass timeout argument for fetching late clients

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #23413 into master
Patrick Donnelly [Sat, 25 Aug 2018 19:57:03 +0000 (12:57 -0700)]
Merge PR #23413 into master

* refs/pull/23413/head:
mds: fix premature stop of MDBalancer::try_rebalance()
mds: don't queue straydir for split

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #23469 into master
Patrick Donnelly [Sat, 25 Aug 2018 19:55:19 +0000 (12:55 -0700)]
Merge PR #23469 into master

* refs/pull/23469/head:
mds: access last std::vector element with `back()`
mds: disallow certain file operations to "." and ".." dirents

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #23656 into master
Patrick Donnelly [Sat, 25 Aug 2018 19:52:09 +0000 (12:52 -0700)]
Merge PR #23656 into master

* refs/pull/23656/head:
build/ops: rpm: package cephfs-shell for SUSE as well as Fedora

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #23640 into master
Patrick Donnelly [Sat, 25 Aug 2018 19:50:43 +0000 (12:50 -0700)]
Merge PR #23640 into master

* refs/pull/23640/head:
mds: use monotonic waits in Beacon

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
6 years agogithubmap: update contributors
Patrick Donnelly [Sat, 25 Aug 2018 19:50:42 +0000 (12:50 -0700)]
githubmap: update contributors

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoqa: whitelist cap revoke warning 23439/head
Patrick Donnelly [Sat, 25 Aug 2018 19:42:26 +0000 (12:42 -0700)]
qa: whitelist cap revoke warning

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #23605 from zy751713126/add_rbd_read2_pybind
Jason Dillaman [Sat, 25 Aug 2018 12:33:01 +0000 (08:33 -0400)]
Merge pull request #23605 from zy751713126/add_rbd_read2_pybind

pybind/rbd: add allow_shrink=True as a parameter to def resize

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23707 from trociny/wip-get_modify_timestamp-mock-warns
Jason Dillaman [Sat, 25 Aug 2018 12:32:31 +0000 (08:32 -0400)]
Merge pull request #23707 from trociny/wip-get_modify_timestamp-mock-warns

test/librbd: fix gmock warnings for get_modify_timestamp call

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #23730 from tspmelo/wip-table-fieldset
Jos Collin [Sat, 25 Aug 2018 06:12:56 +0000 (11:42 +0530)]
Merge pull request #23730 from tspmelo/wip-table-fieldset

mgr/dashboard: Remove fieldsets when using CdTable

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
6 years agodocs: radosgw: ldap-auth: fixed option name 'rgw_ldap_searchfilter' 20526/head
Konstantin Shalygin [Thu, 22 Feb 2018 04:42:45 +0000 (11:42 +0700)]
docs: radosgw: ldap-auth: fixed option name 'rgw_ldap_searchfilter'

Signed-off-by: Konstantin Shalygin <k0ste@k0ste.ru>
6 years agoMerge pull request #23709 from tchaikov/wip-monmap-const
Kefu Chai [Sat, 25 Aug 2018 03:40:42 +0000 (11:40 +0800)]
Merge pull request #23709 from tchaikov/wip-monmap-const

mon/MonMap: add more const'ness to its methods

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #23683 from thinkercui/bugfix-load-gen
Kefu Chai [Sat, 25 Aug 2018 03:39:18 +0000 (11:39 +0800)]
Merge pull request #23683 from thinkercui/bugfix-load-gen

tools/rados: fix the unit of target-throughput

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23682 from profihost/master
Kefu Chai [Sat, 25 Aug 2018 03:38:25 +0000 (11:38 +0800)]
Merge pull request #23682 from profihost/master

mgr/balancer: deepcopy best plan - otherwise we get latest

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #23705 from chenzhua/master
Xie Xingguo [Sat, 25 Aug 2018 03:19:29 +0000 (11:19 +0800)]
Merge pull request #23705 from chenzhua/master

doc: fix typo and format issues in quick start documentation

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #23732 from tchaikov/wip-cmake-libradosstriper
Jesse Williamson [Fri, 24 Aug 2018 22:07:30 +0000 (15:07 -0700)]
Merge pull request #23732 from tchaikov/wip-cmake-libradosstriper

cmake: add option WITH_LIBRADOSSTRIPER

6 years agoMerge pull request #23731 from ceph/wip-rm24553
Andrew Schoen [Fri, 24 Aug 2018 19:50:32 +0000 (15:50 -0400)]
Merge pull request #23731 from ceph/wip-rm24553

ceph-volume  expand auto engine for multiple devices on filestore

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume: reset sys_info.devices in the device_info fixture 23731/head
Andrew Schoen [Fri, 24 Aug 2018 19:38:14 +0000 (15:38 -0400)]
ceph-volume: reset sys_info.devices in the device_info fixture

In certain environments it was noticed that when running the full test
suite sys_info.devices would get populated correctly from previous
tests. This caused the tests to fail because they did not have the
expected mock data.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agotools/rados: include acconfig.h for picking up WITH_LIBRADOSSTRIPER 23732/head
Kefu Chai [Fri, 24 Aug 2018 16:43:29 +0000 (00:43 +0800)]
tools/rados: include acconfig.h for picking up WITH_LIBRADOSSTRIPER

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agotest/librbd: fix gmock warning in snapshot rollback test 23736/head
Jason Dillaman [Fri, 24 Aug 2018 16:33:47 +0000 (12:33 -0400)]
test/librbd: fix gmock warning in snapshot rollback test

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #23727 from libingyang-zte/master
Kefu Chai [Fri, 24 Aug 2018 16:09:34 +0000 (00:09 +0800)]
Merge pull request #23727 from libingyang-zte/master

doc: Spelling fixes in Network config reference

Reviewed-by: Luo Kexue <luo.kexue@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-volume tests check uuid_name when creating an lv
Alfredo Deza [Thu, 23 Aug 2018 19:46:43 +0000 (15:46 -0400)]
ceph-volume tests check uuid_name when creating an lv

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests add verifications for create_vg helper
Alfredo Deza [Thu, 23 Aug 2018 19:40:34 +0000 (15:40 -0400)]
ceph-volume tests add verifications for create_vg helper

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests add verifications for extend_vg helper
Alfredo Deza [Thu, 23 Aug 2018 19:27:42 +0000 (15:27 -0400)]
ceph-volume tests add verifications for extend_vg helper

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch update module to use Device object on strategy detection
Alfredo Deza [Thu, 23 Aug 2018 16:55:30 +0000 (12:55 -0400)]
ceph-volume lvm.batch update module to use Device object on strategy detection

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agocmake: add option WITH_LIBRADOSSTRIPER
Kefu Chai [Fri, 24 Aug 2018 14:33:01 +0000 (22:33 +0800)]
cmake: add option WITH_LIBRADOSSTRIPER

otherwise this cmake variable is never defined, hence all tests
requiring libstriper are broken.

this is a regresssion introduced by 5513a90c62 .

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-volume lvm.batch.filestore use new Device objects
Alfredo Deza [Thu, 23 Aug 2018 14:56:09 +0000 (10:56 -0400)]
ceph-volume lvm.batch.filestore use new Device objects

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch.bluestore use new Device objects
Alfredo Deza [Thu, 23 Aug 2018 14:55:56 +0000 (10:55 -0400)]
ceph-volume lvm.batch.bluestore use new Device objects

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.util verify ValidDevice validator
Alfredo Deza [Thu, 23 Aug 2018 14:31:16 +0000 (10:31 -0400)]
ceph-volume tests.util verify ValidDevice validator

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume util.templates allow more space for long paths
Alfredo Deza [Thu, 23 Aug 2018 13:54:09 +0000 (09:54 -0400)]
ceph-volume util.templates allow more space for long paths

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.strategies create mixed type filestore
Alfredo Deza [Thu, 23 Aug 2018 13:53:37 +0000 (09:53 -0400)]
ceph-volume lvm.strategies create mixed type filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch add new strategy validators for LVM devices
Alfredo Deza [Thu, 23 Aug 2018 13:14:08 +0000 (09:14 -0400)]
ceph-volume lvm.batch add new strategy validators for LVM devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume util add a new Device class validator for args
Alfredo Deza [Thu, 23 Aug 2018 13:13:28 +0000 (09:13 -0400)]
ceph-volume util add a new Device class validator for args

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch use new Device class and validator
Alfredo Deza [Thu, 23 Aug 2018 13:12:41 +0000 (09:12 -0400)]
ceph-volume lvm.batch use new Device class and validator

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume api.lvm new utility to extend a volume group for one or more devices
Alfredo Deza [Thu, 23 Aug 2018 12:35:02 +0000 (08:35 -0400)]
ceph-volume api.lvm new utility to extend a volume group for one or more devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume api.lvm allow uuid suffixes in vg/lv creation
Alfredo Deza [Thu, 23 Aug 2018 12:34:28 +0000 (08:34 -0400)]
ceph-volume api.lvm allow uuid suffixes in vg/lv creation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume: allow `lvm zap` to zap many devices at once
Andrew Schoen [Tue, 21 Aug 2018 18:07:55 +0000 (14:07 -0400)]
ceph-volume: allow `lvm zap` to zap many devices at once

Supports passing many devices, partitions or lvs to
ceph-volume lvm zap.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume devices.lvm zap should skip when lv_uuid doesn't exist
Alfredo Deza [Tue, 21 Aug 2018 14:58:44 +0000 (10:58 -0400)]
ceph-volume devices.lvm zap should skip when lv_uuid doesn't exist

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume: device.Device should ignore pvs with no vg_name
Andrew Schoen [Tue, 21 Aug 2018 17:13:08 +0000 (13:13 -0400)]
ceph-volume: device.Device should ignore pvs with no vg_name

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume: tests for util.device.Device
Andrew Schoen [Tue, 21 Aug 2018 15:15:33 +0000 (11:15 -0400)]
ceph-volume: tests for util.device.Device

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume: adds sys_info constant to hold system information
Andrew Schoen [Thu, 16 Aug 2018 20:10:30 +0000 (15:10 -0500)]
ceph-volume: adds sys_info constant to hold system information

This is only currently used to hold information about devices
from /sys/block in the util.Device class in the sys_api property.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume util create a device module for identifying devices
Alfredo Deza [Wed, 15 Aug 2018 19:49:29 +0000 (15:49 -0400)]
ceph-volume util create a device module for identifying devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23697 from ceph/ceph-volume-testing
Alfredo Deza [Fri, 24 Aug 2018 14:16:57 +0000 (10:16 -0400)]
Merge pull request #23697 from ceph/ceph-volume-testing

ceph-volume: run tests without waiting on ceph repos

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume: retry when 'vagrant up' fails 23697/head
Andrew Schoen [Wed, 22 Aug 2018 20:37:46 +0000 (16:37 -0400)]
ceph-volume: retry when 'vagrant up' fails

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume: run tests without waiting on ceph repos
Andrew Schoen [Wed, 22 Aug 2018 18:40:41 +0000 (14:40 -0400)]
ceph-volume: run tests without waiting on ceph repos

This provides a new playbook that installs ceph on all nodes and
generates the ceph config. Then it will rsync ceph-volume from the
control node, or jenkins slave, to all testing vms before completing
the deployment. This means we can run tests on PRs without waiting
for repos to be built for the branch in the PR.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agomgr/dashboard: Remove fieldsets when using CdTable 23730/head
Tiago Melo [Fri, 24 Aug 2018 11:04:00 +0000 (12:04 +0100)]
mgr/dashboard: Remove fieldsets when using CdTable

Fixes: https://tracker.ceph.com/issues/26999
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agodoc: Spelling fixes in Network config reference 23727/head
libingyang [Fri, 24 Aug 2018 07:38:22 +0000 (15:38 +0800)]
doc: Spelling fixes in Network config reference

Signed-off-by: libingyang <li.bingyang1@zte.com.cn>
6 years agoMerge pull request #23719 from bstillwell/config-doc-fixes
Kefu Chai [Fri, 24 Aug 2018 06:15:58 +0000 (14:15 +0800)]
Merge pull request #23719 from bstillwell/config-doc-fixes

doc: Fixed spelling errors in configuration section

Reviewed-by: Kefu Chai <kchai@redhat.com>