Commit Graph

76927 Commits

Author SHA1 Message Date
Alex Mikheev
6b773887a3 msg/async/rdma: fixes crash in fio
fio creates multiple CephContext in a single process.
Crash(es) happen because rdma stack has a global resources that
are still used from one ceph context while have already been destroyed
by another context.

The commit removes global instances of RDMA dispatcher and infiniband
and makes them context (rdma stack) specific.

Signed-off-by: Adir Lev <adirl@mellanox.com>
Signed-off-by: Alex Mikheev <alexm@mellanox.com>
2017-08-11 10:00:01 +08:00
Haomai Wang
25fce20d63 Merge pull request #16980 from ceph/revert-16893-wip-fix-multicct-ib
Revert "msg/async/rdma: fix multi cephcontext confllicting"
2017-08-11 09:58:17 +08:00
Haomai Wang
f8a7e705c5 Revert "msg/async/rdma: fix multi cephcontext confllicting" 2017-08-11 09:57:41 +08:00
David Zafman
96ed4eedc0 Merge pull request #16977 from liewegas/wip-no-pidfile
test/CMakeLists: disable test_pidfile.sh

Reviewed-by: Xie Xingguo <xie.xingguo@zte.com.cn>
2017-08-10 18:41:38 -07:00
Sage Weil
ff3de23044 test/CMakeLists: disable test_pidfile.sh
Too flaky, see http://tracker.ceph.com/issues/20975

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-10 15:41:38 -04:00
Sage Weil
1e606708bc Merge pull request #16918 from liewegas/wip-doc-bluestore-migration
doc/rados/operations/bluestore-migration: document bluestore migration process

Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
2017-08-10 14:15:31 -05:00
Sage Weil
f7398ddd23 doc/rados/operations/bluestore-migration: document bluestore migration process
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-10 15:15:03 -04:00
Sage Weil
a60f690144 Merge pull request #16975 from theanalyst/doc-12-1-3-release-notes
doc: 12.1.3 release notes

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-10 13:30:05 -05:00
Sage Weil
a499f682b1 Merge pull request #16974 from liewegas/wip-release-notes
doc/release-notes: remove mention of crush weight optimization

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-08-10 13:29:25 -05:00
Abhishek Lekshmanan
e34d10ae10 doc: 12.1.3 release notes
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-10 20:00:19 +02:00
Sage Weil
e9728fc71b doc/release-notes: remove mention of crush weight optimization
It's not there yet.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-10 13:36:51 -04:00
Matt Benjamin
1d9a4c47c4 Merge pull request #15330 from guihecheng/rgw_file-fsid-mount
rgw_file: introduce new fsid and rgw_mount
2017-08-10 13:32:27 -04:00
Sage Weil
d5c09a9b70 Merge pull request #16648 from ovh/bp-kill-str-conv
osdc, class_api: kill implicit string conversions

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2017-08-10 11:19:24 -05:00
Sage Weil
886b3c2170 Merge pull request #16850 from liewegas/wip-bluestore-dirty-range
os/bluestore: fix dirty_shard off-by-one

Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
2017-08-10 11:17:32 -05:00
Sage Weil
a09b10299d Merge pull request #16872 from markhpc/wip-bluestore-faster_gncb
os/bluestore:  clearer comments, not slower code.

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-10 11:15:38 -05:00
Sage Weil
3d8b0ffb66 Merge pull request #16941 from jcsp/wip-20956
osd: include front_iface+back_iface in metadata

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-10 11:14:54 -05:00
Sage Weil
dd2fb6c40b Merge pull request #16944 from liewegas/wip-kraken-x
mon/Elector: force election epoch bump on start

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-10 11:12:43 -05:00
Sage Weil
8338278a01 Merge pull request #16953 from neha-ojha/wip-20798
test/librados: create unique lock names

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-10 11:12:22 -05:00
Andrew Schoen
c6c0495d9d Merge pull request #16962 from ceph/wip-bz1479797
ceph-volume: tests add tests for the is_mounted utility

Reviewed-by: Andrew Schoen aschoen@redhat.com
2017-08-10 10:07:27 -05:00
Yuri Weinstein
013948aa14 Merge pull request #16618 from adamemerson/wip-throttle
common/Throttle: Clean up

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-10 07:45:11 -07:00
Yuri Weinstein
61e0999ee6 Merge pull request #16702 from hjwsm1989/wip-recover-timeout-expired
osd: do not forget pg_stat acks which failed to send

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2017-08-10 07:43:30 -07:00
Yuri Weinstein
32be0f3cce Merge pull request #16928 from amitkumar50/cov-messages-7
messages: Initializing members in MOSDPGUpdateLogMissing

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-08-10 07:42:00 -07:00
Sage Weil
4f4df4244a doc/release-notes: fix link typo
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-10 10:35:51 -04:00
Ilya Dryomov
097521477e Merge pull request #16966 from idryomov/wip-krbd-unmap-tests-pool
qa: fix POOL_APP_NOT_ENABLED warning in krbd:unmap suite

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-10 16:08:58 +02:00
Sage Weil
c46bdf5efd Revert "qa/suites/upgrade/jewel-x/parallel: thrash layout"
This reverts commit 435777dbff.

This test combination is not yet stable.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-10 09:51:29 -04:00
Sage Weil
b47d975cc3 Merge pull request #16950 from liewegas/wip-20959
osd/PG: force rebuild of missing set on jewel upgrade

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-10 08:32:12 -05:00
Alfredo Deza
4bb4c432dc ceph-volume: is_mounted should use a bytes->string util to compare strings
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-10 09:11:58 -04:00
Alfredo Deza
b50f1fb552 ceph-volume: create a utf-8 string decoder for py3 compat
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-10 09:11:27 -04:00
Haomai Wang
63de53e0a7 Merge pull request #16945 from liupan1111/wip-fix-spdk-compile
bluestore: fixed compilation error when enable spdk with gcc 4.8.5

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-08-10 19:38:10 +08:00
Alfredo Deza
dd4db2f567 ceph-volume: tests add tests for the is_mounted utility
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-10 07:35:06 -04:00
Ilya Dryomov
ad715b3368 qa: fix POOL_APP_NOT_ENABLED warning in krbd:unmap suite
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-08-10 11:54:53 +02:00
Abhishek L
b3caae4223 Merge pull request #16956 from theanalyst/doc-changelog-v11.2.1
doc: add changelog for v11.2.1

Reviewed-By: Nathan Cutler <ncutler@suse.com>
2017-08-10 10:51:25 +02:00
Abhishek Lekshmanan
c6e1b4e3f9 doc: add changelog for v11.2.1
Generated as::

git log v11.2.0..v11.2.1 --after="Thu Jan 19 13:08:40 2017 +0000" > doc/changelog/v11.2.1.txt

In order to avoid qe suite merges before this date

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-10 10:11:05 +02:00
Haomai Wang
20a03bb8af Merge pull request #16893 from yuyuyu101/wip-fix-multicct-ib
msg/async/rdma: fix multi cephcontext confllicting
2017-08-10 14:40:44 +08:00
Sage Weil
c8c837f665 Merge pull request #16905 from liewegas/wip-upgrade-sloppy-flush
qa/tasks/ceph.py: tolerate flush pg stats exception
2017-08-09 21:21:51 -05:00
Sage Weil
435777dbff qa/suites/upgrade/jewel-x/parallel: thrash layout
We can't kill and restart osds because that will interfere with
the upgrade process.  We can, however, thrash the layout by
tweaking osd weights and so on.  This will exercise osd recovery
paths during the upgrade that aren't normally exercised (outside
of stress-split..which doesn't upgrade individual osds while they
are non-clean).

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-09 22:07:48 -04:00
Sage Weil
dd1a25218c osd/PG: force rebuild of missing set on jewel upgrade
Previously we were detecting the need to rebuild missing based on
whether the "divergent_priors" omap key was present.  Unfortunately,
jewel does not always set this, so it is not a reliable indicator.
(It only gets set if you actually have a divergent prior at some
point in the PG's life time on that OSD.)

Fix by using the info_struct_v on the PG to detect whether we need
to do the conversion.  We didn't bump the value when we adding
the missing persistence, but the fastinfo was also added during
the same period between jewel and kraken, so it will work just as
well.

Fixes: http://tracker.ceph.com/issues/20958
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-09 22:07:48 -04:00
Haomai Wang
946c59bb38 Merge pull request #16006 from shangfufei/wip_modify_connect_logic
Optimization for connection establishment.

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-08-10 10:05:05 +08:00
Jos Collin
5fbb81f194 Merge pull request #16382 from PCzhangPC/bug2
common: bench test fall into dead loop when <seconds>=0

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-08-10 01:48:05 +00:00
Jos Collin
081d0b1f61 Merge pull request #16396 from amitkumar50/branch20604
core: remove startsync

Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-08-10 01:43:30 +00:00
Jos Collin
6e3b9db076 Merge pull request #16886 from liupan1111/wip-add-size
os/bluestore: move size and block_size to the base class BlockDevice

Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
2017-08-10 01:29:06 +00:00
Jos Collin
4192435f41 Merge pull request #16888 from gmayyyha/osd-ms-verify-auth
osd/OSD.cc: add 'isvalid=false' when failed to parse caps

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-08-10 01:16:54 +00:00
Yuri Weinstein
86b5677ab6 Merge pull request #16829 from ivancich/wip-dup-ops-cleanup-1
osd: clean up dup index logic; maintain index flag logic in fewer places

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-08-09 16:37:04 -07:00
Yuri Weinstein
3c80d4a08f Merge pull request #16887 from xiexingguo/wip-mon-count
mon: fix wrong mon-num counting  logic of 'ceph features' command

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-09 16:34:55 -07:00
Yuri Weinstein
c1b87c71e3 Merge pull request #16892 from xiexingguo/wip-clean-pg-temp
mon/OSDMonitor: fix 'osd pg temp' unable to cleanup pg-temp

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-09 16:34:38 -07:00
Gregory Farnum
2e58760e24 Merge pull request #16897 from amitkumar50/cov-MDentryLink-1
messages: Initialization of is_primary

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-09 15:37:18 -07:00
Alfredo Deza
ef4205a6f7 Merge pull request #16919 from ceph/wip-volume-tests
ceph-volume: adds functional CI testing

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-08-09 18:09:39 -04:00
Neha Ojha
5d69f801ba test/librados: create unique lock names
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-08-09 14:14:21 -07:00
Alfredo Deza
c61aea41f1 ceph-volume: lvm activate should check if the device is mounted to prevent errors from mount
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-09 15:24:15 -04:00
Alfredo Deza
d77d86aae1 ceph-volume util add a helper to check if a device is mounted
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-09 15:10:18 -04:00