Commit Graph

74314 Commits

Author SHA1 Message Date
Willem Jan Withagen
3ae960d6be ./src/vstart.sh: Work around mgr restfull not available
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-06-23 11:33:18 +02:00
Haomai Wang
6ffb6eb0e8 Merge pull request #15832 from Adirl/pd_assert
msg/async/rdma: remove assert from ibv_dealloc_pd in ProtectionDomain

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-06-23 09:26:06 +08:00
Matt Benjamin
45f4853da1 Merge pull request #15283 from donglinpeng/copyPartUpload
rgw: multipart copy-part remove '/' for s3 java sdk request header.
(make check failures not related)
2017-06-22 19:15:00 -04:00
Sage Weil
90c8484618 Merge pull request #15857 from theanalyst/doc/v12.1.0/release-notes-3
doc: v12.1.0 release notes notable changes addition again
2017-06-22 16:25:06 -05:00
Abhishek Lekshmanan
570fa825fd doc: v12.1.0 release notes notable changes addition again
commmits from 9f259cb923e7474229bb2e5e54b59f3b7f068bc5..luminous && sort

Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2017-06-22 22:58:37 +02:00
Matt Benjamin
34ab09b614 Merge pull request #15819 from linuxbox2/wip-clru-lockfix
rgw_file: avoid a recursive lane lock in LRU drain
(failing make check is unrelated)
2017-06-22 15:33:50 -04:00
Matt Benjamin
e12fc13e25 rgw_file: avoid a recursive lane lock in LRU drain
While highly unlikely in normal fs operations, draining an
entire filesystem could induce a recursion on object delete/unref,
when provoked by cohort_lru::drain().

Adjusted to use intrusive slist rather than std:vector<T*>
after review.

Found running librgw_file_nfsns unit test.

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

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-06-22 15:00:42 -04:00
Sage Weil
580c890522 Merge pull request #15814 from liewegas/wip-everyone-hates-btrfs
qa/objectstore/filestore-btrfs: test btrfs on trusty only
2017-06-22 09:50:55 -05:00
Sage Weil
bc867c7299 Merge pull request #15820 from liewegas/wip-20303
mon/PGMap: slightly better debugging around pgmap updates

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-22 08:38:50 -05:00
Sage Weil
4a76eaee7a Merge pull request #15846 from xiexingguo/wip-remap-upmap
mon/OSDMonitor: _apply_remap -> _apply_upmap; less code redundancy

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-22 08:33:35 -05:00
xie xingguo
3e1e10b5d1 mon/OSDMonitor: less code redundancy
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-06-22 20:00:04 +08:00
John Spray
53fc7a5fc1 Merge pull request #15805 from jcsp/wip-mds-flush-upgrade
client: check for luminous MDS before sending FLUSH_MDLOG

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-22 07:08:51 -04:00
John Spray
b7048b2c7b Merge pull request #15800 from ukernel/wip-20340
mds: save  projected path into inode_t::stray_prior_path

Reviewed-by: John Spray <john.spray@redhat.com>
2017-06-22 07:07:59 -04:00
John Spray
1e917eb8d6 Merge pull request #15776 from ukernel/wip-20338
osdc/Journaler: fix memory leak in Journaler::_issue_read()

Reviewed-by: John Spray <john.spray@redhat.com>
2017-06-22 07:07:21 -04:00
John Spray
7e991fe36e Merge pull request #15430 from jcsp/wip-20165
mds: fix hangs involving re-entrant calls to journaler

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-06-22 07:06:41 -04:00
John Spray
38dccd2c72 Merge pull request #15548 from ukernel/wip-20196
mds: improvements for stray reintegration

Reviewed-by: John Spray <john.spray@redhat.com>
2017-06-22 06:46:27 -04:00
xie xingguo
422e218486 mon/MonCommand: fix description of "osd pg-upmap"
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-06-22 17:26:47 +08:00
xie xingguo
b84ab54280 osd/OSDMap: _apply_remap -> _apply_upmap
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-06-22 16:50:27 +08:00
Igor Fedotov
670d18e61b Merge pull request #15796 from lixiaoy1/fio_ceph_objectstore
fio_ceph_objectstore: Print db_statistics when rocksdb_perf is enabled
2017-06-22 12:01:00 +04:00
Orit Wasserman
c320fbd9f8 Merge pull request #15753 from pritha-srivastava/wip-rgw-s3tests-conf
rgw: Changes for s3test config file, to add user under a tenant.
Reviewed-by: Casey Bodely <cbodley@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-06-22 11:00:26 +03:00
Daniel Bar-On
cb920f6485 msg/async/rdma: remove assert from ibv_dealloc_pd in ProtectionDomain
destructor

issue: 1044307

Change-Id: I2fe2099c5f4403f14877e0fbe5d4868dd34d4f9b
Signed-off-by: DanielBar-On <danielbo@mellanox.com>
2017-06-22 10:11:13 +03:00
Mykola Golub
0d26ae3be0 Merge pull request #15317 from liupan1111/wip-fix-list
rbd-nbd: display pool/image/snap information in list output

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-06-22 07:31:32 +03:00
Jos Collin
b4d17bf2ca Merge pull request #15803 from mikulely/cleanup-rgw_rados_doc
rgw: update function doc in rgw_rados.h  and rgw_rados.cc

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-06-22 04:27:29 +00:00
Sage Weil
4c8c3e93b0 Merge pull request #15261 from mychoxin/yuanxin_use_func
os/filestore: when print log, use __func__ instead of hard code function name

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-06-21 21:14:30 -05:00
Sage Weil
288f623878 Merge pull request #15354 from badone/wip-rados-ls-auth-fix
osd: Reverse order of op_has_sufficient_caps and do_pg_op

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-06-21 21:14:01 -05:00
Sage Weil
dd8fed575a Merge pull request #15649 from liewegas/wip-20274
osd/PrimaryLogPG: record prior_version for DELETE events

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-21 21:13:14 -05:00
Sage Weil
8d8f2c3dc3 Merge pull request #15601 from liewegas/wip-no-restful-cert
mgr: remove default cert; disable both restful and dashboard by default

Reviewed-by: Boris Ranto <branto@redhat.com>
2017-06-21 21:10:35 -05:00
Jiaying Ren
c61d12e729 rgw: update rgw_rados.h function doc
+ update system_obj_get_attr func comment
+ drop deprecated func comment for get_obj
+ update func comment for pool_iterate_begin

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2017-06-22 09:33:15 +08:00
Haomai Wang
49fe721073 Merge pull request #15755 from Adirl/wip-HUGEPAGES
msg/async/rdma: automatically set RDMAV_HUGEPAGES_SAFE according to conf

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-06-22 09:23:29 +08:00
Sage Weil
e5dd3a3ca2 qa/workunits/rest/test_mgr_rest_api: remove ruleset
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-21 21:17:14 -04:00
Sage Weil
647533f552 qa/suites/rados/rest/mgr-restful: configure cert
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-21 21:09:58 -04:00
Sage Weil
025debbb9f pybind/mgr/restful: add 'restful restart' command
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-21 21:00:35 -04:00
Jason Dillaman
fee2ea1c1c Merge pull request #15757 from runsisi/wip-image-ts
librbd: add create timestamp metadata for image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-06-21 20:51:52 -04:00
Kefu Chai
720aea32bc Merge pull request #15444 from wjwithagen/wip-wjw-freebsd-termwidth
test: Make screencandy optional for FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-22 07:46:57 +08:00
Sage Weil
7879efdd6b osd/PGLog: ignore ERROR entires in _merge_object_divergent_entries
Sometimes ERROR log entries do not have prior_version.  Also,
they aren't actually updates and don't affect the object.

Fixes: http://tracker.ceph.com/issues/20274
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-21 18:25:47 -04:00
Sage Weil
e6d2c0052d mon/PGMap: slightly better debugging around pgmap updates
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-21 17:50:59 -04:00
Sage Weil
b8a9ee8eb3 Merge pull request #15783 from liewegas/wip-20358
os/bluestore: move sharedblob to new collection in same shard
2017-06-21 16:01:51 -05:00
Sage Weil
41401c0ad7 Merge pull request #15785 from liewegas/wip-bluestore-fsck
qa/objectstore/bluestore*: fsck on mount

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-06-21 16:01:07 -05:00
Sage Weil
3a9fa481c5 qa/objectstore/filestore-btrfs: test btrfs on trusty only
Centos btrfs hits ENOSPC all the time :(, and now xenial is doing
it too.

See http://tracker.ceph.com/issues/20169
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-21 16:44:25 -04:00
Mykola Golub
039b74ddfb Merge pull request #15734 from dillaman/wip-librbd-image-remove
librbd: fix issues with image removal state machine

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-06-21 23:41:33 +03:00
Gregory Farnum
0e51ab1012 Merge pull request #15727 from ovh/bp-runtime-cfg-of-hb-inflator
osd, messages/MOSDPing: bunch of fixes related to ping inflation

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-06-21 16:05:40 -04:00
Yuri Weinstein
88fe387614 Merge pull request #15723 from badone/wip-ceph-mon-startup-error-logging
mon: Log errors at startup

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-21 13:01:35 -07:00
Sage Weil
faa44ed3bc Merge pull request #15784 from liewegas/wip-thrash-cleanup
qa/tasks/ceph_manager: get osds all in after thrashing
2017-06-21 14:31:34 -05:00
Sage Weil
a6831381ad Merge pull request #15787 from liewegas/wip-19943-fix
ceph-objectstore-tool: do not populate snapmapper with missing clones

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-06-21 14:31:02 -05:00
Kefu Chai
b85e572109 Merge pull request #15813 from tchaikov/wip-cmake
cmake: do not add dependencies to INTERFACE library on cmake < 3.3

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2017-06-22 00:57:17 +08:00
Sage Weil
a9ae65e71b pybind/mgr/restful: remove default path names for the cert
I don't think these are useful.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-21 12:32:52 -04:00
Sage Weil
4e4d81cd70 pybind/mgr/restful: do not start if no certificate is configured
This removes the default filename, by the way.  We also work around a
problem with make_server where it sets up the socket to listen before
checking for the cert, thereby making it problematic to rebind to the
port shortly thereafter when we do have a socket.  (SO_REUSEADDR would
be appropriate but there doesn't seem to be an easy way to make
make_server use it.)

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-21 12:32:52 -04:00
Boris Ranto
4dc471ed60 restful: Introduce create-self-signed-cert command
This implements a create-self-signed-cert command for the ceph-mgr
restful interface.

It is designed so that it will try to restart the module once the cert
is created.

Signed-off-by: Boris Ranto <branto@redhat.com>
2017-06-21 12:32:49 -04:00
Casey Bodley
81f85d74b2 Merge pull request #15060 from shashalu/fix-slo-dlo-range
rgw: fix SLO/DLO range requests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-21 12:12:38 -04:00
Sage Weil
be5e6e3662 Merge pull request #15791 from liewegas/wip-20360
Revert "qa: do not restrict valgrind runs to centos"
2017-06-21 10:55:53 -05:00