]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agomsg/async/Event: clear time_events on shutdown 22093/head
Sage Weil [Fri, 18 May 2018 19:24:06 +0000 (14:24 -0500)]
msg/async/Event: clear time_events on shutdown

Works around crash from http://tracker.ceph.com/issues/24162

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22040 from alfredodeza/wip-rm24147
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>
7 years agoMerge pull request #22078 from tchaikov/wip-cls-rbd-fix-FTBFS
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>
7 years agocls/rbd: fix build 22078/head
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>
7 years agoMerge pull request #21915 from dillaman/wip-rbd-mirror-policy
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>
7 years agoMerge pull request #21651 from ceph/wip-da-dmclock-submodule
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>
7 years agoMerge pull request #22015 from tchaikov/wip-denc
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>
7 years agoMerge pull request #22059 from LenzGr/mgr-dashboard-documentation
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>
7 years agoMerge pull request #22061 from tspmelo/wip-npmrc
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>
7 years agodoc: Updated dashboard documentation (features, SSL config) 22059/head
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>
7 years agoMerge pull request #22058 from ricardoasmarques/wip-ng-serve-remote-access
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>
7 years agomgr/dashboard: Disable package-lock.json creation 22061/head
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>
7 years agoMerge pull request #22057 from tchaikov/qa-valgrind-without-random-distro 21865/head
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>
7 years agoceph-volume util.prepare remove undocumented comments 22040/head
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>
7 years agocommon/options add description of osd objectstore backends
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>
7 years agoqa/suites/rados/verify: remove random-distro$ 22057/head
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>
7 years agomgr/dashboard: ng serve bind to 0.0.0.0 22058/head
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>
7 years agoMerge pull request #21981 from tspmelo/fix-momentjs
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>
7 years agoMerge pull request #22046 from tchaikov/wip-23653
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>
7 years agocore: use const_iterator for decode 22015/head
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>
7 years agomds: use const_iterator for decode
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>
7 years agorgw: use const_iterator for decode
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>
7 years agorbd: use const_iterator for decode
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>
7 years agodenc: use ptr::const_iterator for decode
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>
7 years agobuffer: add cbegin() methods
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>
7 years agocmake: do not check for aligned_alloc() anymore 22046/head
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>
7 years agoMerge pull request #22028 from tchaikov/wip-wheelhouse
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

7 years agoMerge pull request #21751 from shangfufei/wip-async-needless-code
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>
7 years agoMerge pull request #21854 from ifed01/wip-ifed-bluestore-alloc-cleanup
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>
7 years agoMerge pull request #21926 from dragonylffly/wip-fix-throttle-configurations
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>
7 years agoMerge pull request #21937 from yanghonggang/balancer-list
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>
7 years agoMerge pull request #21957 from tchaikov/wip-test-rados-bench
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>
7 years agoMerge pull request #21984 from liewegas/wip-24118
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>
7 years agoMerge pull request #21892 from dzafman/wip-24045
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>
7 years agocls/rbd: fixed last read key for interrupted mirror_image_map_list 21915/head
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>
7 years agoMerge pull request #22027 from trociny/wip-24141
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>
7 years agoMerge pull request #21624 from trociny/wip-22787
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>
7 years agoosd: Clear part of cleaned_meta_map in case of a restarted smaller chunk 21892/head
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>
7 years agomgr/dashboard: Fix moment.js deprecation warning 21981/head
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>
7 years agoMerge pull request #22003 from votdev/fix_deletion_dialog
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>
7 years agoMerge pull request #21928 from ricardoasmarques/wip-remove-useless-unsubscribe
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>
7 years agorbd: deep copy option to copy clone parent data 21624/head
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>
7 years agolibrbd: deep copy optionally support flattening cloned image
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>
7 years agolibrbd/deep_copy: adjust in-memory overlap if set_size updated it on disk
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>
7 years agolibrbd: hide parent object when deep copying empty child
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>
7 years agolibrbd: fix deep copy clone to destination with larger object size
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>
7 years agotest/librbd: add deep copy clone tests
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>
7 years agoMerge pull request #22002 from votdev/fix_deletion
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>
7 years agoMerge pull request #22006 from liewegas/wip-mimic
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

7 years agodoc/releases/mimic: edit/clean up upgrade notes 22006/head
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>
7 years agoinstall-deps: nuke wheelhouse if it's stale 22028/head
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>
7 years agorbd-mirror: make 'flush' asok command asynchronous 22027/head
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>
7 years agorbd-mirror: don't reregister asok hook in process entry thread
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>
7 years agoMerge pull request #22008 from dillaman/wip-rbd-suite-distros
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>
7 years agoqa/suites/rbd: reduce runtime of rbd-mirror fsx test case
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>
7 years agoMerge pull request #21932 from yuriw/wip-yuriw-add-dollar-rgw
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>
7 years agoqa/suites/rbd: added active/active rbd-mirror tests
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>
7 years agoqa/workunits/rbd: fixed rbd-mirror snapshot comparison loop
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>
7 years agoqa/workunits/rbd: fixed missing error code on trap handler
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>
7 years agoqa/workunits/rbd: skip rbd-mirror start/stop cases when thrashing daemons
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>
7 years agoqa/workunits/rbd: rbd-mirror admin socket commands should retry
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>
7 years agoqa/workunits/rbd: don't override rbd-mirror logs if running under teuthology
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>
7 years agoqa/workunits/rbd: append rbd-mirror instance number for all-daemon asok command
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>
7 years agotest/rbd: fsx should utilize the default image features
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>
7 years agotest/rbd_mirror: fix race condition with image map timer callbacks
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>
7 years agolibrbd: deep-copy should remove parent metadata if overlap updated
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>
7 years agolibrbd/deep_copy: adjust in-memory overlap if set_size updated it on disk
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>
7 years agolibrbd: journal replay should no-op out-of-bounds IO
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>
7 years agolibrbd: don't assert if parent pool doesn't exist
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>
7 years agorbd-mirror: image create should lookup local parent snapshot id
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>
7 years agorbd-mirror: do not propagate image map instance updates when shutting down
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>
7 years agorbd-mirror: propagate image delete if leader was offline
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>
7 years agorbd-mirror: avoid sending duplicate re-acquire messages upon leader startup
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>
7 years agorbd-mirror: reduce unnecessary logging for periodic start image replayer
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>
7 years agorbd-mirror: cancel image replayer status timer task at shut down
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>
7 years agorbd-mirror: policy map shouldn't default to first instance if dead
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>
7 years agorbd-mirror: prevent blacklisting of local instance after failover/back
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>
7 years agorbd-mirror: instantly remove instances without associated images
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>
7 years agorbd-mirror: instance replayer now respects manual stop command
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>
7 years agorbd-mirror: support optionally enabling active/active mirroring
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>
7 years agoMerge pull request #22011 from dillaman/wip-rbd-release-notes
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

7 years agodoc/releases/schedule: add mimic column
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>
7 years agoMerge PR #22017 into master
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>
7 years agoptl-tool: skip empty comment body 22017/head
Patrick Donnelly [Tue, 15 May 2018 17:45:20 +0000 (10:45 -0700)]
ptl-tool: skip empty comment body

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21924 into master
Patrick Donnelly [Tue, 15 May 2018 17:10:03 +0000 (10:10 -0700)]
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>
7 years agoMerge pull request #22016 from LenzGr/dashboard-mimic-reasenotes
Sage Weil [Tue, 15 May 2018 16:25:09 +0000 (11:25 -0500)]
Merge pull request #22016 from LenzGr/dashboard-mimic-reasenotes

doc/releases/mimic: Updated dashboard description

7 years agodoc/releases/mimic: Updated dashboard description 22016/head
Lenz Grimmer [Tue, 15 May 2018 16:14:47 +0000 (18:14 +0200)]
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>
7 years agobuffer: add noexcept to move, swap, clear
Casey Bodley [Sun, 8 Oct 2017 20:27:30 +0000 (16:27 -0400)]
buffer: add noexcept to move, swap, clear

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agodoc/releases/mimic: tweak RBD major features 22011/head
Jason Dillaman [Tue, 15 May 2018 14:49:30 +0000 (10:49 -0400)]
doc/releases/mimic: tweak RBD major features

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa/suites/rbd: randomly select a supported distro 22008/head
Jason Dillaman [Tue, 15 May 2018 14:09:59 +0000 (10:09 -0400)]
qa/suites/rbd: randomly select a supported distro

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge PR #21842 into master
Patrick Donnelly [Tue, 15 May 2018 13:43:00 +0000 (06:43 -0700)]
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>
7 years agoMerge pull request #21986 from cbodley/wip-24124
Casey Bodley [Tue, 15 May 2018 13:40:44 +0000 (09:40 -0400)]
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>
7 years agoMerge pull request #21987 from liewegas/wip-mimic-upgrade
Sage Weil [Tue, 15 May 2018 13:32:10 +0000 (08:32 -0500)]
Merge pull request #21987 from liewegas/wip-mimic-upgrade

doc/releases/mimic: upgrade steps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agodoc/releases/mimic: upgrade steps 21987/head
Sage Weil [Mon, 14 May 2018 20:16:14 +0000 (15:16 -0500)]
doc/releases/mimic: upgrade steps

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/dashboard: Deletion dialog falsely executes deletion when pressing 'Cancel' 22003/head
Volker Theile [Tue, 15 May 2018 12:44:22 +0000 (14:44 +0200)]
mgr/dashboard: Deletion dialog falsely executes deletion when pressing 'Cancel'

If a deletion fails and the 'Cancel' button is pressed to close the dialog, then the deletion process is triggered again.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21809 from tchaikov/wip-22420
Kefu Chai [Tue, 15 May 2018 12:47:15 +0000 (20:47 +0800)]
Merge pull request #21809 from tchaikov/wip-22420

mon,osd: dump "compression_algorithms" in "mon metadata"

Reveiwed-by: John Spray <john.spray@redhat.com>
7 years agomgr/dashboard: Handle errors during deletion 22002/head
Volker Theile [Tue, 15 May 2018 12:25:30 +0000 (14:25 +0200)]
mgr/dashboard: Handle errors during deletion

- Take care that the deletion dialog gets notified about errors to stop the progress spinner and enable the delete button again.
- Prettify JS code.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Remove useless observable unsubscriptions 21928/head
Ricardo Marques [Thu, 10 May 2018 09:40:09 +0000 (10:40 +0100)]
mgr/dashboard: Remove useless observable unsubscriptions

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #21933 from tspmelo/fix-unittest-warnings
Lenz Grimmer [Tue, 15 May 2018 09:19:55 +0000 (11:19 +0200)]
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>
7 years agoMerge pull request #21967 from votdev/bug_24097
Lenz Grimmer [Tue, 15 May 2018 09:19:18 +0000 (11:19 +0200)]
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>