]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agodoc: Fix typo and grammar in RGW config reference 13356/head
Ruben Kerkhof [Fri, 10 Feb 2017 11:04:17 +0000 (12:04 +0100)]
doc: Fix typo and grammar in RGW config reference

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
8 years agoMerge pull request #13338 from kshtsk/add-bc-to-deps
Nathan Cutler [Fri, 10 Feb 2017 09:28:10 +0000 (10:28 +0100)]
Merge pull request #13338 from kshtsk/add-bc-to-deps

ceph.spec.in, debian/control: Add bc to build dependencies

Reviewed-by: Dan Mick <dan.mick@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #13334 from tchaikov/wip-osd-scrub-repair-more-patient
Kefu Chai [Fri, 10 Feb 2017 02:36:10 +0000 (10:36 +0800)]
Merge pull request #13334 from tchaikov/wip-osd-scrub-repair-more-patient

tests: osd-scrub-repair.sh disable scrub backoff in test

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoceph.spec.in, debian/control: Add bc to build dependencies 13338/head
Kyr Shatskyy [Wed, 8 Feb 2017 15:02:52 +0000 (16:02 +0100)]
ceph.spec.in, debian/control: Add bc to build dependencies

The bc is missing for ceph-helpers.sh

Fixes: http://tracker.ceph.com/issues/18876
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
8 years agoMerge pull request #13309 from dachary/wip-mailmap
Loic Dachary [Thu, 9 Feb 2017 23:13:26 +0000 (00:13 +0100)]
Merge pull request #13309 from dachary/wip-mailmap

mailmap updates

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agotests: osd-scrub-repair.sh disable scrub backoff in test 13334/head
Kefu Chai [Thu, 9 Feb 2017 16:54:54 +0000 (00:54 +0800)]
tests: osd-scrub-repair.sh disable scrub backoff in test

there is good chance that the newly scheduled scrub fail to pass the
flip-coin check: the probability of scheduling a new scrub 1/3 every
time we flip the coin. so, instead hardwiring the probability to 1/3,
a new option named "osd_scrub_backoff_ratio" is introduced. so we can
override it when performing test.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13325 from liewegas/wip-fsck
Sage Weil [Thu, 9 Feb 2017 14:39:03 +0000 (08:39 -0600)]
Merge pull request #13325 from liewegas/wip-fsck

ceph_test_objectstore: tolerate fsck EOPNOTSUPP too

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13208 from ceph/wip-dalgaaf-sca-20170131
Sage Weil [Thu, 9 Feb 2017 14:30:44 +0000 (08:30 -0600)]
Merge pull request #13208 from ceph/wip-dalgaaf-sca-20170131

misc: SCA and Coverity Fixes

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13306 from tchaikov/wip-18464
Kefu Chai [Thu, 9 Feb 2017 09:31:05 +0000 (17:31 +0800)]
Merge pull request #13306 from tchaikov/wip-18464

rocksdb: sync with upstream

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #13313 from smithfarm/wip-18856
Nathan Cutler [Thu, 9 Feb 2017 09:14:20 +0000 (10:14 +0100)]
Merge pull request #13313 from smithfarm/wip-18856

tests: update SUSE yaml facets in qa/distros/all

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoRadosStriperImpl.cc: fix double free 13208/head
Danny Al-Gaaf [Tue, 31 Jan 2017 21:23:28 +0000 (22:23 +0100)]
RadosStriperImpl.cc: fix double free

Some variables have been already free'd by calling
release(), no need to call delete() again on them.

CID 1396200 (#1 of 1): Double free (USE_AFTER_FREE)
 double_free: Calling operator delete frees pointer
 getxattr_completion which has already been freed.
CID 1396206 (#1 of 1): Double free (USE_AFTER_FREE)
 double_free: Calling operator delete frees pointer
 getxattr_completion which has already been freed.
CID 1396214 (#1 of 1): Double free (USE_AFTER_FREE)
 double_free: Calling operator delete frees pointer
 stat_completion which has already been freed.
CID 1396218 (#1 of 1): Double free (USE_AFTER_FREE)
 double_free: Calling operator delete frees pointer
 stat_completion which has already been freed.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agoosdc/ObjectCacher.cc: fix wrong self assignment
Danny Al-Gaaf [Tue, 31 Jan 2017 21:05:10 +0000 (22:05 +0100)]
osdc/ObjectCacher.cc: fix wrong self assignment

Fix for:

CID 1395468 (#1 of 1): Self assignment (NO_EFFECT)
self_assign: Assigning bh->last_write to itself has no effect.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agocommon/Checksummer.h: close resource leak
Danny Al-Gaaf [Tue, 31 Jan 2017 19:41:32 +0000 (20:41 +0100)]
common/Checksummer.h: close resource leak

CID 1395784 (#2-1 of 2): Resource leak (RESOURCE_LEAK)
 leaked_storage: Variable state going out of scope
 leaks the storage it points to.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_main.cc: close leak in error case
Danny Al-Gaaf [Tue, 31 Jan 2017 18:13:48 +0000 (19:13 +0100)]
rgw/rgw_main.cc: close leak in error case

ID 1398895 (#1 of 1): Resource leak (RESOURCE_LEAK)
 leaked_storage: Variable config going out of scope leaks
 the storage it points to.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_rados.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 17:01:32 +0000 (18:01 +0100)]
rgw/rgw_rados.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_main.cc: reorder framework detection
Danny Al-Gaaf [Tue, 31 Jan 2017 16:58:44 +0000 (17:58 +0100)]
rgw/rgw_main.cc: reorder framework detection

Fix for:

CID 1398896: Resource leak (RESOURCE_LEAK)
 overwrite_var: Overwriting fe in fe = new
 RGWLoadGenFrontend(env, config) leaks the storage that fe
 points to.

Do not check again and again for framework if there is
already a match, make use of if/else. This should also
fix the RESOURCE_LEAK warning.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_compression.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 16:25:40 +0000 (17:25 +0100)]
rgw/rgw_compression.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_common.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 16:19:10 +0000 (17:19 +0100)]
rgw/rgw_common.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_torrent.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 16:18:41 +0000 (17:18 +0100)]
rgw/rgw_torrent.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agoRDMAConnectedSocketImpl.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 16:18:21 +0000 (17:18 +0100)]
RDMAConnectedSocketImpl.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agomon/OSDMonitor.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 16:17:51 +0000 (17:17 +0100)]
mon/OSDMonitor.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agomds/Mantle.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 13:40:10 +0000 (14:40 +0100)]
mds/Mantle.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_lc.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 13:39:08 +0000 (14:39 +0100)]
rgw/rgw_lc.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_token.h: remove redundant and slow call to c_str()
Danny Al-Gaaf [Tue, 31 Jan 2017 13:36:58 +0000 (14:36 +0100)]
rgw/rgw_token.h: remove redundant and slow call to c_str()

Do not call c_str() if the parameter is already of type string.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agokv/MemDB.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 13:36:00 +0000 (14:36 +0100)]
kv/MemDB.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agocls/rgw/cls_rgw.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 13:35:12 +0000 (14:35 +0100)]
cls/rgw/cls_rgw.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agoMerge pull request #12539 from liewegas/wip-mon-pg-creates
Sage Weil [Thu, 9 Feb 2017 02:52:18 +0000 (20:52 -0600)]
Merge pull request #12539 from liewegas/wip-mon-pg-creates

mon: fix force_pg_create pg stuck in creating bug

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12923 from liewegas/wip-df-avail
Sage Weil [Thu, 9 Feb 2017 02:51:46 +0000 (20:51 -0600)]
Merge pull request #12923 from liewegas/wip-df-avail

mon/PGMap: factor mon_osd_full_ratio into MAX AVAIL calc

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoceph_test_objectstore: tolerate fsck EOPNOTSUPP too 13325/head
Sage Weil [Thu, 9 Feb 2017 02:48:11 +0000 (21:48 -0500)]
ceph_test_objectstore: tolerate fsck EOPNOTSUPP too

44c3ec81e9a638150b7d4aa5afb38e73ed92078f is problematic for filestore etc.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13278 from liewegas/wip-luminous
Josh Durgin [Thu, 9 Feb 2017 00:18:36 +0000 (16:18 -0800)]
Merge pull request #13278 from liewegas/wip-luminous

mon,osd: luminous feature bits, require flags, upgrade gates

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #12829 from ovh/wip-perf-counters-histogram
Yuri Weinstein [Thu, 9 Feb 2017 00:18:08 +0000 (16:18 -0800)]
Merge pull request #12829 from ovh/wip-perf-counters-histogram

common, osd, tools: Add histograms to performance counters

Reviewed-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: whu_liuchang <nfcj000@qq.com>
Reviewed-by: Alexey Sheplyakov <asheplyakov@mirantis.com>
8 years agoMerge pull request #13296 from liewegas/wip-kill-sortbitwise
Yuri Weinstein [Thu, 9 Feb 2017 00:12:10 +0000 (16:12 -0800)]
Merge pull request #13296 from liewegas/wip-kill-sortbitwise

osd: remove sortbitwise thrashing

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #13097 from ceph/wip-osd-after-mon
Nathan Cutler [Wed, 8 Feb 2017 23:31:23 +0000 (00:31 +0100)]
Merge pull request #13097 from ceph/wip-osd-after-mon

systemd: Start OSDs after MONs

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #13319 from smithfarm/wip-buildpackages-py
Nathan Cutler [Wed, 8 Feb 2017 23:28:35 +0000 (00:28 +0100)]
Merge pull request #13319 from smithfarm/wip-buildpackages-py

tests: drop buildpackages.py

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agorocksdb: sync with upstream 13306/head
Kefu Chai [Wed, 8 Feb 2017 08:50:30 +0000 (16:50 +0800)]
rocksdb: sync with upstream

and update the CMakeLists.txt accordingly, as upstream changed the
target name to build the static library.

5647d5e reverted the previous change by accident.

Fixes: http://tracker.ceph.com/issues/18464
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agotests: drop buildpackages.py 13319/head
Nathan Cutler [Wed, 8 Feb 2017 20:23:54 +0000 (21:23 +0100)]
tests: drop buildpackages.py

The buildpackages suite has been moved to teuthology. This cleans up a file
that was left behind by https://github.com/ceph/ceph/pull/13297

Fixes: http://tracker.ceph.com/issues/18846
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoqa/suites/rados/upgrade/jewel-x-singleton: upgrade mons first; box thrasher 13278/head
Sage Weil [Wed, 8 Feb 2017 20:05:15 +0000 (15:05 -0500)]
qa/suites/rados/upgrade/jewel-x-singleton: upgrade mons first; box thrasher

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge remote-tracking branch 'gh/luminous'
Sage Weil [Wed, 8 Feb 2017 19:02:43 +0000 (14:02 -0500)]
Merge remote-tracking branch 'gh/luminous'

8 years agoMerge pull request #13218 from guits/ceph_detect_init
Loic Dachary [Wed, 8 Feb 2017 14:29:11 +0000 (15:29 +0100)]
Merge pull request #13218 from guits/ceph_detect_init

ceph-detect-init: Add docker detection

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agotests: update SUSE yaml facets in qa/distros/all 13313/head
Nathan Cutler [Wed, 8 Feb 2017 14:27:00 +0000 (15:27 +0100)]
tests: update SUSE yaml facets in qa/distros/all

Fixes: http://tracker.ceph.com/issues/18856
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years ago12.0.0 v12.0.0
Jenkins Build Slave User [Wed, 8 Feb 2017 13:57:33 +0000 (13:57 +0000)]
12.0.0

8 years agomailmap: Yankun Li affiliation 13309/head
Loic Dachary [Wed, 8 Feb 2017 11:09:39 +0000 (12:09 +0100)]
mailmap: Yankun Li affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Ronak Jain affiliation
Loic Dachary [Wed, 8 Feb 2017 11:09:23 +0000 (12:09 +0100)]
mailmap: Ronak Jain affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Rishabh Kumar affiliation
Loic Dachary [Wed, 8 Feb 2017 11:09:10 +0000 (12:09 +0100)]
mailmap: Rishabh Kumar affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Pascal Bach affiliation
Loic Dachary [Wed, 8 Feb 2017 11:08:54 +0000 (12:08 +0100)]
mailmap: Pascal Bach affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: optimistyzy affiliation
Loic Dachary [Wed, 8 Feb 2017 11:08:37 +0000 (12:08 +0100)]
mailmap: optimistyzy affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: John Lin affiliation
Loic Dachary [Wed, 8 Feb 2017 11:08:18 +0000 (12:08 +0100)]
mailmap: John Lin affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Jamin W. Collins affiliation
Loic Dachary [Wed, 8 Feb 2017 11:08:02 +0000 (12:08 +0100)]
mailmap: Jamin W. Collins affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Edgaras Lukosevicius affiliation
Loic Dachary [Wed, 8 Feb 2017 11:07:45 +0000 (12:07 +0100)]
mailmap: Edgaras Lukosevicius affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Amir Vadai affiliation
Loic Dachary [Wed, 8 Feb 2017 11:07:32 +0000 (12:07 +0100)]
mailmap: Amir Vadai affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Sarit Zubakov affiliation
Loic Dachary [Wed, 8 Feb 2017 11:07:18 +0000 (12:07 +0100)]
mailmap: Sarit Zubakov affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Oren Duer affiliation
Loic Dachary [Wed, 8 Feb 2017 11:06:58 +0000 (12:06 +0100)]
mailmap: Oren Duer affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Hongtong Liu affiliation
Loic Dachary [Wed, 8 Feb 2017 11:06:43 +0000 (12:06 +0100)]
mailmap: Hongtong Liu affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Orlando Moreno affiliation
Loic Dachary [Wed, 8 Feb 2017 11:06:28 +0000 (12:06 +0100)]
mailmap: Orlando Moreno affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Ganesh Mahalingam affiliation
Loic Dachary [Wed, 8 Feb 2017 11:06:04 +0000 (12:06 +0100)]
mailmap: Ganesh Mahalingam affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Dave Chen affiliation
Loic Dachary [Wed, 8 Feb 2017 11:05:52 +0000 (12:05 +0100)]
mailmap: Dave Chen affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Anjaneya Chagam affiliation
Loic Dachary [Wed, 8 Feb 2017 11:05:36 +0000 (12:05 +0100)]
mailmap: Anjaneya Chagam affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Samuel Matzek affiliation
Loic Dachary [Wed, 8 Feb 2017 11:05:20 +0000 (12:05 +0100)]
mailmap: Samuel Matzek affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Yixun Lan affiliation
Loic Dachary [Wed, 8 Feb 2017 11:05:04 +0000 (12:05 +0100)]
mailmap: Yixun Lan affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: wangzhengyong affiliation
Loic Dachary [Wed, 8 Feb 2017 11:04:46 +0000 (12:04 +0100)]
mailmap: wangzhengyong affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: lvshuhua affiliation
Loic Dachary [Wed, 8 Feb 2017 11:04:27 +0000 (12:04 +0100)]
mailmap: lvshuhua affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: donglinpeng affiliation
Loic Dachary [Wed, 8 Feb 2017 11:04:05 +0000 (12:04 +0100)]
mailmap: donglinpeng affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Tang Jin affiliation
Loic Dachary [Wed, 8 Feb 2017 11:03:24 +0000 (12:03 +0100)]
mailmap: Tang Jin affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Petertc Chu affiliation
Loic Dachary [Wed, 8 Feb 2017 11:02:52 +0000 (12:02 +0100)]
mailmap: Petertc Chu affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Pan Liu affiliation
Loic Dachary [Wed, 8 Feb 2017 11:02:13 +0000 (12:02 +0100)]
mailmap: Pan Liu affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Ilya Shipitsin affiliation
Loic Dachary [Wed, 8 Feb 2017 11:01:40 +0000 (12:01 +0100)]
mailmap: Ilya Shipitsin affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Fang Yuxiang affiliation
Loic Dachary [Wed, 8 Feb 2017 11:00:21 +0000 (12:00 +0100)]
mailmap: Fang Yuxiang affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agoceph-detect-init: Add docker detection 13218/head
Guillaume Abrioux [Wed, 1 Feb 2017 15:05:14 +0000 (16:05 +0100)]
ceph-detect-init: Add docker detection

if running `ceph-detect-init` from a container, the given output is the
reference from the hosting system. This patch add the capability of
detecting if the tool is being run inside a container.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agoMerge pull request #12586 from ktdreyer/wip-18313-rgw-upstart
Kefu Chai [Wed, 8 Feb 2017 05:15:43 +0000 (13:15 +0800)]
Merge pull request #12586 from ktdreyer/wip-18313-rgw-upstart

upstart: start radosgw-all according to runlevel

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kefu@redhat.com>
8 years agoMerge pull request #12086 from wjwithagen/wip-wjw-freebsd-ceph-disk
Kefu Chai [Wed, 8 Feb 2017 03:37:22 +0000 (11:37 +0800)]
Merge pull request #12086 from wjwithagen/wip-wjw-freebsd-ceph-disk

ceph-disk: FreeBSD changes to get it working and passing tests

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13015 from chuanhong-wang/dev_change_osd_df_tree_output
Kefu Chai [Wed, 8 Feb 2017 03:34:07 +0000 (11:34 +0800)]
Merge pull request #13015 from chuanhong-wang/dev_change_osd_df_tree_output

mon: in output of "ceph osd df tree", display "-", not "0",  for pg amount of a bucket

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13159 from bassam/pr-fix-embedded-zstd
Kefu Chai [Wed, 8 Feb 2017 03:33:53 +0000 (11:33 +0800)]
Merge pull request #13159 from bassam/pr-fix-embedded-zstd

compressor/zstd: add zstd to embedded ceph

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13236 from adamemerson/wip-alarum
Kefu Chai [Wed, 8 Feb 2017 03:33:33 +0000 (11:33 +0800)]
Merge pull request #13236 from adamemerson/wip-alarum

cleanup: resolve compiler warnings

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13265 from tchaikov/wip-librados-hide-private-symbols
Kefu Chai [Wed, 8 Feb 2017 03:32:40 +0000 (11:32 +0800)]
Merge pull request #13265 from tchaikov/wip-librados-hide-private-symbols

librados: do not expose non-public symbols

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #13268 from tchaikov/wip-better-error-ping-mon
Kefu Chai [Wed, 8 Feb 2017 03:32:25 +0000 (11:32 +0800)]
Merge pull request #13268 from tchaikov/wip-better-error-ping-mon

ceph: do not throw TypeError on connection failure

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #13286 from Liuchang0812/remove-useless-close
Kefu Chai [Wed, 8 Feb 2017 03:31:50 +0000 (11:31 +0800)]
Merge pull request #13286 from Liuchang0812/remove-useless-close

msg/async: remove useless close function

Reviewed-by: Kefu Chai <kefu@redhat.com>
8 years agoMerge pull request #13288 from dmick/master
Kefu Chai [Wed, 8 Feb 2017 03:31:02 +0000 (11:31 +0800)]
Merge pull request #13288 from dmick/master

ceph.in: add help for locally-handled commands

Reviewed-by: Kefu Chai <kefu@redhat.com>
8 years agoMerge pull request #9976 from songbaisen/a13
Sage Weil [Tue, 7 Feb 2017 23:14:14 +0000 (17:14 -0600)]
Merge pull request #9976 from songbaisen/a13

mon: PGMonitor add check only concern our self cluster command

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10150 from songbaisen/b
Sage Weil [Tue, 7 Feb 2017 23:13:47 +0000 (17:13 -0600)]
Merge pull request #10150 from songbaisen/b

mon: avoid start election twice when quorum enter

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10309 from songbaisen/b8
Sage Weil [Tue, 7 Feb 2017 23:13:13 +0000 (17:13 -0600)]
Merge pull request #10309 from songbaisen/b8

mon: OSDMonitor add check only concern our self cluster command

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12273 from songbaisen/s4
Yuri Weinstein [Tue, 7 Feb 2017 21:05:27 +0000 (13:05 -0800)]
Merge pull request #12273 from songbaisen/s4

mon: add warn info for osds were removed from osdmap but still kept in crushmap

Reviewed-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13121 from LiumxNL/wip-170125
Yuri Weinstein [Tue, 7 Feb 2017 21:00:21 +0000 (13:00 -0800)]
Merge pull request #13121 from LiumxNL/wip-170125

osd: we know the definite epoch of marking down

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13297 from dachary/wip-buildpackages
Loic Dachary [Tue, 7 Feb 2017 20:40:58 +0000 (21:40 +0100)]
Merge pull request #13297 from dachary/wip-buildpackages

buildpackages: remove because it does not belong

Reviewed-by: Nathan Cutler <ncutler@suse.cz>
8 years agoMerge pull request #13162 from liewegas/wip-bluestore-reshard
Sage Weil [Tue, 7 Feb 2017 19:01:48 +0000 (13:01 -0600)]
Merge pull request #13162 from liewegas/wip-bluestore-reshard

os/bluestore: partial reshard support

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agomon: prevent sortbitwise flag from being unset 13296/head
Sage Weil [Tue, 7 Feb 2017 19:00:32 +0000 (14:00 -0500)]
mon: prevent sortbitwise flag from being unset

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuildpackages: remove because it does not belong 13297/head
Loic Dachary [Tue, 7 Feb 2017 17:33:29 +0000 (18:33 +0100)]
buildpackages: remove because it does not belong

It should live in teuthology, not in Ceph. And it is currently broken:
there is no need to keep it around.

Fixes: http://tracker.ceph.com/issues/18846
Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoosd/PG: drop sortbitwise feature check assert
Sage Weil [Tue, 7 Feb 2017 17:17:07 +0000 (12:17 -0500)]
osd/PG: drop sortbitwise feature check assert

This feature bit will get deprecated shortly anyway.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PG: drop osd_debug_randomize_hobj_sort_order
Sage Weil [Tue, 7 Feb 2017 17:15:41 +0000 (12:15 -0500)]
osd/PG: drop osd_debug_randomize_hobj_sort_order

This is required post-jewel; no need to thrash it.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/rados: stop thrashing sortbitwise
Sage Weil [Tue, 7 Feb 2017 17:14:13 +0000 (12:14 -0500)]
qa/suites/rados: stop thrashing sortbitwise

This is required to upgrade past jewel; no need to keep testing it
on master.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/OSDMap: fix kraken feature requirement
Sage Weil [Tue, 7 Feb 2017 15:37:43 +0000 (10:37 -0500)]
osd/OSDMap: fix kraken feature requirement

Use the FEATUREMASK since this is a reused bit.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: use HAVE_FEATURE for kraken, jewel feature tests
Sage Weil [Tue, 7 Feb 2017 15:36:11 +0000 (10:36 -0500)]
mon/OSDMonitor: use HAVE_FEATURE for kraken, jewel feature tests

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: apply monmap features to quorum requirements
Sage Weil [Mon, 6 Feb 2017 17:30:34 +0000 (12:30 -0500)]
mon: apply monmap features to quorum requirements

Previously this was indirect..

 monmap requirements -> compatset -> quorum requirements

However, how that we are consistently using the monmap features, we no
longer need to use the compatset features when the monmap already
communicates the same thing.  Rename the helper to reflect that
quorum requirements come from both the compatset and the monmap.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: fix kraken requirement to use FEATUREMASK, HAVE_FEATURE macro
Sage Weil [Mon, 6 Feb 2017 16:58:35 +0000 (11:58 -0500)]
mon: fix kraken requirement to use FEATUREMASK, HAVE_FEATURE macro

The KRAKEN_SERVER bit was reused.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: require luminous mons before starting
Sage Weil [Mon, 6 Feb 2017 16:45:00 +0000 (11:45 -0500)]
osd: require luminous mons before starting

Require that mons are upgraded to luminous first.  This will ensure that
the last_force_op_resend flag is set for pre-luminous clients so that
luminous OSDs can safely discard them.  (This will come in a future patch.)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: drop redundant check for hammer OSDs
Sage Weil [Mon, 6 Feb 2017 15:43:19 +0000 (10:43 -0500)]
osd: drop redundant check for hammer OSDs

The OSDMAP_REQUIRE_JEWEL flag requirement implies that there are no
pre-0.94.4 (early hammer) OSDs running.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/mon_types: add sticky FEATURE_LUMINOUS feature bit
Sage Weil [Mon, 6 Feb 2017 15:40:53 +0000 (10:40 -0500)]
mon/mon_types: add sticky FEATURE_LUMINOUS feature bit

Once mons upgrade to luminous, you can't go back.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: all upgrades pass through luminous
Sage Weil [Thu, 2 Feb 2017 01:32:31 +0000 (20:32 -0500)]
mon/OSDMonitor: all upgrades pass through luminous

Prevent post-luminous OSDs from starting before require_luminous_osds is
set.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/OSDMap: add REQUIRE_LUMINOUS flag
Sage Weil [Thu, 2 Feb 2017 01:31:01 +0000 (20:31 -0500)]
osd/OSDMap: add REQUIRE_LUMINOUS flag

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13035 from yehudasa/wip-18621
Matt Benjamin [Tue, 7 Feb 2017 13:50:49 +0000 (08:50 -0500)]
Merge pull request #13035 from yehudasa/wip-18621

rgw: change default chunk size to 4MB

8 years agoMerge pull request #13259 from jcsp/wip-jcsp-relnotes
John Spray [Tue, 7 Feb 2017 12:06:51 +0000 (12:06 +0000)]
Merge pull request #13259 from jcsp/wip-jcsp-relnotes

PendingReleaseNotes: note the fuse fstab format change

Reviewed-by: Sage Weil <sage@redhat.com>