Kefu Chai
6a9e622cf9
Merge pull request #19199 from tchaikov/wip-22136
...
qa/ceph-disk: enlarge the simulated SCSI disk
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-11-28 23:46:49 +08:00
Jason Dillaman
2241b9da12
Merge pull request #19163 from vshankar/rbd-image-map-mem-leak
...
rbd-mirror: ImageMap memory leak fixes
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-11-28 09:03:12 -05:00
Jos Collin
6863b4914e
Merge pull request #19172 from joscollin/wip-mount-fuse-ceph-doc
...
doc: doc for mount.fuse.ceph
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2017-11-28 16:38:13 +05:30
Jos Collin
6c39818eaf
doc: doc for mount.fuse.ceph
...
Created doc for mount.fuse.ceph.
Fixes: http://tracker.ceph.com/issues/21539
Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-11-28 15:56:09 +05:30
Kefu Chai
b3c159e9fb
qa/ceph-disk: enlarge the simulated SCSI disk
...
100MB will be allocated for journal, and the remaining 100MB is for data
device. taking the inode into consideration, there will be approximately
87988 kB available for the activated OSD. and it will complain with a
"nearfull" state.
Fixes: http://tracker.ceph.com/issues/22136
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-28 14:55:33 +08:00
Kefu Chai
c78deac400
ceph-disk: should throw if fail to read key-management-mode
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-28 14:55:33 +08:00
Kefu Chai
3e8c6f8d03
ceph-disk: fix the logging messages
...
logging.Logger.warn(format, *args). so no need to prepar a string
for it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-28 14:55:33 +08:00
Kefu Chai
1113ac255a
ceph-disk: path_set_context() after rename()
...
it does not matter if we chown/restorecon before or after the rename,
but the logging message looks better this way: instead of fixing the
.tmp files, we are updating the attributes of the dest files w/o
.${pid}.tmp extension.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-28 14:55:33 +08:00
Kefu Chai
aa34321a4a
qa/workunits/ceph-disk: do not redirect stderr to stdout
...
normally, if we care about the output of ceph-disk, we expect a json
string, and ceph-disk sends the output to stdout, and errors/warnings
to stderr. so everything works as expected. and the test should also
follow this tradition. for example, if deprecated warnings are printed,
the warning message should not be collected along with the json string.
see also: d44334f3
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-28 14:55:19 +08:00
Matt Benjamin
4b64756166
Merge pull request #19182 from cbodley/wip-beast-v124
...
submodule: update Beast to ceph/ceph-master branch
2017-11-27 14:27:34 -05:00
Casey Bodley
efe9076595
submodule: update Beast to ceph/ceph-master branch
...
pulls beast submodule up from v116 tag to v124, with an additional bug
fix for async_read_some()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-11-27 14:17:21 -05:00
Yuri Weinstein
54e51fd3c3
Merge pull request #19175 from liewegas/wip-rest-test
...
qa/suites/rados/rest: move rest_test from qa/suites/rest/
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2017-11-27 09:20:44 -08:00
Sage Weil
ddb274669c
qa/suites/rados/rest: move rest_test from qa/suites/rest/
...
...and add more health whitelists.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-11-27 10:11:51 -06:00
Casey Bodley
41c12b446b
Merge pull request #19109 from mikulely/main-cleanup
...
rgw: drop useless includes in rgw_{main.cc, common.h}
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-11-27 09:16:48 -05:00
Casey Bodley
33dbceb366
Merge pull request #18935 from cfanz/cfanz-version-id-wip
...
rgw:send x-amz-version-id header when upload files
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-11-27 09:12:34 -05:00
Casey Bodley
92ca3f52b2
Merge pull request #18981 from yaozongyou/fix-rgw-bi-decode-bug
...
cls/rgw: mtime in rgw_bucket_dir_entry_meta not really decoded
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-11-27 09:09:31 -05:00
Casey Bodley
5ae73cda7d
Merge pull request #18978 from yaozongyou/wip-radosgw-admin-add-check
...
rgw-admin: check the data extra pool supports omap
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-11-27 09:08:59 -05:00
Casey Bodley
437b8ed55e
Merge pull request #18962 from ZVampirEM77/wip-em-readlen
...
rgw: check read_op.read return value in RGWRados::copy_obj_data
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-11-27 09:08:23 -05:00
Jason Dillaman
3ae101edb5
Merge pull request #19130 from trociny/wip-mirror-enable-cleanup
...
librbd: update mirror::EnableRequest diagram according to code
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-11-27 09:06:19 -05:00
Jos Collin
f381ed57e3
Merge pull request #19128 from joscollin/wip-mountfuseceph-typo
...
mount.fuse.ceph: Fix typo
Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-11-27 17:28:21 +05:30
Jos Collin
3865b4872d
Merge pull request #19169 from wwba/fix-ceph-bluestore-tool-man-page
...
doc: drop duplicate line in ceph-bluestore-tool man page
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-11-27 15:06:10 +05:30
Xiaojun Liao
2b0afa7762
doc: remove duplicate line from ceph-authtool man page
...
Signed-off-by: Xiaojun Liao <xiaojunliao85@gmail.com>
2017-11-27 15:49:27 +08:00
Venky Shankar
156359c9d0
rbd-mirror: ImageMap memory leak fixes
...
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2017-11-27 00:24:36 -05:00
Xie Xingguo
993b5f304e
Merge pull request #19154 from Fusl/master
...
doc: correcting typos in bluestore-config-ref and bluestore-migration
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-11-27 08:21:56 +08:00
Katie Holly
40e20986cd
doc: correcting typos in bluestore-config-ref and bluestore-migration
...
Signed-off-by: Katie Holly <git@meo.ws>
2017-11-26 17:47:35 +01:00
Kefu Chai
342d1bccac
Merge pull request #18961 from tchaikov/wip-rgw-print-iam-policy
...
rgw: iam policy printing cleanups
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2017-11-26 17:53:18 +08:00
Kefu Chai
e984538c42
Merge pull request #19124 from tchaikov/wip-make-dist-boost
...
make-dist,cmake: avoid re-downloading boost
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2017-11-25 08:19:57 +08:00
Kefu Chai
54b528b802
Merge pull request #19081 from smithfarm/wip-ceph-volume-spec
...
build/ops: rpm: fix systemd macros for ceph-volume@.service
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2017-11-24 23:49:56 +08:00
Kefu Chai
a769b82a00
Merge pull request #19097 from tchaikov/wip-osd-prefix-inc
...
osd: use prefix increment for non trivial iterator
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2017-11-24 23:48:52 +08:00
Kefu Chai
60e8cd615e
Merge pull request #19094 from tchaikov/wip-coverity-cid-1395794
...
msg/simple: pass a char for reading from shutdown_rd_fd
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-11-24 23:48:14 +08:00
Nathan Cutler
267a14528a
Merge pull request #18997 from tchaikov/wip-rpm-cunit-for-suse
...
rpm: build-depends on "cunit-devel" for suse
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2017-11-24 15:08:13 +01:00
Mykola Golub
40db77de9c
librbd: update mirror::EnableRequest diagram according to code
...
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-24 15:56:54 +02:00
Jos Collin
33cd831c91
mount.fuse.ceph: Fix typo
...
Fixed typos in the help of mount.fuse.ceph.
Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-11-24 18:03:25 +05:30
Kefu Chai
65f91227a6
make-dist: exclude unused bits in boost
...
the docs, examples and tests are not used. so drop them. we could go
further by removing unused components in boost. but that'd be an issue
if somebody added a component in CMakeLists but forgets to update this
script. also, we need to remove boost/$component and lib/$component to
achieve this goal. this also introduces extra complicity. so leave it
for another change.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-24 19:16:07 +08:00
Xie Xingguo
23f69ac155
Merge pull request #19127 from tchaikov/wip-mon-better-logging
...
mon/OSDMonitor: add space after __func__ in log msg
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-11-24 17:52:34 +08:00
Kefu Chai
d634a5d10d
mon/OSDMonitor: add space after __func__ in log msg
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-24 16:57:56 +08:00
Kefu Chai
e3b703eb12
cmake: check bootstrap.sh instead before downloading boost
...
config.hpp does not exist if boost is not configured. so a boost source
directory unpacked from dist tarball does not have this file. the
bootstrap.sh instead, it is used to create the necessary config files
for jam.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-24 11:13:16 +08:00
Kefu Chai
2218efa005
make-dist: repackage boost in the correct path
...
before this change, boost is put into ./src. after this change, it is
put into $outfile/src. i.e. something like
ceph-12.1.2-4592-gf5f2ced624/src .
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-24 11:13:16 +08:00
Boris Ranto
c2b98819d9
Merge pull request #19026 from badone/wip-selinux-policy-doc-rawhide-build
...
build/ops: rpm: selinux-policy fixes
Reviewed - by: branto@redhat.com
2017-11-23 13:54:52 +01:00
Kefu Chai
e25300cb6a
Merge pull request #18614 from tchaikov/wip-osd-mgrreport
...
osd,mgr: report slow requests and pending creating pgs to mgr
Reviewed-by: John Spray <john.spray@redhat.com>
2017-11-23 15:01:01 +08:00
Kefu Chai
46cc6eed99
Merge pull request #18890 from pjjw/pjjw/prom-deep-scrub-state-missing
...
mgr/prometheus: add missing 'deep' state to PG_STATES in ceph-mgr prometheus plugin
Reviewed-by: John Spray <john.spray@redhat.com>
2017-11-23 14:06:16 +08:00
Kefu Chai
f21ef22cbb
Merge pull request #19030 from tangwenjun3/wip-fix-bluefs-allocate
...
os/bluestore: fix the allocate in bluefs
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2017-11-23 14:05:34 +08:00
Kefu Chai
1bfbb528af
Merge pull request #18785 from majianpeng/bluestore-remove-collection
...
os/bluestore: avoid omit cache for remove-collection.
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-11-23 14:04:07 +08:00
Kefu Chai
e2fcb7b31d
Merge pull request #18760 from david-z/wip-mon-ceph-report
...
mon: dump servicemap along with MgrStatMonitor dump info
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-23 14:03:07 +08:00
Kefu Chai
afcb24ac3c
Merge pull request #17596 from amitkumar50/cov-message-10
...
messages: Silence uninitialized member warnings
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-11-23 14:01:42 +08:00
Kefu Chai
4a1f2a5c78
qa: silence SLOW_OPS,PENDING_CREATING_PGS warnings
...
this is an intermediate step to deprecate REQUEST_SLOW warnings.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-23 13:59:42 +08:00
Kefu Chai
7e7978732d
mgr: summarize osd metrics in MMgrReport and sent it to mon
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-23 13:55:15 +08:00
Jiaying Ren
042a8346cb
rgw: drop useless includes in rgw_{main.cc, common.h}
...
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2017-11-23 12:04:24 +08:00
Patrick Donnelly
23a86a404a
Merge PR #18697 into master
...
* refs/pull/18697/head:
mds: limit size of MExportDir message
mds: optimize MDCache::try_subtree_merge
mds: optimize import/export state access
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-22 13:40:21 -08:00
Patrick Donnelly
e56c383717
Merge PR #18748 into master
...
* refs/pull/18748/head:
client/Client.cc: trivial [Cleanup] Stop different types comparison
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-11-22 13:40:14 -08:00