Commit Graph

69110 Commits

Author SHA1 Message Date
Tamil Muthamizhan
3afb889540 qa: add supported distros for ceph-ansible
Add only distros supported by ceph-ansible

Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
2017-02-28 16:28:06 -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
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
Yuri Weinstein
ab6cde5fce Merge pull request #13574 from liewegas/wip-mon-mapping
mon/OSDMonitor: make mapping job behave if mon_osd_prime_pg_temp = false

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-27 08:35:39 -08:00
Jianpeng Ma
01a0805b2b common/EventTrace: fix compiler warning.
/mnt/ceph/src/osd/OSD.cc: In member function ‘void
OSD::dequeue_op(PGRef, OpRequestRef, ThreadPool::TPHandle&)’:
/mnt/ceph/src/osd/OSD.cc:9112:42: error: invalid conversion from ‘const
Message*’ to ‘Message*’ [-fpermissive]
   OID_EVENT_TRACE_WITH_MSG(op->get_req(), "DEQUEUE_OP_BEGIN", false);
                                          ^
In file included from /mnt/ceph/src/osd/OSD.h:57:0,
                 from /mnt/ceph/src/osd/OSD.cc:38:
/mnt/ceph/src/common/EventTrace.h:72:15: note:   initializing argument 1
of ‘static void EventTrace::trace_oid_event(Message*, const char*, const
char*, const char*, int, bool)’
   static void trace_oid_event(Message *m, const char *event, const char
*file,
               ^
/mnt/ceph/src/osd/OSD.cc:9158:42: error: invalid conversion from ‘const
Message*’ to ‘Message*’ [-fpermissive]
   OID_EVENT_TRACE_WITH_MSG(op->get_req(), "DEQUEUE_OP_END", true);
                                          ^
In file included from /mnt/ceph/src/osd/OSD.h:57:0,
                 from /mnt/ceph/src/osd/OSD.cc:38:
/mnt/ceph/src/common/EventTrace.h:72:15: note:   initializing argument 1
of ‘static void EventTrace::trace_oid_event(Message*, const char*, const
char*, const char*, int, bool)’
   static void trace_oid_event(Message *m, const char *event, const char
*file,
               ^
src/osd/CMakeFiles/osd.dir/build.make:62: recipe for target
'src/osd/CMakeFiles/osd.dir/OSD.cc.o' failed

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-02-28 00:30:58 +08:00
Sage Weil
d3c638fc5a doc/release-notes: choose terms carefully
Production-ready is in the eye of the beholder.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-27 11:29:46 -05:00
Zack Cerza
99d942145f qa/suites/rest: Openstack volumes
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-27 09:14:41 -07:00
Zack Cerza
964b983bdb qa/suites/ceph-ansible: Openstack volumes
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-27 09:06:26 -07:00
Sage Weil
ef6c66287d os/filestore: debug which omap keys are set
This may help us find http://tracker.ceph.com/issues/19067

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-27 10:52:07 -05:00
Sage Weil
df3bc64532 test/CMakeLists.txt: include ceph-mgr
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-27 09:56:55 -05:00
Sage Weil
f6966ebdfa vstart.sh: fix init-ceph stop on vstart
Do this before the old ceph.conf is deleted!

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-27 09:56:55 -05:00
Sage Weil
6fff3e7478 vstart.sh: fix init-ceph path in cmake environment
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-27 09:56:55 -05:00
Sage Weil
b2ec3377ae ceph_common.sh: add mgr support to init-ceph
This is mainly for the benefit of vstart.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-27 09:56:55 -05:00
Sage Weil
fdde99e15f stop.sh: add 'mgr' arg
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-27 09:56:55 -05:00
Sage Weil
f557edb189 vstart.sh: drop -r arg for radosgw, and use RGW=n instead
Simpler!  The start_* vars are all stupid.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-27 09:56:55 -05:00
Sage Weil
55cd4e8b18 vstart.sh: respect CEPH_NUM_RGW
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-27 09:56:54 -05:00
Sage Weil
a559b01430 vstart.sh: start 1 ceph-mgr by default
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-27 09:56:54 -05:00