Commit Graph

86629 Commits

Author SHA1 Message Date
Jason Dillaman
9a1fcef5ed librbd: journal replay should no-op out-of-bounds IO
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:30:16 -04:00
Jason Dillaman
88436b58bc librbd: don't assert if parent pool doesn't exist
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:30:16 -04:00
Jason Dillaman
02afa2a5b4 rbd-mirror: image create should lookup local parent snapshot id
A recent code change associated with a librbd cleanup incorrectly started
using the remote parent image's snapshot id.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:30:16 -04:00
Jason Dillaman
4525b7a597 rbd-mirror: do not propagate image map instance updates when shutting down
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:30:16 -04:00
Jason Dillaman
b3acc56983 rbd-mirror: propagate image delete if leader was offline
In an active/active scenario, if the leader was offline while mirroring for
a remote image was disabled, the assigned replayer instance may not detect
the image removal.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:29:36 -04:00
Jason Dillaman
a9d335d839 rbd-mirror: avoid sending duplicate re-acquire messages upon leader startup
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:29:36 -04:00
Jason Dillaman
d7cb5db188 rbd-mirror: reduce unnecessary logging for periodic start image replayer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:29:36 -04:00
Jason Dillaman
e2a00887c1 rbd-mirror: cancel image replayer status timer task at shut down
Also avoid attempting to send status using an invalid librados::IoCtx
handle due to a deleted pool.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:29:36 -04:00
Jason Dillaman
524f08cef6 rbd-mirror: policy map shouldn't default to first instance if dead
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:16:34 -04:00
Jason Dillaman
ce97430589 rbd-mirror: prevent blacklisting of local instance after failover/back
If the leader role is manually released, upon failback the instance
will have removed its local instance object, preventing RPC
messaging.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:16:34 -04:00
Jason Dillaman
bce5328a32 rbd-mirror: instantly remove instances without associated images
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:16:34 -04:00
Jason Dillaman
06e1244ee5 rbd-mirror: instance replayer now respects manual stop command
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:16:34 -04:00
Jason Dillaman
53b87b9d22 rbd-mirror: support optionally enabling active/active mirroring
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:16:34 -04:00
Sage Weil
3d388cea04
Merge pull request #22011 from dillaman/wip-rbd-release-notes
doc/releases/mimic: tweak RBD major features
2018-05-15 14:42:24 -05:00
Patrick Donnelly
40be7a9dbd
Merge PR #22017 into master
* refs/pull/22017/head:
	ptl-tool: skip empty comment body

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-15 10:47:21 -07:00
Patrick Donnelly
3d6f5e6d3a
ptl-tool: skip empty comment body
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-15 10:45:20 -07:00
Patrick Donnelly
982ced1a29
Merge PR #21924 into master
* refs/pull/21924/head:
	align lspools output in file-layouts and manual-freebsd-deployment
	Fixed configuration setting standby_replay
	Fixed the order of configuration

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-15 10:10:03 -07:00
Sage Weil
5f1ac3075c
Merge pull request #22016 from LenzGr/dashboard-mimic-reasenotes
doc/releases/mimic: Updated dashboard description
2018-05-15 11:25:09 -05:00
Lenz Grimmer
1f57ad8e18 doc/releases/mimic: Updated dashboard description
Fixed typo and slightly reworked the description of the mgr
dashboard in the "Major changes" section. Updated the
description in the "Notable changes" section as well by adding
a note about creating an SSL certificate.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2018-05-15 18:14:47 +02:00
Jason Dillaman
d6f6c20a0e doc/releases/mimic: tweak RBD major features
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 10:50:53 -04:00
Patrick Donnelly
979544c8ec
Merge PR #21842 into master
* refs/pull/21842/head:
	MDSMonitor: clean up use of pending fsmap in uncommitted ops
	MDSMonitor: refactor last_beacons to use mono_clock
	mds: refactor MDSMap init
	mds: refactor FSMap init
	mds: refactor Filesystem init
	mds: move compat set methods to MDSMap

Reviewed-by: João Eduardo Luís <joao@suse.de>
2018-05-15 06:43:00 -07:00
Casey Bodley
8a758adc77
Merge pull request #21986 from cbodley/wip-24124
Revert "common: add an async SharedMutex"

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-05-15 09:40:44 -04:00
Sage Weil
bfee0b94f6
Merge pull request #21987 from liewegas/wip-mimic-upgrade
doc/releases/mimic: upgrade steps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-15 08:32:10 -05:00
Sage Weil
bdba978992 doc/releases/mimic: upgrade steps
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-15 08:31:43 -05:00
Kefu Chai
0497fdc8c8
Merge pull request #21809 from tchaikov/wip-22420
mon,osd: dump "compression_algorithms" in "mon metadata"

Reveiwed-by: John Spray <john.spray@redhat.com>
2018-05-15 20:47:15 +08:00
Lenz Grimmer
f3cfb9407c
Merge pull request #21933 from tspmelo/fix-unittest-warnings
mgr/dashboard: Fix unit tests cli warnings

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-15 11:19:55 +02:00
Lenz Grimmer
5f48046914
Merge pull request #21967 from votdev/bug_24097
mgr/dashboard: Navbar dropdown button does not respond for mobile browsers

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-05-15 11:19:18 +02:00
Lenz Grimmer
6dcb6df507
Merge pull request #21971 from tspmelo/remove-husky
Mgr/dashboard: Remove husky package

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-15 11:17:47 +02:00
Josh Durgin
e8f5038f2b
Merge pull request #21895 from yuriw/wip-yuriw-add-dollar1
tests/qa: trying $ distro mix

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-14 16:18:45 -07:00
Yuri Weinstein
45a3b54005
Merge pull request #21949 from yuriw/wip-yuriw-crontab
qa/tests: added --filter-out="ubuntu_14.04"
2018-05-14 16:14:42 -07:00
Patrick Donnelly
8937f5f41a
Merge PR #21966 into master
* refs/pull/21966/head:
	mds: handle imported session race
	mds: check for session import race

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-05-14 13:29:29 -07:00
Sage Weil
0695c4edd1
Merge pull request #20975 from theanalyst/doc/releases/mimic-dev-2
doc: mimic rc1 release notes
2018-05-14 15:03:54 -05:00
Patrick Donnelly
b9c3751e9e
mds: handle imported session race
Thanks to Yan Zheng for identifying and reviewing the fix.

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

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-14 12:53:07 -07:00
Patrick Donnelly
fbc25b4486
mds: check for session import race
Credit to Yan Zheng for identifying the race condition [1].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1572555#c7

Test-for: http://tracker.ceph.com/issues/24072

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-14 12:52:50 -07:00
Casey Bodley
6b2234346c Revert "common: add an async SharedMutex"
This reverts commit 67fe5d25a7.

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-05-14 14:59:12 -04:00
Tiago Melo
8c36085cb0 Mgr/dashboard: Remove husky package
It seems pretty-quick is not restricted to the root of the dashboard frontend
and this could bring undesired changes to some files.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-05-14 15:25:27 +01: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
Volker Theile
b3175d9fa7 mgr/dashboard: Navbar dropdown button does not respond for mobile-like browsers
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-05-14 11:00:53 +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
Yuri Weinstein
57dcd1f849 qa/tests: added --filter-out="ubuntu_14.04"
This is needed for all "client-upgrade-*" suites running on mimic

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

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-12 06:42:59 -07:00