John Spray
ea688a6d46
qa/suites/fs: more meaningful names for sub suites
...
The "recovery" sub suite was originally tests for
client/mds recovery in certain failure cases, it has
since grown to include lots of unit testing of
various features using CephFSTestCase.
The "basic" suite is now specifically just running workloads
now that I've moved out the smaller functional tests.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:55 +01:00
John Spray
0362d08121
qa/suites/fs: put simple functional tests together
...
Most of what's in basic/ is "workload" type testing
(i.e. a simple cluster cluster configuration and then
running a script inside the client), which gets
permuted in various ways. Move the simpler
functional tests out with the others like themselves.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:54 +01:00
John Spray
3e3b94783c
qa: don't permute object store for functional tests
...
These are unit tests for specific CephFS functionality,
it is gratuitous to repeat them with different underlying
RADOS object stores.
We retain coverage of XFS vs. bluestore in the workload tests.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:54 +01:00
John Spray
16702ff13d
Merge pull request #14018 from jcsp/wip-17939
...
client: getattr before returning quota/layout xattrs
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-04-24 11:12:26 +01:00
Brad Hubbard
3c257ef131
Merge pull request #14729 from joscollin/wip-cleanup-osdc-comparision
...
osdc: silence warning from `-Wsign-compare`
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-24 15:01:41 +10:00
Kefu Chai
a952f84bd1
Merge pull request #14711 from jcsp/wip-19738
...
mon: don't call propose_pending in prepare_update()
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-24 12:20:42 +08:00
Kefu Chai
1b94f34061
Merge pull request #14740 from petermaloney/master
...
doc: fix link that pointed to a nonexistent file
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-24 12:02:28 +08:00
Jos Collin
59fb7ae154
osdc: warning: comparison between signed and unsigned integer expressions
...
The following warning appears during make. Fixed the review comments too.
[ 28%] Building CXX object src/mds/CMakeFiles/mds.dir/__/osdc/Journaler.cc.o
./src/osdc/Journaler.cc: In member function ‘void Journaler::_do_flush(unsigned int)’:
./src/osdc/Journaler.cc:643:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (newlen < len) {
~~~~~~~^~~~~
Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-04-24 09:05:28 +05:30
Brad Hubbard
c4eb6915d1
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>
2017-04-24 11:49:10 +10:00
Sage Weil
b25b53ff03
Merge pull request #13898 from songbaisen/m5
...
osd: check fsid is normal before osd mkfs
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-23 15:49:28 -05:00
Sage Weil
d764b56822
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>
2017-04-23 15:47:58 -05:00
Sage Weil
0d368d2c85
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>
2017-04-23 15:47:28 -05:00
Peter Maloney
3c08894fe0
doc: fix link that pointed to a nonexistent file
...
commit d788bae60d
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>
2017-04-23 20:33:03 +02:00
Mykola Golub
44cd43d579
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>
2017-04-23 19:32:43 +03:00
Orit Wasserman
5de9a3ef77
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>
2017-04-23 19:09:57 +03:00
Kefu Chai
ac6f6d2c29
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>
2017-04-23 22:40:40 +08:00
Casey Bodley
2b341bfd62
Merge pull request #14335 from hrchu/radosgw-admin-api-subuser
...
doc: rgw: Clean up create subuser parameters
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-04-22 11:49:05 -04:00
Haomai Wang
66e68b32db
Merge pull request #14707 from wjwithagen/wip-wjw-freebsd-kqueue-logging
...
msg: Increase loglevels on some messages
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-04-22 11:46:48 +08: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
Casey Bodley
8a459c768f
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>
2017-04-21 15:08:08 -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