Jason Dillaman
61e94e6905
qa/suites/rbd: reduce runtime of rbd-mirror fsx test case
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 19:49:06 -04:00
Jason Dillaman
e2d5f8441a
qa/suites/rbd: added active/active rbd-mirror tests
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:35:26 -04:00
Jason Dillaman
917f8a037c
qa/workunits/rbd: fixed rbd-mirror snapshot comparison loop
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:35:26 -04:00
Jason Dillaman
02e32fe45a
qa/workunits/rbd: fixed missing error code on trap handler
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:35:26 -04:00
Jason Dillaman
3086f29b64
qa/workunits/rbd: skip rbd-mirror start/stop cases when thrashing daemons
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:35:26 -04:00
Jason Dillaman
a6a8c8a2ab
qa/workunits/rbd: rbd-mirror admin socket commands should retry
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:35:26 -04:00
Jason Dillaman
1bb6d4fd89
qa/workunits/rbd: don't override rbd-mirror logs if running under teuthology
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:35:26 -04:00
Jason Dillaman
15a197ed06
qa/workunits/rbd: append rbd-mirror instance number for all-daemon asok command
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:35:26 -04:00
Jason Dillaman
c1e111e985
test/rbd: fsx should utilize the default image features
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:35:26 -04:00
Jason Dillaman
2534e5e455
test/rbd_mirror: fix race condition with image map timer callbacks
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:35:26 -04:00
Jason Dillaman
af4298464d
librbd: deep-copy should remove parent metadata if overlap updated
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:34:44 -04:00
Mykola Golub
f73c7ba0b2
librbd/deep_copy: adjust in-memory overlap if set_size updated it on disk
...
so set_parent won't be called when overlap is changed due to image
size change.
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-05-15 16:30:16 -04:00
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