Commit Graph

79028 Commits

Author SHA1 Message Date
Yuri Weinstein
a2d72791ef Merge pull request #17774 from amitkumar50/cov-misc-4
include,messages,rbd: Initialize counter,group_pool

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-09-28 15:53:57 -07:00
Yuri Weinstein
488c6e4e3f Merge pull request #17820 from zmedico/PGPool-update-optimize-with-subset-of
osd/PGPool::update: optimize with subset_of

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-28 15:53:29 -07:00
Yuri Weinstein
fc7ad29927 Merge pull request #17884 from kungf/stats_invalid_scrub
osd: make scrub right now when pg stats_invalid is true

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Amit Kumar amitkuma@redhat.com
2017-09-28 15:51:47 -07:00
Yuri Weinstein
b362626e99 Merge pull request #17984 from adamemerson/wip-lists-of-pointers-are-bad-in-options
options: Do not use linked lists of pointers!

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-28 15:50:05 -07:00
Yuri Weinstein
67828fcfbc Merge pull request #17987 from xiexingguo/wip-kick-recovery-for-degraded-obj
osd/PrimaryLogPG: kick off recovery on backoffing a degraded object

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-28 15:48:51 -07:00
Josh Durgin
718fc15831 tools/ceph-kvstore-tool: clean up destination store object
If left alive, background threads in the db may crash

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-09-28 18:24:41 -04:00
Josh Durgin
a65a7f0430 tools/ceph-kvstore-tool: add destination store type to store-copy
This allows e.g. copying from leveldb into rocksdb

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-09-28 18:24:28 -04:00
Yuri Weinstein
032d819a26 Merge pull request #17662 from shashalu/fix-set-bucket-versioning
rgw: set bucket versioninig donot change versioning status if missing status in xml

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-09-28 14:58:18 -07:00
Yuri Weinstein
03186981ec Merge pull request #17775 from theanalyst/rgw-keystone-logging
rgw: avoid logging keystone revocation messages when not configured

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Amit Kumar amitkuma@redhat.com
2017-09-28 14:57:15 -07:00
Yuri Weinstein
fb030b1c36 Merge pull request #17916 from cbodley/wip-21506
rgw: dont reuse stale RGWObjectCtx for get_bucket_info()
2017-09-28 14:23:28 -07:00
Yuri Weinstein
f8b203bc67 Merge pull request #17742 from adamemerson/wip-21389
rgw: Check payment operations in policy

Reviewed-by: Enming Zhang <enming.zhang@umcloud.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-09-28 14:11:32 -07:00
Sage Weil
5a7cc5d3db Merge pull request #18023 from liewegas/wip-changelog
debian/rules: no more ChangeLog
2017-09-28 15:26:25 -05:00
Matt Benjamin
f337bb94a0 Merge pull request #18002 from adamemerson/wip-21582
rgw: Check bucket GetBucketLocation in policy
2017-09-28 16:08:34 -04:00
Matt Benjamin
764e0dd9df Merge pull request #18024 from adamemerson/wip-21597
rgw: Check bucket Website operations in policy
2017-09-28 15:44:24 -04:00
Jason Dillaman
9aa5dfb8ec rbd-mirror: sync image metadata when transfering remote image
Fixes: http://tracker.ceph.com/issues/21535
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-09-28 15:22:08 -04:00
Sage Weil
c59efe0a2b Merge pull request #17839 from liewegas/wip-recovery-preemption
osd: allow PG recovery scheduling preemption

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-09-28 14:14:01 -05:00
Sage Weil
c3a53010af debian/rules: no more ChangeLog
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-28 14:33:15 -04:00
Adam C. Emerson
ceed535957 rgw: Check bucket Website operations in policy
Add code to check s3:GetBucketWebsite and s3:PutBucketWebsite
operations against bucket policy.

Fixes: http://tracker.ceph.com/issues/21597
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1493896

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-09-28 13:54:32 -04:00
Sage Weil
d7b29acb19 qa/suites/rados/singleton/all/recovery-preemption: add test
This mirrors what I was testing locally.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-28 13:48:14 -04:00
Sage Weil
f1c01dbf5f Merge pull request #18014 from theanalyst/doc-12.2.1
doc: 12.2.1 release notes
2017-09-28 12:06:15 -05:00
Neha Ojha
4bf8d13273 osd: hold lock while accessing recovery_needs_sleep
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-09-28 09:50:24 -07:00
Jos Collin
5dab7c2259 Merge pull request #17973 from ligne/patch-1
doc: Fix typos in placement-groups.rst

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-09-28 15:55:09 +00:00
Abhishek Lekshmanan
d2b9956f67 doc: add 12.2.1 to releases table
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2017-09-28 17:48:34 +02:00
Abhishek Lekshmanan
91ec0e8842 doc: 12.2.1 release notes
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2017-09-28 17:48:34 +02:00
Matt Benjamin
9a50ac1222 Merge pull request #18000 from adamemerson/wip-21578
rgw: Check bucket CORS operations in policy
2017-09-28 11:20:31 -04:00
Mark Kogan
39fa911663 rgw: update vstart.sh to support ssl port notation : '--rgw_port 443s'
reference: https://github.com/civetweb/civetweb/blob/master/docs/OpenSSL.md

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

Signed-off-by: Mark Kogan <mkogan@redhat.com>
2017-09-28 18:02:49 +03:00
Sage Weil
bf8a109035 Merge pull request #17684 from majianpeng/bluefs-release-extents
os/bluestore/BlueFS: move release unused extents work in _flush_and_syn_log

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-28 09:42:39 -05:00
Sage Weil
4e0a983915 Merge pull request #18020 from theanalyst/doc-changelog-12.2.1
doc: add changelog for 12.2.1

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-28 08:56:12 -05:00
Abhishek Lekshmanan
fb69ba6f43 doc: add changelog for 12.2.1
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2017-09-28 15:53:35 +02:00
Sage Weil
20b0055e0d Merge pull request #17769 from optimistyzy/97_new_opt
os/bluestore/NVMEDevice: Remove using dpdk thread

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-09-28 08:30:44 -05:00
Sage Weil
eab91bfdaf Merge pull request #18001 from liewegas/wip-21417
os/bluestore: put cached attrs in correct mempool

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Varada Kari <varada.kari@gmail.com>
2017-09-28 08:30:11 -05:00
Abhishek L
7e253f87e2 Merge pull request #17755 from dillaman/wip-21353
doc/release-notes: ensure RBD users can blacklist prior to upgrade

Reviewed-By: Nathan Cutler <ncutler@suse.com>
2017-09-28 14:56:20 +02:00
Sage Weil
80c60fcde2 os/bluestore: move several buffer{ptr,list}s into cache_other mempool
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-28 08:17:00 -04:00
Sage Weil
e7762ea147 os/bluestore: put new attrs in correct mempool too
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-28 08:16:55 -04:00
Xie Xingguo
58f329c056 Merge pull request #17966 from xiexingguo/wip-bluefs-kill-block-total
os/bluestore/BlueFS: several cleanups

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-28 19:04:31 +08:00
John Spray
0ad7bd0b43 tools: update monstore tool for fsmap, mgrmap
Fixes: http://tracker.ceph.com/issues/21577
Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-28 11:07:56 +01:00
John Spray
61ceafc8bb tools: handle decode errors in monstore tool
Print a single line message instead of dumping
a backtrace.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-28 11:07:56 +01:00
Kefu Chai
f2a86506ad ceph-disk: more precise error message when a disk is specified
we raise an exception if the path is not a block device, e.g. /dev/tty,
or it's disk, e.g, /dev/sda.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-28 18:03:14 +08:00
John Spray
37f7fb76af Merge pull request #18013 from tchaikov/wip-dashboard-favicon
mgr/dashboard: use rel="icon" for favicon

Reviewed-by: John Spray <john.spray@redhat.com>
2017-09-28 09:32:17 +01:00
Xinze Chi
96a3cb698a osd: using get_rmissing instread of missing as the judgement
the below code using peer_missing iterator

Signed-off-by: Xinze Chi <xinze@xsky.com>
2017-09-28 14:50:07 +08:00
Kefu Chai
af11e5cbf6 Merge pull request #17993 from jcsp/wip-21572
mgr/dashboard: sort servers and OSDs in OSD list

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-28 14:38:26 +08:00
Kefu Chai
6b85a0caaf Merge pull request #17937 from tchaikov/wip-automake-cleanup
automake: remove files required by automake

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2017-09-28 14:05:16 +08:00
Kefu Chai
a6e79d91fb mgr/dashboard: use rel="icon" for favicon
shortcut is not a standard compliant link type, see
https://www.w3.org/TR/html5/links.html#linkTypes.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-28 13:51:27 +08:00
Kefu Chai
cda8d1df20 Merge pull request #17991 from jcsp/wip-21570
mgr/dashboard: handle null in format_number

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-28 13:22:22 +08:00
Kefu Chai
68769fab3d Merge pull request #17986 from tchaikov/wip-doc-rgw-config
doc: fix hyper link to radosgw/config-ref

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-09-28 09:57:07 +08:00
Yuri Weinstein
7b042400a7 Merge pull request #17926 from batrick/ptl-tool
scripts: add ptl-tool for scripting merges

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2017-09-27 15:06:10 -07:00
Casey Bodley
9a97f5405f options: use move instead of copy in build_options()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-09-27 16:21:55 -04:00
Adam C. Emerson
79188d679e rgw: Check bucket GetBucketLocation in policy
Add code to check s3:GetBucketLocation against bucket policy.

Fixes: http://tracker.ceph.com/issues/21582
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1493934

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-09-27 16:08:56 -04:00
Sage Weil
ef6524436f os/bluestore: put attrs in mempool
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-27 15:49:18 -04:00
Sage Weil
937379d57a buffer: add ptr::[try_]reassign_to_mempool
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-27 15:49:17 -04:00