Commit Graph

78755 Commits

Author SHA1 Message Date
Sage Weil
dda1726bcb PendingReleaseNotes: note about upmap mapping change in luminous release notes
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-25 17:36:14 -04:00
Matt Benjamin
37c8748054 Merge pull request #17809 from yaozongyou/fix-rgw-file-write-error
rgw_file: fix write error when the write offset overlaps
2017-09-25 14:45:57 -04:00
Sage Weil
68c6923141 Merge pull request #17947 from batrick/ceph-osd-core-dbg
ceph-debug-docker.sh: add ceph-osd-dbg package

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-25 13:37:22 -05:00
Patrick Donnelly
5a20981161
ceph-debug-docker.sh: add ceph-osd-dbg package
So we can debug ceph-osd cores.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-25 11:29:20 -07:00
Theofilos Mouratidis
b8561cefa7 osd: upmap should respect osd reweights
Modify OSDMap::calc_pg_upmaps to take the osd reweight into account when
computing the size of each OSD.

Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
Fixes: http://tracker.ceph.com/issues/21538
2017-09-25 19:56:28 +02:00
Theofilos Mouratidis
ff9e024a59 test/cli/osdmaptool: test upmap with an out osd
Test upmap with one osd marked out.

Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
2017-09-25 19:56:27 +02:00
Sage Weil
61799c4c8c Merge pull request #17810 from hjwsm1989/wip-21294
qa/ceph_manager: check pg state again before timedout

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-09-25 12:33:34 -05:00
Sage Weil
a79c78c1a4 Merge pull request #17661 from yunfeiguan/master
librados: Fix a potential risk of buffer::list::claim_prepend(list& b…

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-25 12:33:18 -05:00
Sage Weil
2c3ec1082d Merge pull request #17790 from joscollin/wip-test-warning-signed-unsigned
test: silence warning from -Wsign-compare

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-25 12:32:53 -05:00
Sage Weil
e82d298db6 Merge pull request #17928 from xiexingguo/wip-more-interval-set-size
osd/PrimaryLogPG: calc clone_overlap size in a more efficient and concise way

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-25 12:32:29 -05:00
Sage Weil
07fe4fd5b5 Merge pull request #17528 from liewegas/wip-mgr-localpool
pybind/mgr/localpool: module to automagically create localized pools

Reviewed-by: John Spray <john.spray@redhat.com>
2017-09-25 12:30:05 -05:00
Sage Weil
6383fa5b30 qa/workunits/mgr/test_localpool: simple test for localpool mode
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-25 12:34:53 -04:00
Theofilos Mouratidis
bd75a78187 osdmaptool: add --mark-out option
Add a --mark-down <id> option which sets the reweight for a given
osd id to 0.0.

Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
2017-09-25 16:14:09 +02:00
Mahati Chamarthy
5b027155b4 examples: fix link order in librados example Makefile
The library link order in librados example Makefile is incorrect
and as a result 'make' throws an error. This change fixes the order.

Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
2017-09-25 19:20:58 +05:30
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
John Spray
ade4827d86 mgr: fix crashable DaemonStateIndex::get calls
This function was recently fixed to return null
on missing entries: handle that properly.

Fixes: http://tracker.ceph.com/issues/17737
Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-25 06:20:54 -04:00
John Spray
a3c317b406 mon: implement MDSMonitor::get_store_prefixes
Fixes: http://tracker.ceph.com/issues/21534
Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-25 10:54:27 +01:00
John Spray
889ac5166a mon/OSDMonitor: tidy prefix definitions
We should define them in one place to make it easy
when updating get_store_prefixes.

Fixes: http://tracker.ceph.com/issues/21534
Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-25 10:54:02 +01:00
huanwen ren
755ec73510 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 10:53:42 +01: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
Yao Zongyou
872d73f945 rgw_file: fix write error when the write offset overlaps.
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-09-24 22:11:22 +08:00
Jason Dillaman
58e8bd808e doc/release-notes: ensure RBD users can blacklist prior to upgrade
Fixes: http://tracker.ceph.com/issues/21353
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-09-24 09:42:05 -04:00
John Spray
dc415f1ae0 mgr: store declared_types in MgrSession
Because we don't (yet) properly prevent multiple sessions
from daemons reporting the same name (e.g. rgws), storing
it in the DaemonPerfCounters meant that one daemon's report
was referring to another daemon's set of reported types.

This should always have been a property of the session.

The behaviour will still be ugly when multiple daemons
are using the same name (stomping on each other's stats/statsu)
but it shouldn't crash.

Fixes: http://tracker.ceph.com/issues/21197
Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-23 13:10:29 -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
xie xingguo
bdbe3e18d6 osd/PrimaryLogPG: calc clone_overlap size in a more efficient and concise way
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-23 10:56:42 +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
98fa15124c
scripts: add ptl-tool for scripting merges
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-22 13:41:55 -07: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