Patrick Donnelly
8ecef57bb1
qa: ignore evicted client in client-recovery
...
Fixes: http://tracker.ceph.com/issues/21508
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-22 09:38:59 -07:00
Casey Bodley
3f4f760a85
rgw: dont reuse stale RGWObjectCtx for get_bucket_info()
...
if the earlier call to store->get_bucket_entrypoint_info() failed with
ENOENT, the obj_ctx will cache exists=false.
put_bucket_entrypoint_info() doesn't invalidate that, so this call to
get_bucket_info() was reading from a stale cache and failing with ENOENT
Fixes: http://tracker.ceph.com/issues/21506
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-09-22 12:04:00 -04:00
Abhishek Lekshmanan
104c2f5901
rgw: defer constructing keystone engine unless url is configured
...
currently we create a keystone revocation thread even when keystone url
is empty, lets defer the construction of keystone unless the urls are
configured
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-09-22 17:32:42 +02:00
Nathan Cutler
662168b5d7
Merge pull request #17910 from smithfarm/wip-21499
...
tests: point-to-point-x: upgrade client.1 to -x along with cluster nodes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-09-22 17:07:02 +02:00
Kefu Chai
2c6e06d47e
Merge pull request #17904 from carltonf/wip-fix-21498
...
ceph-disk: fix '--runtime' omission for ceph-osd service
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-22 23:01:59 +08:00
Kefu Chai
79000a5d60
Merge pull request #17770 from aclamk/fix-bluestore-fio-hash
...
bluestore/fio: Fixed problem with all objects having the same hash
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-22 22:51:44 +08:00
Eric Ivancich
9e9ffa92cd
Merge pull request #17901 from tchaikov/wip-cmake-gperftools
...
cmake: update the error message for gperftools bug
2017-09-22 09:57:33 -04:00
lisali
a66e841bd5
Add missed __func__ in dout
...
With __func__ it makes users to know where it prints the logs in source code.
Signed-off-by: Xiaoyan Li xiaoyan.li@intel.com
2017-09-22 09:19:28 -04:00
Ramana Raja
d1bd171d6b
pybind/ceph_volume_client: add get, put, and delete object interfaces
...
Wrap low-level rados APIs to allow ceph_volume_client to get, put, and
delete objects. The interfaces would allow OpenStack Manila's
cephfs driver to store config data in a shared storage to implement
highly available Manila deployments. Restrict write(put) and
read(get) object sizes to 'osd_max_size' config setting.
Signed-off-by: Ramana Raja <rraja@redhat.com>
2017-09-22 16:24:38 +05:30
Nathan Cutler
afc5a7d320
qa: point-to-point-x: upgrade client.1 to -x along with cluster nodes
...
The client.1 rgw in workload_x had not been upgraded to -x.
Fixes: http://tracker.ceph.com/issues/21499
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-09-22 10:07:28 +02:00
Carudy
ad63d4ba2c
crush: safe check for 'ceph osd crush swap-bucket'
...
The swap method is just swap the two buckets'weight,son and name.So there is a problem when we swap parent and children. When swap two buckets,one should not be ancestor of the other,or there will be a loop,which would destory the structure.
Signed-off-by: Carudy <zhaoyang.han@easystack.cn>
2017-09-22 13:29:23 +08:00
Kefu Chai
9b41a1f127
osd/osd_types: object_info_t: remove unused function
...
legacy_object_locator_to_ps() is not used anymore, so drop it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-22 13:09:49 +08:00
Kefu Chai
38751c70a5
Merge pull request #17806 from tchaikov/wip-osdc-new-options
...
osdc/Journaler: use new style options
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-22 12:44:36 +08:00
Kefu Chai
baba8015b6
Merge pull request #17823 from xiexingguo/wip-clone-bytes
...
osd/osd_type: get_clone_bytes - inline size() for overlapping size
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-22 12:43:03 +08:00
Kefu Chai
e8741d5ed8
Merge pull request #17794 from hjwsm1989/wip-21425
...
qa/suites/rest/basic/tasks/rest_test: more whitelisting
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-22 12:42:27 +08:00
Kefu Chai
5dbfa1436d
Merge pull request #17744 from xiexingguo/wip-blue-eio
...
os/bluestore: propagate read-EIO to high level callers
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-22 12:41:21 +08:00
Kefu Chai
f27ca5015f
Merge pull request #17460 from dengquan/master
...
java/native: fix milliseconds to mtime/atime conversion
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-22 12:40:18 +08:00
Brad Hubbard
26ba0ba044
mon/OSDMonitor: mon osd feature checks with 0 up osds
...
get_up_osd_features() returns 0 if no osds are up which causes feature
checks to fail.
Fixes: http://tracker.ceph.com/issues/21471
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-09-22 14:37:52 +10:00
Kefu Chai
032965fa61
Merge pull request #17422 from aclamk/fix-cmake-unsupported-allocator
...
cmake: in case of bad "ALLOCATOR" selected issue warning
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-22 12:33:36 +08:00
Kefu Chai
ab22dd4ee4
Merge pull request #17374 from jcsp/wip-mgr-config-tidy
...
mgr: use new style config opts + add metadata
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-22 12:32:13 +08:00
Kefu Chai
fff6f2e812
Merge pull request #17309 from jcsp/wip-daemonserver-locks
...
mgr: locking fixes
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-22 12:30:41 +08:00
Kefu Chai
5c8e65a2a4
osdc/Journaler: use new style options
...
also use uint64_t for these options, as they are casted to uint64_t when
reading from conf.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-22 12:28:21 +08:00
Kefu Chai
3988bf26ed
Merge pull request #17830 from Yan-waller/wip-walle-0920primarypg
...
osd/PrimaryLogPG: misc cleanups
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-22 12:24:07 +08:00
Carl Xiong
a385b5b0c3
ceph-disk: fix '--runtime' omission for ceph-osd service
...
f425a127b
introduces a regression that ceph-disk omits "--runtime" when
enabling ceph-osd@$ID.service units for device-backed OSDs.
Fixes: http://tracker.ceph.com/issues/21498
Signed-off-by: Carl Xiong <cxiong@suse.com>
2017-09-22 11:55:33 +08:00
Kefu Chai
42be200c56
qa/tasks: prolong revive_osd() timeout to 6 min
...
bluestore_fsck_on_mount and bluestore_fsck_on_mount_deep are enabled by
default. and bluestore is used as the default store backend. it takes
longer to perform the deep fsck with verbose log. so prolong the
revive_osd()'s timeout from 150 sec to 360 sec.
Fixes: http://tracker.ceph.com/issues/21474
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-22 10:58:41 +08:00
Kefu Chai
04697cdbdc
cmake: update the error message for gperftools bug
...
it's a follow-up of #17788
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-22 10:40:29 +08:00
Boris Ranto
4042c8eba5
Merge pull request #17891 from b-ranto/wip-selinux-lnk-getattr
...
selinux: Allow getattr on lnk sysfs files
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2017-09-22 04:35:26 +02:00
Sage Weil
3a6a0f4ab0
Merge pull request #17739 from liewegas/wip-filestore-configs
...
common/options: document filestore and filejournal options
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-21 21:25:52 -05:00
Sage Weil
787ea8aba0
Merge pull request #17740 from liewegas/wip-objecter-configs
...
common/options: document objecter, filer, and journal options
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-21 21:25:36 -05:00
Sage Weil
91b65236c8
Merge pull request #17579 from liewegas/wip-kill-snapdirs
...
osd: kill snapdirs
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-21 21:25:17 -05:00
Kefu Chai
bf6619cb22
Merge pull request #17895 from ivancich/wip-fix-mclock-coverity
...
tests: fix uninitialized value found by coverity scan
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-22 10:04:38 +08:00
ren.huanwen
d879ff91e7
doc/cephfs: add client min cache and max cache ratio describe
...
Signed-off-by: ren.huanwen <ren.huanwen@zte.com.cn>
2017-09-22 09:57:13 +08:00
ren.huanwen
a07b376628
mds: adding tunable features for caps_per_client
...
Sometimes we need to raise or lower the value of "max_caps_per_client" and
"min_caps_per_client" to improve recall_client_state efficiency
Signed-off-by: ren.huanwen <ren.huanwen@zte.com.cn>
2017-09-22 09:57:00 +08:00
Vasu Kulkarni
56d1511bdf
use ovh instead of vps
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-21 16:43:24 -07:00
J. Eric Ivancich
63be40152c
tests: fix uninitialized value found by coverity scan
...
Unit test for mclock priority queue had a default constructor, which
didn't initialize a value.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2017-09-21 15:24:19 -04:00
Sage Weil
6169cf6442
osd: make shutdown debug conditional (and off by default)
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-21 15:19:47 -04:00
Sage Weil
65bec679f2
common/options: document filestore and filejournal options
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-21 14:37:37 -04:00
Sage Weil
c065ef48a5
osd/PrimaryLogPG: can_create false for cache ops
...
Some cache ops do writes, but none of them *create* objects, so we
should not set can_create.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-21 14:29:35 -04:00
Sage Weil
d5efb8a7be
osd/PrimaryLogPG: drop odd maintain_ssc hack
...
This was added two years ago by b61f3e43f1
,
but I can see why it is needed here. The test case for that
original bug (from a3442cf078
) passes
fine.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-21 14:29:35 -04:00
Sage Weil
e4c4942467
ceph-objectstore-tool: drop pre-snapset support for setting up snapmapper
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-21 14:29:35 -04:00
Sage Weil
c6275e7d4d
ceph-objectstore-tool: drop head_exists corruption
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-21 14:29:35 -04:00
Sage Weil
76f1c14c77
ceph_test_rados_api_pool: make LibRadosPools.PoolList tolerate long pool names
...
There was a baked-in assumption that the first pool was <20 chars.
No more!
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-21 14:29:35 -04:00
Sage Weil
cc17c22b43
osd/osd_types: object_info_t: remove legacy_snaps
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-21 14:29:35 -04:00
Sage Weil
8c3f484813
osd/PrimaryLogPG: drop last legacy_snaps users (just debug output!)
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-21 14:29:34 -04:00
Sage Weil
900d23a94d
osd/osd_types: SnapSet: remove head_exists
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-21 14:29:34 -04:00
Sage Weil
0e707ae40b
osd: drop last head_exists = true calls
...
No more users!
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-21 14:29:34 -04:00
Sage Weil
5e13884acc
osd/PrimaryLogPG: find_object_context: drop !head_exists path
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-21 14:29:34 -04:00
Sage Weil
a9145997db
osd/PrimaryLogPG: do_osd_ops: head_exists is always true for LIST_SNAPS
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-21 14:29:34 -04:00
Sage Weil
b5ac17874d
osd/osd_types: SnapSet: drop is_legacy
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-21 14:29:34 -04:00
Sage Weil
fca22aae5d
osd/PrimaryLogPG: start_flush: drop legacy snapset handling
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-21 14:29:34 -04:00