Commit Graph

86708 Commits

Author SHA1 Message Date
Mykola Golub
42dac1669f
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>
2018-05-18 10:32:49 +03:00
Josh Durgin
4516870a52
Merge pull request #21651 from ceph/wip-da-dmclock-submodule
move dmclock subtree into submodule

Reviewed-by: Eric Ivancich <ivancich@redhat.com>
2018-05-17 13:57:39 -07:00
Kefu Chai
2a724a2ff3
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>
2018-05-18 00:56:08 +08:00
Sage Weil
ca9ce0f6e5
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>
2018-05-17 11:40:20 -05:00
Lenz Grimmer
789e9858b2
Merge pull request #22061 from tspmelo/wip-npmrc
mgr/dashboard: Disable package-lock.json creation

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-05-17 17:44:59 +02:00
Lenz Grimmer
32e0660556 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>
2018-05-17 17:34:36 +02:00
Lenz Grimmer
9a943b982f
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>
2018-05-17 16:50:23 +02:00
Tiago Melo
fe365bf715 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>
2018-05-17 14:33:27 +01:00
Sage Weil
4706f1d42b
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>
2018-05-17 07:00:08 -05:00
Kefu Chai
c237d0befb 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>
2018-05-17 19:11:14 +08:00
Ricardo Marques
251e2515b5 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>
2018-05-17 11:07:52 +01:00
Lenz Grimmer
7d93c1fbdf
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>
2018-05-17 11:11:33 +02:00
Kefu Chai
03614c99db
Merge pull request #22046 from tchaikov/wip-23653
cmake: do not check for aligned_alloc() anymore

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-05-17 14:03:47 +08:00
Kefu Chai
f146c6c514 core: use const_iterator for decode
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-17 13:56:49 +08:00
Kefu Chai
94e4928f17 mds: use const_iterator for decode
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-17 13:56:49 +08:00
Kefu Chai
7a8e740f00 rgw: use const_iterator for decode
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-17 13:56:49 +08:00
Kefu Chai
d03ff14d81 rbd: use const_iterator for decode
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-17 13:56:49 +08:00
Kefu Chai
e1a621193f 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>
2018-05-17 13:56:49 +08:00
Kefu Chai
12f76357ac buffer: add cbegin() methods
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-17 13:56:49 +08:00
Kefu Chai
4d646ef579 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>
2018-05-17 10:33:04 +08:00
Dan Mick
0bf9a5a2a7
Merge pull request #22028 from tchaikov/wip-wheelhouse
install-deps: nuke wheelhouse if it's stale
2018-05-16 14:32:36 -07:00
Sage Weil
6bfb9c866f
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>
2018-05-16 16:07:17 -05:00
Sage Weil
a48999094d
Merge pull request #21854 from ifed01/wip-ifed-bluestore-alloc-cleanup
os/bluestore: allocator pruning

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-16 16:06:49 -05:00
Sage Weil
e713b4de4f
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>
2018-05-16 16:06:19 -05:00
Sage Weil
5d8027ca70
Merge pull request #21937 from yanghonggang/balancer-list
mgr/balancer: add cmd to list all plans

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-16 16:05:49 -05:00
Sage Weil
ba0ef8fa14
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>
2018-05-16 16:05:18 -05:00
Sage Weil
a65e72a0fb
Merge pull request #21984 from liewegas/wip-24118
mon/MonClient: set configs via finisher

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-16 16:04:34 -05:00
Sage Weil
4c8611da87
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>
2018-05-16 15:27:53 -05:00
Jason Dillaman
3cbe0cedcd 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>
2018-05-16 16:15:45 -04:00
Jason Dillaman
a300462aa2
Merge pull request #22027 from trociny/wip-24141
rbd-mirror: potential deadlock when running asok 'flush' command

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-05-16 14:04:20 -04:00
Jason Dillaman
a3ddfdcf16
Merge pull request #21624 from trociny/wip-22787
librbd: deep copy optionally support flattening cloned image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-05-16 14:04:00 -04:00
David Zafman
9e0ac797c6 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>
2018-05-16 08:10:20 -07:00
Tiago Melo
89ae257730 mgr/dashboard: Fix moment.js deprecation warning
Fixes: https://tracker.ceph.com/issues/24115

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-05-16 16:08:52 +01:00
Lenz Grimmer
5820d714f3
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>
2018-05-16 15:44:05 +02:00
Lenz Grimmer
f2b645109b
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>
2018-05-16 15:25:21 +02:00
Mykola Golub
e387f91955 rbd: deep copy option to copy clone parent data
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-05-16 16:07:48 +03:00
Mykola Golub
0d43d2face librbd: deep copy optionally support flattening cloned image
Fixes: http://tracker.ceph.com/issues/22787
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-05-16 16:07:38 +03:00
Mykola Golub
ca0893c4d9 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-16 16:07:26 +03:00
Mykola Golub
3d884eaee8 librbd: hide parent object when deep copying empty child
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-05-16 16:07:12 +03:00
Mykola Golub
947993a8d3 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>
2018-05-16 16:04:36 +03:00
Mykola Golub
928540272f test/librbd: add deep copy clone tests
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-05-16 16:01:33 +03:00
Lenz Grimmer
9ae6d1cf7a
Merge pull request #22002 from votdev/fix_deletion
mgr/dashboard: Handle errors during deletion

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-05-16 14:23:32 +02:00
Sage Weil
4266d187cc
Merge pull request #22006 from liewegas/wip-mimic
doc/releases/schedule: add mimic column
2018-05-16 07:09:52 -05:00
Sage Weil
d78dda7b81 doc/releases/mimic: edit/clean up upgrade notes
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-16 07:07:48 -05:00
Kefu Chai
ed0ca70707 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>
2018-05-16 19:43:33 +08:00
Mykola Golub
6fce4cabe7 rbd-mirror: make 'flush' asok command asynchronous
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-05-16 14:31:52 +03:00
Mykola Golub
43e50bd582 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>
2018-05-16 14:31:52 +03:00
Yuri Weinstein
6e574e7eed
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>
2018-05-15 17:03:00 -07:00
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
Sage Weil
664af17b30
Merge pull request #21932 from yuriw/wip-yuriw-add-dollar-rgw
tests/qa: Adding $ distro mix - rgw

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-05-15 16:15:05 -05:00