]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Yehuda Sadeh [Tue, 20 Jun 2017 19:44:37 +0000 (12:44 -0700)]
Merge pull request #14500 from zhangsw/fix-rgw-multipart-index-bug
rgw: fix the bug that part's index can't be removed after completing multipart upload
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Tue, 20 Jun 2017 18:16:10 +0000 (14:16 -0400)]
Merge pull request #15771 from fangyuxiangGL/cleanup_rgw_admin
rgw: cleanup unused codes in rgw_admin.cc
Reviewed-by: Casey Bodley <cbodley@redhat.com>
John Spray [Tue, 20 Jun 2017 18:13:40 +0000 (14:13 -0400)]
Merge pull request #15768 from ukernel/wip-objecter-inflight-ops
osdc/Objecter: fix inflight_ops update
Reviewed-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Tue, 20 Jun 2017 18:02:49 +0000 (14:02 -0400)]
Merge pull request #15737 from wjwithagen/wip-wjw-test_rgw_string
rgw/rgw_string.h: FreeBSD would like errno.h included
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yehuda Sadeh [Tue, 20 Jun 2017 18:02:28 +0000 (11:02 -0700)]
Merge pull request #15782 from cbodley/wip-rgw-vstart-s3tests
vstart: add rgw configuration needed to pass all s3tests
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Tue, 20 Jun 2017 15:36:42 +0000 (11:36 -0400)]
vstart: add rgw configuration needed to pass all s3tests
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Tue, 20 Jun 2017 16:16:29 +0000 (11:16 -0500)]
Merge pull request #15751 from xiexingguo/wip-add-state-name
src/common/ceph_string: stringify new osd states
Reviewed-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Tue, 20 Jun 2017 15:30:38 +0000 (11:30 -0400)]
Merge pull request #14703 from zhangsw/feature-lifecycle-deletemarker
rgw: add support for delete marker expiration in s3 lifecycle.
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Sage Weil [Tue, 20 Jun 2017 15:22:37 +0000 (10:22 -0500)]
Merge pull request #15540 from joscollin/wip-cleanup-test-commented-code-2
test/osd: Removed Commented Code - 2
Kefu Chai [Tue, 20 Jun 2017 15:01:16 +0000 (23:01 +0800)]
Merge pull request #15770 from tchaikov/wip-test-test_mon_crush
qa/workunits/cephtool/test.sh: only include last line for epoch
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Tue, 20 Jun 2017 14:44:18 +0000 (22:44 +0800)]
Merge pull request #15733 from wjwithagen/wip-wjw-freebsd-ceph-disk-service
ceph-disk: command invocation needs all fields separate
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jos Collin [Wed, 7 Jun 2017 05:54:59 +0000 (11:24 +0530)]
test/osd: Removed Commented Code - 2
Removed commented code found in test/osd/.
Fixes: http://tracker.ceph.com/issues/20207 (Partially)
Signed-off-by: Jos Collin <jcollin@redhat.com>
Willem Jan Withagen [Fri, 16 Jun 2017 15:59:12 +0000 (17:59 +0200)]
ceph-disk: command invocation needs all fields separate
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
John Spray [Tue, 20 Jun 2017 10:47:13 +0000 (06:47 -0400)]
Merge pull request #15592 from david-z/wip-fix-dump-cache
mds: explicitly output error msg for dump cache asok command
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Tue, 20 Jun 2017 08:07:52 +0000 (16:07 +0800)]
qa/workunits/cephtool/test.sh: only include last line for epoch
/home/jenkins-build/build/workspace/ceph-pull-requests-arm64/qa/workunits/cephtool/test.sh:1606: test_mon_crush: epoch='2017-06-20 04:44:52.862459
ffffad4d0200 -1 asok(0xffffa8000b10) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: The UNIX domain socket path /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/build/src/test/td/t-7202/out/client.admin.48876.asok is too long! The maximum length on this system is 107
12'
/home/jenkins-build/build/workspace/ceph-pull-requests-arm64/qa/workunits/cephtool/test.sh:1607: test_mon_crush: '[' '2017-06-20 04:44:52.862459
ffffad4d0200 -1 asok(0xffffa8000b10) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: The UNIX domain socket path /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/build/src/test/td/t-7202/out/client.admin.48876.asok is too long! The maximum length on this system is 107
12' -gt 1 ']'
/home/jenkins-build/build/workspace/ceph-pull-requests-arm64/qa/workunits/cephtool/test.sh: line 1607: [: 2017-06-20 04:44:52.862459
ffffad4d0200 -1 asok(0xffffa8000b10) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: The UNIX domain socket path /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/build/src/test/td/t-7202/out/client.admin.48876.asok is too long! The maximum length on this system is 107
12: integer expression expected
Signed-off-by: Kefu Chai <kchai@redhat.com>
fang.yuxiang [Tue, 20 Jun 2017 08:12:19 +0000 (16:12 +0800)]
rgw: cleanup unused codes in rgw_admin.cc
Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
Kefu Chai [Tue, 20 Jun 2017 07:36:54 +0000 (15:36 +0800)]
Merge pull request #15742 from wjwithagen/wip-wjw-freebsd-host-errno-3
common/freebsd_errno.cc: fixed again a stupid typo
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yan, Zheng [Tue, 20 Jun 2017 03:55:03 +0000 (11:55 +0800)]
osdc/Objecter: fix inflight_ops update
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Sage Weil [Tue, 20 Jun 2017 03:39:55 +0000 (22:39 -0500)]
Merge pull request #15651 from zealoussnow/wip-0613
config_opt: use bool instead of int for the default value of filestore_debug_omap_check
Sage Weil [Tue, 20 Jun 2017 03:37:59 +0000 (22:37 -0500)]
Merge pull request #15676 from Linbing/wip-mon-delete-unused-config
mon: delete unused config opts of mon_sync_fs_threshold
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 20 Jun 2017 03:34:35 +0000 (22:34 -0500)]
Merge pull request #15697 from gregsfortytwo/wip-mgr-eaccss-20296
mgr: print a more helpful error message for when users lack mgr ceph caps
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Tue, 20 Jun 2017 03:11:56 +0000 (22:11 -0500)]
Merge pull request #15744 from badone/wip-CID-
1412579
ceph-dencoder: Silence coverity CID
1412579
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 20 Jun 2017 02:59:30 +0000 (21:59 -0500)]
Merge pull request #15637 from liewegas/wip-point-to-point
qa/upgrade/jewel-x/point-to-point: add a mgr during final upgrade
Sage Weil [Mon, 19 Jun 2017 23:06:32 +0000 (18:06 -0500)]
Merge pull request #15365 from ShiqiCooperation/newshiqi
test/unittest_bluefs: When fsync ret is less than 0, fsync can not be…
Reviewed-by: Varada Kari <varada.kari@gmail.com>
Sage Weil [Mon, 19 Jun 2017 23:06:07 +0000 (18:06 -0500)]
Merge pull request #15533 from liewegas/wip-crush-version
mon,osd: add crush_version to OSDMap, and allow crush map updates to gate on crush_version
Reviewed-by: Loic Dachary <loic@dachary.org>
Sage Weil [Mon, 19 Jun 2017 23:05:25 +0000 (18:05 -0500)]
Merge pull request #15685 from wjwithagen/wip-wjw-freebsd-ENODATA-2
core/common: Fix ENODATA for FreeBSD with compat.h
Reviewed-by: Jos Collin <jcollin@redhat.com>
Sage Weil [Mon, 19 Jun 2017 23:04:50 +0000 (18:04 -0500)]
Merge pull request #15710 from liewegas/wip-20273
osd: bail from _committed_osd_maps inside osd_lock
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Willem Jan Withagen [Fri, 16 Jun 2017 20:14:15 +0000 (22:14 +0200)]
rgw_string.h: FreeBSD would like errno.h included
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Casey Bodley [Mon, 19 Jun 2017 20:47:36 +0000 (16:47 -0400)]
Merge pull request #15333 from mikulely/validate-bucket-location
rgw/multisite: validate bucket location during bucket creation
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 19 Jun 2017 20:45:56 +0000 (16:45 -0400)]
Merge pull request #15633 from cloudbau/reduce-rgw-copy-loglevel
rgw: do not log debug output at level 0
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 19 Jun 2017 20:45:22 +0000 (16:45 -0400)]
Merge pull request #15598 from aclamk/encryption_refactor
radosgw, crypto: simplified code in handle_data functions
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 19 Jun 2017 20:42:58 +0000 (16:42 -0400)]
Merge pull request #15599 from theanalyst/rgw/fix/bl-cstr
rgw: don't specify a length when converting bl -> string
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 19 Jun 2017 20:42:11 +0000 (16:42 -0400)]
Merge pull request #15756 from rzarzynski/wip-rgw-cleanup-swift-errmapping
rgw: clean-up error mapping in Swift's authentication strategy.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 19 Jun 2017 20:40:13 +0000 (16:40 -0400)]
Merge pull request #15677 from zhangsw/fix-rgw-lifecycle-bug
rgw: lifecycle thread shouldn't process the bucket which has been deleted
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Casey Bodley [Mon, 19 Jun 2017 20:39:30 +0000 (16:39 -0400)]
Merge pull request #15682 from mikulely/rgw-putobj-params
rgw: abort early when s->length empty during putobj
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Mon, 19 Jun 2017 19:29:12 +0000 (14:29 -0500)]
Merge pull request #15747 from liewegas/wip-scrub-retry
qa/tasks/ceph: osd_scrub_pgs: reissue scrub requests in loop
Sage Weil [Mon, 19 Jun 2017 18:49:56 +0000 (14:49 -0400)]
qa/suites/rados/singleton-nomsgr/multi-backfill-reject: clean up
Set pool size back to 2 so we don't have to have backfill
complete (despite rejection probability) in order to get back to
healthy. This way we scrub on cleanup.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 19 Jun 2017 18:45:14 +0000 (13:45 -0500)]
Merge pull request #15712 from liewegas/wip-19882
osd/ECTransaction: only read partial stripes when below *original* object size
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Mon, 19 Jun 2017 18:37:57 +0000 (14:37 -0400)]
qa/suites/rados/singleton-nomsgr/full-tiering: unset quota at end
If we leave the quota set, the proxied ops will block
indefinitely, which will block scrubbing on the cache tier pgs
indefinitely.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 19 Jun 2017 18:28:28 +0000 (14:28 -0400)]
qa/tasks/resolve_stuck_peering: start osd at end
Signed-off-by: Sage Weil <sage@redhat.com>
Matt Benjamin [Mon, 19 Jun 2017 18:22:23 +0000 (14:22 -0400)]
Merge pull request #15679 from guihecheng/rgw_file-fix-setattr
rgw_file: fix assert upon setattr on bucket
Casey Bodley [Mon, 19 Jun 2017 18:14:44 +0000 (14:14 -0400)]
Merge pull request #15660 from fangyuxiangGL/meta_sync_crash
rgw: meta sync thread crash at RGWMetaSyncShardCR
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Mon, 19 Jun 2017 18:11:57 +0000 (14:11 -0400)]
qa/workunits/cephtool/test.sh: silence dev warnings
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 19 Jun 2017 15:59:10 +0000 (11:59 -0400)]
qa/tasks/ceph: osd_scrub_pgs: reissue scrub requests in loop
The scrub commands are not reliable: if the OSD doesn't happen to
be connected at the time the command is issued it may not get
delivered. Re-request scrubs for each PG that has not yet been
scrubbed so that we don't wait forever when the original request
is dropped.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 19 Jun 2017 15:57:50 +0000 (11:57 -0400)]
qa/tasks/ceph: osd_scrub_pgs: tolerate down osd at initial scrub time
Signed-off-by: Sage Weil <sage@redhat.com>
Casey Bodley [Mon, 19 Jun 2017 15:25:04 +0000 (11:25 -0400)]
Merge pull request #15738 from cbodley/wip-rgw-string-constexpr
rgw: fix constexpr for string_size in clang
Reviewed By: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
John Spray [Mon, 19 Jun 2017 14:53:51 +0000 (10:53 -0400)]
Merge pull request #15544 from taodd/master
mds: Client syncfs is slow (waits for next MDS tick)
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Sage Weil [Mon, 19 Jun 2017 14:32:43 +0000 (09:32 -0500)]
Merge pull request #15746 from liewegas/wip-20227
os/bluestore: better debug output on unsharing blobs
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
dongdong [Thu, 8 Jun 2017 09:14:36 +0000 (17:14 +0800)]
client: signal MDS to flush log when doing a syncfs
Fixes: http://tracker.ceph.com/issues/20129
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
dongdong [Wed, 7 Jun 2017 05:41:27 +0000 (13:41 +0800)]
Client: signal MDS to flush log when doing a syncfs
Fixes: http://tracker.ceph.com/issues/20129
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
Jos Collin [Mon, 19 Jun 2017 13:08:31 +0000 (13:08 +0000)]
Merge pull request #15745 from zealoussnow/wip-0617
.gitignore: exclude rpm files
Reviewed-by: Jos Collin <jcollin@redhat.com>
John Spray [Mon, 19 Jun 2017 12:41:25 +0000 (08:41 -0400)]
Merge pull request #15481 from jcsp/wip-20178
client: avoid returning negative space available
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
John Spray [Mon, 19 Jun 2017 09:35:21 +0000 (05:35 -0400)]
Merge pull request #15614 from jcsp/wip-jt-help
tools/cephfs: fix cephfs-journal-tool --help
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Radoslaw Zarzynski [Mon, 19 Jun 2017 08:53:06 +0000 (10:53 +0200)]
rgw: clean-up error mapping in Swift's authentication strategy.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Haomai Wang [Mon, 19 Jun 2017 05:54:31 +0000 (13:54 +0800)]
Merge pull request #15749 from Adirl/wip
msg/async/rdma: handle buffers after close msg
Reviewed-by: Haomai Wang <haomai@xsky.com>
xie xingguo [Mon, 19 Jun 2017 02:25:13 +0000 (10:25 +0800)]
src/common/ceph_string: stringify new osd states
In https://github.com/ceph/ceph/pull/15725 I introduce
two more osd states.
This patch pulls them in.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
fang.yuxiang [Tue, 13 Jun 2017 08:40:16 +0000 (16:40 +0800)]
rgw: meta sync thread crash at RGWMetaSyncShardCR
Fixes: http://tracker.ceph.com/issues/20251
Signed-off-by: fang yuxiang fang.yuxiang@eisoo.com
Zhang Shaowen [Wed, 19 Apr 2017 07:39:40 +0000 (15:39 +0800)]
rgw: add support for delete marker expiration in s3 lifecycle.
Fixes: http://tracker.ceph.com/issues/19730
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
Brad Hubbard [Sat, 17 Jun 2017 01:44:01 +0000 (11:44 +1000)]
ceph-dencoder: Silence coverity CID
1412579
141 if (i == 0)
142 i = m_list.size();
143 if ((i == 0) || (i > m_list.size()))
144 return "invalid id for generated object";
145 typename list<T*>::iterator p = m_list.begin();
146 for (i--; i > 0 && p != m_list.end(); ++p, --i) ;
>>> CID
1412579 : API usage errors (INVALIDATE_ITERATOR)
>>> Dereferencing iterator "p" though it is already past the end
of its container.
147 m_object = *p;
148 return string();
149 }
150
151 bool is_deterministic() override {
152 return !nondeterministic;
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Sage Weil [Sun, 18 Jun 2017 15:37:18 +0000 (10:37 -0500)]
Merge pull request #15725 from xiexingguo/wip-noupin
mon/OSDMonitor: batch noup/noin osds support
Reviewed-by: Sage Weil <sage@redhat.com>
Daniel Bar-On [Mon, 8 May 2017 15:25:28 +0000 (15:25 +0000)]
msg/async/rdma: remove assert from srq destroy in ~Infiniband
issue:
1040242
Even though ibv_destroy_srq does not return 0, all resources
are destroyed. No need to assert.
Change-Id: I96562130d22352390f9f7f9a3e0ddbe77a82d8f4
Signed-off-by: DanielBar-On <danielbo@mellanox.com>
Adirl [Sun, 7 May 2017 09:02:22 +0000 (09:02 +0000)]
msg/async/rdma: handle buffers after close msg
fixing an issue of OSD’s going down during recovery process while traffic
is running in the background.
fix is making sure that messages previously pulled from the cqe and are
now stored in the socket queue “buffers” will always be handled and fd
will be notified even if cqe is empty.
issue:
1025030
Change-Id: I6ced6b8ee0152e233632700ccc9ec19970e66b6a
Signed-off-by: Alexander Mikheev <alexm@mellanox.com>
Signed-off-by: Adir Lev <adirl@mellanox.com>
Abhishek L [Sun, 18 Jun 2017 09:24:10 +0000 (11:24 +0200)]
Merge pull request #15748 from Liuchang0812/wip-fix-release-note
doc/release-note: update release-note
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Orit Wasserman [Sun, 18 Jun 2017 06:09:01 +0000 (09:09 +0300)]
Merge pull request #15736 from cbodley/wip-20297
rgw: forward RGWPutBucketPolicy to meta master
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Sun, 18 Jun 2017 06:06:46 +0000 (09:06 +0300)]
Merge pull request #15132 from cbodley/wip-doc-rgw-remove-agent
doc/rgw: remove Federated Configuration, clean up multisite
liuchang0812 [Sun, 18 Jun 2017 03:56:07 +0000 (11:56 +0800)]
doc/release-note: update release-note
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
Jiaying Ren [Thu, 25 May 2017 12:17:46 +0000 (20:17 +0800)]
rgw/multisite: check location constraint existness
to match the behavior of AWS S3
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
Jiaying Ren [Thu, 25 May 2017 11:55:32 +0000 (19:55 +0800)]
rgw/multisite: unify zg is_master judge
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
Jiaying Ren [Thu, 25 May 2017 10:50:37 +0000 (18:50 +0800)]
rgw: fix bucket location s3 compatible issue
create bucket with location constraint doesn't exist in AWS S3
will response like the following:
{'data': '<?xml version="1.0" encoding="UTF-8"?>\n
<Error><Code>InvalidLocationConstraint</Code>
<Message>The specified location-constraint is not valid</Message>
<LocationConstraint>ap-southeast-4</LocationConstraint>
<RequestId>
15D886DFEF49765A </RequestId>
<HostId>IroSlmBZq7iSluYIgea7y+72OXbOSmjX2eVYING0tUuGR8BAHLcYPOgUWUIJUuG1z/1FhfaxJUo=</HostId></Error>',
'headers': {'connection': 'close',
'content-type': 'application/xml',
'date': 'Thu, 25 May 2017 03:45:49 GMT',
'server': 'AmazonS3',
'transfer-encoding': 'chunked',
'x-amz-id-2': 'IroSlmBZq7iSluYIgea7y+72OXbOSmjX2eVYING0tUuGR8BAHLcYPOgUWUIJUuG1z/1FhfaxJUo=',
'x-amz-request-id': '
15D886DFEF49765A '},
'reason': 'Bad Request',
'status': 400}
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
xie xingguo [Fri, 16 Jun 2017 07:52:01 +0000 (15:52 +0800)]
mon/OSDMonitor: batch noup/noin osds support
This is a follow-up change of https://github.com/ceph/ceph/pull/15381.
This patch also simplifies the original code logic a bit.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Sat, 17 Jun 2017 21:21:28 +0000 (16:21 -0500)]
Merge pull request #15658 from xiexingguo/wip-fix-reshard
os/bluestore: fix possible out of order shard(offset == 0); add sanity check
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 17 Jun 2017 21:21:03 +0000 (16:21 -0500)]
Merge pull request #15716 from jcsp/wip-mgr-fsmap
mgr: fix MgrStandby eating messages
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 17 Jun 2017 21:20:12 +0000 (16:20 -0500)]
Merge pull request #15732 from liewegas/wip-osd-boot-message
osd: do not try to boot until we've seen the first osdmap
Sage Weil [Sat, 17 Jun 2017 21:19:41 +0000 (16:19 -0500)]
Merge pull request #15740 from liewegas/wip-pgmap-debug
mon,mgr: print pgmap reports to debug (not cluster) log
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Sat, 17 Jun 2017 21:16:00 +0000 (16:16 -0500)]
Merge pull request #15389 from gregsfortytwo/wip-18126
qa: do not restrict valgrind runs to centos
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 17 Jun 2017 13:33:40 +0000 (09:33 -0400)]
os/bluestore: better debug output on unsharing blobs
Looking for http://tracker.ceph.com/issues/20227
Signed-off-by: Sage Weil <sage@redhat.com>
Leo Zhang [Sat, 17 Jun 2017 10:58:38 +0000 (18:58 +0800)]
.gitignore: exclude rpm files
Signed-off-by: Leo Zhang <nguzcf@gmail.com>
Kefu Chai [Sat, 17 Jun 2017 03:00:34 +0000 (11:00 +0800)]
Merge pull request #15618 from liupan1111/wip-fix-comment
tools/rados: fixed typo in help information
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Sat, 17 Jun 2017 02:19:07 +0000 (22:19 -0400)]
Merge pull request #15720 from ShiqiCooperation/rbdshiqi
test/unittest_librbd: remove unused variables
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Greg Farnum [Wed, 14 Jun 2017 22:00:04 +0000 (15:00 -0700)]
mgr: print a more helpful error message for when users lack mgr cephx caps
Add some brief documentation on updating their caps and link to it.
Fixes: http://tracker.ceph.com/issues/20296
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Willem Jan Withagen [Fri, 16 Jun 2017 21:56:58 +0000 (23:56 +0200)]
common/freebsd_errno.cc: fixed again a stupid typo
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Sage Weil [Fri, 16 Jun 2017 21:40:05 +0000 (16:40 -0500)]
Merge pull request #15741 from wjwithagen/wip-wjw-freebsd-host-errno-2
common/freebsd_errno.cc: fix missing ;
Willem Jan Withagen [Fri, 16 Jun 2017 21:36:51 +0000 (23:36 +0200)]
common/freebsd_errno.cc: fix missing ;
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Sage Weil [Fri, 16 Jun 2017 21:15:37 +0000 (17:15 -0400)]
mgr/DaemonServer: print PGMapDigest summary on send
Useful for debugging.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Jun 2017 21:14:19 +0000 (16:14 -0500)]
Merge pull request #15495 from wjwithagen/wip-wjw-freebsd-host-errno
core: introduce (and fix) code to pass errno to other OSes
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 16 Jun 2017 21:12:20 +0000 (16:12 -0500)]
Merge pull request #15717 from liewegas/wip-20326
qa/tasks/ceph.py: tolerate active+clean+something
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 16 Jun 2017 21:11:14 +0000 (16:11 -0500)]
Merge pull request #15721 from majianpeng/bluestore-nodevice-nosymlink
os/bluestore/BlueStore: no device no symlink.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Jun 2017 21:03:49 +0000 (16:03 -0500)]
Merge pull request #15559 from dzafman/wip-20186
osd: Check snapset for validity when selecting authoritative shard
Reviewed-by: Sage Weil <sage@redhat.com>
Casey Bodley [Fri, 16 Jun 2017 20:50:12 +0000 (16:50 -0400)]
rgw: fix constexpr for string_size
string_size<const char*>() is no longer constexpr. added new constexpr
specialization for string_size<char[N]>()
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Fri, 16 Jun 2017 21:02:14 +0000 (14:02 -0700)]
Merge pull request #15552 from TsaiJin/wip-queue-scrub-with-higher-priority
osd/OSD.h: requeue the scrub job with higher priority to shorten the blocking time of related requests
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Sage Weil [Fri, 16 Jun 2017 21:01:05 +0000 (17:01 -0400)]
mon/MgrStatMonitor: print PGMapDigest summary on receipt
Useful for debugging.
Signed-off-by: Sage Weil <sage@redhat.com>
Gregory Farnum [Fri, 16 Jun 2017 20:57:01 +0000 (13:57 -0700)]
Merge pull request #15722 from dmick/master
test/osd/osd-dup.sh: use wait_for_clean
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Casey Bodley [Fri, 16 Jun 2017 20:34:03 +0000 (16:34 -0400)]
Merge pull request #15735 from theanalyst/rgw-uninit-atomic
rgw_rados: initialize cur_shard
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 16 Jun 2017 19:11:51 +0000 (15:11 -0400)]
Merge pull request #15524 from cbodley/wip-rgw-sync-debug-logging
rgw: raise debug level of meta sync logging
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Fri, 16 Jun 2017 19:03:17 +0000 (12:03 -0700)]
Merge pull request #15711 from cbodley/wip-rgw-swift-default-auth-error
rgw: fix swift default auth error after auth strategy refactoring
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Fri, 16 Jun 2017 18:14:28 +0000 (14:14 -0400)]
test/rgw: add multisite test_set_bucket_policy
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 16 Jun 2017 17:57:06 +0000 (13:57 -0400)]
rgw: forward RGWPutBucketPolicy to meta master
Fixes: http://tracker.ceph.com/issues/20297
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Jianpeng Ma [Fri, 16 Jun 2017 18:42:37 +0000 (02:42 +0800)]
os/bluestore/BlueStore: no device no symlink.
If bluestore_block_db_create or bluestore_block_db_create is false
and we use non-exist blockdevice as db/wal. ceph-osd still work and it
use block as db/wal. This bug introduced by
316810d7e74 .
If stat(symlink) error and symlink still exist, this is bug.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Sage Weil [Fri, 16 Jun 2017 17:56:14 +0000 (13:56 -0400)]
osd/ECTransaction: only read partial stripes when below *original* object size
If we touch a partial stripe that is before the stripe-aligned object size
we need to read it in to do a read/modify/write that overalys the new data
onto the old. However, if we have two writes, both touching the same
stripe but not completely covering it, and that stripe is past the original
end of file, there is no old data to read. The previous code was using
the projected size to decide whether to do a stripe read, and would end
up trying to read data that wasn't there.
Fix by basing the stripe read decision on the original object size instead
of the projected_size.
Fixes: http://tracker.ceph.com/issues/19882
Signed-off-by: Sage Weil <sage@redhat.com>
Abhishek Lekshmanan [Fri, 16 Jun 2017 17:39:19 +0000 (19:39 +0200)]
rgw_rados: initialize cur_shard
valgrind reported an uninitialized value on use of cur_shard at a few
places, so explicitly declaring this to 0 as we are incrementing this
later
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>