]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoMerge pull request #23186 from smithfarm/wip-4640
Dan Mick [Mon, 23 Jul 2018 21:18:15 +0000 (14:18 -0700)]
Merge pull request #23186 from smithfarm/wip-4640

doc/man: mention import and export commands in rados manpage

6 years agodoc/man: mention import and export commands in rados manpage 23186/head
Nathan Cutler [Mon, 23 Jul 2018 17:23:33 +0000 (19:23 +0200)]
doc/man: mention import and export commands in rados manpage

Fixes: http://tracker.ceph.com/issues/4640
Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #23114 from smithfarm/wip-24800
Nathan Cutler [Mon, 23 Jul 2018 10:41:06 +0000 (12:41 +0200)]
Merge pull request #23114 from smithfarm/wip-24800

doc: use :command: for subcommands in ceph-bluestore-tool manpage

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 years agoMerge pull request #23166 from tchaikov/wip-cmake-cleanups
Kefu Chai [Sun, 22 Jul 2018 16:33:32 +0000 (00:33 +0800)]
Merge pull request #23166 from tchaikov/wip-cmake-cleanups

cmake: cleanups

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #22875 from smithfarm/wip-backport-script
Nathan Cutler [Sun, 22 Jul 2018 07:28:27 +0000 (09:28 +0200)]
Merge pull request #22875 from smithfarm/wip-backport-script

script: new ceph-backport.sh script

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #20401 from smithfarm/wip-22558
Kefu Chai [Sun, 22 Jul 2018 07:23:36 +0000 (15:23 +0800)]
Merge pull request #20401 from smithfarm/wip-22558

build/ops: rpm: provide files moved from ceph-test …

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: extract ceph-dencoder related stuff out 23166/head
Kefu Chai [Sun, 22 Jul 2018 02:01:11 +0000 (10:01 +0800)]
cmake: extract ceph-dencoder related stuff out

let's modularize the cmake file piecemeal.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: Finddpdk: add dpdk::${component} libs
Kefu Chai [Fri, 20 Jul 2018 10:50:07 +0000 (18:50 +0800)]
cmake: Finddpdk: add dpdk::${component} libs

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23160 from smithfarm/wip-24017
Nathan Cutler [Sat, 21 Jul 2018 18:24:26 +0000 (20:24 +0200)]
Merge pull request #23160 from smithfarm/wip-24017

tests: upgrade/luminous-x: whitelist REQUEST_SLOW for rados_mon_thrash

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agotests: upgrade/luminous-x: whitelist REQUEST_SLOW for rados_mon_thrash 23160/head
Nathan Cutler [Sat, 21 Jul 2018 09:22:35 +0000 (11:22 +0200)]
tests: upgrade/luminous-x: whitelist REQUEST_SLOW for rados_mon_thrash

Fixes: http://tracker.ceph.com/issues/25051
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agobuild/ops: rpm: provide files moved from ceph-test 20401/head
Nathan Cutler [Mon, 12 Feb 2018 16:05:35 +0000 (17:05 +0100)]
build/ops: rpm: provide files moved from ceph-test

d7b493a7108a68302bc0f48337bf3c253a720266 moved three binaries from the
ceph-test package to other packages, causing trouble with upgrades in
test lab environments (users typically do not install the ceph-test
package).

While the original upgrade troubles have already been addressed, RPM
has a "Provides" mechanism for easing the pain, so it makes sense to
use it.

Fixes: http://tracker.ceph.com/issues/22558
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge PR #23139 into master
Patrick Donnelly [Sat, 21 Jul 2018 03:54:33 +0000 (20:54 -0700)]
Merge PR #23139 into master

* refs/pull/23139/head:
mds: avoid using g_conf().get_val<...>(...) in hot path

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22977 into master
Patrick Donnelly [Sat, 21 Jul 2018 03:53:06 +0000 (20:53 -0700)]
Merge PR #22977 into master

* refs/pull/22977/head:
qa/tasks/cephfs: add test for discontinuous mdsmap
mds: handle discontinuous mdsmap

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #23022 into master
Patrick Donnelly [Sat, 21 Jul 2018 03:27:17 +0000 (20:27 -0700)]
Merge PR #23022 into master

* refs/pull/23022/head:
mds: health warning for slow metadata IO

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #23063 into master
Patrick Donnelly [Sat, 21 Jul 2018 03:23:12 +0000 (20:23 -0700)]
Merge PR #23063 into master

* refs/pull/23063/head:
mds: increase debug level for dropped client cap msg

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #23062 into master
Patrick Donnelly [Sat, 21 Jul 2018 03:18:11 +0000 (20:18 -0700)]
Merge PR #23062 into master

* refs/pull/23062/head:
mds: dump recent events on respawn

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #23061 into master
Patrick Donnelly [Sat, 21 Jul 2018 03:16:12 +0000 (20:16 -0700)]
Merge PR #23061 into master

* refs/pull/23061/head:
mds: print mdsmap processed at low debug level

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge PR #23135 into master
Patrick Donnelly [Sat, 21 Jul 2018 03:14:16 +0000 (20:14 -0700)]
Merge PR #23135 into master

* refs/pull/23135/head:
mds: refactor ostream passing

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge PR #22947 into master
Patrick Donnelly [Sat, 21 Jul 2018 03:13:24 +0000 (20:13 -0700)]
Merge PR #22947 into master

* refs/pull/22947/head:
test: validate empty json output during recursive scrub
test: subclass test_scrub.Workload from CephFSTestCase
mds: dump minimal cli output during recursive scrub trigger

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #23009 into master
Patrick Donnelly [Sat, 21 Jul 2018 03:10:50 +0000 (20:10 -0700)]
Merge PR #23009 into master

* refs/pull/23009/head:
client: wire up ceph_ll_fallocate

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #23151 from neha-ojha/wip-25008
Sage Weil [Fri, 20 Jul 2018 20:59:16 +0000 (15:59 -0500)]
Merge pull request #23151 from neha-ojha/wip-25008

qa/suites/powercycle: whitelist MDS_SLOW_REQUEST

7 years agoMerge pull request #23123 from yuriw/wip-yuriw-24926-master
Yuri Weinstein [Fri, 20 Jul 2018 20:04:36 +0000 (13:04 -0700)]
Merge pull request #23123 from yuriw/wip-yuriw-24926-master

qa/tests: Set ansible-version: 2.5

7 years agoqa/suites/powercycle: whitelist MDS_SLOW_REQUEST 23151/head
Neha Ojha [Fri, 20 Jul 2018 19:50:02 +0000 (12:50 -0700)]
qa/suites/powercycle: whitelist MDS_SLOW_REQUEST

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoMerge PR #22982 into master
Sage Weil [Fri, 20 Jul 2018 18:24:39 +0000 (13:24 -0500)]
Merge PR #22982 into master

* refs/pull/22982/head:
os/bluestore: Add new perfcounter which record latency of

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge PR #23041 into master
Sage Weil [Fri, 20 Jul 2018 18:24:33 +0000 (13:24 -0500)]
Merge PR #23041 into master

* refs/pull/23041/head:
mon: manage paxos_services alloc with unique_ptr

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #23047 into master
Sage Weil [Fri, 20 Jul 2018 18:24:27 +0000 (13:24 -0500)]
Merge PR #23047 into master

* refs/pull/23047/head:
common: SubProcess needs SIGTERM, from the includes

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #23053 into master
Sage Weil [Fri, 20 Jul 2018 18:24:21 +0000 (13:24 -0500)]
Merge PR #23053 into master

* refs/pull/23053/head:
mon: emplace mon_caps in Monitor

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #23060 into master
Sage Weil [Fri, 20 Jul 2018 18:24:16 +0000 (13:24 -0500)]
Merge PR #23060 into master

* refs/pull/23060/head:
test: Only inquire bluestore when it's build

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #23078 into master
Sage Weil [Fri, 20 Jul 2018 18:24:10 +0000 (13:24 -0500)]
Merge PR #23078 into master

* refs/pull/23078/head:
spdk: -march=core2 instead of -march=native

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #22919 from liewegas/wip-rgw-cls-test
Casey Bodley [Fri, 20 Jul 2018 14:01:36 +0000 (10:01 -0400)]
Merge pull request #22919 from liewegas/wip-rgw-cls-test

qa/suites/rgw/verify/tasks/cls_rgw: test cls_rgw

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #22975 from tone-zhang/vstart-spdk
Kefu Chai [Fri, 20 Jul 2018 14:00:26 +0000 (22:00 +0800)]
Merge pull request #22975 from tone-zhang/vstart-spdk

vstart.sh: Support SPDK in Ceph development deployment

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22790 from joke-lee/WIP-admin-rest-api-user-info-with-access-key
Casey Bodley [Fri, 20 Jul 2018 13:59:24 +0000 (09:59 -0400)]
Merge pull request #22790 from joke-lee/WIP-admin-rest-api-user-info-with-access-key

rgw: support admin rest api get user info through user's access-key

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #23099 from adamemerson/wip-all-your-fault
Casey Bodley [Fri, 20 Jul 2018 13:57:10 +0000 (09:57 -0400)]
Merge pull request #23099 from adamemerson/wip-all-your-fault

rgw: All Your Fault

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
7 years agoMerge pull request #23058 from mkogan1/cont-19282-fix-rgw-multisite-datasync_v2
Casey Bodley [Fri, 20 Jul 2018 13:52:31 +0000 (09:52 -0400)]
Merge pull request #23058 from mkogan1/cont-19282-fix-rgw-multisite-datasync_v2

rgw: add curl_low_speed_limit and curl_low_speed_time config to avoid

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #23119 from cbodley/wip-rgw-link-tenant
Casey Bodley [Fri, 20 Jul 2018 13:51:01 +0000 (09:51 -0400)]
Merge pull request #23119 from cbodley/wip-rgw-link-tenant

rgw: RGWBucket::link supports tenant

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #23010 from noahdesu/mgr-expose-ec-profiles
Kefu Chai [Fri, 20 Jul 2018 12:54:13 +0000 (20:54 +0800)]
Merge pull request #23010 from noahdesu/mgr-expose-ec-profiles

mgr: expose ec profiles through manager

Reveiwed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #23016 from rzarzynski/wip-osd-cleanup-log_op_stats
Kefu Chai [Fri, 20 Jul 2018 12:53:35 +0000 (20:53 +0800)]
Merge pull request #23016 from rzarzynski/wip-osd-cleanup-log_op_stats

osd: clean up and avoid extra ref-counting in PrimaryLogPG::log_op_stats.

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22993 from jcsp/wip-progress
Kefu Chai [Fri, 20 Jul 2018 12:49:38 +0000 (20:49 +0800)]
Merge pull request #22993 from jcsp/wip-progress

mgr/progress: introduce the `progress` module

Reviewed-by: Noah Watkins <nwatkins@redhat.com>
7 years agomds: avoid using g_conf().get_val<...>(...) in hot path 23139/head
Yan, Zheng [Mon, 9 Jul 2018 11:16:29 +0000 (19:16 +0800)]
mds: avoid using g_conf().get_val<...>(...) in hot path

g_conf->get_val<>()'s overhead is high

Fixes: http://tracker.ceph.com/issues/24820
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agovstart.sh: Support SPDK in Ceph development deployment 22975/head
tone.zhang [Wed, 11 Jul 2018 02:09:54 +0000 (10:09 +0800)]
vstart.sh: Support SPDK in Ceph development deployment

Support SPDK in vstart.sh, the developer can debug SPDK within
development deployment with the option
"--bluestore-spdk <vendor>:<device>".

Signed-off-by: tone.zhang <tone.zhang@arm.com>
7 years agoMerge pull request #23121 from noahdesu/mgr-crash-history
Dan Mick [Thu, 19 Jul 2018 22:21:25 +0000 (15:21 -0700)]
Merge pull request #23121 from noahdesu/mgr-crash-history

mgr/crash: add hour granularity crash summary

7 years agomds: refactor ostream passing 23135/head
Patrick Donnelly [Thu, 19 Jul 2018 20:58:38 +0000 (13:58 -0700)]
mds: refactor ostream passing

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agomgr/crash: json report of recent crashes 23121/head
Noah Watkins [Wed, 18 Jul 2018 21:26:47 +0000 (14:26 -0700)]
mgr/crash: json report of recent crashes

reports crashes per entity type with hour granularity. primarily for
consumption by the insights module.

Signed-off-by: Noah Watkins <nwatkins@redhat.com>
7 years agomgr/crash: add timestamp filter helper
Noah Watkins [Wed, 18 Jul 2018 20:49:52 +0000 (13:49 -0700)]
mgr/crash: add timestamp filter helper

Signed-off-by: Noah Watkins <nwatkins@redhat.com>
7 years agoMerge pull request #23129 from alfredodeza/wip-rm24952
Alfredo Deza [Thu, 19 Jul 2018 16:36:40 +0000 (12:36 -0400)]
Merge pull request #23129 from alfredodeza/wip-rm24952

ceph-volume lvm.listing only include devices if they exist

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge PR #23097 into master
Patrick Donnelly [Thu, 19 Jul 2018 15:55:49 +0000 (08:55 -0700)]
Merge PR #23097 into master

* refs/pull/23097/head:
vstart_runner: pass ctx to FuseMount and load mount info

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 years agoMerge pull request #23077 from smithfarm/wip-etc-sudoers
Nathan Cutler [Thu, 19 Jul 2018 14:26:20 +0000 (16:26 +0200)]
Merge pull request #23077 from smithfarm/wip-etc-sudoers

build/ops: rpm: make sudo a build dependency

Reviewed-by: Tim Serong <tserong@suse.com>
7 years agobuild/ops: rpm: make sudo a build dependency 23077/head
Nathan Cutler [Mon, 16 Jul 2018 18:56:50 +0000 (20:56 +0200)]
build/ops: rpm: make sudo a build dependency

ede36df3253bd67bfe206abc0446f1f156feae64 added sudo as a runtime dependency,
but that commit also causes OBS builds to fail with:

[10666s] ... checking filelist
[10667s] ceph-osd-14.0.0-lp150.1332.1.x86_64.rpm: directories not owned by a package:
[10667s]  - /etc/sudoers.d

Since the "sudo" package is a runtime dependency of ceph-osd, it is guaranteed
to be installed on the target system and there is no reason for ceph-osd to own
this directory.

Having sudo as a build dependency makes OBS happy, and does no harm.

Follow-on fix for https://github.com/ceph/ceph/pull/22745

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoscript: new ceph_backport.sh script 22875/head
Nathan Cutler [Thu, 5 Jul 2018 12:30:38 +0000 (14:30 +0200)]
script: new ceph_backport.sh script

Once the local backport git branch has been prepared (i.e. after cherry-picking
stage), this script automates the process of opening the backport PR and
updating the backport tracker issue.

Parts of this script were written by Loic Dachary.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #23089 from smithfarm/wip-seastar-build-deps
Nathan Cutler [Thu, 19 Jul 2018 12:10:31 +0000 (14:10 +0200)]
Merge pull request #23089 from smithfarm/wip-seastar-build-deps

build/ops: rpm: fix seastar build dependencies for SUSE

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: use :command: for subcommands in ceph-bluestore-tool manpage 23114/head
Nathan Cutler [Wed, 18 Jul 2018 12:01:42 +0000 (14:01 +0200)]
doc: use :command: for subcommands in ceph-bluestore-tool manpage

Older versions of Sphinx, such as the one in CentOS 7, do not render "..
option::" lines correctly if the option contains a hyphen but does not start
with a hyphen. And ceph-bluestore-tool appears to be the only Ceph manpage
affected by this bug.

Fixes: http://tracker.ceph.com/issues/24800
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agobuild/ops: rpm: fix seastar build dependencies for SUSE 23089/head
Nathan Cutler [Tue, 17 Jul 2018 08:46:50 +0000 (10:46 +0200)]
build/ops: rpm: fix seastar build dependencies for SUSE

cryptopp-devel is called libcryptopp-devel on SUSE.

/usr/bin/protoc is included in protobuf-devel on SUSE.

numactl-devel is called libnuma-devel on SUSE

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoqa/tasks/cephfs: add test for discontinuous mdsmap 22977/head
Yan, Zheng [Thu, 19 Jul 2018 04:36:31 +0000 (12:36 +0800)]
qa/tasks/cephfs: add test for discontinuous mdsmap

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomds: handle discontinuous mdsmap
Yan, Zheng [Wed, 11 Jul 2018 03:01:43 +0000 (11:01 +0800)]
mds: handle discontinuous mdsmap

There are two cases that a mds can get discontinuous mdsmap:
 - the mdsmap was sent by other mds
 - connection to monitor was reset

Monitor does not preserve old version mdsmap. There is no easy way to
ensure mds always gets continuous mdsmap. Instead, making mds handle
discontinuous mdsmap is not difficult. When failover happens in multimds
cluster, survivor mds may miss the mdsmap that indicates old mds failed
and/or the mdsmap that indicates new mds started to replay. But the
survivor mds always get the mdsmap that indicates the new mds entered
resolve state.

Fixes: http://tracker.ceph.com/issues/24856
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agoqa/tests: Set ansible-version: 2.5 23123/head
Yuri Weinstein [Wed, 18 Jul 2018 23:57:12 +0000 (16:57 -0700)]
qa/tests: Set ansible-version: 2.5

Fixes http://tracker.ceph.com/issues/24926
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoceph-volume lvm.listing only include devices if they exist 23129/head
Alfredo Deza [Wed, 18 Jul 2018 20:50:25 +0000 (16:50 -0400)]
ceph-volume lvm.listing only include devices if they exist

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agorgw: RGWBucket::link supports tenant 23119/head
Casey Bodley [Wed, 18 Jul 2018 20:24:24 +0000 (16:24 -0400)]
rgw: RGWBucket::link supports tenant

use tenant-aware helper functions to generate metadata keys/oids

this allows 'radosgw-admin bucket link' to succeed for a tenanted user,
provided that the bucket belongs to the same tenant

Fixes: http://tracker.ceph.com/issues/22666
Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #23117 from ceph/wip-rm24796
Alfredo Deza [Wed, 18 Jul 2018 20:03:49 +0000 (16:03 -0400)]
Merge pull request #23117 from ceph/wip-rm24796

ceph-volume: unmount lvs correctly before zapping

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #23098 from neha-ojha/wip-limit-pglog
Josh Durgin [Wed, 18 Jul 2018 18:10:00 +0000 (11:10 -0700)]
Merge pull request #23098 from neha-ojha/wip-limit-pglog

osd: limit pg log length under all circumstances

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #22347 from cbodley/wip-24367
Casey Bodley [Wed, 18 Jul 2018 17:25:58 +0000 (13:25 -0400)]
Merge pull request #22347 from cbodley/wip-24367

rgw: fixes for sync of versioned objects

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #23032 from cbodley/wip-24873
Casey Bodley [Wed, 18 Jul 2018 17:25:01 +0000 (13:25 -0400)]
Merge pull request #23032 from cbodley/wip-24873

radosgw-admin: 'sync error trim' loops until complete

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #23116 from alfredodeza/wip-rm24961
Andrew Schoen [Wed, 18 Jul 2018 17:11:20 +0000 (17:11 +0000)]
Merge pull request #23116 from alfredodeza/wip-rm24961

ceph-volume tests/functional run lvm list after OSD provisioning

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume tests/functional run lvm list after OSD provisioning 23116/head
Alfredo Deza [Wed, 18 Jul 2018 16:39:01 +0000 (12:39 -0400)]
ceph-volume tests/functional run lvm list after OSD provisioning

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agorgw: Cache notify fault injection 23099/head
Adam C. Emerson [Wed, 14 Mar 2018 20:29:02 +0000 (16:29 -0400)]
rgw: Cache notify fault injection

Allow a configured probability of dropping a notify message on the
floor without processing or acking it.

Fixes: http://tracker.ceph.com/issues/24962
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoceph-volume: unmount lvs correctly before zapping 23117/head
Andrew Schoen [Wed, 18 Jul 2018 16:08:15 +0000 (11:08 -0500)]
ceph-volume: unmount lvs correctly before zapping

If the lv found does not include the meatadata to construct an osd path,
then we should try to unmount it's path instead.

Fixes: http://tracker.ceph.com/issues/24796
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #23075 from alfredodeza/wip-24492
Alfredo Deza [Wed, 18 Jul 2018 16:04:11 +0000 (12:04 -0400)]
Merge pull request #23075 from alfredodeza/wip-24492

ceph-volume batch command

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #23083 from dzafman/wip-disable-skip-dd
David Zafman [Wed, 18 Jul 2018 15:23:07 +0000 (11:23 -0400)]
Merge pull request #23083 from dzafman/wip-disable-skip-dd

osd: Change osd_skip_data_digest default to false and make it LEVEL_DEV

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #22732 from b-ranto/wip-metric-reset
Boris Ranto [Wed, 18 Jul 2018 14:20:57 +0000 (16:20 +0200)]
Merge pull request #22732 from b-ranto/wip-metric-reset

prometheus: Fix metric resets

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge PR #23040 into master
Patrick Donnelly [Wed, 18 Jul 2018 13:43:13 +0000 (06:43 -0700)]
Merge PR #23040 into master

* refs/pull/23040/head:
ceph-debug-docker: install python3 cephfs/rados packages

Reviewed-by: Rishabh Dave <ridave@redhat.com>
7 years agovstart_runner: pass ctx to FuseMount and load mount info 23097/head
Patrick Donnelly [Tue, 17 Jul 2018 16:51:07 +0000 (09:51 -0700)]
vstart_runner: pass ctx to FuseMount and load mount info

Credit to Venky for finding the problem.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #23008 from tchaikov/wip-rbd-silence-gcc-warning
Jason Dillaman [Wed, 18 Jul 2018 12:10:07 +0000 (08:10 -0400)]
Merge pull request #23008 from tchaikov/wip-rbd-silence-gcc-warning

tools/rbd: assert(g_ceph_context) not g_conf

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22902 from alfonsomthd/24778-dashboard-info-cards-refactor
Lenz Grimmer [Wed, 18 Jul 2018 10:33:19 +0000 (12:33 +0200)]
Merge pull request #22902 from alfonsomthd/24778-dashboard-info-cards-refactor

mgr/dashboard: Dashboard info cards refactoring

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #23108 from tchaikov/wip-install-deps-seastar
Kefu Chai [Wed, 18 Jul 2018 03:53:07 +0000 (11:53 +0800)]
Merge pull request #23108 from tchaikov/wip-install-deps-seastar

run-make-check: set WITH_SEASTAR with a non-empty string

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoinstall-deps: set DEBIAN_FRONTEND for apt-get 23108/head
Kefu Chai [Wed, 18 Jul 2018 02:28:03 +0000 (10:28 +0800)]
install-deps: set DEBIAN_FRONTEND for apt-get

so it won't complain if the tty is not an interactive one.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agorun-make-check: set WITH_SEASTAR with a non-empty string
Kefu Chai [Wed, 18 Jul 2018 02:25:19 +0000 (10:25 +0800)]
run-make-check: set WITH_SEASTAR with a non-empty string

otherwise "test -n $WITH_SEASTAR" fails, and the dependencies won't be
installed.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #22966 into master
Patrick Donnelly [Wed, 18 Jul 2018 01:47:35 +0000 (18:47 -0700)]
Merge PR #22966 into master

* refs/pull/22966/head:
mds: clarify doc string for mds_beacon_grace

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoosd/PGLog: allow pg log trim when complete_to is less than trim_to 23098/head
Neha Ojha [Tue, 17 Jul 2018 01:11:27 +0000 (18:11 -0700)]
osd/PGLog: allow pg log trim when complete_to is less than trim_to

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoprometheus: Set the response header for cached response 22732/head
Boris Ranto [Tue, 17 Jul 2018 14:39:38 +0000 (16:39 +0200)]
prometheus: Set the response header for cached response

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoprometheus: Reset the time the data was captured
Boris Ranto [Tue, 17 Jul 2018 13:59:20 +0000 (15:59 +0200)]
prometheus: Reset the time the data was captured

This was forgotten during the previous patches.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoprometheus: Format metrics in the collect function
Boris Ranto [Thu, 12 Jul 2018 17:29:07 +0000 (19:29 +0200)]
prometheus: Format metrics in the collect function

This allows us to clear metrics upon formatting in the collect function.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoprometheus: Remove the Metrics class
Boris Ranto [Thu, 12 Jul 2018 17:01:50 +0000 (19:01 +0200)]
prometheus: Remove the Metrics class

The class was introduced to account for the 'pending' mechanism but that
is no longer being used by the code so we no longer need it since it
serves a purpose of a simple dictionary, now.

This simplifies the code and brings a bit of performance improvements
since the Metric classes in the collect method are created only if they
did not exist before.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoprometheus: Optimize metrics formatting
Boris Ranto [Thu, 12 Jul 2018 15:05:18 +0000 (17:05 +0200)]
prometheus: Optimize metrics formatting

It is faster to use join for join multiple strings than the regular
string concatenation since it does not create a new string on each
iteration.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoprometheus: Use instance instead of inst variable
Boris Ranto [Thu, 12 Jul 2018 11:57:59 +0000 (13:57 +0200)]
prometheus: Use instance instead of inst variable

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoprometheus: Make the cache timeout configurable
Boris Ranto [Wed, 11 Jul 2018 22:55:18 +0000 (00:55 +0200)]
prometheus: Make the cache timeout configurable

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoprometheus: Fix metric resets
Boris Ranto [Wed, 27 Jun 2018 07:50:04 +0000 (09:50 +0200)]
prometheus: Fix metric resets

This patch changes the way we reset metrics when collecting data in the
prometheus exporter module. With this patch, the exported metrics at any
point in time should align with a freshly started ceph-mgr module.

The patch also introduces locking mechanism to serialize the requests
and to avoid overwriting the metrics during multiple scrapes happenning
at the same time.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoceph-volume tests validate the new utils for prompts 23075/head
Alfredo Deza [Mon, 16 Jul 2018 13:23:14 +0000 (09:23 -0400)]
ceph-volume tests validate the new utils for prompts

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util create prompt helpers
Alfredo Deza [Mon, 16 Jul 2018 13:22:50 +0000 (09:22 -0400)]
ceph-volume util create prompt helpers

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.api update lvm sizing tests
Alfredo Deza [Fri, 13 Jul 2018 12:57:13 +0000 (08:57 -0400)]
ceph-volume tests.api update lvm sizing tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests verify str_to_int utility
Alfredo Deza [Fri, 13 Jul 2018 12:55:46 +0000 (08:55 -0400)]
ceph-volume tests verify str_to_int utility

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume api.lvm convert and use extents for sizing calculations
Alfredo Deza [Fri, 13 Jul 2018 12:55:28 +0000 (08:55 -0400)]
ceph-volume api.lvm convert and use extents for sizing calculations

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util move the str_to_int utility out of lvm
Alfredo Deza [Fri, 13 Jul 2018 12:54:33 +0000 (08:54 -0400)]
ceph-volume util move the str_to_int utility out of lvm

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.batch update help docs from auto to batch
Alfredo Deza [Thu, 12 Jul 2018 20:11:29 +0000 (16:11 -0400)]
ceph-volume lvm.batch update help docs from auto to batch

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.main rename auto to batch
Alfredo Deza [Thu, 12 Jul 2018 20:10:47 +0000 (16:10 -0400)]
ceph-volume lvm.main rename auto to batch

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm rename auto to batch
Alfredo Deza [Thu, 12 Jul 2018 20:10:28 +0000 (16:10 -0400)]
ceph-volume lvm rename auto to batch

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.strategies add stubs for filestore
Alfredo Deza [Thu, 12 Jul 2018 19:46:05 +0000 (15:46 -0400)]
ceph-volume lvm.strategies add stubs for filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.strategies add bluestore with validators
Alfredo Deza [Thu, 12 Jul 2018 19:45:20 +0000 (15:45 -0400)]
ceph-volume lvm.strategies add bluestore with validators

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #23093 from ceph/wip-rm24044
Alfredo Deza [Tue, 17 Jul 2018 18:03:10 +0000 (14:03 -0400)]
Merge pull request #23093 from ceph/wip-rm24044

ceph-volume: an OSD ID must be exist and be destroyed before reuse

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #23038 from linuxbox2/wip-rgwfile-deepstat
Matt Benjamin [Tue, 17 Jul 2018 17:12:10 +0000 (13:12 -0400)]
Merge pull request #23038 from linuxbox2/wip-rgwfile-deepstat

rgw_file: deep stat handling

7 years agoMerge pull request #23044 from tchaikov/wip-crimson-connection
Kefu Chai [Tue, 17 Jul 2018 15:31:23 +0000 (23:31 +0800)]
Merge pull request #23044 from tchaikov/wip-crimson-connection

crimson/connection: misc changes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #23057 from liewegas/wip-12.2.7-notes
Abhishek L [Tue, 17 Jul 2018 14:45:34 +0000 (16:45 +0200)]
Merge pull request #23057 from liewegas/wip-12.2.7-notes

doc/release/luminous: v12.2.6 and v12.2.7 release notes

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>