Xie Xingguo
df978b0172
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>
2017-08-22 18:50:31 +08:00
Luo Kexue
2ca6a3bc49
osd: Drop the unused code in OSD::_collect_metadata
...
Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
2017-08-22 14:25:30 +08:00
xie xingguo
1ea448ac75
common/types: make numbers a bit nicer when displaying space usage
...
Was:
----------------------------------------------------------------------------
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
----------------------------------------------------------------------------
Now:
----------------------------------------------------------------------------
GLOBAL:
SIZE AVAIL RAW USED %RAW USED
30.2G 26.4G 3.77G 12.50
POOLS:
NAME ID USED %USED MAX AVAIL OBJECTS
rbd 0 99.2M 1.10 8.70G 1180
cephfs_data_a 1 0 0 8.70G 0
cephfs_metadata_a 2 892 0 8.70G 21
----------------------------------------------------------------------------
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-22 12:33:10 +08:00
Kefu Chai
335205bafa
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>
2017-08-22 11:24:13 +08:00
Kefu Chai
c6056be36a
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>
2017-08-22 11:11:17 +08:00
Xie Xingguo
f3d01c1a59
Merge pull request #17115 from amitkumar50/cov-osd-1
...
osd: Initialization of pointer cls
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-22 08:19:49 +08:00
David Zafman
367c32c69a
osd: Fixes for osd_scrub_during_recovery handling
...
Fixes: http://tracker.ceph.com/issues/18206
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-08-21 17:08:14 -07:00
David Zafman
9f3d970a0d
tests: osd-scrub-snaps.sh minor cleanup
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-08-21 17:08:14 -07:00
Patrick Donnelly
ce1995fc63
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>
2017-08-21 14:32:31 -07:00
Patrick Donnelly
ad9a299e14
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>
2017-08-21 14:00:24 -07:00
Alfredo Deza
60eb0e58d9
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>
2017-08-21 16:52:10 -04:00
Andrew Schoen
05d6dfd408
Merge pull request #17068 from ceph/ceph-volume-docs
...
ceph-volume docs
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-08-21 15:43:37 -05:00
Zac Medico
ae64179a63
PGPool::update: optimize with interval_set.swap
...
Use constant complexity swap instead of linear complexity
assignment.
Signed-off-by: Zac Medico <zmedico@gmail.com>
2017-08-21 13:38:06 -07:00
Alfredo Deza
b5cf2f7802
docs/ceph-volume add lvm/create to the index
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 16:26:24 -04:00
Alfredo Deza
9613210577
doc/ceph-volume add the lvm create reference
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 16:26:24 -04:00
Patrick Donnelly
7fd94abd0a
qa: add chown test clearing S_ISGID and S_ISUID
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-21 13:26:02 -07:00
Ken Dreyer
6fba9cc3f9
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>
2017-08-21 13:03:38 -06:00
amitkuma
6ded3f9e9d
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
2017-08-21 23:14:24 +05:30
Alfredo Deza
05493ebaab
debian: include ceph-volume-systemd CLI tool
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 13:02:33 -04:00
Yuri Weinstein
bd27b2e76a
Merge pull request #16807 from fangyuxiangGL/revert-8765
...
rgw: revert PR #8765
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-08-21 08:57:50 -07:00
Yuri Weinstein
9d781cc8b1
Merge pull request #17024 from cbodley/wip-20906
...
cls/log: cls_log_list always returns next marker
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-08-21 08:56:30 -07:00
Yuri Weinstein
90e8071106
Merge pull request #17048 from theanalyst/rgw-fix-get-obj-tag-attr
...
rgw: rgw_op: exit early if object has no attrs in GetObjectTagging
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-08-21 08:54:56 -07:00
Yuri Weinstein
b848dd3ac8
Merge pull request #17050 from theanalyst/rgw-iam-get-bucket-acl
...
rgw: evaluate the correct bucket action for GetACL bucket operation
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2017-08-21 08:53:25 -07:00
Alfredo Deza
9ca04aa852
doc ignore ceph-volume when building man pages
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:54 -04:00
Alfredo Deza
7d0c3e3eb4
doc: add LVM tag term to the glossary
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:54 -04:00
Alfredo Deza
87f7ff4783
doc/dev include ceph-volume devel docs
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:54 -04:00
Alfredo Deza
8f654a0daa
docs: include ceph-volume's index file in the main toctree
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:54 -04:00
Alfredo Deza
bb85f28e1c
ceph-volume update the systemd docstring to use the new API
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:54 -04:00
Alfredo Deza
302d79d772
doc/glossary add terminology used by ceph-volume
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:53 -04:00
Alfredo Deza
b8811fc06d
doc/ceph-volume create the systemd lvm reference
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:53 -04:00
Alfredo Deza
68573d0be9
doc/ceph-volume create the intro to ceph-volume
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:53 -04:00
Alfredo Deza
9ec5eaf875
doc/ceph-volume create the main index
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:53 -04:00
Alfredo Deza
02de67eda7
doc/ceph-volume add the lvm scan reference
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:53 -04:00
Alfredo Deza
f8660990dc
doc/ceph-volume create the lvm prepare reference
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:53 -04:00
David Zafman
9069f663f7
Merge pull request #17098 from dzafman/wip-runs-core
...
tests: run-standalone.sh skip core_pattern if already set
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-08-21 08:21:13 -07:00
Alfredo Deza
fd09deddcc
doc/ceph-volume create the lvm activate reference
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:08:08 -04:00
Alfredo Deza
0071e1108b
doc/install use the new mgr-administrator-guide label
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:08:08 -04:00
Alfredo Deza
309c73e8b0
doc/mgr add a label for the administrator guide
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:08:08 -04:00
Alfredo Deza
801725b924
doc/dev/ceph-volume add a toctree for the dev docs
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:08:08 -04:00
Alfredo Deza
ba811d2d90
doc/dev/ceph-volume add systemd reference
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:08:08 -04:00
Alfredo Deza
e0b7bd8f82
doc/dev/ceph-volume add plugin interface
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:08:07 -04:00
Alfredo Deza
b6d3983177
doc/dev/ceph-volume add the internal lvm api
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:08:07 -04:00
Kefu Chai
1cb188db01
Merge pull request #17044 from baruza/wip-doc-21007
...
doc: Improve the ceph fs set max_mds command
Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-21 22:53:46 +08:00
Barbora Ančincová
2e46cc706e
doc: Improve the ceph fs set max_mds command
...
Fixes: http://tracker.ceph.com/issues/21007
Signed-off-by: Bara Ancincova <bara@redhat.com>
2017-08-21 16:37:40 +02:00
Aleksei Gutikov
634215eea1
rgw: Prevent overflow of stats cached values
...
Fixes: http://tracker.ceph.com/issues/20934
Signed-off-by: Aleksei Gutikov <aleksey.gutikov@synesis.ru>
2017-08-21 17:16:20 +03:00
Pan Liu
6b9a64165e
Merge pull request #17112 from optimistyzy/821_spdk
...
NVMDevice: fix issued caused by #17002
2017-08-21 20:30:32 +08:00
Alfredo Deza
072d8cad8c
Merge pull request #17107 from Songweibin/wip-spell
...
misc fix spell errors in osd/OSD and doc
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 07:38:24 -04:00
Abhishek L
5f6b92593f
Merge pull request #17105 from iliul/add-mailmap-affiliation
...
.mailmap, .organizationmap: Add Liu Lei's mailmap and affiliation
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-By: Jos Collin <jcollin@redhat.com>
2017-08-21 12:54:54 +02:00
Jos Collin
e86ea5ae25
Merge pull request #17109 from ashishkumsingh/add-mailmap-affiliation
...
organizationmap: Add Ashish Singh affiliation
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-21 10:42:24 +00:00
Ashish Singh
eaac2d5918
organizationmap: Ashish Singh affiliation
...
Signed-off-by: Ashish Singh <assingh@redhat.com>
2017-08-21 18:17:09 +05:30