]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoorganizationmap: Ashish Singh affiliation 17109/head
Ashish Singh [Mon, 21 Aug 2017 12:21:23 +0000 (17:51 +0530)]
organizationmap: Ashish Singh affiliation

Signed-off-by: Ashish Singh <assingh@redhat.com>
7 years agoMerge pull request #17086 from optimistyzy/818_write
Haomai Wang [Mon, 21 Aug 2017 01:49:57 +0000 (09:49 +0800)]
Merge pull request #17086 from optimistyzy/818_write

bluestore/NVMEDevice: fix the bug in write function

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #17104 from iliul/fix-duplicate-words
Kefu Chai [Sun, 20 Aug 2017 10:16:34 +0000 (18:16 +0800)]
Merge pull request #17104 from iliul/fix-duplicate-words

doc: delete duplicate words

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: delete duplicate words 17104/head
iliul [Sun, 20 Aug 2017 09:30:55 +0000 (17:30 +0800)]
doc: delete duplicate words

Signed-off-by: iliul <liul124@chinaunicom.cn>
7 years agoMerge pull request #17060 from cyx1231st/fix_reqid_assignment_in_oprequest
Kefu Chai [Sun, 20 Aug 2017 06:00:26 +0000 (14:00 +0800)]
Merge pull request #17060 from cyx1231st/fix_reqid_assignment_in_oprequest

osd: fix reqid assignment for reply messages in OpRequest

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16687 from Songweibin/wip-xml-format
Kefu Chai [Sun, 20 Aug 2017 05:59:22 +0000 (13:59 +0800)]
Merge pull request #16687 from Songweibin/wip-xml-format

common: adding line break at end of some cli results

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #15118 from squidboylan/fix_15872
Kefu Chai [Sun, 20 Aug 2017 02:16:43 +0000 (10:16 +0800)]
Merge pull request #15118 from squidboylan/fix_15872

debian: lock ceph user during purge

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17059 from tchaikov/wip-optional-lz4
Kefu Chai [Sun, 20 Aug 2017 01:53:24 +0000 (09:53 +0800)]
Merge pull request #17059 from tchaikov/wip-optional-lz4

compressor: conditionalize on HAVE_LZ4

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #17015 from lixiaoy1/lat_fix
Xie Xingguo [Sat, 19 Aug 2017 13:01:47 +0000 (21:01 +0800)]
Merge pull request #17015 from lixiaoy1/lat_fix

os/bluestore: Add lat record of deferred_queued and deferred_aio_wait

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #16955 from xiexingguo/wip-app-ls
Xie Xingguo [Sat, 19 Aug 2017 09:49:43 +0000 (17:49 +0800)]
Merge pull request #16955 from xiexingguo/wip-app-ls

mon/OSDMonitor: "osd pool application get" support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17064 from xiexingguo/wip-20970
Xie Xingguo [Sat, 19 Aug 2017 09:46:50 +0000 (17:46 +0800)]
Merge pull request #17064 from xiexingguo/wip-20970

mon/PGMap: reweight::by_utilization - skip DNE osds

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17067 from renhwztetecs/renhw-wip-mon-cleanup
Xie Xingguo [Sat, 19 Aug 2017 09:43:49 +0000 (17:43 +0800)]
Merge pull request #17067 from renhwztetecs/renhw-wip-mon-cleanup

mon: some cleanup

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
7 years agoMerge pull request #17052 from dzafman/wip-pidfile
David Zafman [Fri, 18 Aug 2017 22:44:41 +0000 (15:44 -0700)]
Merge pull request #17052 from dzafman/wip-pidfile

tests: Increase sleep in test_pidfile.sh

Reviewed-by: Loic Dachary <ldachary@redhat.com>
7 years agoMerge pull request #15691 from vshankar/mirror-ha-policy
Jason Dillaman [Fri, 18 Aug 2017 19:13:59 +0000 (15:13 -0400)]
Merge pull request #15691 from vshankar/mirror-ha-policy

rbd-mirror: introduce basic image mapping policy

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17076 from ceph/toc-sidebar-fix
Alfredo Deza [Fri, 18 Aug 2017 16:29:05 +0000 (12:29 -0400)]
Merge pull request #17076 from ceph/toc-sidebar-fix

doc/templates update toctree call to include hidden entries

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #17093 from dzafman/wip-runs-message
Alfredo Deza [Fri, 18 Aug 2017 16:08:17 +0000 (12:08 -0400)]
Merge pull request #17093 from dzafman/wip-runs-message

tests: run-standalone.sh improve error message

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc update template call for toctree 17076/head
Alfredo Deza [Fri, 18 Aug 2017 16:05:03 +0000 (12:05 -0400)]
doc update template call for toctree

Up until version 1.1.3 of Sphinx, this call would show hidden toctree
entries. Most of Ceph's toctree's are hidden, so when the version of
Sphinx was bumped to >1.6, the sidebar stopped showing entries

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #17026 from dzafman/wip-add-trap
Kefu Chai [Fri, 18 Aug 2017 15:02:04 +0000 (23:02 +0800)]
Merge pull request #17026 from dzafman/wip-add-trap

tests: qa/standalone: Add trap for signals to restore the kernel core pattern

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoos/bluestore: Add lat record of deferred_queued and deferred_aio_wait 17015/head
lisali [Fri, 18 Aug 2017 13:51:35 +0000 (09:51 -0400)]
os/bluestore: Add lat record of deferred_queued and deferred_aio_wait

Originally bluestore defines the two lat deferred_queued_lat and
deferred_aio_wait_lat, but doesn't use it.
This patch is to add the records that each TXC stays on deferred queue
deferred ios.

Signed-off-by: Xiaoyan Li xiaoyan.li@intel.com
7 years agorbd-mirror: load/update image map state machine 15691/head
Venky Shankar [Fri, 21 Jul 2017 05:15:06 +0000 (01:15 -0400)]
rbd-mirror: load/update image map state machine

Signed-off-by: Venky Shankar <vshankar@redhat.com>
7 years agorbd-mirror: track on-disk image to instance map
Venky Shankar [Mon, 31 Jul 2017 05:58:11 +0000 (01:58 -0400)]
rbd-mirror: track on-disk image to instance map

Signed-off-by: Venky Shankar <vshankar@redhat.com>
7 years agotests: run-standalone.sh improve error message 17093/head
David Zafman [Fri, 18 Aug 2017 10:49:42 +0000 (03:49 -0700)]
tests: run-standalone.sh improve error message

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoNVMEDevice: fix the write bug 17086/head
Ziye Yang [Fri, 18 Aug 2017 09:54:12 +0000 (17:54 +0800)]
NVMEDevice: fix the write bug

This patch can solve the write issue when we use spdk nvme driver
to handle I/Os from db bdev in the future.

Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
7 years agoMerge pull request #17070 from ktdreyer/rpm-macros-in-comments
Boris Ranto [Fri, 18 Aug 2017 09:33:45 +0000 (11:33 +0200)]
Merge pull request #17070 from ktdreyer/rpm-macros-in-comments

rpm: rm macros in comments

Reviewed-By: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
7 years agomon/PGMap: reweight::by_utilization - skip DNE osds 17064/head
xie xingguo [Thu, 17 Aug 2017 11:15:15 +0000 (19:15 +0800)]
mon/PGMap: reweight::by_utilization - skip DNE osds

EC could set one or more members of acting set to CRUSH_ITEM_NONE,
which as a result can cause pgs_by_osd.resize() attempt to apply
for a large amount of memory which we can not afford.

Fix the above problem by always excluding a current DNE osd from
acting set.

Fixes: http://tracker.ceph.com/issues/20970
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #17043 from renhwztetecs/renhw-wip-pgmap-pool
Kefu Chai [Fri, 18 Aug 2017 03:32:41 +0000 (11:32 +0800)]
Merge pull request #17043 from renhwztetecs/renhw-wip-pgmap-pool

mon/pgmap: update pool nearfull display

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17002 from mychoxin/yuanxin_adjust_blockdevice
Kefu Chai [Fri, 18 Aug 2017 03:22:14 +0000 (11:22 +0800)]
Merge pull request #17002 from mychoxin/yuanxin_adjust_blockdevice

os/bluestore: move aio_callback{,_priv} to base class BlockDevice

Reviewed-by: Pan Liu <liupan1111@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16940 from jcsp/wip-20955
Kefu Chai [Fri, 18 Aug 2017 03:14:37 +0000 (11:14 +0800)]
Merge pull request #16940 from jcsp/wip-20955

mgr: add missing call to pick_addresses

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16407 from dzafman/wip-20243
David Zafman [Fri, 18 Aug 2017 03:05:40 +0000 (20:05 -0700)]
Merge pull request #16407 from dzafman/wip-20243

osd: Improve size scrub error handling and ignore system attrs in xattr checking

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agocommon: add new line break when get command descriptions 16687/head
songweibin [Thu, 17 Aug 2017 03:44:43 +0000 (11:44 +0800)]
common: add new line break when get command descriptions

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agorbd: adding newline operation when only '--format' used
songweibin [Wed, 9 Aug 2017 06:26:32 +0000 (14:26 +0800)]
rbd: adding newline operation when only '--format' used

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoMerge pull request #17062 from trociny/wip-qa-rbd-mirror-data-pool
Jason Dillaman [Thu, 17 Aug 2017 22:24:37 +0000 (18:24 -0400)]
Merge pull request #17062 from trociny/wip-qa-rbd-mirror-data-pool

qa/workunits/rbd: test data pool is mirrored correctly

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16517 from gohighsec/master
Jason Dillaman [Thu, 17 Aug 2017 22:10:47 +0000 (18:10 -0400)]
Merge pull request #16517 from gohighsec/master

rbd: check if an image is already mapped before rbd map

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16591 from PCzhangPC/fix7
Jason Dillaman [Thu, 17 Aug 2017 22:08:44 +0000 (18:08 -0400)]
Merge pull request #16591 from PCzhangPC/fix7

rbd: introduce commands of "image-meta ls/rm"

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17073 from dillaman/wip-20567
Jason Dillaman [Thu, 17 Aug 2017 20:50:49 +0000 (16:50 -0400)]
Merge pull request #17073 from dillaman/wip-20567

rbd-mirror: Set the data pool correctly when creating images

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agodoc: Update mirroring docs to mention data-pool configuration 17073/head
Adam Wolfe Gordon [Thu, 17 Aug 2017 15:20:30 +0000 (09:20 -0600)]
doc: Update mirroring docs to mention data-pool configuration

Signed-off-by: Adam Wolfe Gordon <awg@digitalocean.com>
(cherry picked from commit 1e001c19e98ac1cd2428dd66f047ea4d6b2b01b1)

7 years agorbd-mirror: Set the data pool correctly when creating images
Adam Wolfe Gordon [Thu, 10 Aug 2017 19:31:38 +0000 (15:31 -0400)]
rbd-mirror: Set the data pool correctly when creating images

Previously the data-pool option was ignored by rbd-mirror, so when using
erasure coding data for the image on the secondary site would end up in
the metadata pool.

Configure the data-pool using the data-pool's name from the primary site
when creating images on the secondary site.

Fixes: http://tracker.ceph.com/issues/20567
Signed-off-by: Adam Wolfe Gordon <awg@digitalocean.com>
(cherry picked from commit dffaac83d19de544e279a530393b3998f1e1fbb4)

7 years agoMerge pull request #17069 from yuriw/wip_add_luminous
David Galloway [Thu, 17 Aug 2017 19:27:19 +0000 (15:27 -0400)]
Merge pull request #17069 from yuriw/wip_add_luminous

Decreased amount of jobs on master, kraken, luminous runs

7 years agoMerge pull request #17040 from mdw-at-linuxbox/rgw-master-fix-plus
Matt Benjamin [Thu, 17 Aug 2017 18:54:51 +0000 (14:54 -0400)]
Merge pull request #17040 from mdw-at-linuxbox/rgw-master-fix-plus

Rgw master fix plus

7 years agorpm: rm macros in comments 17070/head
Ken Dreyer [Thu, 17 Aug 2017 15:19:38 +0000 (09:19 -0600)]
rpm: rm macros in comments

rpm expands all macros in a .spec file, even those in comments. Drop the
percent signs so rpm will not expand these.

This change silences rpmlint's warning about macros in comments.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
7 years agoMerge pull request #17066 from amitkumar50/cov-os-1
Gregory Farnum [Thu, 17 Aug 2017 17:21:15 +0000 (10:21 -0700)]
Merge pull request #17066 from amitkumar50/cov-os-1

os: Initializing uninitialized members aio_info

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoos: Initializing uninitialized members aio_info 17066/head
amitkuma [Thu, 17 Aug 2017 17:00:22 +0000 (22:30 +0530)]
os: Initializing uninitialized members aio_info

Fixes the coverity issue:

** 717332 Uninitialized pointer field
2. uninit_member: Non-static class member field iocb.data is not
initialized in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member field iocb.key is not
initialized in this constructor nor in any functions that it calls.
6. uninit_member: Non-static class member field iocb.__pad2 is not
initialized in this constructor nor in any functions that it calls.
8. uninit_member: Non-static class member field iocb.aio_lio_opcode
is not initialized in this constructor nor in any functions that it calls.
10. uninit_member: Non-static class member field iocb.aio_reqprio
is not initialized in this constructor nor in any functions that it calls.

CID 717332 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
12. uninit_member: Non-static class member field iocb.aio_fildes is not
initialized in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar amitkuma@redhat.com
7 years agoosd/OpRequest: fix reqid assignment for reply messages 17060/head
Yingxin [Thu, 17 Aug 2017 14:41:40 +0000 (10:41 -0400)]
osd/OpRequest: fix reqid assignment for reply messages

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
7 years agoDecreased amount of jobs on master, kraken, luminous runs 17069/head 17074/head
Yuri Weinstein [Thu, 17 Aug 2017 15:36:37 +0000 (08:36 -0700)]
Decreased amount of jobs on master, kraken, luminous runs

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #16896 from amitkumar50/cov-librado-2
Yuri Weinstein [Thu, 17 Aug 2017 14:42:10 +0000 (07:42 -0700)]
Merge pull request #16896 from amitkumar50/cov-librado-2

rados: Initializing members of librados/TestCase.h

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16939 from trociny/wip-nonlinux-fsx
Jason Dillaman [Thu, 17 Aug 2017 14:32:01 +0000 (10:32 -0400)]
Merge pull request #16939 from trociny/wip-nonlinux-fsx

test/librbd: make fsx build on non-linux platform

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17027 from joscollin/wip-cleanup-Wsign-compare
Xie Xingguo [Thu, 17 Aug 2017 11:53:02 +0000 (19:53 +0800)]
Merge pull request #17027 from joscollin/wip-cleanup-Wsign-compare

test/osd: silence warnings from -Wsign-compare

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoqa/workunits/rbd: test data pool is mirrored correctly 17062/head
Mykola Golub [Thu, 17 Aug 2017 07:58:18 +0000 (09:58 +0200)]
qa/workunits/rbd: test data pool is mirrored correctly

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
7 years agocmake: require lz4 v1.7 for building lz4 compressor 17059/head
Kefu Chai [Thu, 17 Aug 2017 08:01:55 +0000 (16:01 +0800)]
cmake: require lz4 v1.7 for building lz4 compressor

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocompressor: conditionalize on HAVE_LZ4
Kefu Chai [Thu, 17 Aug 2017 07:12:22 +0000 (15:12 +0800)]
compressor: conditionalize on HAVE_LZ4

do not enable lz4 compressor plugin unless HAVE_LZ4 is ON. so, for
example, when the compressor type is "random", the compressor factory
won't complain with:

load failed dlopen(): "/usr/lib64/ceph/compressor/libceph_lz4.so: cannot
open shared object file: No such file or directory"

anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #16891 into master
Patrick Donnelly [Wed, 16 Aug 2017 21:42:09 +0000 (14:42 -0700)]
Merge PR #16891 into master

* refs/remotes/upstream/pull/16891/head:
mds/MDSDaemon: add 'is_valid=false' when failed to parse caps

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #17022 from ceph/wip-doc-sans-gitbuilder
Gregory Farnum [Wed, 16 Aug 2017 17:09:53 +0000 (10:09 -0700)]
Merge pull request #17022 from ceph/wip-doc-sans-gitbuilder

Update docs to remove gitbuilder and add shaman references

Reviewed-By: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agotests: Increase sleep in test_pidfile.sh 17052/head
David Zafman [Wed, 16 Aug 2017 16:41:01 +0000 (09:41 -0700)]
tests: Increase sleep in test_pidfile.sh

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agodoc/rados/configuration comment out '...' on ini blocks 17022/head
Alfredo Deza [Wed, 16 Aug 2017 15:08:59 +0000 (11:08 -0400)]
doc/rados/configuration comment out '...' on ini blocks

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados/api comment out '...' on ini blocks
Alfredo Deza [Wed, 16 Aug 2017 15:06:49 +0000 (11:06 -0400)]
doc/rados/api comment out '...' on ini blocks

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/install describe shaman urls and how to retrieve list and repo files
Alfredo Deza [Mon, 14 Aug 2017 16:27:21 +0000 (12:27 -0400)]
doc/install describe shaman urls and how to retrieve list and repo files

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/install update international for non-US
Alfredo Deza [Mon, 14 Aug 2017 14:19:57 +0000 (10:19 -0400)]
doc/install update international for non-US

Use of "international" is ambiguous, for non-US users, international
could mean US.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/install remove repetitive dev release information for rpm distros
Alfredo Deza [Mon, 14 Aug 2017 14:15:14 +0000 (10:15 -0400)]
doc/install remove repetitive dev release information for rpm distros

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/install remove mention of autobuild key for dev packages
Alfredo Deza [Mon, 14 Aug 2017 14:09:13 +0000 (10:09 -0400)]
doc/install remove mention of autobuild key for dev packages

Dev packages are no longer signed, and the key is not used at all

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/install remove Apache and FastCGI instructions for RGW
Alfredo Deza [Mon, 14 Aug 2017 14:06:54 +0000 (10:06 -0400)]
doc/install remove Apache and FastCGI instructions for RGW

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc: update repo-access to point to ceph-ci.git
Alfredo Deza [Mon, 14 Aug 2017 13:55:52 +0000 (09:55 -0400)]
doc: update repo-access to point to ceph-ci.git

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #17025 from ceph/wip-doc-warnings
Alfredo Deza [Wed, 16 Aug 2017 12:52:43 +0000 (08:52 -0400)]
Merge pull request #17025 from ceph/wip-doc-warnings

fix sphinx build warnings and errors

Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agodoc: fix short underline on release-notes 17025/head
Alfredo Deza [Wed, 16 Aug 2017 12:38:49 +0000 (08:38 -0400)]
doc: fix short underline on release-notes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #15597 from ceph/wip-19200
Kefu Chai [Wed, 16 Aug 2017 12:31:07 +0000 (20:31 +0800)]
Merge pull request #15597 from ceph/wip-19200

selinux: Allow nvme devices

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc exclude man_index when not building man pages
Alfredo Deza [Tue, 15 Aug 2017 18:42:52 +0000 (14:42 -0400)]
doc exclude man_index when not building man pages

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc: create an index/toctree only for man pages
Alfredo Deza [Tue, 15 Aug 2017 18:13:13 +0000 (14:13 -0400)]
doc: create an index/toctree only for man pages

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc: exclude mgr from man pages, define a man index.rst
Alfredo Deza [Tue, 15 Aug 2017 18:11:06 +0000 (14:11 -0400)]
doc: exclude mgr from man pages, define a man index.rst

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/release-notes use new ref label for erasure code profiles
Alfredo Deza [Tue, 15 Aug 2017 15:51:49 +0000 (11:51 -0400)]
doc/release-notes use new ref label for erasure code profiles

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados/operations use new ref labels in health-checks
Alfredo Deza [Tue, 15 Aug 2017 15:51:25 +0000 (11:51 -0400)]
doc/rados/operations use new ref labels in health-checks

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados/operations add a ref label to erasure code profiles
Alfredo Deza [Tue, 15 Aug 2017 15:51:08 +0000 (11:51 -0400)]
doc/rados/operations add a ref label to erasure code profiles

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados/operations add a ref label to pool application
Alfredo Deza [Tue, 15 Aug 2017 15:50:46 +0000 (11:50 -0400)]
doc/rados/operations add a ref label to pool application

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados/operations use new ref label in health-checks
Alfredo Deza [Tue, 15 Aug 2017 15:17:14 +0000 (11:17 -0400)]
doc/rados/operations use new ref label in health-checks

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados/operations add ref label for placement group number
Alfredo Deza [Tue, 15 Aug 2017 15:16:56 +0000 (11:16 -0400)]
doc/rados/operations add ref label for placement group number

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados/api/python document required_state manually
Alfredo Deza [Tue, 15 Aug 2017 14:59:53 +0000 (10:59 -0400)]
doc/rados/api/python document required_state manually

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoadmin: bump sphinx to 1.6
Alfredo Deza [Tue, 15 Aug 2017 13:12:27 +0000 (09:12 -0400)]
admin: bump sphinx to 1.6

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados/operations use the new ref label for crush map tunables
Alfredo Deza [Tue, 15 Aug 2017 12:43:00 +0000 (08:43 -0400)]
doc/rados/operations use the new ref label for crush map tunables

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados/operations add label for crush map tunables for ref linking
Alfredo Deza [Tue, 15 Aug 2017 12:42:10 +0000 (08:42 -0400)]
doc/rados/operations add label for crush map tunables for ref linking

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/cephfs add label to health messages for use in refs linking
Alfredo Deza [Tue, 15 Aug 2017 12:41:33 +0000 (08:41 -0400)]
doc/cephfs add label to health messages for use in refs linking

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoadmin: do not allow errors or warnings from doc build
Alfredo Deza [Tue, 15 Aug 2017 11:48:51 +0000 (07:48 -0400)]
admin: do not allow errors or warnings from doc build

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados/operations include pg-repair document in the toctree
Alfredo Deza [Tue, 15 Aug 2017 11:38:59 +0000 (07:38 -0400)]
doc/rados/operations include pg-repair document in the toctree

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agopybind fix rbd trash_move docstring, needed a newline
Alfredo Deza [Mon, 14 Aug 2017 23:19:41 +0000 (19:19 -0400)]
pybind fix rbd trash_move docstring, needed a newline

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agopybind: fix invalid doctring in Rados.require_state
Alfredo Deza [Mon, 14 Aug 2017 23:07:18 +0000 (19:07 -0400)]
pybind: fix invalid doctring in Rados.require_state

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados/operations add missing link for crush pdf
Alfredo Deza [Mon, 14 Aug 2017 22:58:57 +0000 (18:58 -0400)]
doc/rados/operations add missing link for crush pdf

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados/operations add newline after definition
Alfredo Deza [Mon, 14 Aug 2017 22:57:06 +0000 (18:57 -0400)]
doc/rados/operations add newline after definition

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/radosgw add newline after field list
Alfredo Deza [Mon, 14 Aug 2017 22:54:07 +0000 (18:54 -0400)]
doc/radosgw add newline after field list

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/radosgw fix missing newline on definition
Alfredo Deza [Mon, 14 Aug 2017 22:51:58 +0000 (18:51 -0400)]
doc/radosgw fix missing newline on definition

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados/api remove '*' in automethod call
Alfredo Deza [Mon, 14 Aug 2017 22:45:50 +0000 (18:45 -0400)]
doc/rados/api remove '*' in automethod call

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/logging fix unexpected indent in paragraph
Alfredo Deza [Mon, 14 Aug 2017 22:39:39 +0000 (18:39 -0400)]
doc/logging fix unexpected indent in paragraph

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc: bump the max depth of the toctree, so that it can find nested indexes
Alfredo Deza [Mon, 14 Aug 2017 22:27:43 +0000 (18:27 -0400)]
doc: bump the max depth of the toctree, so that it can find nested indexes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc escape and remove invalid chars in release notes, causing sphinx errors
Alfredo Deza [Mon, 14 Aug 2017 21:38:08 +0000 (17:38 -0400)]
doc escape and remove invalid chars in release notes, causing sphinx errors

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados use func reference for rados_set_alloc_hint linking
Alfredo Deza [Mon, 14 Aug 2017 20:37:07 +0000 (16:37 -0400)]
doc/rados use func reference for  rados_set_alloc_hint linking

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #16967 from liewegas/wip-upgrade-health
Kefu Chai [Wed, 16 Aug 2017 11:44:36 +0000 (19:44 +0800)]
Merge pull request #16967 from liewegas/wip-upgrade-health

mon: fix legacy health checks in 'ceph status' during upgrade; fix jewel-x upgrade combo

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomon/pgmap: add objects prefix for unfound type 17067/head
huanwen ren [Wed, 16 Aug 2017 08:21:20 +0000 (16:21 +0800)]
mon/pgmap: add objects prefix for unfound type

the objects prefix display indicates the scope of the "unfound",
like objects "misplaced" err.

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
7 years agomon/pgmap: update pool nearfull display 17043/head
huanwen ren [Wed, 16 Aug 2017 07:38:34 +0000 (15:38 +0800)]
mon/pgmap: update pool nearfull display

if "pool full" and "pool nearfull" show the same,
we will not be able to distinguish between these two scenes in health check.

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
7 years agoradosgw: fix small sized chunked uploads with s3 17040/head
Marcus Watts [Wed, 16 Aug 2017 01:57:06 +0000 (21:57 -0400)]
radosgw: fix small sized chunked uploads with s3

The logic to compute the number of bytes to copy with a chunked file
upload was failing to take into account the amount of data that had been
consumed, but was still pending in the parse buffer.  This would cause
strange behavior ranging from "just works" to "fails".  There was also a
strange "works, one byte at a time" mode.  Using the correct stream_pos
offset eliminates the bad behavior.

This fix also adds debug statements to make the correct behavior easier to see.

Fixes: http://tracker.ceph.com/issues/21003
Signed-off-by: Marcus Watts <mwatts@redhat.com>
7 years agomon/OSDMonitor: "osd pool application ls" support 16955/head
xie xingguo [Wed, 9 Aug 2017 13:24:49 +0000 (21:24 +0800)]
mon/OSDMonitor: "osd pool application ls" support

It would be a pain if we have to call 'ceph osd dump --format=json-pretty'
to find out these each time...

Demo output:
(1) ceph osd pool application get
{
    "cephfs_data_b": {
        "cephfs": {}
    },
    "cephfs_metadata_a": {
        "cephfs": {}
    },
    "test_pool": {
        "rbd": {
            "test": "me"
        }
    }
}

(2) ceph osd pool application get test_pool
{
    "rbd": {
        "test": "me"
    }
}

(3) ceph osd pool application get test_pool rbd
{
    "test": "me"
}

(4) ceph osd pool application get test_pool rbd test
me

Fixes: http://tracker.ceph.com/issues/20976
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #17012 from joscollin/wip-rgw-todo-warning
Gregory Farnum [Tue, 15 Aug 2017 22:03:09 +0000 (15:03 -0700)]
Merge pull request #17012 from joscollin/wip-rgw-todo-warning

rgw: Drop #warning TODO

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #17037 from theanalyst/release-notes-12-1-4
Abhishek L [Tue, 15 Aug 2017 21:01:03 +0000 (23:01 +0200)]
Merge pull request #17037 from theanalyst/release-notes-12-1-4

doc: release notes for v12.1.4 Luminous

Reviewed-By: Gregory Farnum <gfarnum@redhat.com>
Reviewed-By: Ken Dreyer <ktdreyer@redhat.com>
7 years agodoc: release notes for v12.1.4 Luminous 17037/head
Abhishek Lekshmanan [Tue, 15 Aug 2017 15:12:09 +0000 (17:12 +0200)]
doc: release notes for v12.1.4 Luminous

Adding the bits of changelog that went in post 12.1.3, one of the PRs
was directly cherry-picked onto Luminous and hence does not have a PR
reference.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge pull request #16808 from liupan1111/wip-add-report
Pan Liu [Tue, 15 Aug 2017 14:02:04 +0000 (22:02 +0800)]
Merge pull request #16808 from liupan1111/wip-add-report

test/fio: generate db histogram to help debug rocksdb performance