Ilya Dryomov
192f6ca079
qa/workunits/rbd: test exclusive map option
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-04-26 15:05:50 +02:00
Ilya Dryomov
c72d8b0409
rbd: recognize exclusive map option
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-04-25 20:15:41 +02:00
Sage Weil
15e80fa2d8
Merge pull request #9853 from dx9/wip-alpine-dev-support
...
alpine: add alpine linux dev support
2017-04-21 18:54:25 -05:00
Sage Weil
56bff03b50
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>
2017-04-21 18:54:01 -05:00
Sage Weil
27dd6530a2
Merge pull request #14559 from liewegas/wip-pg-map
...
mon: move 'pg map' to OSDMonitor
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-21 18:53:17 -05:00
Sage Weil
dee8f39949
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>
2017-04-21 18:53:02 -05:00
Sage Weil
03c5962222
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>
2017-04-21 18:52:44 -05:00
Marcus Watts
22d455c3cf
Merge pull request #14501 from mdw-at-linuxbox/wip-rgw-rvk
...
rgw: swift: disable revocation thread if sleep == 0
2017-04-21 15:48:46 -04:00
Dan Mick
350932979b
CMakeLists.txt: don't do crypto/isa-l if not Intel
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-21 11:18:53 -07:00
Sage Weil
7b9cd85ba3
Merge pull request #14716 from tchaikov/wip-mgr-pystring-leak
...
mgr: release allocated PyString
Reviewed-by: John Spray <john.spray@redhat.com>
2017-04-21 13:18:01 -05:00
Sage Weil
97ebb0831a
Merge pull request #14720 from liewegas/wip-19591
...
mgr: fix session leak
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-21 13:16:48 -05:00
Sage Weil
f7d07ff5dc
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>
2017-04-21 14:15:09 -04:00
Sage Weil
e12396cd7c
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>
2017-04-21 14:15:09 -04:00
Sage Weil
5c95727128
vstart.sh: add --valgrind_mgr
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-21 14:15:09 -04:00
Sage Weil
93f6c0496c
Merge pull request #12272 from kylinstorage/wip-writesame
...
osd: use append(bufferlist &) to avoid unnecessary copy
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-21 12:23:41 -05:00
Sage Weil
cf5152ff63
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>
2017-04-21 12:23:05 -05:00
Sage Weil
97478a7497
Merge pull request #13019 from wonzhq/wip-long-io
...
osd: support dumping long ops
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-21 12:22:51 -05:00
Sage Weil
21676451d3
Merge pull request #14358 from majianpeng/osd-remove-modsubop
...
osd/ReplicatedBackend: remove MOSDSubOp cruft from repop_applied
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-21 12:22:38 -05:00
Casey Bodley
07b1c0dfc8
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>
2017-04-21 11:17:14 -04:00
Kefu Chai
2b12429fb5
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>
2017-04-21 23:08:27 +08:00
Kefu Chai
141dc21ac7
Merge pull request #14693 from mogeb/init-ceph-libs
...
init-ceph: add ceph libraries path to environment
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-21 23:04:57 +08:00
Kefu Chai
c67bb9cc3a
Merge pull request #12898 from XinzeChi/wip-interval-return
...
common/interval_set: return int64_t for size()
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-21 23:00:07 +08:00
Kefu Chai
c237e7ed29
Merge pull request #14232 from jcsp/wip-19412
...
mgr: fix python module teardown & add tests
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-21 22:57:44 +08:00
Sage Weil
1cb4da85e9
mon/OSDMonitor: cleanup: use range-based loop
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-21 10:56:28 -04:00
Sage Weil
069182f91f
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>
2017-04-21 10:56:28 -04:00
Kefu Chai
6fa16c4477
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>
2017-04-21 22:56:21 +08:00
Kefu Chai
2f09a20ddd
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>
2017-04-21 22:55:37 +08:00
Casey Bodley
9a0f17b6f4
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>
2017-04-21 10:54:55 -04:00
Casey Bodley
a510acfe78
Merge pull request #13956 from hrchu/rgw-admin-doc
...
Indicate how to add multiple admin capbabilies
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-04-21 10:52:28 -04:00
Casey Bodley
307060e010
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>
2017-04-21 10:50:55 -04:00
Kefu Chai
2005ce83ad
mgr: release allocated PyString
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-21 22:36:34 +08:00
Casey Bodley
8d49bf0c68
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>
2017-04-21 10:26:19 -04:00
Sage Weil
4aa9bfa716
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>
2017-04-21 09:06:39 -05:00
Sage Weil
fa75e4d90d
Merge pull request #14424 from dachary/wip-jerasure-sync
...
erasure-code: sync jerasure/gf-complete submodules
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-04-21 08:39:43 -05:00
Sage Weil
5090cf7419
Merge pull request #14558 from liewegas/wip-18293
...
osd: fix occasional MOSDMap leak
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-21 08:38:59 -05:00
Sage Weil
a60e03c79e
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>
2017-04-21 08:38:47 -05:00
Sage Weil
2be5b39cea
Merge pull request #14640 from ovh/bp-fiemap-burden
...
osd, os: reduce fiemap burden
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-21 08:38:32 -05:00
Sage Weil
b2a8207582
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>
2017-04-21 08:37:46 -05:00
Sage Weil
cc3c43bc33
Merge pull request #14645 from liewegas/wip-mgr-mon
...
mon/MgrMonitor: only propose if we updated
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-21 08:37:31 -05:00
Sage Weil
4c1d59c549
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>
2017-04-21 08:37:18 -05:00
Kefu Chai
cef433eccb
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>
2017-04-21 14:39:44 +08:00
Dan Mick
8c249e4b2b
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>
2017-04-21 14:17:09 +08:00
Dan Mick
6fc3a46295
mgr/PyModules handle_pyerror: don't add extra newlines to tb
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-21 14:17:09 +08:00
Dan Mick
71a9856233
mgr/MgrPyModule.cc: get Python traceback in all CallMethod spots
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-21 14:17:09 +08:00
Tim Serong
3d3ee4bf76
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>
2017-04-21 14:17:09 +08:00
Kefu Chai
f50d9f799d
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>
2017-04-21 14:17:09 +08:00
Jason Dillaman
dee4f31cab
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>
2017-04-20 21:52:56 -04:00
David Zafman
daeb4d072c
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>
2017-04-20 18:18:16 -07:00
David Zafman
7d579ff12b
cephtool.yaml: Add "failsafe" osd error messages to whitelist
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-04-20 15:47:12 -07:00
Willem Jan Withagen
59238fb1db
qa/workunits/ceph-helpers.sh: Improve test_mon_pg() by starting healthy
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-04-20 15:47:01 -07:00