Commit Graph

88469 Commits

Author SHA1 Message Date
Nathan Cutler
8cede1c4b1 doc/rados/operations/pg-states: fix PG state names, part 2
Follow-up on 7f8b40fc46

References: https://tracker.ceph.com/issues/24923
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-21 20:52:36 +02:00
Nathan Cutler
e836b004fc
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>
2018-07-21 20:24:26 +02:00
Nathan Cutler
2555524f1f 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>
2018-07-21 11:31:20 +02:00
Patrick Donnelly
4f882f0405
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>
2018-07-20 20:54:33 -07:00
Patrick Donnelly
9dcbe8c33e
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>
2018-07-20 20:53:06 -07:00
Patrick Donnelly
bc678b4e3d
Merge PR #23022 into master
* refs/pull/23022/head:
	mds: health warning for slow metadata IO

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-20 20:27:17 -07:00
Patrick Donnelly
c7fe1e11e9
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>
2018-07-20 20:23:12 -07:00
Patrick Donnelly
0a4959318e
Merge PR #23062 into master
* refs/pull/23062/head:
	mds: dump recent events on respawn

Reviewed-by: Sage Weil <sage@redhat.com>
2018-07-20 20:18:11 -07:00
Patrick Donnelly
87b22e8d31
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>
2018-07-20 20:16:12 -07:00
Patrick Donnelly
a703d0a1cc
Merge PR #23135 into master
* refs/pull/23135/head:
	mds: refactor ostream passing

Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-07-20 20:14:16 -07:00
Patrick Donnelly
f61807bf78
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>
2018-07-20 20:13:24 -07:00
Patrick Donnelly
db54fd109d
Merge PR #23009 into master
* refs/pull/23009/head:
	client: wire up ceph_ll_fallocate

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-20 20:10:50 -07:00
Sage Weil
e2465fdc22
Merge pull request #23151 from neha-ojha/wip-25008
qa/suites/powercycle: whitelist MDS_SLOW_REQUEST
2018-07-20 15:59:16 -05:00
Yuri Weinstein
6d77600fef
Merge pull request #23123 from yuriw/wip-yuriw-24926-master
qa/tests: Set ansible-version: 2.5
2018-07-20 13:04:36 -07:00
Neha Ojha
ac87fd946c qa/suites/powercycle: whitelist MDS_SLOW_REQUEST
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-07-20 12:50:02 -07:00
Sage Weil
85ce2e46e6 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>
2018-07-20 13:24:39 -05:00
Sage Weil
11d96897f5 Merge PR #23041 into master
* refs/pull/23041/head:
	mon: manage paxos_services alloc with unique_ptr

Reviewed-by: Sage Weil <sage@redhat.com>
2018-07-20 13:24:33 -05:00
Sage Weil
804057f9c1 Merge PR #23047 into master
* refs/pull/23047/head:
	common: SubProcess needs SIGTERM, from the includes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-07-20 13:24:27 -05:00
Sage Weil
2ca97e1272 Merge PR #23053 into master
* refs/pull/23053/head:
	mon: emplace mon_caps in Monitor

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-07-20 13:24:21 -05:00
Sage Weil
b53ca08591 Merge PR #23060 into master
* refs/pull/23060/head:
	test: Only inquire bluestore when it's build

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-07-20 13:24:16 -05:00
Sage Weil
65e4adfcf0 Merge PR #23078 into master
* refs/pull/23078/head:
	spdk: -march=core2 instead of -march=native

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-07-20 13:24:10 -05:00
Casey Bodley
0b5bed7ecf
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>
2018-07-20 10:01:36 -04:00
Kefu Chai
abb3e2bedf
Merge pull request #22975 from tone-zhang/vstart-spdk
vstart.sh: Support SPDK in Ceph development deployment

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-07-20 22:00:26 +08:00
Casey Bodley
a52d430bff
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>
2018-07-20 09:59:24 -04:00
Casey Bodley
db59ee3bd0
Merge pull request #23099 from adamemerson/wip-all-your-fault
rgw: All Your Fault

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2018-07-20 09:57:10 -04:00
Casey Bodley
6a65439b38
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>
2018-07-20 09:52:31 -04:00
Casey Bodley
1c1e766cdc
Merge pull request #23119 from cbodley/wip-rgw-link-tenant
rgw: RGWBucket::link supports tenant

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-07-20 09:51:01 -04:00
Kefu Chai
a119734502
Merge pull request #23010 from noahdesu/mgr-expose-ec-profiles
mgr: expose ec profiles through manager

Reveiwed-by: John Spray <john.spray@redhat.com>
2018-07-20 20:54:13 +08:00
Kefu Chai
066b3f8cf3
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>
2018-07-20 20:53:35 +08:00
Kefu Chai
b7d5506916
Merge pull request #22993 from jcsp/wip-progress
mgr/progress: introduce the `progress` module

Reviewed-by: Noah Watkins <nwatkins@redhat.com>
2018-07-20 20:49:38 +08:00
Yan, Zheng
d249581df9 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>
2018-07-20 10:36:25 +08:00
tone.zhang
71639aee00 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>
2018-07-20 08:44:19 +08:00
Dan Mick
2365d597bf
Merge pull request #23121 from noahdesu/mgr-crash-history
mgr/crash: add hour granularity crash summary
2018-07-19 15:21:25 -07:00
Patrick Donnelly
5282af61c4
mds: refactor ostream passing
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-19 13:58:38 -07:00
Noah Watkins
caa121b5f0 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>
2018-07-19 09:38:17 -07:00
Noah Watkins
4dda7cb5dd mgr/crash: add timestamp filter helper
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-07-19 09:38:07 -07:00
Alfredo Deza
12f1ffe784
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>
2018-07-19 12:36:40 -04:00
Patrick Donnelly
fa4c0309c1
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>
2018-07-19 08:55:49 -07:00
Nathan Cutler
9b53c0d4fc
Merge pull request #23077 from smithfarm/wip-etc-sudoers
build/ops: rpm: make sudo a build dependency

Reviewed-by: Tim Serong <tserong@suse.com>
2018-07-19 16:26:20 +02:00
Nathan Cutler
9f54233104 build/ops: rpm: make sudo a build dependency
ede36df325 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>
2018-07-19 14:15:05 +02:00
Nathan Cutler
78a4f681de
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>
2018-07-19 14:10:31 +02:00
Nathan Cutler
aeb974b913 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>
2018-07-19 10:08:41 +02:00
Yan, Zheng
5e843162da qa/tasks/cephfs: add test for discontinuous mdsmap
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-07-19 14:34:29 +08:00
Yan, Zheng
7de9da4a43 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>
2018-07-19 13:10:42 +08:00
Yuri Weinstein
f40ea9709f qa/tests: Set ansible-version: 2.5
Fixes http://tracker.ceph.com/issues/24926
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-07-18 17:28:34 -07:00
Alfredo Deza
37565f8163 ceph-volume lvm.listing only include devices if they exist
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-18 16:50:25 -04:00
Casey Bodley
1fd5320485 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>
2018-07-18 16:35:57 -04:00
Alfredo Deza
158ed6105d
Merge pull request #23117 from ceph/wip-rm24796
ceph-volume: unmount lvs correctly before zapping

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-07-18 16:03:49 -04:00
Josh Durgin
1f780ef736
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>
2018-07-18 11:10:00 -07:00
Casey Bodley
4a00c16c4a
Merge pull request #22347 from cbodley/wip-24367
rgw: fixes for sync of versioned objects

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-07-18 13:25:58 -04:00