]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Wed, 4 Oct 2017 20:30:14 +0000 (15:30 -0500)]
osd/PG: add explicit CANCEL MBackfillReserve type
This lets us distinguish between REJECT and CANCEL for clarity.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 4 Oct 2017 20:28:26 +0000 (15:28 -0500)]
osd/PG: separate event for RemoteReservationCanceled
Right now we transparently map a RemoteReservationRejected into a
*Canceled event because this what peers send over the wire. Even
once new peers start sending and explicit CANCEL, old peers will
still do so, so we'll maintain this mapping for a while.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 4 Oct 2017 19:55:15 +0000 (14:55 -0500)]
osd/PG: separate verb 'Reject' from passive 'rejected'
This reduces pg->reject_reservation() callsites from 2 to 1 and
makes the state transitions a bit more explicit.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 1 Oct 2017 20:05:40 +0000 (15:05 -0500)]
osd: make note about when we get MBackfillReserve REJECT messages
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 1 Oct 2017 20:04:34 +0000 (15:04 -0500)]
osd/PG: handle RecoveryReservationRejected in RepWaitRecoveryReserved
This state is analogous to RepWaitBackfillReserved; just like we do there
we want to handle the REJECT from the primary by canceling our local
remote_reservation.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 1 Oct 2017 20:03:22 +0000 (15:03 -0500)]
osd/PG: ignore RemoteReservationRejected if we are RepNotRecoverying
The primary may send us a REJECT (meaning cancel) if recovery/backfill is
preempted there. That can happen even if the recovery isn't reserved or
requested here (e.g., because the primary is still waiting for the local
reservation). Just ignore it and remain in RepNotRecovering.
Fixes: http://tracker.ceph.com/issues/21613
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 1 Oct 2017 20:01:05 +0000 (15:01 -0500)]
osd/PG: cancel local reservation in RemoteReservationRejected handler
We can get a RemoteReservationRejected event either because *we* decide
to reject, or because we get a REJECT from the primary that means "cancel"
(e.g., because recovery/backfill was preempted there). In both cases we
want to cancel our remote_reservation.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 1 Oct 2017 19:59:31 +0000 (14:59 -0500)]
osd/PG: move reject_reservation out of RemoteReservationRejected reaction
The RemoteReservationRejected event is also submitted when we are a
replica or backfill target and get a MBackfillReserve REJECT message
because the primary canceled or was preempted. In that case, we don't
want to send a REJECT back to the primary; we only need to send it in the
cases where *we*, locally, decide to reject. Move the call to those call
sites.
Signed-off-by: Sage Weil <sage@redhat.com>
Mykola Golub [Sun, 1 Oct 2017 09:32:58 +0000 (12:32 +0300)]
Merge pull request #18043 from dillaman/wip-21567
librbd: snapshots should be created/removed against data pool
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
Mykola Golub [Sun, 1 Oct 2017 09:28:05 +0000 (12:28 +0300)]
Merge pull request #18042 from dillaman/wip-21529
librbd: image-meta config overrides should be dynamically refreshed
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
Mykola Golub [Sun, 1 Oct 2017 09:27:26 +0000 (12:27 +0300)]
Merge pull request #18026 from dillaman/wip-21535
rbd-mirror: sync image metadata when transfering remote image
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
Mykola Golub [Sun, 1 Oct 2017 09:26:28 +0000 (12:26 +0300)]
Merge pull request #17992 from dillaman/wip-21558
librbd: hold cache_lock while clearing cache nonexistence flags
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
Orit Wasserman [Sun, 1 Oct 2017 08:39:33 +0000 (11:39 +0300)]
Merge pull request #17989 from mkogan1/wip-rgw-21151
rgw: update vstart.sh to support rgw ssl port notation : '--rgw_port 443s'
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Patrick Donnelly [Sun, 1 Oct 2017 00:43:56 +0000 (17:43 -0700)]
Merge PR #18041 into master
* refs/remotes/upstream/pull/18041/head:
qa: relax cap expected value check
Patrick Donnelly [Sun, 1 Oct 2017 00:43:54 +0000 (17:43 -0700)]
Merge PR #17990 into master
* refs/remotes/upstream/pull/17990/head:
mds: open purge queue when transitioning out of standby replay
mds: always re-probe mds log when standby replay done
Reviewed-by: John Spray <john.spray@redhat.com>
Patrick Donnelly [Sun, 1 Oct 2017 00:43:52 +0000 (17:43 -0700)]
Merge PR #17935 into master
* refs/remotes/upstream/pull/17935/head:
ceph_volume_client: fix setting caps for IDs
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Marcus Watts [Sat, 30 Sep 2017 22:30:02 +0000 (18:30 -0400)]
Merge pull request #17958 from gaosibei/branch1
RGW: fix a bug about inconsistent unit of comparison
Xie Xingguo [Sat, 30 Sep 2017 06:50:32 +0000 (14:50 +0800)]
Merge pull request #15199 from xiexingguo/wip-object-logic-size
osd: fine-grained statistics of logical object space usage
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 30 Sep 2017 04:14:14 +0000 (12:14 +0800)]
Merge pull request #16884 from liewegas/wip-20919
osd/PrimaryLogPG: send requests to primary on cache miss
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Kefu Chai [Sat, 30 Sep 2017 04:13:35 +0000 (12:13 +0800)]
Merge pull request #17955 from asomers/bin_bash2
test: fix bash path in shebangs (part 2)
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 30 Sep 2017 04:12:25 +0000 (12:12 +0800)]
Merge pull request #17985 from dzafman/wip-21327
ceph-objectstore-tool: "$OBJ get-omaphdr" and "$OBJ list-omap" scan all pgs instead of using specific pg
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 30 Sep 2017 04:11:21 +0000 (12:11 +0800)]
Merge pull request #18005 from jcsp/wip-21577
tools: update monstore tool for fsmap, mgrmap
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 30 Sep 2017 04:10:49 +0000 (12:10 +0800)]
Merge pull request #18015 from tchaikov/wip-kill-warnings
osd,os/bluestore: kill clang analyzer warnings
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 30 Sep 2017 04:10:06 +0000 (12:10 +0800)]
Merge pull request #18018 from tchaikov/wip-ceph-disk-cleanup
ceph-disk: more precise error message when a disk is specified
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 30 Sep 2017 04:07:15 +0000 (12:07 +0800)]
Merge pull request #18034 from tchaikov/wip-options
common/options: pass by reference and use user-literals for size
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Jason Dillaman [Fri, 29 Sep 2017 20:07:59 +0000 (16:07 -0400)]
Merge pull request #17971 from idryomov/wip-krbd-exclude-shared-298
qa/suites/krbd: exclude shared/298
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 29 Sep 2017 19:11:38 +0000 (15:11 -0400)]
librbd: snapshots should be created/removed against data pool
Fixes: http://tracker.ceph.com/issues/21567
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 29 Sep 2017 16:22:57 +0000 (12:22 -0400)]
librbd: avoid dynamically refreshing non-atomic configuration settings
Fixes: http://tracker.ceph.com/issues/21529
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
David Zafman [Fri, 29 Sep 2017 16:04:43 +0000 (09:04 -0700)]
Merge pull request #17920 from dzafman/wip-21382
Erasure code recovery should send additional reads if necessary
Fixes: http://tracker.ceph.com/issues/21382
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Fri, 29 Sep 2017 15:48:14 +0000 (08:48 -0700)]
qa: relax cap expected value check
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Dongsheng Yang [Fri, 11 Aug 2017 09:44:19 +0000 (17:44 +0800)]
librbd: notify watcher when updating image metadata
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Haomai Wang [Fri, 29 Sep 2017 15:33:14 +0000 (10:33 -0500)]
Merge pull request #18036 from ownedu/wip-fix-asyncrdma-coredump
msg/async/rdma: fix a potential coredump when handling tx_buffers under heavy RDMA
Reviewed-by: Haomai Wang <haomai@xsky.com>
xie xingguo [Sun, 24 Sep 2017 00:58:45 +0000 (08:58 +0800)]
osd/PrimaryLogPG: allow trimmed read for OP_CHECKSUM
Normal reads support trimmed read length, and so shall checksums!
This fixes occasionally failure of rados/thrash test scripts, e.g.:
(1) create object using WriteOp with random generated length
(2) normal writes might accompany with TruncOp of randomized chosen truncate_size
(3) for ReadOp, pick a random 'length' to read, and do checksum simultaneously
for the same range ([0, 'length']) to read too.
Since the 'length' for reading is randomized chosen, it might
exceed the current object size, and hence causing an EOVERFLOW error.
Related issues:
http://qa-proxy.ceph.com/teuthology/xxg-2017-09-22_01:52:47-rados-wip-object-logic-size-distro-basic-smithi/
1657337
http://qa-proxy.ceph.com/teuthology/xxg-2017-09-22_14:14:19-rados-wip-object-logic-size-distro-basic-smithi/
1658015
Fix the above problems by keeping pace with normal reads.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Thu, 21 Sep 2017 05:44:32 +0000 (13:44 +0800)]
osd: fine-grained statistics of logical object space usage
To test this change, we create an image of 5GB and do rbd bench write of 1GB:
./bin/rbd create bar -s 5120 && ./bin/rbd bench --io-type write --io-size 32K --io-total 100M --io-pattern rand rbd/bar
Below is the test result.
Was:
GLOBAL:
SIZE AVAIL RAW USED %RAW USED
30911M 27052M 3859M 12.49
POOLS:
NAME ID USED %USED MAX AVAIL OBJECTS
rbd 0 3191M 26.36 8914M 1174
cephfs_data_a 1 0 0 8914M 0
cephfs_metadata_a 2 2246 0 8914M 21
Now:
GLOBAL:
SIZE AVAIL RAW USED %RAW USED
30911M 27050M 3861M 12.49
POOLS:
NAME ID USED %USED MAX AVAIL OBJECTS
rbd 0 101216k 1.10 8913M 1178
cephfs_data_a 1 0 0 8913M 0
cephfs_metadata_a 2 892 0 8913M 21
E.g., this change can make "osd pool set-quota max_bytes" work nicely.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Mykola Golub [Fri, 29 Sep 2017 12:20:12 +0000 (15:20 +0300)]
Merge pull request #17979 from dillaman/wip-21559
rbd-mirror: forced promotion can result in incorrect status
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Sage Weil [Fri, 29 Sep 2017 12:03:16 +0000 (07:03 -0500)]
Merge pull request #18035 from tchaikov/wip-bit-cleanup
script/build-integration-branch: python3 compatible and pep8 clean
Ramana Raja [Sun, 24 Sep 2017 14:53:12 +0000 (20:23 +0530)]
ceph_volume_client: fix setting caps for IDs
... that have empty OSD and MDS caps. Don't add a ',' at the
start of OSD and MDS caps.
Fixes: http://tracker.ceph.com/issues/21501
Signed-off-by: Ramana Raja <rraja@redhat.com>
Joao Eduardo Luis [Fri, 29 Sep 2017 10:25:56 +0000 (11:25 +0100)]
Merge pull request #17846 from jecluis/wip-21300
mon/MgrMonitor: read cmd descs if empty on update_from_paxos()
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
David Zafman [Fri, 22 Sep 2017 03:35:27 +0000 (20:35 -0700)]
osd: For recovery get all possible shards to read on errors
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 22 Sep 2017 00:48:28 +0000 (17:48 -0700)]
osd: Allow recovery to send additional reads
For now it doesn't include non-acting OSDs
Added test for this case
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Thu, 21 Sep 2017 21:49:17 +0000 (14:49 -0700)]
test: Allow modified options to existing setup functions
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 27 Sep 2017 21:29:25 +0000 (14:29 -0700)]
test: Use feature to get last array element
Signed-off-by: David Zafman <dzafman@redhat.com>
ownedu [Fri, 29 Sep 2017 06:00:29 +0000 (14:00 +0800)]
Merge branch 'wip-fix-asyncrdma-coredump' of https://github.com/ownedu/ceph into wip-fix-asyncrdma-coredump
ownedu [Fri, 29 Sep 2017 05:50:23 +0000 (13:50 +0800)]
msg/async/rdma: fix a potential coredump when handling tx_buffers under
heavy RDMA traffic, there are chances to access a current_chunk which can
be beyond the range of pre-allocated Tx buffer pool thus causes a coredump
Signed-off-by: Yan Lei <yongyou.yl@alibaba-inc.com>
ownedu [Fri, 29 Sep 2017 05:50:23 +0000 (13:50 +0800)]
Fix a potential coredump when handling tx_buffers under heacy RDMA
traffic, there are chances to access a current_chunk which can be beyond the
range of pre-allocated Tx buffer pool thus causes a coredump.
Signed-off-by: Yan Lei <yongyou.yl@alibaba-inc.com>
xie xingguo [Thu, 21 Sep 2017 05:40:40 +0000 (13:40 +0800)]
common/interval_set: override subset_of for given range
E.g.:
subset_of([5~10,20~5], 0, 100) -> [5~10,20~5]
subset_of([5~10,20~5], 5, 25) -> [5~10,20~5]
subset_of([5~10,20~5], 1, 10) -> [5~5]
subset_of([5~10,20~5], 8, 24) -> [8~7, 20~4]
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Fri, 29 Sep 2017 04:03:15 +0000 (12:03 +0800)]
script/build-integration-branch: python3 compatible and pep8 clean
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Sep 2017 02:51:54 +0000 (10:51 +0800)]
common/options: use user-defined literals for sizes
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Sep 2017 02:39:18 +0000 (10:39 +0800)]
common/options: pass by reference
for better performance. and for better consistency, pass by
std::initializer_list.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Sep 2017 07:50:46 +0000 (15:50 +0800)]
tools/rados: do not assign never read variable
actually "r" is always 0 in that branch. so it's a no-op.
this silences the clang analyzer warning of
Value stored to 'r' is never read
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Sep 2017 07:48:06 +0000 (15:48 +0800)]
os/bluestore: do not assign never read variable
shrink the lexical scope of "csum_order" and do not set it if it is
never read.
this silences the clang analyzer warning of:
Value stored to 'csum_order' is never read
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Sep 2017 07:45:00 +0000 (15:45 +0800)]
os/bluestore: do not assign never read variable
"git" is not read after being reset.
this silences clang analyzer warning of:
Value stored to 'gift' is never read
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Sep 2017 07:42:12 +0000 (15:42 +0800)]
os/filestore: do not set never read variable
do not set "omap_fsid_fd" to -1 after ::close() it.
also move it's definition to where it is use for the first time for
better readability.
this silences the clang analyzer warning of:
Value stored to 'omap_fsid_fd' is never read
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Sep 2017 07:30:43 +0000 (15:30 +0800)]
osd: fail if unable to update device class in crush
device-class is supported since luminous, so we should fail the init()
if device-class is not updated in crush.
this reverts
244db740 : if the device class changes then the user should
either follow the instruction to "ceph osd crush rm-device-class" or fix
CrushWrapper::update_device_class().
this silences clang analyzer warning of:
Value stored to 'r' is never read
Signed-off-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Fri, 29 Sep 2017 01:26:06 +0000 (18:26 -0700)]
Merge PR #17697 into master
* refs/remotes/upstream/pull/17697/head:
pybind/ceph_volume_client: add get, put, and delete object interfaces
pybind/ceph_volume_client: remove 'compat_version'
pybind/ceph_volume_client: set the version
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 29 Sep 2017 01:26:04 +0000 (18:26 -0700)]
Merge PR #17604 into master
* refs/remotes/upstream/pull/17604/head:
client:fix a bug in lseek
Reviewed-by: Zheng Yan <zyan@redhat.com>
gaosibei [Tue, 26 Sep 2017 02:19:22 +0000 (10:19 +0800)]
RGW: fix a bug about inconsistent unit of comparison
Fixes:http://tracker.ceph.com/issues/21590
Signed-off-by: gaosibei <gaosb@inspur.com>
Patrick Donnelly [Fri, 29 Sep 2017 00:00:39 +0000 (17:00 -0700)]
Merge PR #16036 into HEAD
* refs/remotes/upstream/pull/16036/head:
mds: improve cap min/max ratio descriptions
mds: fix whitespace
mds: cap client recall to min caps per client
mds: fix conf types
mds: fix whitespace
doc/cephfs: add client min cache and max cache ratio describe
mds: adding tunable features for caps_per_client
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Thu, 28 Sep 2017 23:01:00 +0000 (16:01 -0700)]
mds: improve cap min/max ratio descriptions
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 28 Sep 2017 22:56:26 +0000 (15:56 -0700)]
mds: fix whitespace
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 27 Sep 2017 17:39:01 +0000 (10:39 -0700)]
mds: cap client recall to min caps per client
Fixes: http://tracker.ceph.com/issues/21575
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Thu, 28 Sep 2017 22:53:57 +0000 (15:53 -0700)]
Merge pull request #17774 from amitkumar50/cov-misc-4
include,messages,rbd: Initialize counter,group_pool
Reviewed-by: Jos Collin <jcollin@redhat.com>
Yuri Weinstein [Thu, 28 Sep 2017 22:53:29 +0000 (15:53 -0700)]
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>
Yuri Weinstein [Thu, 28 Sep 2017 22:51:47 +0000 (15:51 -0700)]
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
Yuri Weinstein [Thu, 28 Sep 2017 22:50:05 +0000 (15:50 -0700)]
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>
Yuri Weinstein [Thu, 28 Sep 2017 22:48:51 +0000 (15:48 -0700)]
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>
Yuri Weinstein [Thu, 28 Sep 2017 21:58:18 +0000 (14:58 -0700)]
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>
Yuri Weinstein [Thu, 28 Sep 2017 21:57:15 +0000 (14:57 -0700)]
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
Yuri Weinstein [Thu, 28 Sep 2017 21:23:28 +0000 (14:23 -0700)]
Merge pull request #17916 from cbodley/wip-21506
rgw: dont reuse stale RGWObjectCtx for get_bucket_info()
Yuri Weinstein [Thu, 28 Sep 2017 21:11:32 +0000 (14:11 -0700)]
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>
Sage Weil [Thu, 28 Sep 2017 20:26:25 +0000 (15:26 -0500)]
Merge pull request #18023 from liewegas/wip-changelog
debian/rules: no more ChangeLog
Matt Benjamin [Thu, 28 Sep 2017 20:08:34 +0000 (16:08 -0400)]
Merge pull request #18002 from adamemerson/wip-21582
rgw: Check bucket GetBucketLocation in policy
Matt Benjamin [Thu, 28 Sep 2017 19:44:24 +0000 (15:44 -0400)]
Merge pull request #18024 from adamemerson/wip-21597
rgw: Check bucket Website operations in policy
Jason Dillaman [Thu, 28 Sep 2017 18:00:29 +0000 (14:00 -0400)]
rbd-mirror: sync image metadata when transfering remote image
Fixes: http://tracker.ceph.com/issues/21535
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Thu, 28 Sep 2017 19:14:01 +0000 (14:14 -0500)]
Merge pull request #17839 from liewegas/wip-recovery-preemption
osd: allow PG recovery scheduling preemption
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Thu, 28 Sep 2017 17:55:35 +0000 (13:55 -0400)]
debian/rules: no more ChangeLog
Signed-off-by: Sage Weil <sage@redhat.com>
Adam C. Emerson [Thu, 28 Sep 2017 17:54:32 +0000 (13:54 -0400)]
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>
Sage Weil [Wed, 27 Sep 2017 21:42:07 +0000 (17:42 -0400)]
qa/suites/rados/singleton/all/recovery-preemption: add test
This mirrors what I was testing locally.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 28 Sep 2017 17:06:15 +0000 (12:06 -0500)]
Merge pull request #18014 from theanalyst/doc-12.2.1
doc: 12.2.1 release notes
Jos Collin [Thu, 28 Sep 2017 15:55:09 +0000 (15:55 +0000)]
Merge pull request #17973 from ligne/patch-1
doc: Fix typos in placement-groups.rst
Reviewed-by: Jos Collin <jcollin@redhat.com>
Abhishek Lekshmanan [Thu, 28 Sep 2017 13:02:35 +0000 (15:02 +0200)]
doc: add 12.2.1 to releases table
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
Abhishek Lekshmanan [Thu, 28 Sep 2017 07:38:54 +0000 (09:38 +0200)]
doc: 12.2.1 release notes
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
Matt Benjamin [Thu, 28 Sep 2017 15:20:31 +0000 (11:20 -0400)]
Merge pull request #18000 from adamemerson/wip-21578
rgw: Check bucket CORS operations in policy
Mark Kogan [Wed, 27 Sep 2017 11:39:32 +0000 (14:39 +0300)]
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>
Sage Weil [Thu, 28 Sep 2017 14:42:39 +0000 (09:42 -0500)]
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>
Sage Weil [Thu, 28 Sep 2017 13:56:12 +0000 (08:56 -0500)]
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>
Abhishek Lekshmanan [Thu, 28 Sep 2017 13:53:35 +0000 (15:53 +0200)]
doc: add changelog for 12.2.1
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
Sage Weil [Thu, 28 Sep 2017 13:30:44 +0000 (08:30 -0500)]
Merge pull request #17769 from optimistyzy/97_new_opt
os/bluestore/NVMEDevice: Remove using dpdk thread
Reviewed-by: Haomai Wang <haomai@xsky.com>
Sage Weil [Thu, 28 Sep 2017 13:30:11 +0000 (08:30 -0500)]
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>
Abhishek L [Thu, 28 Sep 2017 12:56:20 +0000 (14:56 +0200)]
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>
Sage Weil [Thu, 28 Sep 2017 12:02:50 +0000 (08:02 -0400)]
os/bluestore: move several buffer{ptr,list}s into cache_other mempool
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 28 Sep 2017 12:14:37 +0000 (08:14 -0400)]
os/bluestore: put new attrs in correct mempool too
Signed-off-by: Sage Weil <sage@redhat.com>
Xie Xingguo [Thu, 28 Sep 2017 11:04:31 +0000 (19:04 +0800)]
Merge pull request #17966 from xiexingguo/wip-bluefs-kill-block-total
os/bluestore/BlueFS: several cleanups
Reviewed-by: Sage Weil <sage@redhat.com>
John Spray [Wed, 27 Sep 2017 21:11:24 +0000 (17:11 -0400)]
tools: update monstore tool for fsmap, mgrmap
Fixes: http://tracker.ceph.com/issues/21577
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 27 Sep 2017 18:59:26 +0000 (14:59 -0400)]
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>
Kefu Chai [Thu, 28 Sep 2017 09:44:09 +0000 (17:44 +0800)]
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>
John Spray [Thu, 28 Sep 2017 08:32:17 +0000 (09:32 +0100)]
Merge pull request #18013 from tchaikov/wip-dashboard-favicon
mgr/dashboard: use rel="icon" for favicon
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Thu, 28 Sep 2017 06:38:26 +0000 (14:38 +0800)]
Merge pull request #17993 from jcsp/wip-21572
mgr/dashboard: sort servers and OSDs in OSD list
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Sep 2017 06:05:16 +0000 (14:05 +0800)]
Merge pull request #17937 from tchaikov/wip-automake-cleanup
automake: remove files required by automake
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Kefu Chai [Thu, 28 Sep 2017 05:46:31 +0000 (13:46 +0800)]
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>