]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Haomai Wang [Mon, 24 Apr 2017 04:11:21 +0000 (12:11 +0800)]
os/bluestore: align reclaim size to bluefs_alloc_size
otherwise it will crash because of unaligned alloc size
Signed-off-by: Haomai Wang <haomai@xsky.com>
Kefu Chai [Mon, 24 Apr 2017 04:02:28 +0000 (12:02 +0800)]
Merge pull request #14740 from petermaloney/master
doc: fix link that pointed to a nonexistent file
Reviewed-by: Kefu Chai <kchai@redhat.com>
Brad Hubbard [Mon, 24 Apr 2017 01:49:10 +0000 (11:49 +1000)]
Merge pull request #14705 from joscollin/wip-googletest-warning
test: warning: comparison between signed and unsigned integer expressions
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Sage Weil [Sun, 23 Apr 2017 20:49:28 +0000 (15:49 -0500)]
Merge pull request #13898 from songbaisen/m5
osd: check fsid is normal before osd mkfs
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 23 Apr 2017 20:47:58 +0000 (15:47 -0500)]
Merge pull request #10893 from yonghengdexin735/wip-zzz-1
rados: check for negative return value of rados_create_with_context() as its comment put
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sun, 23 Apr 2017 20:47:28 +0000 (15:47 -0500)]
Merge pull request #14442 from liewegas/wip-midkraken-upgrade
mon/OSDMonitor: tolerate upgrade from post-kraken dev cluster
Reviewed-by: Kefu Chai <kchai@redhat.com>
Peter Maloney [Sun, 23 Apr 2017 18:33:03 +0000 (20:33 +0200)]
doc: fix link that pointed to a nonexistent file
commit
d788bae60dac374dcf5c7a30fca04426cbee660a renamed config.rst to config-fcgi.rst
Reported-by: fusl in #ceph on irc.oftc.net
Signed-off-by: Peter Maloney <peter.maloney@brockmann-consult.de>
Mykola Golub [Sun, 23 Apr 2017 16:32:43 +0000 (19:32 +0300)]
Merge pull request #14712 from dillaman/wip-rbd-mirror-watch
rbd-mirror: remove tracking of image names from pool watcher
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Orit Wasserman [Sun, 23 Apr 2017 16:09:57 +0000 (19:09 +0300)]
Merge pull request #14722 from cbodley/wip-19746
radosgw-admin: warn that 'realm rename' does not update other clusters
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Kefu Chai [Sun, 23 Apr 2017 14:40:40 +0000 (22:40 +0800)]
Merge pull request #14338 from aclamk/fix-fio-ceph-objectstore-lifetime
fio_ceph_objectstore: fixes improper write request data lifetime
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Casey Bodley [Sat, 22 Apr 2017 15:49:05 +0000 (11:49 -0400)]
Merge pull request #14335 from hrchu/radosgw-admin-api-subuser
doc: rgw: Clean up create subuser parameters
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Haomai Wang [Sat, 22 Apr 2017 03:46:48 +0000 (11:46 +0800)]
Merge pull request #14707 from wjwithagen/wip-wjw-freebsd-kqueue-logging
msg: Increase loglevels on some messages
Reviewed-by: Haomai Wang <haomai@xsky.com>
Sage Weil [Fri, 21 Apr 2017 23:54:25 +0000 (18:54 -0500)]
Merge pull request #9853 from dx9/wip-alpine-dev-support
alpine: add alpine linux dev support
Sage Weil [Fri, 21 Apr 2017 23:54:01 +0000 (18:54 -0500)]
Merge pull request #14189 from tchaikov/wip-mgr-py-stderr
mgr: redirect python stdout,stderr to ceph log
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Fri, 21 Apr 2017 23:53:17 +0000 (18:53 -0500)]
Merge pull request #14559 from liewegas/wip-pg-map
mon: move 'pg map' to OSDMonitor
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 21 Apr 2017 23:53:02 +0000 (18:53 -0500)]
Merge pull request #14583 from joscollin/wip-cleanup-osdmap-sections
osd: renamed the new vector name in OSDMap::build_simple_crush_map_from_conf
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 21 Apr 2017 23:52:44 +0000 (18:52 -0500)]
Merge pull request #14721 from dmick/wip-crypto-arm
CMakeLists.txt: don't do crypto/isa-l if not Intel
Reviewed-by: Kefu Chai <kchai@redhat.com>
Marcus Watts [Fri, 21 Apr 2017 19:48:46 +0000 (15:48 -0400)]
Merge pull request #14501 from mdw-at-linuxbox/wip-rgw-rvk
rgw: swift: disable revocation thread if sleep == 0
Casey Bodley [Fri, 21 Apr 2017 19:04:48 +0000 (15:04 -0400)]
radosgw-admin: warn that 'realm rename' does not update other clusters
Fixes: http://tracker.ceph.com/issues/19746
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Dan Mick [Fri, 21 Apr 2017 18:18:27 +0000 (11:18 -0700)]
CMakeLists.txt: don't do crypto/isa-l if not Intel
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Sage Weil [Fri, 21 Apr 2017 18:18:01 +0000 (13:18 -0500)]
Merge pull request #14716 from tchaikov/wip-mgr-pystring-leak
mgr: release allocated PyString
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Fri, 21 Apr 2017 18:16:48 +0000 (13:16 -0500)]
Merge pull request #14720 from liewegas/wip-19591
mgr: fix session leak
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 12 Apr 2017 13:59:03 +0000 (09:59 -0400)]
vstart.sh: add --valgrind_args
To do leak checking, you can do
vstart.sh ... \
--valgrind_mgr memcheck \
--valgrind_args '--leak-check=full --show-reachable=yes'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 12 Apr 2017 13:58:18 +0000 (09:58 -0400)]
mgr/MgrSession: allow ref tracing, and fix ref leak
The first RefCountedObj ctor arg is a cct, not a ref count.
Fixes: http://tracker.ceph.com/issues/19591
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 12 Apr 2017 13:35:03 +0000 (09:35 -0400)]
vstart.sh: add --valgrind_mgr
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 21 Apr 2017 17:23:41 +0000 (12:23 -0500)]
Merge pull request #12272 from kylinstorage/wip-writesame
osd: use append(bufferlist &) to avoid unnecessary copy
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 21 Apr 2017 17:23:05 +0000 (12:23 -0500)]
Merge pull request #11684 from runsisi/wip-fix-asok-mode
common/admin_socket: add config for admin socket permission bits
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 21 Apr 2017 17:22:51 +0000 (12:22 -0500)]
Merge pull request #13019 from wonzhq/wip-long-io
osd: support dumping long ops
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 21 Apr 2017 17:22:38 +0000 (12:22 -0500)]
Merge pull request #14358 from majianpeng/osd-remove-modsubop
osd/ReplicatedBackend: remove MOSDSubOp cruft from repop_applied
Reviewed-by: Sage Weil <sage@redhat.com>
Casey Bodley [Fri, 21 Apr 2017 15:17:14 +0000 (11:17 -0400)]
Merge pull request #14268 from hrchu/swift/java
doc: rgw: Rewrite Java swift examples
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Fri, 21 Apr 2017 15:08:27 +0000 (23:08 +0800)]
Merge pull request #10384 from wjwithagen/wip-wjw-reduce-noise
common/ceph_context.cc: Use CEPH_DEV to reduce logfile noise
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 21 Apr 2017 15:04:57 +0000 (23:04 +0800)]
Merge pull request #14693 from mogeb/init-ceph-libs
init-ceph: add ceph libraries path to environment
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 21 Apr 2017 15:00:07 +0000 (23:00 +0800)]
Merge pull request #12898 from XinzeChi/wip-interval-return
common/interval_set: return int64_t for size()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 21 Apr 2017 14:57:44 +0000 (22:57 +0800)]
Merge pull request #14232 from jcsp/wip-19412
mgr: fix python module teardown & add tests
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 19 Apr 2017 14:16:40 +0000 (10:16 -0400)]
mon/OSDMonitor: cleanup: use range-based loop
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Apr 2017 18:17:29 +0000 (14:17 -0400)]
qa/tasks/ceph_manager: use 'pg map' for get_pg_{primary,replica}
Pulling this out of the 'pg dump' heap is inefficient.
Also, pg dump data comes from the mgr and may be stale.
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 21 Apr 2017 14:56:21 +0000 (22:56 +0800)]
Merge pull request #14584 from tchaikov/wip-19631
qa/suites: Revert "qa/suites: add mon-reweight-min-pgs-per-osd = 4"
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 21 Apr 2017 14:55:37 +0000 (22:55 +0800)]
Merge pull request #14504 from tchaikov/wip-another-mgr-command
mon,mgr: trim osdmap without the help of pgmap
Reviewed-by: Sage Weil <sage@redhat.com>
Casey Bodley [Fri, 21 Apr 2017 14:54:55 +0000 (10:54 -0400)]
Merge pull request #14055 from hrchu/radosgw-admin-api-user-caps
doc: correct and improve add user capability section
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 21 Apr 2017 14:52:28 +0000 (10:52 -0400)]
Merge pull request #13956 from hrchu/rgw-admin-doc
Indicate how to add multiple admin capbabilies
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 21 Apr 2017 14:50:55 +0000 (10:50 -0400)]
Merge pull request #14372 from hrchu/rgwadmin-admin-doc-usage
doc: rgw: correct get usage parameter default value
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Fri, 21 Apr 2017 14:36:18 +0000 (22:36 +0800)]
mgr: release allocated PyString
Signed-off-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Fri, 21 Apr 2017 14:26:19 +0000 (10:26 -0400)]
Merge pull request #14547 from smithfarm/wip-create-pool
rgw: cleanup: fix variable name in RGWRados::create_pool() declaration
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Fri, 21 Apr 2017 14:06:39 +0000 (09:06 -0500)]
Merge pull request #14697 from ceph/wip-rgw-upgrade-s3tests-encryption
qa/rgw: don't scan radosgw logs for encryption keys on jewel upgrade test
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 21 Apr 2017 13:39:43 +0000 (08:39 -0500)]
Merge pull request #14424 from dachary/wip-jerasure-sync
erasure-code: sync jerasure/gf-complete submodules
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Sage Weil [Fri, 21 Apr 2017 13:38:59 +0000 (08:38 -0500)]
Merge pull request #14558 from liewegas/wip-18293
osd: fix occasional MOSDMap leak
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 21 Apr 2017 13:38:47 +0000 (08:38 -0500)]
Merge pull request #14633 from SUSE/wip-yasm-wrapper-strip-E-flag
yasm-wrapper: strip -E (stops ccache trashing source files)
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 21 Apr 2017 13:38:32 +0000 (08:38 -0500)]
Merge pull request #14640 from ovh/bp-fiemap-burden
osd, os: reduce fiemap burden
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 21 Apr 2017 13:37:46 +0000 (08:37 -0500)]
Merge pull request #14644 from liewegas/wip-rados-df-json
rados: out json 'df' values as numbers, not strings
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Fri, 21 Apr 2017 13:37:31 +0000 (08:37 -0500)]
Merge pull request #14645 from liewegas/wip-mgr-mon
mon/MgrMonitor: only propose if we updated
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 21 Apr 2017 13:37:18 +0000 (08:37 -0500)]
Merge pull request #14648 from gregsfortytwo/wip-17916-master
osd: pglog: with config, don't assert in the presence of stale diverg…
Reviewed-by: Sage Weil <sage@redhat.com>
Willem Jan Withagen [Fri, 21 Apr 2017 08:04:51 +0000 (10:04 +0200)]
msg/async/EventKqueue.cc: set logging from Kqueue higher
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Fri, 21 Apr 2017 04:50:18 +0000 (12:50 +0800)]
mgr: move handle_pyerror() from MgrPyModules to MgrPyModule
so we can reuse it in a more sane way.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Dan Mick [Wed, 12 Apr 2017 02:13:29 +0000 (19:13 -0700)]
mgr/MgrPyModule::handle_command: order stringstreams to match intent
ds is intended for command output (like stdout), to be shown/saved
when there's no error returned; ss is for error status (like stderr)
to further explain the error. mgr Python tracebacks should go to
the latter.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Tue, 11 Apr 2017 23:27:33 +0000 (16:27 -0700)]
mgr/PyModules handle_pyerror: don't add extra newlines to tb
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Tue, 11 Apr 2017 22:31:08 +0000 (15:31 -0700)]
mgr/MgrPyModule.cc: get Python traceback in all CallMethod spots
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Tim Serong [Fri, 24 Mar 2017 13:36:27 +0000 (14:36 +0100)]
mgr: log module name before PyErr_Print()
If an exception is raised in any of the python module functions
invoked by mgr (for example, ImportError if rest_framework isn't
available when serve() in called in the rest module), print the
module name along with the failed method name.
This commit also fixes what looks to me like a missed call to
PyGILState_Release() in the failure case in MgrPyModule::serve().
Signed-off-by: Tim Serong <tserong@suse.com>
Kefu Chai [Tue, 28 Mar 2017 10:49:01 +0000 (18:49 +0800)]
mgr: redirect python stdout,stderr to ceph log
PyErr_Print() uses a file object "stderr" for printing messages.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Jos Collin [Fri, 21 Apr 2017 06:07:41 +0000 (11:37 +0530)]
test: warning: comparison between signed and unsigned integer expressions
The following warning appears during make:
[ 61%] Building CXX object src/test/CMakeFiles/unittest_simple_spin.dir/simple_spin.cc.o
In file included from ./src/test/simple_spin.cc:1:0:
./src/googletest/googletest/include/gtest/gtest.h: In instantiation of ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = int]’:
./src/googletest/googletest/include/gtest/gtest.h:1421:23: required from ‘static testing::AssertionResult testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = int; bool lhs_is_null_literal = false]’
./src/test/simple_spin.cc:49:3: required from here
./src/googletest/googletest/include/gtest/gtest.h:1392:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (lhs == rhs) {
~~~~^~~~~~
Signed-off-by: Jos Collin <jcollin@redhat.com>
Jason Dillaman [Fri, 21 Apr 2017 01:23:43 +0000 (21:23 -0400)]
rbd-mirror: remove image name retrieval from pool watcher
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 21 Apr 2017 01:00:34 +0000 (21:00 -0400)]
rbd-mirror: eliminate use of image name during bootstrap
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 21 Apr 2017 00:54:44 +0000 (20:54 -0400)]
rbd-mirror: supply image id of new images to bootstrap state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 21 Apr 2017 00:38:37 +0000 (20:38 -0400)]
librbd: specify image id for create and clone operations
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 20 Apr 2017 19:17:26 +0000 (15:17 -0400)]
rbd-mirror: removed unused pool name from cluster watcher
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 19 Apr 2017 20:23:15 +0000 (16:23 -0400)]
rbd-mirror: renamed Replayer to PoolReplayer
This is a stepping stone to support multiple peers within a single
pool.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 21 Apr 2017 01:52:56 +0000 (21:52 -0400)]
Merge pull request #13978 from trociny/wip-18787
rbd-mirror A/A: proxy InstanceReplayer APIs via InstanceWatcher RPC
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
David Zafman [Fri, 21 Apr 2017 01:18:16 +0000 (18:18 -0700)]
Merge pull request #14647 from dzafman/wip-19698
Fix full testing in cephtool/test.sh when used by rados suite
Replace using sleep with new wait_for_health() bash function
Reviewed-by: Loic Dachary <ldachary@redhat.com>
David Zafman [Thu, 20 Apr 2017 19:57:43 +0000 (12:57 -0700)]
cephtool.yaml: Add "failsafe" osd error messages to whitelist
Signed-off-by: David Zafman <dzafman@redhat.com>
Willem Jan Withagen [Thu, 20 Apr 2017 15:49:41 +0000 (08:49 -0700)]
qa/workunits/ceph-helpers.sh: Improve test_mon_pg() by starting healthy
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Willem Jan Withagen [Wed, 19 Apr 2017 09:35:38 +0000 (11:35 +0200)]
qa/workunits/ceph-helpers.sh: introduce (and use) wait_for_health
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Thu, 20 Apr 2017 05:42:01 +0000 (22:42 -0700)]
mon: Fix incorrect health output and test code to match
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Thu, 20 Apr 2017 06:20:22 +0000 (23:20 -0700)]
/workunits/cephtool/test.sh: Improve testing of health-output.
Instead of
9ff401e65b1a66a320953aeef8ab65b6f1fb6f10 use regex to handle:
HEALTH_ERR 2 pgs stuck unclean; Full ratio(s) out of order
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 19 Apr 2017 23:54:07 +0000 (16:54 -0700)]
test: Fix test_admin_heap_profiler() and enable it
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 19 Apr 2017 23:30:58 +0000 (16:30 -0700)]
cephtool/test.sh: Get socket for whichever environment this test is running
Need sudo for qa suite runs
Fixes: http://tracker.ceph.com/issues/19698
Signed-off-by: David Zafman <dzafman@redhat.com>
Sage Weil [Thu, 20 Apr 2017 22:27:29 +0000 (17:27 -0500)]
Merge pull request #14689 from liewegas/wip-jewel-x
qa/suites/upgrade/jewel-x: add mgr.x role
Sage Weil [Wed, 19 Apr 2017 16:15:09 +0000 (12:15 -0400)]
rados: out json 'df' values as numbers, not strings
Fixes: http://tracker.ceph.com/issues/15546
Signed-off-by: Sage Weil <sage@redhat.com
Sage Weil [Thu, 20 Apr 2017 20:13:40 +0000 (15:13 -0500)]
Merge pull request #14423 from tchaikov/wip-cmake-crc32-cleanup
cmake: should not compile crc32c_ppc.c on intel arch.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Thu, 20 Apr 2017 20:13:18 +0000 (15:13 -0500)]
Merge pull request #14434 from ifed01/wip-bluestore-params
os/bluestore: make bluestore_max_blob_size parameter hdd/ssd case dependant
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 20 Apr 2017 20:12:58 +0000 (15:12 -0500)]
Merge pull request #14448 from majianpeng/bluestore-kv-queued-lat
os/bluestore: Record l_bluestore_state_kv_queued_lat for sync_submit_…
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 20 Apr 2017 20:12:36 +0000 (15:12 -0500)]
Merge pull request #14549 from tchaikov/wip-kill-clang-warnings
misc: kill clang warnings
Reviewed-by: Haomai Wang <haomai@xsky.com>
Sage Weil [Thu, 20 Apr 2017 20:12:09 +0000 (15:12 -0500)]
Merge pull request #14557 from liewegas/wip-bluefs-balance-interval
os/bluestore: do not balance bluefs on every kv_sync_thread iteration
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Mohamad Gebai [Thu, 20 Apr 2017 19:40:13 +0000 (15:40 -0400)]
init-ceph: add ceph libraries path to environment
These libraries are set in vstart.sh, but not in init-ceph. When
init-ceph is not invoked through vstart.sh, library paths are missing.
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
Casey Bodley [Thu, 20 Apr 2017 18:49:04 +0000 (14:49 -0400)]
qa/rgw: don't scan radosgw logs for encryption keys on jewel upgrade test
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Thu, 20 Apr 2017 18:18:59 +0000 (14:18 -0400)]
qa/suites/upgrade/jewel-x/point-to-point: no xenial
Avoid conflict with upstream repo having a newer version
than what we're installing.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 20 Apr 2017 18:17:19 +0000 (14:17 -0400)]
upgrade/jewel-x/stress-split: not pg import/export tests during upgrade
These aren't meant to be run on a mixed-version cluster.
Signed-off-by: Sage Weil <sage@redhat.com>
Matt Benjamin [Thu, 20 Apr 2017 17:42:03 +0000 (13:42 -0400)]
Merge pull request #11796 from linuxbox2/wip-bucket-size-ck
rgw: add bucket size limit check to radosgw-admin
Sage Weil [Thu, 20 Apr 2017 16:55:00 +0000 (11:55 -0500)]
Merge pull request #14690 from ceph/luminous
build/ops: add 12.0.1 release tag in master
Sage Weil [Sun, 9 Apr 2017 18:30:02 +0000 (14:30 -0400)]
qa/suites/upgrade/jewel-x: add mgr.x role
Signed-off-by: Sage Weil <sage@redhat.com>
Piotr Dałek [Tue, 18 Apr 2017 14:12:04 +0000 (16:12 +0200)]
ReplicatedPG: use new fiemap interface
Reduce memory allocator load during sparse reads and recovery by not
encoding sparse file extents from map into bufferlist, then back again
into map.
Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
Matt Benjamin [Sat, 5 Nov 2016 17:13:47 +0000 (13:13 -0400)]
rgw: add bucket size limit check to radosgw-admin
The change adds a new list of all buckets x all users, with
fields for bucket name, tenant name, current num_objects,
current num_shards, current objects per shard, and the
corresponding fill_status--the latter consisting of 'OK',
'WARN <n>%', or 'OVER <n>%.'
The warning check is relative to two new tunables. The threshold
max objects per shard is set as rgw_bucket_safe_max_objects_per_shard,
which defaults to 100K. The value rgw_bucket_warning_threshold is
a percent of the current safe max at which to warn (defaults to
90% of full).
From review:
* fix indentation (rgw_admin)
* if user a user_id is provided, check only buckets for that user
* update shard warn pct to be pct-of-fill (not 100 - pct-of-fill)
* print only buckets near or over per-shard limit, if --warnings-only
* s/bucket limitcheck/bucket limit check */
* sanity shard limit should be 90, not 10 (because that changed)
* fixes for memleaks and other points found by cbodley
Fixes: http://tracker.ceph.com/issues/17925
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Piotr Dałek [Tue, 18 Apr 2017 13:03:11 +0000 (15:03 +0200)]
ObjectStore, *Store: extend fiemap interface
This extends fiemap interface in objectstore and all data stores so
it's possible to pass in the map used later by caller, instead of
encoding internal map into bufferlist, then parsing it back into the
same type of data container, wasting memory and CPU time in the process.
Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
Piotr Dałek [Tue, 18 Apr 2017 11:46:11 +0000 (13:46 +0200)]
common/interval_set.h: add move_into() and new ctor
move_into() will be used to move data from internal (private)
std::map into other, external std::map, without exposing internal one
to public. New ctor improves moving data from external map to internal
one.
Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
John Spray [Thu, 20 Apr 2017 14:55:43 +0000 (15:55 +0100)]
Merge pull request #14447 from ukernel/wip-19450
mds: drop partial entry and adjust write_pos when opening PurgeQueue
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Sat, 15 Apr 2017 16:55:51 +0000 (12:55 -0400)]
qa: s/REQUIRE_MGRS/MGRS_REQUIRED/ for consistency
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 29 Mar 2017 15:01:33 +0000 (11:01 -0400)]
qa: additions to mgr.test_failover
Reproducers for recent fixes:
http://tracker.ceph.com/issues/19407
http://tracker.ceph.com/issues/19258
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 29 Mar 2017 15:00:48 +0000 (11:00 -0400)]
qa: fix vstart_runner --create for mgr tests
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 29 Mar 2017 17:34:29 +0000 (13:34 -0400)]
mgr: fix waiting for module shutdown() before destroying
Fixes: http://tracker.ceph.com/issues/19412
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 29 Mar 2017 17:31:49 +0000 (13:31 -0400)]
mgr: fix MgrPyModule destruction
Fixes: http://tracker.ceph.com/issues/19412
Signed-off-by: John Spray <john.spray@redhat.com>
Mykola Golub [Wed, 15 Mar 2017 09:47:00 +0000 (10:47 +0100)]
rbd-mirror A/A: proxy InstanceReplayer APIs via InstanceWatcher RPC
Fixes: http://tracker.ceph.com/issues/18787
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Thu, 20 Apr 2017 09:51:55 +0000 (11:51 +0200)]
test/librados_test_stub: mock wrapper for aio_notify
Signed-off-by: Mykola Golub <mgolub@mirantis.com>