]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoceph-volume lvm.zap loop over all vgs from a pv to destroy them 23532/head
Alfredo Deza [Tue, 14 Aug 2018 15:59:25 +0000 (11:59 -0400)]
ceph-volume lvm.zap loop over all vgs from a pv to destroy them

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.util ensure dmcrypt_close will skip non-existent paths
Alfredo Deza [Mon, 13 Aug 2018 19:42:26 +0000 (15:42 -0400)]
ceph-volume tests.util ensure dmcrypt_close will skip non-existent paths

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume util.encryption if crypt path does not exist, skip it
Alfredo Deza [Mon, 13 Aug 2018 19:41:46 +0000 (15:41 -0400)]
ceph-volume util.encryption if crypt path does not exist, skip it

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.zap unmount lvs and close dmcrypt on partitions
Alfredo Deza [Mon, 13 Aug 2018 16:12:46 +0000 (12:12 -0400)]
ceph-volume lvm.zap unmount lvs and close dmcrypt on partitions

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.functional batch add filestore sceanrios to tox.ini
Alfredo Deza [Mon, 13 Aug 2018 11:42:35 +0000 (07:42 -0400)]
ceph-volume tests.functional batch add filestore sceanrios to tox.ini

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.zap iterate over multiple lvs on a pv
Alfredo Deza [Sat, 11 Aug 2018 12:58:20 +0000 (08:58 -0400)]
ceph-volume lvm.zap iterate over multiple lvs on a pv

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.functional add xenial batch tests
Alfredo Deza [Thu, 9 Aug 2018 20:58:16 +0000 (16:58 -0400)]
ceph-volume tests.functional add xenial batch tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.functional add bluestore,filestore playbooks
Alfredo Deza [Thu, 9 Aug 2018 20:49:43 +0000 (16:49 -0400)]
ceph-volume tests.functional add bluestore,filestore playbooks

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.functional add centos7 filestore batch tests
Alfredo Deza [Thu, 9 Aug 2018 19:35:36 +0000 (15:35 -0400)]
ceph-volume tests.functional add centos7 filestore batch tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.functional add centos7 bluestore batch tests
Alfredo Deza [Thu, 9 Aug 2018 19:19:56 +0000 (15:19 -0400)]
ceph-volume tests.functional add centos7 bluestore batch tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.util assert new as_int,as_float helper methods
Alfredo Deza [Thu, 9 Aug 2018 18:29:06 +0000 (14:29 -0400)]
ceph-volume tests.util assert new as_int,as_float helper methods

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests verify new utility for journal sizes
Alfredo Deza [Thu, 9 Aug 2018 18:25:22 +0000 (14:25 -0400)]
ceph-volume tests verify new utility for journal sizes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume util.prepare add a helper to get journal sizes from ceph.conf
Alfredo Deza [Thu, 9 Aug 2018 18:24:45 +0000 (14:24 -0400)]
ceph-volume util.prepare add a helper to get journal sizes from ceph.conf

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume util.disk add as_int and as_float helpers for Size objects
Alfredo Deza [Thu, 9 Aug 2018 18:22:55 +0000 (14:22 -0400)]
ceph-volume util.disk add as_int and as_float helpers for Size objects

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.strategies fix a bug where incorrect template was used
Alfredo Deza [Wed, 8 Aug 2018 19:40:24 +0000 (15:40 -0400)]
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>
6 years agoceph-volume lvm.strategies use get_journal_size helper for filestore
Alfredo Deza [Thu, 9 Aug 2018 19:02:01 +0000 (15:02 -0400)]
ceph-volume lvm.strategies use get_journal_size helper for filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.strategies update filestore use of Size objects
Alfredo Deza [Wed, 8 Aug 2018 19:37:42 +0000 (15:37 -0400)]
ceph-volume lvm.strategies update filestore use of Size objects

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.strategies update bluestore use of Size
Alfredo Deza [Wed, 8 Aug 2018 19:34:38 +0000 (15:34 -0400)]
ceph-volume lvm.strategies update bluestore use of Size

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.strategies create single type filestore
Alfredo Deza [Wed, 8 Aug 2018 16:58:16 +0000 (12:58 -0400)]
ceph-volume lvm.strategies create single type filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.util verify that Size object don't change state
Alfredo Deza [Wed, 8 Aug 2018 16:57:32 +0000 (12:57 -0400)]
ceph-volume tests.util verify that Size object don't change state

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.util update to reflect Size object changes
Alfredo Deza [Wed, 8 Aug 2018 16:55:16 +0000 (12:55 -0400)]
ceph-volume tests.util update to reflect Size object changes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume util.disk do not modify self instance of Size objects
Alfredo Deza [Wed, 8 Aug 2018 16:54:23 +0000 (12:54 -0400)]
ceph-volume util.disk do not modify self instance of Size objects

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.strategies use new template location in bluestore
Alfredo Deza [Wed, 8 Aug 2018 16:20:08 +0000 (12:20 -0400)]
ceph-volume lvm.strategies use new template location in bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume util create a templates module
Alfredo Deza [Wed, 8 Aug 2018 16:19:31 +0000 (12:19 -0400)]
ceph-volume util create a templates module

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agodoc/rados update journal size defaults to 5GB
Alfredo Deza [Tue, 7 Aug 2018 14:34:54 +0000 (10:34 -0400)]
doc/rados update journal size defaults to 5GB

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #22967 from linuxbox2/wip-slo-nosize
Yuri Weinstein [Fri, 10 Aug 2018 16:14:09 +0000 (09:14 -0700)]
Merge pull request #22967 from linuxbox2/wip-slo-nosize

rgw: Swift SLO size_bytes member is optional

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23056 from stiopaa1/fixRgwAdminUser
Yuri Weinstein [Fri, 10 Aug 2018 16:13:40 +0000 (09:13 -0700)]
Merge pull request #23056 from stiopaa1/fixRgwAdminUser

rgw: fix dependencies/target_link_libraries

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
6 years agoMerge pull request #23282 from zhangsw/fix-rgw-server-header
Yuri Weinstein [Fri, 10 Aug 2018 16:13:18 +0000 (09:13 -0700)]
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>
6 years agoMerge pull request #23405 from joke-lee/WIP-RGW-BUCKET-NOTIFY
Yuri Weinstein [Fri, 10 Aug 2018 16:12:41 +0000 (09:12 -0700)]
Merge pull request #23405 from joke-lee/WIP-RGW-BUCKET-NOTIFY

rgw: add s3 notification sub resources

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23434 from joke-lee/wip-cors-rule-num-limit
Yuri Weinstein [Fri, 10 Aug 2018 16:12:15 +0000 (09:12 -0700)]
Merge pull request #23434 from joke-lee/wip-cors-rule-num-limit

rgw: cors rules num limit

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
6 years agoMerge pull request #23210 from alfredodeza/wip-bluestore-sizing
Alfredo Deza [Fri, 10 Aug 2018 15:15:29 +0000 (11:15 -0400)]
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>
6 years agoMerge pull request #23511 from excellentkf/WIP-test
Casey Bodley [Fri, 10 Aug 2018 13:00:47 +0000 (09:00 -0400)]
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>
6 years agoMerge pull request #23496 from bstillwell/crush_doc_fixes
Kefu Chai [Fri, 10 Aug 2018 04:45:29 +0000 (12:45 +0800)]
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>
6 years agoMerge pull request #23477 from liewegas/wip-kv-merge-name
Kefu Chai [Fri, 10 Aug 2018 02:54:13 +0000 (10:54 +0800)]
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>
6 years agoMerge pull request #23474 from tchaikov/wip-config-expand-meta
Kefu Chai [Fri, 10 Aug 2018 02:52:53 +0000 (10:52 +0800)]
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>
6 years agoMerge pull request #23481 from Yan-waller/wip-walle-180808-smooth-intervals
yanjun [Fri, 10 Aug 2018 02:51:52 +0000 (10:51 +0800)]
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>
6 years agoMerge pull request #23482 from Yan-waller/wip-walle-180808-mgr-deadlock
yanjun [Fri, 10 Aug 2018 02:49:19 +0000 (10:49 +0800)]
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>
6 years agoMerge pull request #23487 from xiexingguo/wip-hb-peers-v2
yanjun [Fri, 10 Aug 2018 02:47:19 +0000 (10:47 +0800)]
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>
6 years agoMerge pull request #23514 from bstillwell/operations_doc_fixes
Alfredo Deza [Thu, 9 Aug 2018 21:41:58 +0000 (17:41 -0400)]
Merge pull request #23514 from bstillwell/operations_doc_fixes

doc: Multiple spelling fixes

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agodoc: Multiple spelling fixes 23514/head
Bryan Stillwell [Thu, 9 Aug 2018 20:51:25 +0000 (14:51 -0600)]
doc: Multiple spelling fixes

I ran a lot of the docs through aspell and found a number of spelling problems.

Signed-off-by: Bryan Stillwell <bstillwell@godaddy.com>
6 years agoMerge PR #23471 into master
Sage Weil [Thu, 9 Aug 2018 19:35:56 +0000 (14:35 -0500)]
Merge PR #23471 into master

* refs/pull/23471/head:
mon/PGMap: fix spacing around pretty-printed SI units
include/types: render SI units adjacent to number

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
6 years agoMerge PR #23473 into master
Sage Weil [Thu, 9 Aug 2018 19:35:50 +0000 (14:35 -0500)]
Merge PR #23473 into master

* refs/pull/23473/head:
OSD: translate the error result

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agodoc: Fix a couple typos and improve diagram formatting 23496/head
Bryan Stillwell [Wed, 8 Aug 2018 21:24:53 +0000 (15:24 -0600)]
doc: Fix a couple typos and improve diagram formatting

I found a couple misspelled words in the crush-map documentation, and also
tweaked the formatting of the CRUSH hierarchy diagram to center some of the
entries.

Signed-off-by: Bryan Stillwell <bstillwell@godaddy.com>
6 years agoMerge PR #23422 into master
Sage Weil [Thu, 9 Aug 2018 13:06:25 +0000 (08:06 -0500)]
Merge PR #23422 into master

* refs/pull/23422/head:
log/Log: fix buffer overflow

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocommon/options: correct the description of rgw_enable_lc_threads option 23511/head
excellentkf [Thu, 9 Aug 2018 12:39:10 +0000 (20:39 +0800)]
common/options: correct the description of rgw_enable_lc_threads option

Signed-off-by: excellentkf <likefei@cmss.chinamobile.com>
6 years agoMerge pull request #23466 from tspmelo/wip-update-packages
Kefu Chai [Thu, 9 Aug 2018 12:35:17 +0000 (20:35 +0800)]
Merge pull request #23466 from tspmelo/wip-update-packages

mgr/dashboard: Update frontend packages

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
6 years agoMerge pull request #23431 from falcon78921/wip-doc-rados-pool
John Wilkins [Thu, 9 Aug 2018 04:23:28 +0000 (21:23 -0700)]
Merge pull request #23431 from falcon78921/wip-doc-rados-pool

doc: fixed links in Pools section

Reviewed-by: John Wilkins <jowilkin@redhat.com>
6 years agoosd/OSD.cc: force updating heartbeat peers periodically 23487/head
xie xingguo [Mon, 30 Jul 2018 01:22:32 +0000 (09:22 +0800)]
osd/OSD.cc: force updating heartbeat peers periodically

Because the cluster topology may change (e.g., because we add some
new racks, hosts and disks) and we want the existing osds are then
aware of new incoming osds, guaranteeing osds are always trying to
do heartbeat as wide as possible(e.g., across all racks, hosts etc.).

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agocrush/CrushWrapper: check against dead crush rule
xie xingguo [Mon, 30 Jul 2018 00:40:59 +0000 (08:40 +0800)]
crush/CrushWrapper: check against dead crush rule

We currently remove a rule without adjusting the **rules** array
because we don't recycle the rule_no and hence there can be
holes in the "rules" array.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoosd/OSD.cc: choose heartbeat peers by failure domain
xie xingguo [Wed, 8 Aug 2018 09:52:29 +0000 (17:52 +0800)]
osd/OSD.cc: choose heartbeat peers by failure domain

By default, monitor requires at least two valid failure votes/reports from
different hosts to mark an OSD down, which turns out to be impossible sometimes
for a replicated-pool of size of 2 in those clusters made up of hosts
with contiguous labeled OSDs.

This patch instead does a breadth-first search based on the highest level of
failure domain at cluster-wide, to try to make heartbeat peers can cover all failure domains
whenever possible, which can hopefully help accelerating osd failure detection
in the above case..

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #23441 from tchaikov/wip-cmake-rocksdb-cleanup
Kefu Chai [Wed, 8 Aug 2018 16:46:53 +0000 (00:46 +0800)]
Merge pull request #23441 from tchaikov/wip-cmake-rocksdb-cleanup

cmake: rocksdb related cleanup

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge PR #23462 into master
Patrick Donnelly [Wed, 8 Aug 2018 16:40:21 +0000 (09:40 -0700)]
Merge PR #23462 into master

* refs/pull/23462/head:
doc: cleanup in cephfs/capabilities

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomon/PGMap: fix spacing around pretty-printed SI units 23471/head
Sage Weil [Tue, 7 Aug 2018 13:48:45 +0000 (08:48 -0500)]
mon/PGMap: fix spacing around pretty-printed SI units

"1k foo" not "1kfoo"

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23489 from alfredodeza/wip-cv-mgr
Andrew Schoen [Wed, 8 Aug 2018 15:43:49 +0000 (15:43 +0000)]
Merge pull request #23489 from alfredodeza/wip-cv-mgr

ceph-volume tests/functional add mgrs daemons to lvm tests

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge PR #23475 into master
Sage Weil [Wed, 8 Aug 2018 13:31:31 +0000 (08:31 -0500)]
Merge PR #23475 into master

* refs/pull/23475/head:
qa/standalone/crush/crush-choose-args: run mgr

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #23478 into master
Sage Weil [Wed, 8 Aug 2018 13:31:26 +0000 (08:31 -0500)]
Merge PR #23478 into master

* refs/pull/23478/head:
mgr/localpool: pg_num is an int arg to 'osd pool create'

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23267 from ifed01/wip-ifed-rm-fio-dir
Igor Fedotov [Wed, 8 Aug 2018 13:20:16 +0000 (16:20 +0300)]
Merge pull request #23267 from ifed01/wip-ifed-rm-fio-dir

test/fio:  pass config params to object store in a different manner

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-volume tests/functional add mgrs daemons to lvm tests 23489/head
Alfredo Deza [Wed, 8 Aug 2018 12:29:03 +0000 (08:29 -0400)]
ceph-volume tests/functional add mgrs daemons to lvm tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agocrush/CrushWrapper: get_children_of_type - switch outcome to vector
xie xingguo [Wed, 8 Aug 2018 08:46:16 +0000 (16:46 +0800)]
crush/CrushWrapper: get_children_of_type - switch outcome to vector

Because we don't really care about the order.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agomgr: fix beacon interruption caused by deadlock 23482/head
Yan Jun [Wed, 8 Aug 2018 07:24:37 +0000 (15:24 +0800)]
mgr: fix beacon interruption caused by deadlock

There is potential deadlock between this code and DaemonServer::send_report()

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
6 years agomgr: fix to apply changed mon_stat_smooth_intervals 23481/head
Yan Jun [Wed, 8 Aug 2018 06:35:38 +0000 (14:35 +0800)]
mgr: fix to apply changed mon_stat_smooth_intervals

While using config set or injectargs command to decrease
mon_stat_smooth_intervals, it didn't apply the new value.
this change fix it.

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
6 years agomgr/localpool: pg_num is an int arg to 'osd pool create' 23478/head
Sage Weil [Wed, 8 Aug 2018 01:43:49 +0000 (20:43 -0500)]
mgr/localpool: pg_num is an int arg to 'osd pool create'

In bd565bca3f42d7946c392b2833bb3d9982a8ac5d we start returning EINVAL if
the pg_num argument is not valid, whereas before it was silently ignored.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agokv/KeyValueDB: return const char* from MergeOperator::name() 23477/head
Sage Weil [Tue, 7 Aug 2018 22:02:56 +0000 (17:02 -0500)]
kv/KeyValueDB: return const char* from MergeOperator::name()

This avoids a c_str() on a temporary string later down the line, which
avoids a use-after-free.

Fixes: http://tracker.ceph.com/issues/26875
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23472 from jcsp/wip-orchestrator-rook-doc
Alfredo Deza [Tue, 7 Aug 2018 17:12:36 +0000 (13:12 -0400)]
Merge pull request #23472 from jcsp/wip-orchestrator-rook-doc

doc: Rook/orchestrator doc fixes

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoqa/standalone/crush/crush-choose-args: run mgr 23475/head
Sage Weil [Tue, 7 Aug 2018 16:55:22 +0000 (11:55 -0500)]
qa/standalone/crush/crush-choose-args: run mgr

The osd purge command needs a running mgr.

Fixes: d2b41d4095074447df247907934626f4287cd91b
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agocommon: expand meta in parse_argv() 23474/head
Kefu Chai [Tue, 7 Aug 2018 15:55:30 +0000 (23:55 +0800)]
common: expand meta in parse_argv()

it fixes the issue where the conf->foo fails to expand if it is set
as "$bar" in a .conf file, and "bar" is another config var, and bar
is set using config_proxy.parse_argv().

because before 773ef117, apply_changes() calls update_legacy_vals(),
which expand meta vars for legacy config vals, but after 773ef117,
we cannot change config_values in apply_changes() anymore. so
update_legacy_vals() calls is moved to apply_changes()'s callers
accordingly. but the apply_changes() is also called by global_init()
directly instead of by the routines in config.cc. so in 773ef117,
i missed it.

in this change, it's put back into parse_argv() instead of into
global_init(), as update_legacy_vals() is a low level function, and
parse_argv() could change the config_values, it's better to call
update_legacy_vals() out there, just like set_mon_vals() and
parse_config_files().

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoOSD: translate the error result 23473/head
Willem Jan Withagen [Tue, 7 Aug 2018 14:57:00 +0000 (16:57 +0200)]
OSD: translate the error result

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
6 years agotest/fio: pass config params to object store in a different manner 23267/head
Igor Fedotov [Tue, 7 Aug 2018 14:19:15 +0000 (17:19 +0300)]
test/fio: pass config params to object store in a different manner

This avoids an existing bug with config params substituion.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agodoc: Rook/orchestrator doc fixes 23472/head
John Spray [Tue, 7 Aug 2018 13:54:19 +0000 (09:54 -0400)]
doc: Rook/orchestrator doc fixes

Signed-off-by: John Spray <john.spray@redhat.com>
6 years agoMerge PR #23432 into master
Sage Weil [Tue, 7 Aug 2018 13:59:39 +0000 (08:59 -0500)]
Merge PR #23432 into master

* refs/pull/23432/head:
Revert "rocksdb: pickup change to link against libsnappy.a"
cmake,make-dist: revert "build gperftools if WITH_STATIC_LIBSTDCXX"
cmake: cleanup snappy related script
debian: strip "-Wl,-Bsymbolic-functions" from LDFLAGS

6 years agoMerge PR #23243 into master
Sage Weil [Tue, 7 Aug 2018 13:54:00 +0000 (08:54 -0500)]
Merge PR #23243 into master

* refs/pull/23243/head:
mon/OSDMonitor: remove ambiguous type case for 'osd pool set' value
mon: use throwing variant of cmd_getval
common/cmdparse: add cmd_getval_throws variants that throw bad_cmd_get
mon: catch bad_cmd_exception and reply EINVAL
common/cmdparse: add bad_cmd_get exception

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #23338 into master
Sage Weil [Tue, 7 Aug 2018 13:53:55 +0000 (08:53 -0500)]
Merge PR #23338 into master

* refs/pull/23338/head:
msg/Messenger: send_message -> send_to
msg/msg_types: add entity_addr_t::legacy_or_front_addr()
mon/MonMap: kill get_inst()
mon: kill MonMap::get_inst() users
mon/MonClient: replace get_mon_{addr,inst} with get_mon_addrs
mon/MonClient: get_connection -> connect_to_mon
src/test: get_connection -> connect_to_*
mon/MonMap: add get_addrs() (temp wrappers)
msg/Messenger: make connect_to() key method, get_connection() becomes wrapper

6 years agoMerge PR #23412 into master
Sage Weil [Tue, 7 Aug 2018 13:53:51 +0000 (08:53 -0500)]
Merge PR #23412 into master

* refs/pull/23412/head:
mgr: add Orchestrator.available method + CLI
doc: add general documentation on orchestrator
doc: add page for Rook module
doc: add development guide for Ceph+Rook in k8s
script: add kubejacker script
mgr/rook: Rook orchestrator module
mgr/orchestrator_cli: module for calling into orchestators
mgr: introduce `orchestrator` python interface

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoinclude/types: render SI units adjacent to number
Sage Weil [Mon, 6 Aug 2018 18:31:53 +0000 (13:31 -0500)]
include/types: render SI units adjacent to number

Make

 out << si_u_t(foo) << " objects"

result in strings like

 "0 objects"
 "123k objects"
 "3M objects"

instead of

 "0  objects"
 "0 k objects"
 "3 M objects"

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23430 from tchaikov/wip-silence-clang-warnings
Kefu Chai [Tue, 7 Aug 2018 10:18:01 +0000 (18:18 +0800)]
Merge pull request #23430 from tchaikov/wip-silence-clang-warnings

tools, mgr: silence clang warnings

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #23420 from tspmelo/fix-24902
Sebastian Wagner [Tue, 7 Aug 2018 09:43:48 +0000 (11:43 +0200)]
Merge pull request #23420 from tspmelo/fix-24902

mgr/dashboard: Escape regex pattern in DeletionModalComponent

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
6 years agoMerge pull request #23414 from tspmelo/wip-breadcrumbs
Sebastian Wagner [Tue, 7 Aug 2018 09:38:56 +0000 (11:38 +0200)]
Merge pull request #23414 from tspmelo/wip-breadcrumbs

mgr/dashboard: Add breadcrumbs component

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #23465 from ukernel/wip-revert-22850
Yan, Zheng [Tue, 7 Aug 2018 09:05:37 +0000 (17:05 +0800)]
Merge pull request #23465 from ukernel/wip-revert-22850

Revert "cephfs-journal-tool: enable purge_queue journal's event comma…

6 years agomgr/dashboard: Update prettier package 23466/head
Tiago Melo [Mon, 6 Aug 2018 17:44:15 +0000 (18:44 +0100)]
mgr/dashboard: Update prettier package

Prettier updated the following rule, that implied we update our code:
"Never inline decorators unless they’re lone parameter decorators"

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoRevert "cephfs-journal-tool: enable purge_queue journal's event commands" 23465/head
Yan, Zheng [Tue, 7 Aug 2018 09:00:02 +0000 (17:00 +0800)]
Revert "cephfs-journal-tool: enable purge_queue journal's event commands"

This reverts commit 8ebfa93982a95d6ccc66faa2a828b9386af45238. That
commit changes PurgeItem's encode/decode function, breaks backward
compatibility

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
6 years agomgr/dashboard: Update Codelyzer package
Tiago Melo [Mon, 6 Aug 2018 17:37:39 +0000 (18:37 +0100)]
mgr/dashboard: Update Codelyzer package

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Update all @angular packages
Tiago Melo [Mon, 6 Aug 2018 16:48:13 +0000 (17:48 +0100)]
mgr/dashboard: Update all @angular packages

no-unused-variable is deprecated because typescript now covers most of its
functionality.

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Update frontend packages
Tiago Melo [Mon, 6 Aug 2018 16:32:50 +0000 (17:32 +0100)]
mgr/dashboard: Update frontend packages

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #22562 from wjwithagen/wjw-fix-dashboard-build
Kefu Chai [Tue, 7 Aug 2018 08:27:08 +0000 (16:27 +0800)]
Merge pull request #22562 from wjwithagen/wjw-fix-dashboard-build

mgr/dashboard: Fix building under FreeBSD

Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agodoc: cleanup in cephfs/capabilities 23462/head
Jos Collin [Tue, 7 Aug 2018 04:16:40 +0000 (09:46 +0530)]
doc: cleanup in cephfs/capabilities

Signed-off-by: Jos Collin <jcollin@redhat.com>
6 years agoMerge pull request #23450 from neha-ojha/wip-fix-complete-to
Xie Xingguo [Tue, 7 Aug 2018 03:24:25 +0000 (11:24 +0800)]
Merge pull request #23450 from neha-ojha/wip-fix-complete-to

osd/PGLog.cc: check if complete_to points to log.end()

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoFreeBSD: update build script to current state 22562/head
Willem Jan Withagen [Thu, 14 Jun 2018 12:27:08 +0000 (14:27 +0200)]
FreeBSD: update build script to current state

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
6 years agoMerge pull request #23456 from yuriw/wip-yuriw-crontab-master
David Galloway [Mon, 6 Aug 2018 21:02:00 +0000 (17:02 -0400)]
Merge pull request #23456 from yuriw/wip-yuriw-crontab-master

qa/tests: changed ceph qa email address to bypass dreamhost's spam filter

6 years agoqa/tests: changed ceph qa email address to bypass dreamhost's spam filter 23456/head
Yuri Weinstein [Mon, 6 Aug 2018 20:59:21 +0000 (13:59 -0700)]
qa/tests: changed ceph qa email address to bypass dreamhost's spam filter

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge pull request #23448 from alfredodeza/wip-rm26862
Andrew Schoen [Mon, 6 Aug 2018 20:32:16 +0000 (20:32 +0000)]
Merge pull request #23448 from alfredodeza/wip-rm26862

ceph-volume: `lvm batch` allow extra flags (like dmcrypt) for bluestore

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge PR #23433 into master
Patrick Donnelly [Mon, 6 Aug 2018 20:27:12 +0000 (13:27 -0700)]
Merge PR #23433 into master

* refs/pull/23433/head:
client: fix compile warning

Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agodoc/bluestore detail the different sizing strategies for block.db based on cluster... 23210/head
Alfredo Deza [Tue, 24 Jul 2018 18:39:59 +0000 (14:39 -0400)]
doc/bluestore detail the different sizing strategies for block.db based on cluster workload

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agodoc/bluestore expand on configuration with fast and slow devices
Alfredo Deza [Tue, 24 Jul 2018 16:51:56 +0000 (12:51 -0400)]
doc/bluestore expand on configuration with fast and slow devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge PR #22850 into master
Patrick Donnelly [Mon, 6 Aug 2018 18:43:44 +0000 (11:43 -0700)]
Merge PR #22850 into master

* refs/pull/22850/head:
cephfs-journal-tool: enable purge_queue journal's event commands

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #22999 into master
Patrick Donnelly [Mon, 6 Aug 2018 18:43:35 +0000 (11:43 -0700)]
Merge PR #22999 into master

* refs/pull/22999/head:
mds: consider max age of dispatch queue when finding stale client
mds: reset heartbeat map at potential time-consuming places
mds: change MDSRank::finished_queue to deque

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #23341 into master
Patrick Donnelly [Mon, 6 Aug 2018 18:43:24 +0000 (11:43 -0700)]
Merge PR #23341 into master

* refs/pull/23341/head:
mds: calculate load by checking self CPU usage

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #23370 into master
Patrick Donnelly [Mon, 6 Aug 2018 18:43:09 +0000 (11:43 -0700)]
Merge PR #23370 into master

* refs/pull/23370/head:
client: check for unmounted condition before printing debug output

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge pull request #23387 from jcsp/wip-mgr-rw
John Spray [Mon, 6 Aug 2018 16:26:49 +0000 (17:26 +0100)]
Merge pull request #23387 from jcsp/wip-mgr-rw

mgr: fix permissions on `balancer execute`

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23205 from jcsp/wip-devicehealth-cleanup
John Spray [Mon, 6 Aug 2018 16:26:22 +0000 (17:26 +0100)]
Merge pull request #23205 from jcsp/wip-devicehealth-cleanup

mgr/devicehealth: clean up error handling

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoosd/PGLog.cc: check if complete_to points to log.end() 23450/head
Neha Ojha [Sat, 4 Aug 2018 00:38:22 +0000 (17:38 -0700)]
osd/PGLog.cc: check if complete_to points to log.end()

Signed-off-by: Neha Ojha <nojha@redhat.com>