Commit Graph

78598 Commits

Author SHA1 Message Date
huanwen ren
13f6aa3aaa mon/mgr: sync mgr_command_descs table and mgr_metadata table
sync mgr_command_descs table and mgr_metadata table to new mons

Fixes: http://tracker.ceph.com/issues/21527

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2017-09-25 19:42:08 +08:00
huanwen ren
6c20433bfb mon/osd_metadata: sync osd_metadata table
sync osd_metadata table to new mons when add new mons

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2017-09-25 18:32:28 +08:00
Sage Weil
4466fb6058 Merge pull request #17831 from badone/wip-require-osd-release-with-no-up-osds
mon: osd feature checks with 0 up osds

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-24 21:18:51 -05:00
Sage Weil
e0beb1e02a Merge pull request #17848 from liewegas/wip-ruleset-errors
mon/OSDMonitor: error out if setting ruleset-* ec profile property

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2017-09-24 21:15:42 -05:00
Sage Weil
af5032e729 Merge pull request #17902 from tchaikov/wip-21474
qa/tasks: prolong revive_osd() timeout to 6 min

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-24 21:14:58 -05:00
Sage Weil
98631e35a2 Merge pull request #17903 from lixiaoy1/add_func_log
os/bluestore: Add missing __func__ in dout

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-09-24 21:14:35 -05:00
Sage Weil
947e975465 Merge pull request #17905 from tchaikov/wip-osd_types-cleanup
osd/osd_types: object_info_t: remove unused function

Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-24 21:14:09 -05:00
Sage Weil
f49dbe8c89 Merge pull request #17927 from liewegas/wip-21511
qa/standalone/scrub/osd-scrub-snaps: adjust test for lack of snapdir objects

Reviewed-by: David Zafman <dzafman@redhat.com>
2017-09-24 21:13:03 -05:00
Patrick Donnelly
3d90ec5a4d
Merge PR #17919 into master
* refs/remotes/upstream/pull/17919/head:
	qa: whitelist cache too large in client-limits

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-09-24 17:07:34 -07:00
Patrick Donnelly
a1185383b8
Merge PR #17918 into master
* refs/remotes/upstream/pull/17918/head:
	qa: whitelist failover log warnings

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-09-24 17:07:32 -07:00
Patrick Donnelly
e5dc7d0f55
Merge PR #17917 into master
* refs/remotes/upstream/pull/17917/head:
	qa: ignore evicted client in client-recovery

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-09-24 17:07:27 -07:00
Sage Weil
6376d75eda mon/OSDMonitor: error out if setting ruleset-* ec profile property
We change ruleset -> crush back in dc7a2aaf7a.
If someone tries to use the old property, error out early, instead of
silently not doing the thing they thought they told us to do.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-24 11:25:01 -04:00
John Spray
dc23bade5e Merge pull request #17850 from batrick/vstart-confg-path
qa: revert "qa: use config_path property instead of literal"

Reviewed-by: John Spray <john.spray@redhat.com>
2017-09-23 16:36:25 +01:00
Kefu Chai
8e8ea62969 Merge pull request #17881 from joscollin/wip-mgr-signed-unsigned-warning
mgr: silence warning from -Wsign-compare

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-23 11:23:50 +08:00
Sage Weil
ec2bdbc44c qa/standalone/scrub/osd-scrub-snaps: adjust test for lack of snapdir objects
The head_exists stuff is totally gone; those test failures go away.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-22 17:49:19 -04:00
Sage Weil
34cf8787ed Merge pull request #17756 from jcsp/wip-19291
mgr: set explicit thread name

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-22 16:09:39 -05:00
Sage Weil
f0ea6b2d4a Merge pull request #17808 from xiexingguo/wip-eqduot-vs-enospc
osd/PrimaryLogPG: prepare_transaction - fix EDQUOT vs ENOSPC

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-22 16:09:09 -05:00
Sage Weil
ccc08f2007 Merge pull request #17819 from neha-ojha/wip-cbt-teuthology-fix-pg-num
qa/suites/rados/perf: create pool with lower pg_num

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-09-22 16:08:14 -05:00
Sage Weil
fb532ad1cf Merge pull request #17827 from tchaikov/wip-mono-heartbeat
common: use mono clock for HeartbeatMap

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-22 16:07:51 -05:00
Sage Weil
bc2c363a5e Merge pull request #17844 from liewegas/wip-21259
os/bluestore: debug bluestore cache shutdown
2017-09-22 16:05:50 -05:00
Sage Weil
9ba71dd779 Merge pull request #17845 from liewegas/wip-21408
os/bluestore: ignore 0x2000~2000 extent oddity from luminous upgrade

Reviewed-by: Varada Kari <varada.kari@gmail.com>
2017-09-22 16:04:22 -05:00
Patrick Donnelly
85286aa0ca
Merge PR #17853 into master
* refs/remotes/upstream/pull/17853/head:
	mds: check ongoing catter-gather process before capping log

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-22 11:33:33 -07:00
Patrick Donnelly
fdc4b09464
Merge PR #17851 into master
* refs/remotes/upstream/pull/17851/head:
	client: use unique_ptr for locks
	client: use unique_ptr for Formatter

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-09-22 11:33:31 -07:00
Patrick Donnelly
e2f2c08fa2
Merge PR #17843 into master
* refs/remotes/upstream/pull/17843/head:
	ceph_volume_client: perform snapshot operations in

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-22 11:33:29 -07:00
vasukulkarni
d02de6b7fc Merge pull request #17757 from ceph/wip-rgw-ansible-var
qa/tests: Add additional required ceph-ansible vars due to upstream changes
2017-09-22 11:22:02 -07:00
Patrick Donnelly
87039eb30a
qa: whitelist cache too large in client-limits
Fixes: http://tracker.ceph.com/issues/21510

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-22 09:44:43 -07:00
Patrick Donnelly
37a7737712
qa: whitelist failover log warnings
Fixes: http://tracker.ceph.com/issues/21509

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-22 09:42:06 -07:00
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
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
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
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