Yuri Weinstein
294dec300c
Merge pull request #17079 from joscollin/wip-use-after-free
...
msg: drop the unnecessary polling_stop()
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-08-22 13:17:48 -07:00
Casey Bodley
5e67c681f7
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>
2017-08-22 15:02:15 -04:00
Casey Bodley
568c3f3a23
qa/rgw: enable 'rgw' application on created pools
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-08-22 14:37:02 -04:00
Casey Bodley
7c865effd8
qa: add optional 'application' to pool creation helpers
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-08-22 14:37:02 -04:00
Yuri Weinstein
c5ee282dcb
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>
2017-08-22 10:04:23 -07:00
Yuri Weinstein
fb90cbbd95
Merge pull request #17116 from Synesis-LLC/fix-20934
...
rgw: Prevent overflow of cached stats values
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-08-22 09:56:34 -07:00
Alfredo Deza
e62a28ccd5
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>
2017-08-22 11:49:13 -04:00
Alfredo Deza
3ffae03df6
rpm: include ceph-volume and ceph-volume-systemd man pages
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 11:22:52 -04:00
Alfredo Deza
a20015636c
debian: include ceph-volume and ceph-volume-systemd man pages
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 11:20:47 -04:00
Ken Dreyer
3abc975985
doc: eliminate useless cat statement
...
Useless Use of Cat Award!
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2017-08-22 09:15:31 -06:00
Kefu Chai
85b63670d9
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>
2017-08-22 22:50:24 +08:00
xie xingguo
507f970b56
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>
2017-08-22 22:45:49 +08:00
xie xingguo
d62c9f16cb
crush: fix bucket_adjust_item_weight() won't update weight-set correctly
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-22 22:45:49 +08:00
xie xingguo
dc8f925cb4
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>
2017-08-22 22:45:48 +08:00
Alfredo Deza
1e2d9f1438
doc index the ceph-volume and ceph-volume-systemd man pages
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 10:36:33 -04:00
Alfredo Deza
2e08bee8ca
doc/man create the ceph-volume man page
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 10:35:45 -04:00
Alfredo Deza
7c714e397d
doc/man create the ceph-volume-systemd man page
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 10:35:33 -04:00
xie xingguo
0c8ca02727
crush: update crush_choose_arg_map size on resizing
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-22 22:14:28 +08:00
xie xingguo
0e1d37f6f3
crush: fix bucket_remove_item() won't update weight-set simultaneously
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-22 22:14:27 +08:00
xie xingguo
475bddab51
crush: fix bucket_add_item() won't update weight-set simultaneously
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-22 22:14:27 +08:00
xie xingguo
859b066adf
crush: fix bucket index to weight-set
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-22 22:14:27 +08:00
Zhu Shangzhong
6b75f2d840
doc/cephfs: s/rados_max_object_size/osd_max_object_size
...
Signed-off-by: Zhu Shangzhong <zhu.shangzhong@zte.com.cn>
2017-08-22 21:51:28 +08:00
Zhu Shangzhong
8c2f4de1ac
common: add line break for "ceph daemon TYPE.ID version"
...
Signed-off-by: Zhu Shangzhong <zhu.shangzhong@zte.com.cn>
2017-08-22 21:20:49 +08:00
songweibin
77e735bb00
osd/PG: drop unused variable "oldest_update"
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-08-22 20:32:15 +08:00
Alfredo Deza
9aa44969c6
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>
2017-08-22 07:07:21 -04:00
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