Willem Jan Withagen
e2f2929838
test/librbd: allow parallel runs of run-rbd-unit-tests
...
Running all tests sequential makes it the longest test of
`make check`, with each partial test taking around 500 sec.
Running 6 tests thus takes almost an hour.
Cut this down if ctest runs tests in parallel
Default behaviour of src/test/run-rbd-unit-tests.sh is kept:
Without parameters the tests are run in sequence
To run unitttest_librbd with RBD_FEATURES, use `N` as parameter
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2019-09-03 20:06:22 -04:00
Josh Durgin
7478b6cc97
Merge pull request #29990 from aclamk/fix-doc-ceph_kvstore_tool-stats
...
doc/ceph-kvstore-tool: add description for 'stats' command
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-09-03 15:48:57 -07:00
Josh Durgin
70621ae1a3
doc/man/ceph-kvstore-tool: fix typo
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2019-09-03 15:47:30 -07:00
Neha Ojha
624ade487e
osd/MissingLoc, PeeringState: remove osd from missing loc in purge_strays()
...
We should always try to keep osds in missing_loc consistent with peer_missing
and peer_info. When we remove an osd from peer_missing and peer_info, we
should also remove it from missing_loc during purging strays.
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-09-03 15:27:42 -07:00
Casey Bodley
103bf7634c
Merge pull request #29639 from baixueyu/wip-crypto-bug
...
rgw: get barbican secret key request maybe return error code
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-03 16:23:36 -04:00
Casey Bodley
15faeec07f
Merge pull request #29776 from cbodley/wip-rgw-beast-static-flat-buffer
...
rgw: increase beast parse buffer size to 64k
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-09-03 16:22:39 -04:00
Casey Bodley
c404e1e3de
Merge pull request #29852 from cbodley/wip-41395
...
rgw: move bucket reshard checks out of write path
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2019-09-03 16:22:02 -04:00
Casey Bodley
10ba9eac7d
Merge pull request #29856 from cbodley/wip-41412
...
rgw: RGWCoroutine::call(nullptr) sets retcode=0
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2019-09-03 16:20:18 -04:00
Casey Bodley
49dc6c6051
Merge pull request #29894 from markhpc/wip-rgw-reshard-json
...
rgw/rgw_reshard: Don't dump RGWBucketReshard JSON in process_single_logshard
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2019-09-03 16:19:38 -04:00
Alfredo Deza
535c0fbd5d
Merge pull request #30088 from tchaikov/wip-40646
...
ceph.spec.in: use g++ >= 8.3.1-3.1
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-09-03 15:36:19 -04:00
Casey Bodley
cc17681b47
Merge pull request #29742 from dang/push
...
rgw: make sure modelines are correct for all files
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-03 15:12:56 -04:00
Casey Bodley
560d8b1c58
Merge pull request #29199 from tianshan/fix_gc_tag_remove
...
rgw: gc remove tag after all sub io finish
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-03 15:11:22 -04:00
Casey Bodley
f242b7427a
Merge pull request #29628 from NancySu05/lihuanhuan
...
RGW: add bucket permission verify when copy obj
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-03 14:24:54 -04:00
Casey Bodley
8c4d741055
Merge pull request #29943 from markhpc/wip-rgw-optimize-get_val2
...
rgw/rgw_op: Remove get_val from hotpath via legacy options
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2019-09-03 14:23:52 -04:00
Jason Dillaman
27ce640ffc
Merge pull request #29654 from Songweibin/wip-rbd-list-descendants
...
librbd: skip stale child with non-existent pool for list descendants
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-09-03 14:13:19 -04:00
Kefu Chai
9ce3640053
Merge pull request #30113 from tchaikov/wip-dmclock
...
dmclock: pick up change to use specified C++ settings if any
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-04 01:28:35 +08:00
Kefu Chai
fb83b331de
dmclock: pick up change to use specified C++ settings if any
...
see https://github.com/ceph/dmclock/pull/73
so dmclock won't add `-std=c++11` to CXX_FLAGS even if the parent project already
have `-std=c++17` in CXX_FLAGS.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-04 00:58:30 +08:00
Sage Weil
32d4bfa732
pybind/mgr: remove type conversions for ceph native options
...
We now return the correct Py types, just like we do for module options.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-09-03 10:32:00 -05:00
Sage Weil
845ca9c10d
mgr: return get_ceph_option result as typed Py object (not string)
...
We already return module options as the proper Py type; do the same for
native ceph options.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-09-03 10:32:00 -05:00
Tiago Melo
0034971da9
mgr/dashboard: Prevent angular of getting stuck during installation
...
During npm packages installation Angular was getting stuck waiting for input.
Using "NG_CLI_ANALYTICS=false" will prevent that,
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-03 14:44:00 +00:00
Jason Dillaman
d0444f0cba
Merge pull request #29613 from trociny/wip-41206
...
librbd: behave more gracefully when data pool removed
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-09-03 10:20:23 -04:00
Sage Weil
6e2c9269a0
Merge PR #29835 into master
...
* refs/pull/29835/head:
osd/PeeringState: fix wrong history of merge target
Reviewed-by: Sage Weil <sage@redhat.com>
2019-09-03 09:19:21 -05:00
Volker Theile
abee10dbbd
mgr/dashboard: Empty datatable rendered before data has been fetched
...
Fixes: https://tracker.ceph.com/issues/41615
Signed-off-by: Volker Theile <vtheile@suse.com>
2019-09-03 15:59:30 +02:00
Nathan Cutler
3163af3296
Merge pull request #30097 from jan--f/ceph-backport-cp-indiviudal-commits
...
ceph-backport.sh: cherry-pick individual commits
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2019-09-03 15:22:05 +02:00
Casey Bodley
5a15ab2d66
Merge pull request #30063 from Rjerk/wip-silence-unused-warning
...
rgw/services: silence -Wunused-variable warning
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-03 09:19:06 -04:00
Casey Bodley
e5cf5e140d
Merge pull request #30065 from tchaikov/wip-rgw-test-wo-global
...
test: do not include unnecessary includes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-03 09:15:06 -04:00
Jan Fajerski
b55932a590
ceph-backport.sh: cherry-pick individual commits
...
In git 2.23.0 (possibly earlier too) cherry-pick seems to interact with
rev-list and submodules in unexpected ways, where the cherry-pick of a
commit range (<sha1>..<sha1>) fails with "changes would be overwritten"
in a submodule. CP'ing individual commits avoids this.
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2019-09-03 15:14:15 +02:00
Casey Bodley
071875fb7f
Merge pull request #30060 from c744402859/master
...
rgw: fixed "unrecognized arg" error when using "radosgw-admin zone rm".
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-03 08:57:21 -04:00
Casey Bodley
c6366e2cc6
Merge pull request #30091 from joke-lee/doc-rgw-object-version
...
rgw: add --object-version in radosgw-admin help info
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-03 08:34:05 -04:00
Nathan Cutler
5f0a82a01d
Merge pull request #29957 from smithfarm/wip-ceph-backport-sh-improvements
...
script/ceph-backport.sh: wholesale refactor
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-09-03 12:50:39 +02:00
Adam Kupczyk
00a5633af8
doc/ceph-kvsore-tool: add description for 'stats' command
...
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2019-09-03 11:00:09 +02:00
Jan Fajerski
c740ef9864
Merge pull request #29665 from rishabh-d-dave/cv-remove-redundant-calls
...
ceph-volume: minor optimizations related to class Volumes's use
2019-09-03 10:55:24 +02:00
Kiefer Chang
2ccff703f1
mgr/dashboard: fix cdEncode decorator is not working on class
...
Object.keys does not return all methods of a class.
Fixes: https://tracker.ceph.com/issues/41368
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
2019-09-03 15:36:11 +08:00
Kefu Chai
33dfffc841
ceph.spec.in: use g++ >= 8.3.1-3.1
...
since https://bugzilla.redhat.com/show_bug.cgi?id=1726630 has been
fixed. and we have devtoolset-8-gcc-c++-8.3.1-3.1.el7.x86_64.rpm.
no reason to stick with devtoolset-8-gcc-c++-8.2.1-3 anymore.
Fixes: https://tracker.ceph.com/issues/40646
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-03 14:19:31 +08:00
yuliyang
7ba6bd6475
rgw: add --object-version in radosgw-admin help info
...
Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
2019-09-03 14:03:36 +08:00
Kefu Chai
db98646915
Merge pull request #30086 from uniqueyehu/fix-complie-errors-dpdk
...
msg/async/dpdk: fix complie errors from fix FTBFS
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-03 12:29:38 +08:00
yehu
9c65dd0d3a
msg/async/dpdk: fix complie errors from fix FTBFS
...
Signed-off-by: yehu <yehu5@huawei.com>
2019-09-03 10:49:12 +08:00
xie xingguo
52caa5b584
osd/PrimaryLogPG: update oi.size on write op implicitly truncating object up
...
See "BlueStore::_do_truncate", bluestore will reset ondisk object size
unconditionally to track truncated size. Hence we must adjust logical
size (and usage) accordingly to match the specified metrics.
Fixes: https://tracker.ceph.com/issues/41601
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-09-03 10:20:53 +08:00
Mykola Golub
4a1ab1077d
Merge pull request #30010 from wjwithagen/wjw-fix-rbd-ggate-postfork
...
tools/rbd-ggate: close log before running postfork
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-09-02 19:31:46 +03:00
Ernesto Puerta
bc650aae8d
mgr/dashboard: change warn_explicit to warn
...
Fixes: https://tracker.ceph.com/issues/41600
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2019-09-02 16:58:52 +02:00
Kefu Chai
0618ab0ec8
Merge pull request #29923 from xiexingguo/wip-bump-decode-version
...
osd/osd_types: bump up some encoding versions
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: yanjun <yan.jun8@zte.com.cn>
2019-09-02 22:18:23 +08:00
Kefu Chai
c5a57b6740
Merge pull request #30066 from uniqueyehu/fix-compile-error-dpdk
...
async/dpdk: fix compile errors from ceph::mutex update
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-02 21:13:46 +08:00
Kefu Chai
a0e7fbb539
test: do not include unnecessary includes
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-02 21:01:01 +08:00
songweibin
50f3cc199e
librbd: allow remove snapshot with child from non-existent pool
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2019-09-02 19:09:33 +08:00
root
848f1de0d0
rgw: fixed "unrecognized arg" error when using "radosgw-admin zone rm".
...
Signed-off-by: Hongang Chen <c744402859@gmail.com>
Author: root <root@devel.localdomain>
Date: Mon Sep 2 11:23:45 2019 +0800
2019-09-02 18:52:47 +08:00
Kefu Chai
cb06a33a98
Merge pull request #30034 from tchaikov/wip-install-tox-deps-from-wheelhouse
...
mgr: install tox deps from wheelhouse
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-09-02 17:24:23 +08:00
yehu
1aa8331957
async/dpdk: fix compile errors from ceph::mutex update
...
Signed-off-by: yehu <yehu5@huawei.com>
2019-09-02 16:35:22 +08:00
Willem Jan Withagen
21bdd4c6ec
tools/rbd-ggate: close log before running postfork
...
Otherwise the assert in Log:open() will trigger since
all data is kept during the fork and also the `is_started` flag
Fixes: https://tracker.ceph.com/issues/41592
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2019-09-02 10:21:50 +02:00
Lan Liu
8712705250
rgw/services: silence -Wunused-variable warning
...
Signed-off-by: Lan Liu <liulan@umcloud.com>
2019-09-02 15:10:58 +08:00
Kefu Chai
802aaaf14c
script/run_tox.sh: install tox deps from wheelhouse
...
could be faster
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-02 13:43:37 +08:00