Commit Graph

78740 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
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
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
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
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
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
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
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
Adam C. Emerson
27eb13fe56 rgw: Check bucket CORS operations in policy
Add code to check s3:GetCORS and s3:PutCORS operations against bucket
policy.

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

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-09-27 15:42:27 -04:00
Sage Weil
d8c3756d26 osd/PG: handle racy preemption
If we finish recovery/backfill and go active, but also get
preempted at the same time, we can ignore the event.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-27 15:40:18 -04:00
Sage Weil
a8534cce1a osd/PG: allow local recovery reservations to be preempted
If a PG has a higher recovery priority and a lower-priority item is in
progress, allow it to be preempted.  This triggers the RecoveryCancel
or BackfillCancel event with a 0 delay, which means it will immediately
re-request a reservation (and presumably wait).

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-27 15:40:18 -04:00
Sage Weil
dbc002eaa9 common/AsyncReserver: support preemption
If an (optional) preemption context is provided, use that to preempt
and existing reservation and grant a higher-priority one.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-27 15:40:18 -04:00
Adam C. Emerson
16de0fc1c5 rgw: Check bucket versioning operations in policy
Add code to check s3:GetBucketVersioning and s3:PutBucketVersioning
operations against bucket policy.

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

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-09-27 14:35:59 -04:00
Adam C. Emerson
f9d1ae1d15 rgw: Check payment operations in policy
Add code to check s3:GetBucketRequestPayment and
s3:PutBucketRequestPayment operations against bucket policy.

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

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-09-27 13:58:32 -04:00
Sage Weil
2237624846 Merge pull request #17978 from alram/rbdmap-fix
rbdmap: fix umount when multiple mounts use the same RBD

Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-27 12:57:33 -05:00
Casey Bodley
f3e0e0171d Merge pull request #17962 from joscollin/wip-test-signed-unsigned-warning
test: silence warnings from -Wsign-compare

Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-09-27 10:26:49 -04:00
John Spray
f409099fa2 mgr/dashboard: sort servers and OSDs in OSD list
Fixes: http://tracker.ceph.com/issues/21572
Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-27 15:14:58 +01:00
John Spray
f43859d4dc mgr/dashboard: handle null in format_number
Fixes: http://tracker.ceph.com/issues/21570
Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-27 14:33:58 +01:00