Commit Graph

78976 Commits

Author SHA1 Message Date
Sage Weil
2ad8c3706b Merge pull request #18073 from dragonylffly/wip-check-monitor-address-configuration
mon: check monitor address configuration

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-04 13:58:48 -05:00
Sage Weil
776b581272 Merge pull request #18082 from Liuchang0812/wip-21624
os/bluestore: make BlueStore opened by start_kv_only umountable

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-04 13:58:09 -05:00
Sage Weil
1de1109f4c Merge pull request #18083 from Liuchang0812/wip-21625
tool: ceph-kvstore-tool doesn't umount BlueStore properly

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-04 13:56:26 -05:00
Andrew Schoen
7d85e1892f Merge pull request #18110 from ceph/wip-volume-api-change
ceph-volume lvm api refactor/move

Reviewed By: Andrew Schoen <aschoen@redhat.com>
2017-10-04 11:13:25 -05:00
Kefu Chai
6081aeb95e Merge pull request #17380 from ceph/wip-21189
mgr/status: format byte quantities in base 2 multiples

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-04 23:10:30 +08:00
John Spray
e25d30c612 Merge pull request #17746 from elliswuuuuuuuu/wip-prometheus
ceph-mgr: can not change prometheus port for mgr

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-10-04 15:13:45 +01:00
Sage Weil
e462f6cc8a Merge pull request #18089 from liewegas/wip-localpool-min-size
mgr/localpool: default to 3x; allow min_size adjustment

Reviewed-by: John Spray <john.spray@redhat.com>
2017-10-04 08:26:07 -05:00
Sage Weil
7623513935 mgr/localpool: fix rule selection
The 'osd pool create' arg parsing is broken; the rule name for
'ceph osd pool create $name $numpgs replicated $rulename' is passed
via the erasure_code_profile param.  Too many req=false options
without a way to disambiguate them.

Work around it by passing both 'rule' and 'erasure_code_profile'
keys, so that if/when the hack in OSDMonitor.cc is removed it will
still work.  Blech.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-04 08:25:38 -05:00
Alfredo Deza
eec0c8a5c2 ceph-volume tests move lvm api tests into its new test module
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-04 06:44:54 -04:00
Alfredo Deza
66fd41fd4b ceph-volume tests refactor lvm api import for test_listing
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-04 06:43:36 -04:00
Alfredo Deza
2a9a36bd24 ceph-volume tests refactor lvm api import for api tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-04 06:43:18 -04:00
Alfredo Deza
d81aa8c112 ceph-volume tests refactor lvm api import for activate tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-04 06:42:47 -04:00
Alfredo Deza
a00aff7066 ceph-volume tests refactor lvm api import in conftest
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-04 06:42:01 -04:00
Alfredo Deza
f4bee6cb42 ceph-volume devices.lvm refactor importing api to come from api/lvm.py
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-04 06:38:18 -04:00
Alfredo Deza
bb72480d2b ceph-volume move lvm/api.py to api/lvm.py so disk can consume it
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-04 06:38:11 -04:00
Alfredo Deza
f72368641d ceph-volume create an api module to hold common api modules
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-04 06:38:05 -04:00
Kefu Chai
1b9a833356 Merge pull request #18048 from badone/wip-boost-mirrors
make-dist,cmake: Try multiple URLs to download boost before failing

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-04 10:28:35 +08:00
Brad Hubbard
598556f98b make-dist,cmake: Try multiple URLs to download boost before failing
Remove SPOF during boost download for make-dist and later cmake > 3.7

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-10-04 11:13:34 +10:00
Mykola Golub
8152fecd37 Merge pull request #18097 from dillaman/wip-21663
qa/workunits/rbd: fixed variable name for resync image id

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-03 23:39:54 +03:00
Yuri Weinstein
1615f9e456 Merge pull request #18052 from xiexingguo/wip-clear-pin-stats-invalid
osd/PrimaryLogPG: clear pin_stats_invalid bit properly on scrub-repair completion

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-03 12:34:39 -07:00
Yuri Weinstein
0480ec7b27 Merge pull request #18061 from xiexingguo/wip-crc
osd/PrimaryLogPG: do not set data/omap digest blindly

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-03 12:34:19 -07:00
Yuri Weinstein
c73730b5bb Merge pull request #18066 from shun-s/wip-objectstore-tool
tool: change default objectstore from filestore to bluestore

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-03 12:33:56 -07:00
Yuri Weinstein
7b1c77a643 Merge pull request #18078 from liewegas/wip-21614
qa/suites/rados/singleton/all/recover-preemption: handle slow starting osd

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-03 12:33:29 -07:00
Andrew Schoen
32c1c97fce Merge pull request #18095 from ceph/wip-bz1491250
ceph-volume lvm list 

Reviewed by: Andrew Schoen <aschoen@redhat.com>
2017-10-03 13:17:32 -05:00
Alfredo Deza
d11c80c917 doc/ceph-volume add lvm/list to the toctree
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-03 13:28:34 -04:00
Alfredo Deza
9a52939ef8 doc/ceph-volume create the reference for the list sub-command
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-03 13:28:34 -04:00
Alfredo Deza
ed5fa519ac doc/ceph-volume add create and list to the index
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-03 13:28:34 -04:00
Alfredo Deza
2c2cf547b0 ceph-volume tests create a unit test module for listing features
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-03 13:28:34 -04:00
Jason Dillaman
22816ed3f4 qa/workunits/rbd: fixed variable name for resync image id
Fixes: http://tracker.ceph.com/issues/21663
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-10-03 13:25:33 -04:00
Jason Dillaman
f70e80e204 Merge pull request #18006 from adamwg/awg/rbd-mirror-default-data-pool
rbd-mirror: Improve data pool selection when creating images

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-03 13:19:21 -04:00
Jason Dillaman
99772043e7 Merge pull request #17721 from amitkumar50/cov-librbd-4
librbd: address coverity false positives

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-03 13:18:29 -04:00
Jason Dillaman
3b0142785b Merge pull request #17696 from amitkumar50/cov-librbd-3
librbd: address coverity false positives

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-03 13:18:16 -04:00
Jason Dillaman
24acc5516d Merge pull request #17660 from gmayyyha/striping-feature-21360
librbd: fix don't send get_stripe_unit_count if striping is not enabled

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-03 13:17:25 -04:00
Jason Dillaman
8e86a43b63 Merge pull request #17461 from PCzhangPC/bench_rw_test
rbd:introduce rbd bench rw(for read and write mix) test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-03 13:16:24 -04:00
Josh Durgin
4570075984 Merge pull request #17576 from ceph/wip-rm-1-minsize
qa/tests/rados: Remove unsupported 2-size-1-min-size config

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-10-03 09:45:45 -07:00
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
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
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
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