Commit Graph

69126 Commits

Author SHA1 Message Date
Sage Weil
1a0ad2b488 qa/suites/upgrade/jewel-x/parallel: expand workload matrix
These should run independently against a racing upgrade.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-06 22:02:19 -05:00
Sage Weil
b2d354d563 qa/suites/upgrade/jewel-x/stress-split-erasure-code: box thrashosds
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-06 14:11:53 -05:00
Sage Weil
56f9387736 qa/suites/upgrade/jewel-x/stress-split: finish client.0 upgrade too
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-06 14:07:53 -05:00
Sage Weil
468285b65d qa/suites/upgrade/jewel-x: remove kraken references
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-05 14:14:40 -05:00
Sage Weil
2e3ea53b41 qa/suites/upgrade/jewel-x/parallel: fix upgrade to luminous
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-01 19:50:23 -06:00
Sage Weil
1e0e53c80d qa/suite/upgrade/jewel-x: drop x86 ec test
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-01 19:50:23 -06:00
Sage Weil
269eafb202 qa/suites/upgrade/jewel-x: fix upgrade order; fix split grouping
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-01 19:50:23 -06:00
Sage Weil
e6e83659f5 Merge pull request #13343 from liewegas/wip-faster-dispatch
osd: faster dispatch

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-03-01 09:21:55 -06:00
Radoslaw Zarzynski
d40a318f63 Merge pull request #13557 from prallabh/healthcheck
rgw: Correct the return codes for the health check feature

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-01 13:06:06 +01:00
Kefu Chai
fec59e80ef Merge pull request #13685 from tchaikov/wip-19097
mgr/MgrClient: use unique_ptr for MgrClient::session

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-01 18:12:14 +08:00
Haomai Wang
3955caca28 Merge pull request #13716 from Adirl/move_counter
msg/async/rdma: move active_queue_pairs perf counter dec to polling

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-03-01 15:54:17 +08:00
DanielBar-On
b364d24a57 msg/async/rdma: move active_queue_pairs perf counter dec to polling
removing dead qp's is actually done at polling. if polling is busy then
dead qp will not be removed and active_queue_pair counter is not correct.

issue: 992513

Change-Id: I825e813ce0632fd01f6d29adc87e0e33a2bc13d9
Signed-off-by: DanielBar-On <danielbo@mellanox.com>
2017-03-01 09:02:28 +02:00
root
4da2bf310f rgw: Correct the return codes for the health check feature
Fixes: http://tracker.ceph.com/issues/19025
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
2017-03-01 11:49:24 +05:30
Kefu Chai
27d4dcdf2d mon/MonClient: do not assert on auth in build_authorizer()
* there is chance that some connections is still trying to authorize
  itself after the MonClient is shut down. do not assert in this case,
  but it is a sign of bug, or bad shutdown sequence, so print a message to
  dout().
* do not use active_con->get_auth() as an alternative to `this->auth` if
  it is not available. because we promote the authorized conn in
  pending_cons as the active_con, and std::swap(active_conn->auth, this->auth)
  with the monc_lock. so there is no point to return active_con->get_auth(),
  as it's always null.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-01 10:11:12 +08:00
Matt Benjamin
2bcd9d7dde Merge pull request #13703 from linuxbox2/wip-is-linked
rgw_file:  use fh_hook::is_linked() to check residence
verified by hand f23
2017-02-28 16:16:16 -05:00
Matt Benjamin
c0aa515f8d rgw_file: use fh_hook::is_linked() to check residence
Previously we assumed that !deleted handles were resident--there
is an observed case where a !deleted handle is !linked.  Since
we currently use safe_link mode, an is_linked() check is
available, and exhaustive.

Fixes: http://tracker.ceph.com/issues/19111

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-02-28 15:56:40 -05:00
Sage Weil
7884fbff04 Merge pull request #13671 from liewegas/wip-filestore-omap
os/filestore: debug which omap keys are set

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-28 14:27:10 -06:00
Matt Benjamin
af7f0483ab Merge pull request #13546 from cbodley/wip-19019
rgw: RGWMetaSyncShardControlCR retries with backoff on all error codes
tested by-had, using fault injection
2017-02-28 15:06:15 -05:00
Sage Weil
3212ba75cf Merge pull request #13415 from ifed01/wip-fix-storetest
test/store_test: add deferred test case setup to support explicit min…

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-28 13:19:20 -06:00
Sage Weil
9fcef127df Merge pull request #13476 from songbaisen/s18
osd: small clear up and optimize on _recover_now and should_share_map function

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-28 13:18:08 -06:00
Jason Dillaman
0ca0a0a8fe Merge pull request #13686 from wjwithagen/wip-wjw-fsx-linux-2
test: Need to exclude the fsx executable also on FreeBSD

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-28 12:25:52 -05:00
Kefu Chai
1f0824b72d Merge pull request #13523 from wjwithagen/wip-wjw-clang-mempool
include/mempool.h: fix Clangs complaint about types

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-01 00:02:29 +08:00
Kefu Chai
5d152cc63a Merge pull request #13659 from majianpeng/compiler-warning
common/EventTrace: fix compiler warning.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-01 00:01:46 +08:00
Kefu Chai
91c09376ba Merge pull request #13667 from jcsp/wip-mgr-misc
mgr: use unique_ptr for MgrStandby::active_mgr

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-01 00:00:30 +08:00
Kefu Chai
15cbb9855c Merge pull request #13669 from jcsp/wip-mgr-get-version
mgr: add a get_version to the python interface

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-01 00:00:02 +08:00
Sage Weil
ef6de18a62 Merge pull request #13692 from Liuchang0812/wip-add-override-in-auth-headers
common/auth: add override in headers

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-28 09:54:55 -06:00
John Spray
bb041c61eb Merge pull request #13591 from batrick/mds-static-counters
mds: automate MDS object count tracking

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-28 15:07:46 +00:00
John Spray
a04179110e Merge pull request #13581 from jcsp/wip-mdsmonitor-refactor
mon: refactor MDSMonitor command handling

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-02-28 15:07:20 +00:00
John Spray
6a0c9870c2 Merge pull request #13532 from ukernel/wip-18995
ceph_fuse: fix daemonization when pid file is non-empty

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-28 15:06:07 +00:00
John Spray
c9f53ffaf1 Merge pull request #13464 from jcsp/wip-sessionmap-ioerror
mds: fix IO error handling in SessionMap

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-02-28 15:05:21 +00:00
John Spray
39204abeda Merge pull request #13282 from jcsp/wip-fuse-mount-teardown
tasks/cephfs: tear down on mount() failure

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-02-28 15:04:59 +00:00
Orit Wasserman
1c733225e2 Merge pull request #13676 from yehudasa/wip-19096
rgw: don't init rgw_obj from rgw_obj_key when it's incorrect to do so
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-02-28 15:58:03 +02:00
Kefu Chai
50a0fe4fc9 Merge pull request #13600 from dachary/wip-17821-revert
ceph-disk: Revert "Revert "change get_dmcrypt_key test to support different cluster name""

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-28 20:44:55 +08:00
liuchang0812
4975d6d3d1 common/auth: add override in headers
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-28 17:22:51 +08:00
Willem Jan Withagen
285afdeeb0 src/test/librbd/CMakeLists.txt: Need to exclude the fsx executable also on FreeBSD
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-02-28 09:32:38 +01:00
Kefu Chai
c53073aa61 Merge pull request #13682 from tahia-khan/wip-doc-architecture-rados-hyperlink
doc: fixes a broken hyperlink to RADOS paper in architecture

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-28 16:15:00 +08:00
Kefu Chai
4d1989dc22 mgr/MgrClient: use unique_ptr for MgrClient::session
* use unique_ptr<MgrSessionState> for MgrClient::session, so we don't leak it.
* also reset it in MgrClient::shutdown(), so the connection held by session can
  be released properly, and hence the MonClient will not be asked for
  an AuthAuthorizer after being shut down.

Fixes: http://tracker.ceph.com/issues/19097
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-28 14:58:11 +08:00
Tahia Khan
a92171ebb8 doc: fixes a broken hyperlink to RADOS paper in architecture
Signed-off-by: Tahia Khan <tahia.khan@gmail.com>
2017-02-27 22:44:58 -05:00
Sage Weil
8962f2c94b Merge pull request #13138 from liewegas/wip-vstart
vstart: clean up usage a bit

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-27 20:58:10 -06:00
Kefu Chai
ae85309b8d Merge pull request #13663 from tchaikov/wip-ceph-git-for-workunit
qa/tasks/workunit: use ceph.git as an alternative of ceph-ci.git for cloning workunit

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-28 10:32:00 +08:00
Jason Dillaman
dce46e0499 Merge pull request #13650 from trociny/wip-entity_addr-parse
msg: end parameter in entity_addr_t::parse is optional

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-27 21:28:50 -05:00
Kefu Chai
4f9580d36c Merge pull request #13630 from wjwithagen/wip-wjw-fsx-linux
test/librbd/CMakeLists.txt: ceph_test_librbd_fsx requires linux includes/libs

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-02-28 10:18:14 +08:00
Jason Dillaman
c099bb76a9 Merge pull request #13196 from vshankar/rbd-ut-fix
test: fix rbd unit test cases w/ striping feature

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-27 21:16:58 -05:00
Jason Dillaman
4756ce6159 Merge pull request #12645 from guihecheng/wip-rbd-writesame-api
librbd: add writesame API

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-27 20:37:50 -05:00
Casey Bodley
3e4059557f rgw: RGWMetaSyncShardControlCR retries with backoff on all error codes
RGWBackoffControlCR only treats EBUSY and EAGAIN as 'temporary' error
codes, with all other errors being fatal when exit_on_error is set

to RGWMetaSyncShardControlCR, a 'fatal' error means that no further sync
is possible on that shard until the gateway restarts

this changes RGWMetaSyncShardControlCR to set exit_on_error to false, so
that it will continue to retry with backoff no matter what error code it
gets

Fixes: http://tracker.ceph.com/issues/19019

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-02-27 15:05:18 -05:00
Zack Cerza
7f70afa873 Merge pull request #13672 from zmc/wip-openstack-volumes
qa/suites/{ceph-ansible,rest}: OpenStack volumes
2017-02-27 12:22:59 -07:00
Sage Weil
f8ab3f1ce4 vstart.sh: set host for mgr.* conf sections
This makes init-ceph work.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-27 13:57:00 -05:00
Yehuda Sadeh
392c5d9dae rgw: don't init rgw_obj from rgw_obj_key when it's incorrect to do so
Fixes: http://tracker.ceph.com/issues/19096

rgw_obj_key currently deals with the bucket index key, and not
representing a (name, instance, ns) tupple. Need to initialize
it in two steps.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-02-27 10:40:04 -08:00
Sage Weil
b03d44b8dd Merge pull request #13675 from liewegas/wip-words
doc/release-notes: avoid 'production-ready' in describing kraken

Reviewed-by: Ian Colle <icolle@redhat.com>
2017-02-27 10:54:23 -06:00
Yuri Weinstein
f15d025041 Merge pull request #13547 from liewegas/wip-kill-copy-get-classic
osd: remove copy-get-classic

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-27 08:36:19 -08:00