]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Kefu Chai [Sun, 20 May 2018 08:52:53 +0000 (16:52 +0800)]
qa/workunits/rados/test_envlibrados_for_rocksdb: use cmake not make
* so we just rely on a single build system instead of two of them, the
other place we use cmake is cmake/modules/BuildRockDB.cmake.
* disable gflags when building rocksdb, it's optional and does not help
in the sense of testing librados support.
* disable prompts when installing on debian, to silence warnings like:
debconf: unable to initialize frontend: Dialog
* drop --force-yes option, as it is deprecated, and is replaced with
--allow-downgrades, --allow-remove-essential,
--allow-change-held-packages, but none of them apply in our case.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 May 2018 08:29:49 +0000 (16:29 +0800)]
qa/workunits/rados/test_envlibrados_for_rocksdb: install g++ not g++-4.7
since fog now deploys ubuntu 18.04 where g++-4.7 is not available
anymore, so g++ is good enough.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 19 May 2018 17:34:52 +0000 (12:34 -0500)]
Merge pull request #22092 from liewegas/wip-mimic-upgrades
qa/suites/upgrade/luminous-x: a few fixes
Yan, Zheng [Sat, 19 May 2018 09:07:40 +0000 (17:07 +0800)]
Merge pull request #21941 from ukernel/wip-24053
mds: reply session reject for open request from blacklisted client
Yan, Zheng [Fri, 11 May 2018 12:26:43 +0000 (20:26 +0800)]
qa/tasks/cephfs: add timeout parameter to kclient umount_wait
Just make caller happy. there is no easy way to support timeout.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Fixes: https://tracker.ceph.com/issues/24053
Yan, Zheng [Fri, 11 May 2018 06:55:12 +0000 (14:55 +0800)]
mds: reply session reject for open request from blacklisted client
Kernel client and old version libcephfs do not check if themselves
are blacklisted. They can be stuck at opening session after getting
blacklisted. The session reject message can avoid this.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: https://tracker.ceph.com/issues/24054
Patrick Donnelly [Sat, 19 May 2018 04:36:50 +0000 (21:36 -0700)]
Merge PR #22073 into master
* refs/pull/22073/head:
client: delay dentry trimming until after cap traversal
qa: test for trim_caps segfault for trimmed dentries
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Fri, 18 May 2018 00:06:52 +0000 (17:06 -0700)]
client: delay dentry trimming until after cap traversal
Fixes: http://tracker.ceph.com/issues/24137
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 18 May 2018 02:36:42 +0000 (19:36 -0700)]
qa: test for trim_caps segfault for trimmed dentries
Test case by Yan Zheng [1].
[1] http://tracker.ceph.com/issues/24137#note-6
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 18 May 2018 21:31:18 +0000 (14:31 -0700)]
Merge PR #21548 into master
* refs/pull/21548/head:
osdc/Objecter: apply throttle on enumerate_objects.
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Patrick Donnelly [Fri, 18 May 2018 21:31:11 +0000 (14:31 -0700)]
Merge PR #21963 into master
* refs/pull/21963/head:
mds: properly setup client_need_snapflush for snap inode
Revert "mds: properly setup need_snapflush for snapped inode"
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 18 May 2018 21:31:03 +0000 (14:31 -0700)]
Merge PR #21972 into master
* refs/pull/21972/head:
client: increase verbosity level for log messages in helper methods
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Fri, 18 May 2018 20:53:20 +0000 (15:53 -0500)]
Merge pull request #22066 from liewegas/wip-pgmap-digest-decode
mon/PGMap: fix PGMapDigest decode
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 18 May 2018 19:01:33 +0000 (14:01 -0500)]
qa/suites/thrashosds-health: whitelist REQUEST_SLOW
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 18 May 2018 19:01:19 +0000 (14:01 -0500)]
qa/suites/upgrade/luminous-x: whitelist SLOW_OPS
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 18 May 2018 19:01:01 +0000 (14:01 -0500)]
qa/suites/upgrade/luminous-x: more cinder volumes
Signed-off-by: Sage Weil <sage@redhat.com>
Alfredo Deza [Fri, 18 May 2018 17:36:07 +0000 (13:36 -0400)]
Merge pull request #22040 from alfredodeza/wip-rm24147
common/options: add description of osd objectstore backends
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Nathan Cutler <cutler@suse.cz>
Jason Dillaman [Fri, 18 May 2018 11:22:13 +0000 (07:22 -0400)]
Merge pull request #22078 from tchaikov/wip-cls-rbd-fix-FTBFS
cls/rbd: fix build
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Fri, 18 May 2018 10:16:00 +0000 (18:16 +0800)]
cls/rbd: fix build
3cbe0ced was merged after
d03ff14 , so update accordingly.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Fri, 18 May 2018 07:32:49 +0000 (10:32 +0300)]
Merge pull request #21915 from dillaman/wip-rbd-mirror-policy
rbd-mirror: optionally support active/active replication
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Josh Durgin [Thu, 17 May 2018 20:57:39 +0000 (13:57 -0700)]
Merge pull request #21651 from ceph/wip-da-dmclock-submodule
move dmclock subtree into submodule
Reviewed-by: Eric Ivancich <ivancich@redhat.com>
Kefu Chai [Thu, 17 May 2018 16:56:08 +0000 (00:56 +0800)]
Merge pull request #22015 from tchaikov/wip-denc
buffer,denc: use ptr::const_iterator for decode
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Thu, 17 May 2018 16:40:20 +0000 (11:40 -0500)]
Merge pull request #22059 from LenzGr/mgr-dashboard-documentation
doc: Updated dashboard documentation (features, SSL config)
Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Sage Weil [Thu, 17 May 2018 15:51:46 +0000 (10:51 -0500)]
mon/PGMap: fix PGMapDigest decode
The compat path wasn't clearing the map before filling in new entries.
Signed-off-by: Sage Weil <sage@redhat.com>
Lenz Grimmer [Thu, 17 May 2018 15:44:59 +0000 (17:44 +0200)]
Merge pull request #22061 from tspmelo/wip-npmrc
mgr/dashboard: Disable package-lock.json creation
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Lenz Grimmer [Thu, 17 May 2018 15:34:36 +0000 (17:34 +0200)]
doc: Updated dashboard documentation (features, SSL config)
Updated Ceph manager dashboard documentation: added SSL to the
feature overview, added new section about configuring SSL certificates.
Rearranged installation instructions for setting host name and port.
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
Lenz Grimmer [Thu, 17 May 2018 14:50:23 +0000 (16:50 +0200)]
Merge pull request #22058 from ricardoasmarques/wip-ng-serve-remote-access
mgr/dashboard: ng serve bind to 0.0.0.0
Reviewed-by: Tiago Melo <tmelo@suse.com>
Tiago Melo [Thu, 17 May 2018 13:33:27 +0000 (14:33 +0100)]
mgr/dashboard: Disable package-lock.json creation
Since we are not keeping track of this file, it is better to not generate it.
Otherwise we might face some package version conflicts,
which break the dashboard build.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Sage Weil [Thu, 17 May 2018 12:00:08 +0000 (07:00 -0500)]
Merge pull request #22057 from tchaikov/qa-valgrind-without-random-distro
qa/suites/rados/verify: remove random-distro$
Reviewed-by: Sage Weil <sage@redhat.com>
Alfredo Deza [Wed, 16 May 2018 19:39:54 +0000 (15:39 -0400)]
ceph-volume util.prepare remove undocumented comments
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 16 May 2018 19:37:49 +0000 (15:37 -0400)]
common/options add description of osd objectstore backends
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Kefu Chai [Thu, 17 May 2018 11:08:16 +0000 (19:08 +0800)]
qa/suites/rados/verify: remove random-distro$
the distro specified by random-distro$ will be overwrited by the one
specfied by valgrind.yaml. and teuthology-suite will give
KeyError: '16.04 not a centos version or codename'
when scheduling a suite involving the facets above. also, i think it's
of not much value to run valgrind/lockdep with different distros.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Ricardo Marques [Thu, 17 May 2018 10:07:52 +0000 (11:07 +0100)]
mgr/dashboard: ng serve bind to 0.0.0.0
This will allow access to ng serve from remote machines
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Rishabh Dave [Mon, 14 May 2018 07:38:47 +0000 (07:38 +0000)]
client: increase verbosity level for log messages in helper methods
Fixes: http://tracker.ceph.com/issues/21014
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Lenz Grimmer [Thu, 17 May 2018 09:11:33 +0000 (11:11 +0200)]
Merge pull request #21981 from tspmelo/fix-momentjs
mgr/dashboard: Fix moment.js deprecation warning
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Thu, 17 May 2018 06:03:47 +0000 (14:03 +0800)]
Merge pull request #22046 from tchaikov/wip-23653
cmake: do not check for aligned_alloc() anymore
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Tue, 15 May 2018 15:56:39 +0000 (23:56 +0800)]
core: use const_iterator for decode
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 15 May 2018 15:55:09 +0000 (23:55 +0800)]
mds: use const_iterator for decode
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 15 May 2018 15:54:47 +0000 (23:54 +0800)]
rgw: use const_iterator for decode
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 15 May 2018 15:50:34 +0000 (23:50 +0800)]
rbd: use const_iterator for decode
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 15 May 2018 15:49:21 +0000 (23:49 +0800)]
denc: use ptr::const_iterator for decode
as ptr::iterator is able to write to the underlying buffer.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 15 May 2018 15:45:26 +0000 (23:45 +0800)]
buffer: add cbegin() methods
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 17 May 2018 02:30:33 +0000 (10:30 +0800)]
cmake: do not check for aligned_alloc() anymore
this reverts
16f0a67d
Fixes: http://tracker.ceph.com/issues/23653
Signed-off-by: Kefu Chai <kchai@redhat.com>
Dan Mick [Wed, 16 May 2018 21:32:36 +0000 (14:32 -0700)]
Merge pull request #22028 from tchaikov/wip-wheelhouse
install-deps: nuke wheelhouse if it's stale
Sage Weil [Wed, 16 May 2018 21:07:17 +0000 (16:07 -0500)]
Merge pull request #21751 from shangfufei/wip-async-needless-code
msg/async: the ceph_abort is needless in handle_connect_msg
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 16 May 2018 21:06:49 +0000 (16:06 -0500)]
Merge pull request #21854 from ifed01/wip-ifed-bluestore-alloc-cleanup
os/bluestore: allocator pruning
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 16 May 2018 21:06:19 +0000 (16:06 -0500)]
Merge pull request #21926 from dragonylffly/wip-fix-throttle-configurations
os/filestore: fix throttle configurations
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 16 May 2018 21:05:49 +0000 (16:05 -0500)]
Merge pull request #21937 from yanghonggang/balancer-list
mgr/balancer: add cmd to list all plans
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 16 May 2018 21:05:18 +0000 (16:05 -0500)]
Merge pull request #21957 from tchaikov/wip-test-rados-bench
test/pybind/test_rados.py: collect output in stdout for "bench" cmd
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Wed, 16 May 2018 21:04:34 +0000 (16:04 -0500)]
Merge pull request #21984 from liewegas/wip-24118
mon/MonClient: set configs via finisher
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Wed, 16 May 2018 20:27:53 +0000 (15:27 -0500)]
Merge pull request #21892 from dzafman/wip-24045
osd: Don't evict even when preemption has restarted with smaller chunk
Reviewed-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Wed, 16 May 2018 20:14:36 +0000 (16:14 -0400)]
cls/rbd: fixed last read key for interrupted mirror_image_map_list
Previously, the image map would only return a maximum of 64 mappings.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 16 May 2018 18:04:20 +0000 (14:04 -0400)]
Merge pull request #22027 from trociny/wip-24141
rbd-mirror: potential deadlock when running asok 'flush' command
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 16 May 2018 18:04:00 +0000 (14:04 -0400)]
Merge pull request #21624 from trociny/wip-22787
librbd: deep copy optionally support flattening cloned image
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
David Zafman [Wed, 16 May 2018 00:32:50 +0000 (17:32 -0700)]
osd: Clear part of cleaned_meta_map in case of a restarted smaller chunk
This can not happen at the primary because scrub_compare_maps() is only
called once per chunk start.
Preemption causes a smaller chunk from start to be processed again at
replicas. We clear any of the previous chunk's information.
Signed-off-by: David Zafman <dzafman@redhat.com>
Tiago Melo [Mon, 14 May 2018 15:24:58 +0000 (16:24 +0100)]
mgr/dashboard: Fix moment.js deprecation warning
Fixes: https://tracker.ceph.com/issues/24115
Signed-off-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Wed, 16 May 2018 13:44:05 +0000 (15:44 +0200)]
Merge pull request #22003 from votdev/fix_deletion_dialog
mgr/dashboard: Deletion dialog falsely executes deletion when pressing 'Cancel'
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Wed, 16 May 2018 13:25:21 +0000 (15:25 +0200)]
Merge pull request #21928 from ricardoasmarques/wip-remove-useless-unsubscribe
mgr/dashboard: Remove useless observable unsubscriptions
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Mykola Golub [Wed, 25 Apr 2018 21:02:57 +0000 (00:02 +0300)]
rbd: deep copy option to copy clone parent data
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Thu, 26 Apr 2018 08:30:03 +0000 (11:30 +0300)]
librbd: deep copy optionally support flattening cloned image
Fixes: http://tracker.ceph.com/issues/22787
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Thu, 10 May 2018 18:25:17 +0000 (21:25 +0300)]
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>
Mykola Golub [Tue, 8 May 2018 13:52:50 +0000 (16:52 +0300)]
librbd: hide parent object when deep copying empty child
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Tue, 8 May 2018 12:29:38 +0000 (15:29 +0300)]
librbd: fix deep copy clone to destination with larger object size
When assembling a destination object from source objects we need to
read from parent if some (but not all) of assembles do not exist.
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Tue, 8 May 2018 12:27:25 +0000 (15:27 +0300)]
test/librbd: add deep copy clone tests
Signed-off-by: Mykola Golub <mgolub@suse.com>
Lenz Grimmer [Wed, 16 May 2018 12:23:32 +0000 (14:23 +0200)]
Merge pull request #22002 from votdev/fix_deletion
mgr/dashboard: Handle errors during deletion
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Sage Weil [Wed, 16 May 2018 12:09:52 +0000 (07:09 -0500)]
Merge pull request #22006 from liewegas/wip-mimic
doc/releases/schedule: add mimic column
Sage Weil [Tue, 15 May 2018 17:56:34 +0000 (12:56 -0500)]
doc/releases/mimic: edit/clean up upgrade notes
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 16 May 2018 11:41:52 +0000 (19:41 +0800)]
install-deps: nuke wheelhouse if it's stale
otherwise, if we update *requirements.txt, and the wheelhouse fails to
offer the newly added dependency, the setup-virtualenv.sh will fail the
build.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Wed, 16 May 2018 07:40:29 +0000 (10:40 +0300)]
rbd-mirror: make 'flush' asok command asynchronous
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Wed, 16 May 2018 07:34:50 +0000 (10:34 +0300)]
rbd-mirror: don't reregister asok hook in process entry thread
It might get stuck if the asok is busy executing a command.
Instead kick status update, which will call reregister on finish.
Fixes: http://tracker.ceph.com/issues/24141
Signed-off-by: Mykola Golub <mgolub@suse.com>
Yuri Weinstein [Wed, 16 May 2018 00:03:00 +0000 (17:03 -0700)]
Merge pull request #22008 from dillaman/wip-rbd-suite-distros
qa/suites/rbd: randomly select a supported distro
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Jason Dillaman [Mon, 14 May 2018 18:58:40 +0000 (14:58 -0400)]
qa/suites/rbd: reduce runtime of rbd-mirror fsx test case
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 15 May 2018 21:15:05 +0000 (16:15 -0500)]
Merge pull request #21932 from yuriw/wip-yuriw-add-dollar-rgw
tests/qa: Adding $ distro mix - rgw
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Jason Dillaman [Thu, 3 May 2018 16:49:51 +0000 (12:49 -0400)]
qa/suites/rbd: added active/active rbd-mirror tests
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 15 May 2018 20:13:16 +0000 (16:13 -0400)]
qa/workunits/rbd: fixed rbd-mirror snapshot comparison loop
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 14 May 2018 15:11:08 +0000 (11:11 -0400)]
qa/workunits/rbd: fixed missing error code on trap handler
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 14 May 2018 12:35:57 +0000 (08:35 -0400)]
qa/workunits/rbd: skip rbd-mirror start/stop cases when thrashing daemons
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 9 May 2018 17:31:39 +0000 (13:31 -0400)]
qa/workunits/rbd: rbd-mirror admin socket commands should retry
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 7 May 2018 16:00:02 +0000 (12:00 -0400)]
qa/workunits/rbd: don't override rbd-mirror logs if running under teuthology
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 3 May 2018 16:04:55 +0000 (12:04 -0400)]
qa/workunits/rbd: append rbd-mirror instance number for all-daemon asok command
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 14 May 2018 18:57:23 +0000 (14:57 -0400)]
test/rbd: fsx should utilize the default image features
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 10 May 2018 16:43:00 +0000 (12:43 -0400)]
test/rbd_mirror: fix race condition with image map timer callbacks
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 15 May 2018 19:07:21 +0000 (15:07 -0400)]
librbd: deep-copy should remove parent metadata if overlap updated
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Mykola Golub [Thu, 10 May 2018 18:25:17 +0000 (21:25 +0300)]
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>
Jason Dillaman [Tue, 15 May 2018 19:55:04 +0000 (15:55 -0400)]
librbd: journal replay should no-op out-of-bounds IO
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 10 May 2018 12:54:41 +0000 (08:54 -0400)]
librbd: don't assert if parent pool doesn't exist
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 15 May 2018 18:07:35 +0000 (14:07 -0400)]
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>
Jason Dillaman [Mon, 14 May 2018 14:34:28 +0000 (10:34 -0400)]
rbd-mirror: do not propagate image map instance updates when shutting down
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 9 May 2018 14:33:03 +0000 (10:33 -0400)]
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>
Jason Dillaman [Wed, 9 May 2018 14:25:22 +0000 (10:25 -0400)]
rbd-mirror: avoid sending duplicate re-acquire messages upon leader startup
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 9 May 2018 14:00:12 +0000 (10:00 -0400)]
rbd-mirror: reduce unnecessary logging for periodic start image replayer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 8 May 2018 21:09:58 +0000 (17:09 -0400)]
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>
Jason Dillaman [Tue, 8 May 2018 20:25:42 +0000 (16:25 -0400)]
rbd-mirror: policy map shouldn't default to first instance if dead
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 7 May 2018 21:43:13 +0000 (14:43 -0700)]
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>
Jason Dillaman [Fri, 4 May 2018 17:49:10 +0000 (13:49 -0400)]
rbd-mirror: instantly remove instances without associated images
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 3 May 2018 16:03:01 +0000 (12:03 -0400)]
rbd-mirror: instance replayer now respects manual stop command
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 3 May 2018 13:56:14 +0000 (09:56 -0400)]
rbd-mirror: support optionally enabling active/active mirroring
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 15 May 2018 19:42:24 +0000 (14:42 -0500)]
Merge pull request #22011 from dillaman/wip-rbd-release-notes
doc/releases/mimic: tweak RBD major features
Sage Weil [Tue, 15 May 2018 13:46:56 +0000 (08:46 -0500)]
doc/releases/schedule: add mimic column
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Tue, 15 May 2018 17:47:21 +0000 (10:47 -0700)]
Merge PR #22017 into master
* refs/pull/22017/head:
ptl-tool: skip empty comment body
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>