]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoMerge pull request #17183 from tchaikov/wip-20913
Kefu Chai [Thu, 24 Aug 2017 14:33:31 +0000 (22:33 +0800)]
Merge pull request #17183 from tchaikov/wip-20913

osd/PGBackend: delete reply if fails to complete delete request

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #17227 from liewegas/wip-jewel-x
Sage Weil [Thu, 24 Aug 2017 14:30:31 +0000 (09:30 -0500)]
Merge pull request #17227 from liewegas/wip-jewel-x

qa/suites/upgrade/jewel-x/parallel: tolerate laggy mgr

7 years agoqa/suites/upgrade/jewel-x/parallel: tolerate laggy mgr 17227/head
Sage Weil [Thu, 24 Aug 2017 14:30:01 +0000 (10:30 -0400)]
qa/suites/upgrade/jewel-x/parallel: tolerate laggy mgr

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17226 from liewegas/wip-jewel-x
Sage Weil [Thu, 24 Aug 2017 14:27:44 +0000 (09:27 -0500)]
Merge pull request #17226 from liewegas/wip-jewel-x

qa/suites/upgrade/jewel-x/stress-split: tolerate sloppy past_intervals

7 years agoqa/suites/upgrade/jewel-x/stress-split: tolerate sloppy past_intervals 17226/head
Sage Weil [Thu, 24 Aug 2017 14:23:22 +0000 (10:23 -0400)]
qa/suites/upgrade/jewel-x/stress-split: tolerate sloppy past_intervals

This is harmless in general, esp during upgrade.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17190 from amitkumar50/cov-test-1
Sage Weil [Thu, 24 Aug 2017 13:41:07 +0000 (08:41 -0500)]
Merge pull request #17190 from amitkumar50/cov-test-1

test: Checking fd for negative before closing

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agotest: Checking fd for negative before closing 17190/head
amitkuma [Wed, 23 Aug 2017 17:14:34 +0000 (22:44 +0530)]
test: Checking fd for negative before closing

Fixes the coverity issue:

** 1395317 Argument cannot be negative
161. negative_return_fn: Function open("bufferlist", 0) returns a
negative number.
162. var_assign: Assigning: signed variable fd = open.

Signed-off-by: Amit Kumar amitkuma@redhat.com
7 years agoMerge PR #17205 into master
Patrick Donnelly [Thu, 24 Aug 2017 03:48:22 +0000 (20:48 -0700)]
Merge PR #17205 into master

* refs/remotes/upstream/pull/17205/head:
client: fix locking in Client::getcwd

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #17204 into master
Patrick Donnelly [Thu, 24 Aug 2017 03:48:20 +0000 (20:48 -0700)]
Merge PR #17204 into master

* refs/remotes/upstream/pull/17204/head:
fuse: use c++ allocations for group list

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #17199 into master
Patrick Donnelly [Thu, 24 Aug 2017 03:48:13 +0000 (20:48 -0700)]
Merge PR #17199 into master

* refs/remotes/upstream/pull/17199/head:
client: fix compat version on MStatfs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
7 years agoMerge pull request #17121 from zmedico/PGPool-update-optimize-with-interval_set-swap
Kefu Chai [Thu, 24 Aug 2017 01:22:53 +0000 (09:22 +0800)]
Merge pull request #17121 from zmedico/PGPool-update-optimize-with-interval_set-swap

PGPool::update: optimize with interval_set.swap

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17014 from xiexingguo/wip-various-weight-set-fix
Xie Xingguo [Thu, 24 Aug 2017 00:29:50 +0000 (08:29 +0800)]
Merge pull request #17014 from xiexingguo/wip-various-weight-set-fix

crush: various weight-set fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17099 from xiexingguo/wip-stuck-op-count
Xie Xingguo [Thu, 24 Aug 2017 00:21:36 +0000 (08:21 +0800)]
Merge pull request #17099 from xiexingguo/wip-stuck-op-count

mon/PGMap: fix "0 stuck requests are blocked > 4096 sec" warn

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17203 from liewegas/wip-jewel-x
Sage Weil [Wed, 23 Aug 2017 22:21:37 +0000 (17:21 -0500)]
Merge pull request #17203 from liewegas/wip-jewel-x

qa/suites/upgarde/jewel-x/parallel: tolerate mgr warning

7 years agoMerge pull request #17207 from ceph/wip-bz1484002
Alfredo Deza [Wed, 23 Aug 2017 21:43:19 +0000 (17:43 -0400)]
Merge pull request #17207 from ceph/wip-bz1484002

ceph-volume: use unique logical volumes

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #12429 from yehudasa/wip-meta-stream
Yehuda Sadeh [Wed, 23 Aug 2017 19:59:19 +0000 (12:59 -0700)]
Merge pull request #12429 from yehudasa/wip-meta-stream

rgw: stream metadata full sync init

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #16926 from fangyuxiangGL/infinitely-send-data-log-list
Matt Benjamin [Wed, 23 Aug 2017 19:57:41 +0000 (15:57 -0400)]
Merge pull request #16926 from fangyuxiangGL/infinitely-send-data-log-list

rgw: break sending data-log list infinitely

7 years agoMerge pull request #16612 from cbodley/wip-20668
Matt Benjamin [Wed, 23 Aug 2017 19:57:02 +0000 (15:57 -0400)]
Merge pull request #16612 from cbodley/wip-20668

rgw: fixes for multisite replication of encrypted objects

7 years agoceph-volume tests centos7 use the new ansible syntax for lvm 17207/head
Alfredo Deza [Wed, 23 Aug 2017 19:26:27 +0000 (15:26 -0400)]
ceph-volume tests centos7 use the new ansible syntax for lvm

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests use the new ansible syntax for lvm
Alfredo Deza [Wed, 23 Aug 2017 19:24:08 +0000 (15:24 -0400)]
ceph-volume tests use the new ansible syntax for lvm

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests create tests for the get_lv helper method
Alfredo Deza [Wed, 23 Aug 2017 17:44:46 +0000 (13:44 -0400)]
ceph-volume tests create tests for the get_lv helper method

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests create tests for the new arg validator
Alfredo Deza [Wed, 23 Aug 2017 17:29:15 +0000 (13:29 -0400)]
ceph-volume tests create tests for the new arg validator

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util create a validator module for argparse
Alfredo Deza [Wed, 23 Aug 2017 17:28:56 +0000 (13:28 -0400)]
ceph-volume util create a validator module for argparse

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.prepare enforce usage of vg/lv when preparing lvm devices
Alfredo Deza [Wed, 23 Aug 2017 17:26:15 +0000 (13:26 -0400)]
ceph-volume lvm.prepare enforce usage of vg/lv when preparing lvm devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoqa/suites/upgrade/jewel-x/parallel: tolerate OBJECT_MISPLACED 17203/head
Sage Weil [Wed, 23 Aug 2017 18:24:00 +0000 (14:24 -0400)]
qa/suites/upgrade/jewel-x/parallel: tolerate OBJECT_MISPLACED

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites/upgarde/jewel-x/parallel: tolerate mgr warning
Sage Weil [Wed, 23 Aug 2017 18:22:34 +0000 (14:22 -0400)]
qa/suites/upgarde/jewel-x/parallel: tolerate mgr warning

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #17175 into master
Patrick Donnelly [Wed, 23 Aug 2017 17:56:09 +0000 (10:56 -0700)]
Merge PR #17175 into master

* refs/remotes/upstream/pull/17175/head:
client: add blank space between function name and inode number for log

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #17150 into master
Patrick Donnelly [Wed, 23 Aug 2017 17:54:30 +0000 (10:54 -0700)]
Merge PR #17150 into master

* refs/remotes/upstream/pull/17150/head:
doc/cephfs: s/rados_max_object_size/osd_max_object_size

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoclient: fix locking in Client::getcwd 17205/head
Jeff Layton [Wed, 23 Aug 2017 17:49:40 +0000 (13:49 -0400)]
client: fix locking in Client::getcwd

Currently, it doesn't take the client_lock at all, which is problematic
as make_request may very well end up unlocking it. Rename the current
function to _getcwd, and add a new getcwd wrapper that takes the mutex
before calling _getcwd.

This fixes: http://tracker.ceph.com/issues/21082

Signed-off-by: Jeff Layton <jlayton@redhat.com>
7 years agoceph-volume lvm.common update help values for vg/lv usage
Alfredo Deza [Wed, 23 Aug 2017 17:21:56 +0000 (13:21 -0400)]
ceph-volume lvm.common update help values for vg/lv usage

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.create update docstring for vg/lv usage
Alfredo Deza [Wed, 23 Aug 2017 17:20:07 +0000 (13:20 -0400)]
ceph-volume lvm.create update docstring for vg/lv usage

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.prepare update docstring for vg/lv usage
Alfredo Deza [Wed, 23 Aug 2017 15:55:45 +0000 (11:55 -0400)]
ceph-volume lvm.prepare update docstring for vg/lv usage

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #17162 from cbodley/wip-qa-rgw-pool-application
Casey Bodley [Wed, 23 Aug 2017 16:52:33 +0000 (12:52 -0400)]
Merge pull request #17162 from cbodley/wip-qa-rgw-pool-application

qa/rgw: use 'ceph osd pool application enable' on created pools

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge PR #17163 into master
Patrick Donnelly [Wed, 23 Aug 2017 16:52:10 +0000 (09:52 -0700)]
Merge PR #17163 into master

* refs/remotes/upstream/pull/17163/head:
mon: get writeable osdmap for added data pool

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agofuse: use c++ allocations for group list 17204/head
Jeff Layton [Wed, 23 Aug 2017 16:13:14 +0000 (12:13 -0400)]
fuse: use c++ allocations for group list

Valgrind is unhappy about our turning on supplimentary group handling
with fuse by default. The problem is that we end up calling delete to
free the supplimentary gids list, but fuse uses malloc to allocate it.

Note that I was initially concerned that I needed to use malloc and
free there to handle the case of userland calling ceph_userperm_new,
but we leave freeing the pointer up to the caller in that case.

Convert fuse to use new/delete to allocate and free the group lists
instead.

Tracker: http://tracker.ceph.com/issues/21065
Signed-off-by: Jeff Layton <jlayton@redhat.com>
7 years agoMerge pull request #17075 from ivancich/wip-adjust-dup-ops-options
Josh Durgin [Wed, 23 Aug 2017 15:53:09 +0000 (08:53 -0700)]
Merge pull request #17075 from ivancich/wip-adjust-dup-ops-options

osd: adjust osd_min_pg_log_entries

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoclient: fix compat version on MStatfs 17199/head
John Spray [Wed, 23 Aug 2017 13:52:22 +0000 (14:52 +0100)]
client: fix compat version on MStatfs

Fixes: http://tracker.ceph.com/issues/21078
Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoMerge PR #16959 into master
Patrick Donnelly [Wed, 23 Aug 2017 14:07:10 +0000 (07:07 -0700)]
Merge PR #16959 into master

* refs/remotes/upstream/pull/16959/head:
client: skip lookupname if writing to unlinked file

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #17053 into master
Patrick Donnelly [Wed, 23 Aug 2017 14:03:43 +0000 (07:03 -0700)]
Merge PR #17053 into master

* refs/remotes/upstream/pull/17053/head:
qa: add chown test clearing S_ISGID and S_ISUID
ceph-fuse: load supplementary groups by default
client: clear suid/sgid bits on non-zero write
client: add missing space in debug msg
cephfs: clear suid/sgid if regular file is exe
client: refactor clear set uid/gid if -1

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #17122 into master
Patrick Donnelly [Wed, 23 Aug 2017 13:49:13 +0000 (06:49 -0700)]
Merge PR #17122 into master

* refs/remotes/upstream/pull/17122/head:
mds: check cap string only if !allow_all

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #17111 into master
Patrick Donnelly [Wed, 23 Aug 2017 13:49:11 +0000 (06:49 -0700)]
Merge PR #17111 into master

* refs/remotes/upstream/pull/17111/head:
qa: add health whitelist for kcephfs suite

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #17054 into master
Patrick Donnelly [Wed, 23 Aug 2017 13:49:10 +0000 (06:49 -0700)]
Merge PR #17054 into master

* refs/remotes/upstream/pull/17054/head:
mds: Initializing uninitiazed members SnapServer

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #17184 from PCzhangPC/rmconv
Jason Dillaman [Wed, 23 Aug 2017 11:21:07 +0000 (07:21 -0400)]
Merge pull request #17184 from PCzhangPC/rmconv

rbd:rm unnecessary conversion from string to char* in image-meta function

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17186 from trociny/wip-librados_test_stub-zero-snap
Jason Dillaman [Wed, 23 Aug 2017 11:09:03 +0000 (07:09 -0400)]
Merge pull request #17186 from trociny/wip-librados_test_stub-zero-snap

test/librados_test_stub: pass snap context to zero op

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd:rm unnecessary conversion from string to char* in image-meta function 17184/head
PCzhangPC [Wed, 23 Aug 2017 10:11:53 +0000 (18:11 +0800)]
rbd:rm unnecessary conversion from string to char* in image-meta function

the APIs in librbd receive string type as parameter, so there is no need to convert string to char* in image-meta function

Signed-off-by: PCzhangPC <pengcheng.zhang@easystack.cn>
7 years agoosd/PGBackend: delete reply if fails to complete delete request 17183/head
Kefu Chai [Wed, 23 Aug 2017 08:34:12 +0000 (16:34 +0800)]
osd/PGBackend: delete reply if fails to complete delete request

if any of the objects fails to be deleted due to pg reset after latest
osdmap, the pg recovery delete reply won't be sent to the primary OSD.
in that case, we should delete the reply.

Fixes: http://tracker.ceph.com/issues/20913
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agotest/librados_test_stub: pass snap context to zero op 17186/head
Mykola Golub [Wed, 23 Aug 2017 07:46:42 +0000 (09:46 +0200)]
test/librados_test_stub: pass snap context to zero op

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
7 years agoMerge pull request #17154 from ktdreyer/doc-cat
Kefu Chai [Wed, 23 Aug 2017 04:35:00 +0000 (12:35 +0800)]
Merge pull request #17154 from ktdreyer/doc-cat

doc: eliminate useless cat statement

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomon: get writeable osdmap for added data pool 17163/head
Patrick Donnelly [Tue, 22 Aug 2017 19:11:25 +0000 (12:11 -0700)]
mon: get writeable osdmap for added data pool

Continuation of: 435717791ec499f71c9d1485b1e4e63239a343e2

Fixes: http://tracker.ceph.com/issues/21064
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoclient: add blank space between function name and inode number for log 17175/head
Zhu Shangzhong [Wed, 23 Aug 2017 02:20:17 +0000 (10:20 +0800)]
client: add blank space between function name and inode number for log

Fixes: http://tracker.ceph.com/issues/21069
Signed-off-by: Zhu Shangzhong <zhu.shangzhong@zte.com.cn>
7 years agoMerge pull request #16127 from ZVampirEM77/wip-obj-acl-bug
Yuri Weinstein [Wed, 23 Aug 2017 02:17:55 +0000 (19:17 -0700)]
Merge pull request #16127 from ZVampirEM77/wip-obj-acl-bug

rgw: fix obj copied from remote gateway acl full_control issue

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #17041 from dengxiafubi/EAS-1
Yuri Weinstein [Wed, 23 Aug 2017 02:16:18 +0000 (19:16 -0700)]
Merge pull request #17041 from dengxiafubi/EAS-1

rgw: exit early if rgw_bucket_set_attrs() fails

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agoMerge pull request #17065 from tchaikov/wip-20785
Kefu Chai [Wed, 23 Aug 2017 02:02:37 +0000 (10:02 +0800)]
Merge pull request #17065 from tchaikov/wip-20785

mon/OSDMonitor: do not send_pg_creates with stale info

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #17168 from ceph/wip-volume-man-fix
Dan Mick [Tue, 22 Aug 2017 23:37:35 +0000 (16:37 -0700)]
Merge pull request #17168 from ceph/wip-volume-man-fix

doc: include ceph-disk and ceph-disk-volume man pages in index

Reviewed-by: Dan Mick <dmick@redhat.com>
7 years agodoc add ceph-volume and ceph-volume-systemd man pages to CMakeLists file 17168/head
Alfredo Deza [Tue, 22 Aug 2017 22:05:03 +0000 (18:05 -0400)]
doc add ceph-volume and ceph-volume-systemd man pages to CMakeLists file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc: include ceph-disk and ceph-disk-volume man pages in index
Alfredo Deza [Tue, 22 Aug 2017 16:08:06 +0000 (12:08 -0400)]
doc: include ceph-disk and ceph-disk-volume man pages in index

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #16836 from heyingstar/bug-ms_dump_on_send-doubledata
Yuri Weinstein [Tue, 22 Aug 2017 20:39:12 +0000 (13:39 -0700)]
Merge pull request #16836 from heyingstar/bug-ms_dump_on_send-doubledata

messages/MOSDOp: a fixes of encode_payload

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #17079 from joscollin/wip-use-after-free
Yuri Weinstein [Tue, 22 Aug 2017 20:17:48 +0000 (13:17 -0700)]
Merge pull request #17079 from joscollin/wip-use-after-free

msg: drop the unnecessary polling_stop()

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #16344 from rzarzynski/wip-rgwqa-tempest
Casey Bodley [Tue, 22 Aug 2017 19:02:15 +0000 (15:02 -0400)]
Merge pull request #16344 from rzarzynski/wip-rgwqa-tempest

rgw, qa: integrate Tempest to verify RadosGW's compliance with Swift API

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoqa/rgw: enable 'rgw' application on created pools 17162/head
Casey Bodley [Tue, 22 Aug 2017 17:56:11 +0000 (13:56 -0400)]
qa/rgw: enable 'rgw' application on created pools

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoqa: add optional 'application' to pool creation helpers
Casey Bodley [Tue, 22 Aug 2017 17:55:47 +0000 (13:55 -0400)]
qa: add optional 'application' to pool creation helpers

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #16818 from theanalyst/rgw-lc-add-filter-2
Yuri Weinstein [Tue, 22 Aug 2017 17:04:23 +0000 (10:04 -0700)]
Merge pull request #16818 from theanalyst/rgw-lc-add-filter-2

rgw_lc: add support for optional filter argument and make ID optional

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge pull request #17116 from Synesis-LLC/fix-20934
Yuri Weinstein [Tue, 22 Aug 2017 16:56:34 +0000 (09:56 -0700)]
Merge pull request #17116 from Synesis-LLC/fix-20934

rgw: Prevent overflow of cached stats values

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #17152 from ceph/wip-rm21030
Alfredo Deza [Tue, 22 Aug 2017 15:49:13 +0000 (11:49 -0400)]
Merge pull request #17152 from ceph/wip-rm21030

create the ceph-volume and ceph-volume-systemd man pages

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
7 years agorpm: include ceph-volume and ceph-volume-systemd man pages 17152/head
Alfredo Deza [Tue, 22 Aug 2017 15:22:52 +0000 (11:22 -0400)]
rpm: include ceph-volume and ceph-volume-systemd man pages

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodebian: include ceph-volume and ceph-volume-systemd man pages
Alfredo Deza [Tue, 22 Aug 2017 15:20:47 +0000 (11:20 -0400)]
debian: include ceph-volume and ceph-volume-systemd man pages

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc: eliminate useless cat statement 17154/head
Ken Dreyer [Tue, 22 Aug 2017 15:15:02 +0000 (09:15 -0600)]
doc: eliminate useless cat statement

Useless Use of Cat Award!

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
7 years agoMerge pull request #17039 from dzafman/wip-18206
Kefu Chai [Tue, 22 Aug 2017 14:50:24 +0000 (22:50 +0800)]
Merge pull request #17039 from dzafman/wip-18206

osd: Fixes for osd_scrub_during_recovery handling

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agocrush: fix type mismatch 17014/head
xie xingguo [Tue, 15 Aug 2017 04:18:30 +0000 (12:18 +0800)]
crush: fix type mismatch

Pool IDs are of type int64_t instead of uint64_t.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agocrush: fix bucket_adjust_item_weight() won't update weight-set correctly
xie xingguo [Mon, 14 Aug 2017 07:57:07 +0000 (15:57 +0800)]
crush: fix bucket_adjust_item_weight() won't update weight-set correctly

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agocrush: CrushWrapper::add_bucket - do not allow caller pass in null 'idout'
xie xingguo [Mon, 14 Aug 2017 06:23:24 +0000 (14:23 +0800)]
crush: CrushWrapper::add_bucket - do not allow caller pass in null 'idout'

*** Caught signal (Segmentation fault) **
 in thread 7f495c0f6300 thread_name:crushtool
 ceph version 12.1.2-768-gab69125 (ab6912523e779174f92f0b0fc10372bd0b645415) mimic (dev)
 1: (()+0x1a3d1) [0x7f495c1343d1]
 2: (()+0xf370) [0x7f4951deb370]
 3: (CrushWrapper::add_bucket(int, int, int, int, int, int*, int*, int*)+0x84) [0x7f49538ba084]
 4: (CrushCompiler::parse_bucket(__gnu_cxx::__normal_iterator<boost::spirit::tree_node<boost::spirit::node_val_data<char const*, boost::spirit::nil_t> >*, std::vector<boost::spirit::tree_node<boost::spirit::node_val_data<char const*, boost::spirit::nil_t> >, std::allocator<boost::spirit::tree_node<boost::spirit::node_val_data<char const*, boost::spirit::nil_t> > > > > const&)+0xef0) [0x7f49538dc170]
 5: (CrushCompiler::parse_crush(__gnu_cxx::__normal_iterator<boost::spirit::tree_node<boost::spirit::node_val_data<char const*, boost::spirit::nil_t> >*, std::vector<boost::spirit::tree_node<boost::spirit::node_val_data<char const*, boost::spirit::nil_t> >, std::allocator<boost::spirit::tree_node<boost::spirit::node_val_data<char const*, boost::spirit::nil_t> > > > > const&)+0x130) [0x7f49538dcba0]
 6: (CrushCompiler::compile(std::istream&, char const*)+0xb93) [0x7f49538deaa3]
 7: (main()+0x2615) [0x7f495c126015]
 8: (__libc_start_main()+0xf5) [0x7f49507ccb35]
 9: (()+0xf4b0) [0x7f495c1294b0]
2017-08-14 13:31:25.498050 7f495c0f6300 -1 *** Caught signal (Segmentation fault) **
 in thread 7f495c0f6300 thread_name:crushtool

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agodoc index the ceph-volume and ceph-volume-systemd man pages
Alfredo Deza [Tue, 22 Aug 2017 14:36:33 +0000 (10:36 -0400)]
doc index the ceph-volume and ceph-volume-systemd man pages

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/man create the ceph-volume man page
Alfredo Deza [Tue, 22 Aug 2017 14:35:45 +0000 (10:35 -0400)]
doc/man create the ceph-volume man page

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/man create the ceph-volume-systemd man page
Alfredo Deza [Tue, 22 Aug 2017 14:35:33 +0000 (10:35 -0400)]
doc/man create the ceph-volume-systemd man page

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agocrush: update crush_choose_arg_map size on resizing
xie xingguo [Mon, 14 Aug 2017 06:19:09 +0000 (14:19 +0800)]
crush: update crush_choose_arg_map size on resizing

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agocrush: fix bucket_remove_item() won't update weight-set simultaneously
xie xingguo [Mon, 14 Aug 2017 06:15:53 +0000 (14:15 +0800)]
crush: fix bucket_remove_item() won't update weight-set simultaneously

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agocrush: fix bucket_add_item() won't update weight-set simultaneously
xie xingguo [Mon, 14 Aug 2017 06:13:59 +0000 (14:13 +0800)]
crush: fix bucket_add_item() won't update weight-set simultaneously

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agocrush: fix bucket index to weight-set
xie xingguo [Mon, 14 Aug 2017 06:12:16 +0000 (14:12 +0800)]
crush: fix bucket index to weight-set

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agodoc/cephfs: s/rados_max_object_size/osd_max_object_size 17150/head
Zhu Shangzhong [Tue, 22 Aug 2017 13:51:28 +0000 (21:51 +0800)]
doc/cephfs: s/rados_max_object_size/osd_max_object_size

Signed-off-by: Zhu Shangzhong <zhu.shangzhong@zte.com.cn>
7 years agoMerge pull request #17127 from tchaikov/wip-doc-cleanups
Alfredo Deza [Tue, 22 Aug 2017 11:07:21 +0000 (07:07 -0400)]
Merge pull request #17127 from tchaikov/wip-doc-cleanups

doc/conf.py: do not set html_use_smartypants explicitly

Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #17131 from scienceluo/wip-luo-check-fix-branch
Xie Xingguo [Tue, 22 Aug 2017 10:50:31 +0000 (18:50 +0800)]
Merge pull request #17131 from scienceluo/wip-luo-check-fix-branch

osd: Drop the unused code in OSD::_collect_metadata

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoosd: Drop the unused code in OSD::_collect_metadata 17131/head
Luo Kexue [Tue, 22 Aug 2017 06:25:30 +0000 (14:25 +0800)]
osd: Drop the unused code in OSD::_collect_metadata

Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
7 years agodoc/conf.py: do not set html_use_smartypants explicitly 17127/head
Kefu Chai [Tue, 22 Aug 2017 03:24:12 +0000 (11:24 +0800)]
doc/conf.py: do not set html_use_smartypants explicitly

because it's deprecated, and is on by default in the specified sphinx
version (v1.6.3):

this change silences following warning:

build-doc/virtualenv/local/lib/python2.7/site-packages/sphinx/environment/__init__.py:683:
RemovedInSphinx17Warning: html_use_smartypants option is deprecated.
Smart quotes are on by default; if you want to disable or customize
them, use the smart_quotes option in docutils.conf.
  RemovedInSphinx17Warning)

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: remove manpage-howto.txt
Kefu Chai [Tue, 22 Aug 2017 03:11:14 +0000 (11:11 +0800)]
doc: remove manpage-howto.txt

since manpages are built as part of "make" process, we can dispense with
the manual steps.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17115 from amitkumar50/cov-osd-1
Xie Xingguo [Tue, 22 Aug 2017 00:19:49 +0000 (08:19 +0800)]
Merge pull request #17115 from amitkumar50/cov-osd-1

osd: Initialization of pointer cls

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoosd: Fixes for osd_scrub_during_recovery handling 17039/head
David Zafman [Tue, 15 Aug 2017 21:45:13 +0000 (14:45 -0700)]
osd: Fixes for osd_scrub_during_recovery handling

Fixes: http://tracker.ceph.com/issues/18206
Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotests: osd-scrub-snaps.sh minor cleanup
David Zafman [Tue, 15 Aug 2017 21:46:40 +0000 (14:46 -0700)]
tests: osd-scrub-snaps.sh minor cleanup

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agomds: check cap string only if !allow_all 17122/head
Patrick Donnelly [Mon, 21 Aug 2017 21:12:47 +0000 (14:12 -0700)]
mds: check cap string only if !allow_all

This corrects a regression introduced by #16891 which fixes
http://tracker.ceph.com/issues/20990. Not using cephx would
cause all clients to fail auth with:

    2017-08-17 12:21:05.191958 7f5b788d4700  0 -- 127.0.0.1:0/65887226 >> 127.0.0.1:6805/3339248996 conn(0x1004be8a0 :-1 s=STATE_CONNECTING_WAIT_CONNECT_REPLY_AUTH pgs=0 cs=0 l=0).handle_connect_reply connect got BADAUTHORIZER

Fixes: http://tracker.ceph.com/issues/21027
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #17120 into master
Patrick Donnelly [Mon, 21 Aug 2017 21:00:24 +0000 (14:00 -0700)]
Merge PR #17120 into master

* refs/remotes/upstream/pull/17120/head:
rpm: ceph-fuse requires fuse package

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #17097 from ceph/wip-bz1478599
Alfredo Deza [Mon, 21 Aug 2017 20:52:10 +0000 (16:52 -0400)]
Merge pull request #17097 from ceph/wip-bz1478599

ceph-volume: Use a delimited CLI output parser instead of JSON

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
7 years agoMerge pull request #17068 from ceph/ceph-volume-docs
Andrew Schoen [Mon, 21 Aug 2017 20:43:37 +0000 (15:43 -0500)]
Merge pull request #17068 from ceph/ceph-volume-docs

ceph-volume docs

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoPGPool::update: optimize with interval_set.swap 17121/head
Zac Medico [Mon, 21 Aug 2017 20:30:53 +0000 (13:30 -0700)]
PGPool::update: optimize with interval_set.swap

Use constant complexity swap instead of linear complexity
assignment.

Signed-off-by: Zac Medico <zmedico@gmail.com>
7 years agodocs/ceph-volume add lvm/create to the index 17068/head
Alfredo Deza [Mon, 21 Aug 2017 20:02:15 +0000 (16:02 -0400)]
docs/ceph-volume add lvm/create to the index

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume add the lvm create reference
Alfredo Deza [Mon, 21 Aug 2017 15:43:26 +0000 (11:43 -0400)]
doc/ceph-volume add the lvm create reference

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoqa: add chown test clearing S_ISGID and S_ISUID 17053/head
Patrick Donnelly [Mon, 21 Aug 2017 20:14:40 +0000 (13:14 -0700)]
qa: add chown test clearing S_ISGID and S_ISUID

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agorpm: ceph-fuse requires fuse package 17120/head
Ken Dreyer [Mon, 21 Aug 2017 19:02:44 +0000 (13:02 -0600)]
rpm: ceph-fuse requires fuse package

The ceph-fuse(8) man page describes using the "fusermount" tool to mount
CephFS. This utility is in the "fuse" package. Prior to this change, the
ceph-fuse RPM only depends on "fuse-libs", not "fuse".

The Debian packaging has always depended on the full "fuse" (previously
"fuse-utils") package, so we should make the RPM packaging do the same.

Fixes: http://tracker.ceph.com/issues/21057
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
7 years agoosd: Initialization of cls 17115/head
amitkuma [Mon, 21 Aug 2017 17:44:24 +0000 (23:14 +0530)]
osd: Initialization of cls

Fixes the coverity issue:

** 1322812 Uninitialized pointer field
CID 1322812 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
2. uninit_member: Non-static class member cls is not initialized
in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar amitkuma@redhat.com
7 years agodebian: include ceph-volume-systemd CLI tool 17097/head
Alfredo Deza [Mon, 21 Aug 2017 17:02:33 +0000 (13:02 -0400)]
debian: include ceph-volume-systemd CLI tool

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #16807 from fangyuxiangGL/revert-8765
Yuri Weinstein [Mon, 21 Aug 2017 15:57:50 +0000 (08:57 -0700)]
Merge pull request #16807 from fangyuxiangGL/revert-8765

rgw: revert PR #8765

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #17024 from cbodley/wip-20906
Yuri Weinstein [Mon, 21 Aug 2017 15:56:30 +0000 (08:56 -0700)]
Merge pull request #17024 from cbodley/wip-20906

cls/log: cls_log_list always returns next marker

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>