Commit Graph

86577 Commits

Author SHA1 Message Date
Wido den Hollander
cf97b5c13f brag: Remove ceph-brag
To be replaced by Telemetry module in Ceph Mgr

Signed-off-by: Wido den Hollander <wido@42on.com>
(cherry picked from commit dce630dc1b)
2018-05-14 23:33:48 +08:00
Lenz Grimmer
7dbba9e542
Merge pull request #21785 from votdev/info_no_rgw
mgr/dashboard: Display notification if RGW is not configured

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2018-05-14 14:20:54 +02:00
Yan, Zheng
e095b08da7
Merge pull request #21975 from ukernel/wip-revert-23837
Revert "ceph-fuse: Delete inode's bufferhead was in Tx state would le…
2018-05-14 19:55:51 +08:00
Yan, Zheng
20e02a542f Revert "ceph-fuse: Delete inode's bufferhead was in Tx state would lead a assert fail"
This reverts commit 07e3bceea7.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-05-14 19:53:56 +08:00
Volker Theile
83441af93c mgr/dashboard: Display useful info if RGW is not configured
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-05-14 12:58:29 +02:00
Volker Theile
f49e192dd5 mgr/dashboard: Add ModuleStatusGuardService route guard
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-05-14 12:58:29 +02:00
Volker Theile
d1b179d757 mgr/dashboard: Add info panel component
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-05-14 12:58:29 +02:00
Kefu Chai
1f0c2924be
Merge pull request #20118 from b-ranto/wip-selinux-ldconfig
selinux: Allow ceph to execute ldconfig

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-14 18:48:18 +08:00
Kefu Chai
0de5574a1c
Merge pull request #21943 from tchaikov/wip-24077
qa/tasks/mgr: fix test_pool.py

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-05-14 18:41:18 +08:00
Boris Ranto
e3be372d85 selinux: Allow ceph to block suspend
Ceph is now trying to block suspend in certain cases, we need to update
the policy accordingly.

Signed-off-by: Boris Ranto <branto@redhat.com>
2018-05-14 12:24:19 +02:00
Boris Ranto
fa5071b6d7 selinux: Allow ceph to execute ldconfig
The ceph-volume testing showed that the ceph daemons can run ldconfig in
a corner case when they are forbidden access to some files. This patch
allows ceph to execute ldconfig in Enforcing mode.

Fixes: https://tracker.ceph.com/issues/22302

Signed-off-by: Boris Ranto <branto@redhat.com>
2018-05-14 12:24:19 +02:00
Kefu Chai
538e32e784
Merge pull request #20731 from yuyuyu101/wip-opti-ac
msg/async: avoid put message within write_lock

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-14 14:35:02 +08:00
Mykola Golub
9a60b0ff60
Merge pull request #21946 from dillaman/wip-24092
rbd: disable cache for actions that open multiple images

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-05-13 17:21:08 +03:00
Kefu Chai
ade3bce7f2
Merge pull request #21804 from dillaman/wip-24000
osdc: self-managed snapshot helper should catch decode exception

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-05-12 19:20:24 +08:00
Kefu Chai
0fb51c985a
Merge pull request #21929 from majianpeng/fio-ceph-objectstore
test/fio: add option single_pool_mode in ceph-bluestore.fio

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-05-12 19:18:50 +08:00
Kefu Chai
445a4d8656
Merge pull request #21905 from jcsp/wip-24022
osd: write "bench" output to stdout

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-12 19:15:57 +08:00
Kefu Chai
b30139427e
Merge pull request #21950 from liewegas/wip-23899
osd: clean up smart probe

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-12 19:10:56 +08:00
Kefu Chai
8e8636669d
Merge pull request #21940 from dmick/wip-remove-cephd
cmake: Remove embedded 'cephd' code

Reviewed-by: Bassam Tabbara <Bassam.Tabbara@Quantum.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-12 19:08:14 +08:00
Kefu Chai
01c38041bc qa/tasks/mgr: fix test_pool.py
* per command desc of "osd pool set", "val" parameter should be a "string"
  not a number. so update the test_pool.py accordingly.
* also as a follow-up of 65925511bc, we need to update the test
  accordingly to reflect the change in the error's str representation.

Fixes: http://tracker.ceph.com/issues/24077
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-12 18:34:26 +08:00
Patrick Donnelly
b87103157e
Merge PR #21615 into master
* refs/pull/21615/head:
	ceph-fuse: Delete inode's bufferhead was in Tx state would lead a assert fail

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-05-11 14:57:54 -07:00
Patrick Donnelly
7c240958a3
Merge PR #21769 into master
* refs/pull/21769/head:
	mds: properly reconnect client caps after loading inodes

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-11 14:57:48 -07:00
Patrick Donnelly
1b73c0154c
Merge PR #21883 into master
* refs/pull/21883/head:
	mds: tighten conditions of calling rejoin_gather_finish()
	mds: avoid calling rejoin_gather_finish() two times successively

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-11 14:57:42 -07:00
Patrick Donnelly
52707c33fe
Merge PR #21923 into master
* refs/pull/21923/head:
	mds: set could_consume to false when no purge queue item actually executed

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-05-11 14:57:36 -07:00
Sage Weil
eea18b45da osd: clean up smart probe code a bit
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-11 15:21:46 -05:00
Dan Mick
39b2626c7a Remove embedded 'cephd' code
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-05-11 13:10:26 -07:00
Sage Weil
affb0f87b5
Merge pull request #21942 from tchaikov/wip-qa-ceph-disk-no-mon-config
qa/workunits/ceph-disk: --no-mon-config

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-11 13:01:38 -05:00
Kefu Chai
67f64ebc4b
Merge pull request #21945 from tchaikov/wip-dashboard-errno
mgr/dashboard: set errno via the parent class

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-05-12 01:46:50 +08:00
David Galloway
48d4832f44
Merge pull request #21947 from yuriw/wip-yuriw-crontab
qa/tests: added client-upgrade-luminous suit
2018-05-11 13:31:37 -04:00
Yuri Weinstein
450dcecdd9 qa/tests: added client-upgrade-luminous suit
Fixes https://tracker.ceph.com/issues/24021
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-11 10:27:40 -07:00
Jason Dillaman
171a81e58e rbd: disable cache for actions that open multiple images
Fixes: http://tracker.ceph.com/issues/24092
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-11 13:11:36 -04:00
Kefu Chai
65925511bc mgr/dashboard: set errno via the parent class
update the test accordingly. see also rados.Error.__str__()

Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-12 00:55:11 +08:00
Jason Dillaman
0cf2082856
Merge pull request #21524 from dillaman/wip-23517
test/librados_test_stub: deterministically load cls shared libraries

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-11 11:23:02 -04:00
Kefu Chai
c67d35f282
Merge pull request #21415 from ErwanAliasr1/evelu-cephdisk
ceph-disk: get_partition_dev() should fail until get_dev_path(partnam…

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-11 22:32:22 +08:00
Kefu Chai
ee33dc8e53 qa/workunits/ceph-disk: --no-mon-config
port a095ec8b to the qa/workunits

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-11 21:07:56 +08:00
Gu Zhongyan
00c5a30fa9 osd: fix osd smart data collection segment fault issue.
output.read_fd() could return zero length. it needs to
be handled gracefully.

always call invoke join() if spawn() is successfully returned.
otherwise there will be assert failure in ~SubProcess().

Fixes: http://tracker.ceph.com/issues/23899

Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
2018-05-11 16:05:07 +08:00
Jason Dillaman
ce7afd435e Merge pull request #21292 from zy751713126/snapshot_count
rbd: add snapshot count in rbd info

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-05-10 14:55:53 -04:00
zhengyin
a7fa1cbb7e rbd/info: add snapshot count in rbd info
Signed-off-by: Zheng Yin <zhengyin@huayun.com>
2018-05-10 14:55:07 -04:00
Jianpeng Ma
e9d523ae69 test/fio: add option single_pool_mode in ceph-bluestore.fio
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-05-11 02:30:37 +08:00
Sage Weil
76d512e217 ceph_release: nautilus
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-10 12:19:22 -05:00
Sage Weil
6ae51aed13 Merge remote-tracking branch 'gh/mimic' 2018-05-10 12:18:29 -05:00
Sage Weil
bf578682b0 ceph_release: we are an rc now
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-10 12:16:44 -05:00
Jason Dillaman
4988f24e32
Merge pull request #21930 from dillaman/wip-rbd-backports-mimic
rbd: backport of mimic bug fixes

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-05-10 11:27:43 -04:00
Casey Bodley
c22614e07c
Merge pull request #21893 from cbodley/wip-rgw-req-state-time
rgw: use coarse_real_clock for req_state::time

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-05-10 10:51:47 -04:00
Kefu Chai
23cebfbd3a
Merge pull request #21931 from yuriw/wip-yuriw-fix-mimic-subset
tests/qa - fix mimic subset for nightlies

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-10 22:45:26 +08:00
Yuri Weinstein
7c7336ab87 tests/qa - fix mimic subset for nightlies
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-10 07:39:51 -07:00
Casey Bodley
7da0fe2832
Merge pull request #21680 from cbodley/wip-rm-replica-log
rgw: remove all traces of cls replica_log

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-05-10 10:26:55 -04:00
Jason Dillaman
1e5d96a481 Revert "stop.sh: use --no-mon-config when trying to unmap rbd devices"
This reverts commit 6c722cd5f3.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 3c6b015747)
2018-05-10 07:44:46 -04:00
Jason Dillaman
a74c93f19c rbd: don't load config overrides from monitor initially
The overrides will be loaded when we connect to the cluster via librados
and the current approach prevents running 'rbd help' without a running
cluster.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 46eafdabde)
2018-05-10 07:44:44 -04:00
Jason Dillaman
a6aeb7ab43 rbd-mirror: ensure remote demotion is replayed locally
The bootstrap process cannot immediately quit if it notices the remote
image is not primary. Instead, it needs to continue if the local image is
still chained to the remote.

Fixes: http://tracker.ceph.com/issues/24009
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit d35bc94319)
2018-05-10 07:44:38 -04:00
Jason Dillaman
a189ab9c5b rbd-mirror: fix potential race between image sync and shut down
Fixes: http://tracker.ceph.com/issues/24008
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4f2dbcefc5)
2018-05-10 07:44:33 -04:00