Commit Graph

79376 Commits

Author SHA1 Message Date
Alfredo Deza
5a0b17de81 ceph-volume tests create a small factory fixture
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-03 09:00:13 -04:00
Alfredo Deza
c5b933a96d ceph-volume tests ensure Volume.as_dict gets populated correctly
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-03 09:00:13 -04:00
Alfredo Deza
2d80190a03 ceph-volume lvm.listing initial take on listing command
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-03 09:00:13 -04:00
Alfredo Deza
0cae22750f ceph-volume lvm.api be able to return a dictionary repr of a Volume object
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-03 09:00:13 -04:00
Alfredo Deza
233f64a4fd ceph-volume process allows to fully mute terminal output on commands
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-03 09:00:13 -04:00
Alfredo Deza
3c5bbbc582 ceph-volume lvm.api use a helper to get an lv from an arg
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-03 09:00:13 -04:00
Alfredo Deza
ff72fd0ed5 ceph-volume lvm add listing module to main
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-03 09:00:13 -04:00
Jos Collin
cf931d3d9f script/ptl-tool.py: Fixed error message
Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-10-03 17:30:10 +05:30
Haomai Wang
5d6d1388c1 Merge pull request #18053 from ownedu/wip-fix-async-rdma-tx-buffer-leakage
msg/async/rdma: fix Tx buffer leakage that can introduce "heartbeat no reply"

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Alex Mikheev <alexm@mellanox.com>
2017-10-03 04:53:43 -05:00
Vasily Philipov
7ba25bb52a msg/async/rdma: uninitialized variable fix
When port constructor is called gid_idx variable stays uninitialized if
"#else" case is acting.

Signed-off-by: Vasily Philipov <vasilyf@mellanox.com>
2017-10-03 12:15:13 +03:00
Li Wang
6e66bcb23b ceph_mon: warn on invalid port configuration
It checks the validty of monitor port configuration
in ceph.conf, and warns if necessary.

Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-03 05:40:09 +00:00
Chang Liu
81e4560781 tool: ceph-kvstore-tool doesn't umount BlueStore properly
Fixes: http://tracker.ceph.com/issues/21625

Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2017-10-03 13:00:02 +08:00
Kefu Chai
0ee5afdbd0 Merge pull request #17997 from ivancich/wip-bring-in-latest-dmclock
osd: bring in latest dmclock library updates

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-03 12:21:08 +08:00
Sage Weil
1d26eb38bf Merge pull request #18003 from cbodley/wip-build-options-move
common: use move instead of copy in build_options()

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-10-02 21:47:22 -05:00
Jason Dillaman
881f2a02ae osd: additional protection for out-of-bounds EC reads
Fixes: http://tracker.ceph.com/issues/21629
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-10-02 20:59:09 -04:00
Josh Durgin
debe50b882 Merge pull request #18029 from jdurgin/wip-kvstore-tool
ceph-kvstore-tool: copy to different store type and cleanup properly

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-02 16:33:25 -07:00
Sage Weil
af72a8932c mgr/localpool: optionally adjust min_size too
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-02 17:13:12 -05:00
Sage Weil
9624923f19 mgr/localpool: default to 3x
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-02 17:11:38 -05:00
Casey Bodley
cd0bd44a76 Merge pull request #17999 from cbodley/wip-21576
rgw: include SSE-KMS headers in encrypted upload response

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2017-10-02 16:57:29 -04:00
Chang Liu
2754c5acad os/bluestore: make BlueStore opened by start_kv_only umountable
ceph-kvstore-tool use start_kv_only to debug the kvstore. we
will get a crash when we try to umount bluestore in kvstore-tool.

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

Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2017-10-03 00:15:44 +08:00
Patrick Donnelly
192ade04c7
ptl-tool: make more configurable and usable
Make the script executable, add arguments/usage, and a basic README.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-02 08:47:00 -07:00
Casey Bodley
ca91b3187e Merge pull request #18063 from oritwas/wip-rgw-21610
doc: replace region with zonegroup in configure bucket sharding section

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-10-02 10:44:34 -04:00
Li Wang
5d7e612ea6 tools: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
efa6442e78 test: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
65be34c25c rgw: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
749e640dd7 rbd_replay: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
1156d9d96e mon: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
050e987265 mgr: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
b5ab2c35e2 librbd: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
ad340aa41a key_value_store: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
a5bdeaefad journal: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Sage Weil
c3e51c97fc Merge pull request #18077 from joscollin/wip-drop-unused-function-declaration
os/kstore: Drop unused function declaration

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-02 08:41:19 -05:00
Matt Benjamin
8c344366da Merge pull request #18046 from mdw-at-linuxbox/master-awsv4-sort
radosgw: fix awsv4 header line sort order.
2017-10-02 09:26:33 -04:00
Sage Weil
f5e0216060 Merge pull request #18075 from dragonylffly/wip-remove-unused-declaration
os/bluestore: drop unused function declaration

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-02 07:24:10 -05:00
Sage Weil
76d84ac194 qa/suites/rados/singleton/all/recover-preemption: handle slow starting osd
The OSD may not be marked up yet; set the config via the admin
socket.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-02 07:20:57 -05:00
Jason Dillaman
a2702d70dc Merge pull request #18067 from trociny/wip-qa-pg_num
qa/workunits/rbd: pool create may fail for small cluster

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-02 08:20:09 -04:00
Jos Collin
c9cbe9348d Merge pull request #18076 from joscollin/wip-contributor-list-maintenance-guide
mailmap: Fixed maintenance guide URL

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-10-02 10:36:50 +00:00
John Spray
47bfe6cf17 Merge pull request #17735 from jcsp/wip-mgr-perf-interface
mgr: common interface for TSDB modules

Reviewed-by: My Do <mhdo@umich.edu>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-10-02 11:12:35 +01:00
Jos Collin
de39d5e9bd Merge pull request #18069 from trociny/wip-affiliation
mailmap: update affiliation for Mykola Golub

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-10-02 10:04:58 +00:00
Jos Collin
2fb46354ca os/kstore: Drop unused function declaration
Dropped unnecessary function declaration _do_transaction() in KStore.h

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-10-02 15:29:30 +05:30
Jos Collin
3f98776562 mailmap: Fixed maintenance guide URL
Fixed the Contributors List Maintenance Guide URL in .mailmap, .organizationmap, .githubmap and .peoplemap

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-10-02 14:36:15 +05:30
Mykola Golub
7dd3cfc8cb mailmap, organizationmap: update affiliation for Mykola Golub
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-02 10:41:35 +02:00
Li Wang
d5fdfa1c2a os/bluestore/BlueStore: remove unused declaration
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 07:30:09 +00:00
Li Wang
e482d2ea70 common: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 07:19:31 +00:00
gaosibei
97f95e457f RGW: Multipart upload may double the quota
Fixes: http://tracker.ceph.com/issues/21586

Signed-off-by: Sibei Gao <gaosb@inspur.com>
2017-10-02 11:49:12 +08:00
Kefu Chai
314dff75a4 Merge pull request #18022 from neha-ojha/wip-21566
osd: hold lock while accessing recovery_needs_sleep

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-10-02 11:41:07 +08:00
Kefu Chai
7a663ae9da Merge pull request #18059 from Liuchang0812/remove-duplicated-func
osd: remove duplicated function ec_pool in pg_pool_t

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-10-02 11:40:31 +08:00
Kefu Chai
8233596870 Merge pull request #17913 from rzarzynski/wip-bs-bulky_disk_releases
os/bluestore: release disk extents in bulky manner

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed: Sage Weil <sage@redhat.com>
2017-10-02 11:37:44 +08:00
Kefu Chai
002467953d Merge pull request #17752 from XinzeChi/wip-force-recovery
osd: set min_version to newest version in maybe_force_recovery

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-02 11:35:32 +08:00
Kefu Chai
dd4e4ed3fe Merge pull request #17728 from ygtzf/cleanup-unused-parameter
mon: cleanup unused option mon_health_data_update_interval

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-02 11:34:39 +08:00