David Zafman
67073943bc
test: Fix osd-scrub-repair for movement of shards
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-06-28 23:51:42 -04:00
David Zafman
4b0263b165
test: Clean up extra json output from log
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-06-28 23:51:33 -04:00
David Zafman
abadbff892
test: Give time for OSDs to see map with flag change
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-06-28 23:51:25 -04:00
Sage Weil
93918b0be5
test,qa/workunits: fix a zillion tests
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-28 10:52:49 -04:00
Sage Weil
102e13d2a0
mon/OSDMonitor: do not start mapping job on empty map
...
The Mapper doesn't do the completion. Just avoid it in the caller instead
of adding a Finisher or something similarly annoying for the completion.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-28 10:52:49 -04:00
Sage Weil
fc486c6fbd
qa/tasks/ceph: create rbd pool after starting the osds
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-28 10:52:49 -04:00
Sage Weil
118dc27989
qa/workunits/ceph-helpers: shorten mon connect timeout
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-28 10:52:49 -04:00
Sage Weil
d7fb94c6cf
osdmaptool: do not create default pool without --with-default-pool
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-28 10:52:49 -04:00
Greg Farnum
9407998b4e
test: update TestPGLog's pool_id for the new world (no pool 0)
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-06-28 10:52:49 -04:00
Greg Farnum
cde52a8826
osdmap: maintain a pool-creating build_simple() for use in unit tests
...
Change the standard build_simple() so it no longer takes pg[p]_num -- these
params were unused. Add a new build_simple_with_pool() that can be called
when we want the rbd pool to be created by default. These are implemented
via a simple switched function (marked private).
Update the existing callers so they choose the right one for their needs.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-06-28 10:52:49 -04:00
Greg Farnum
d0006821de
osdmap: reference the correct value in debug output
...
Looks like we've been printing out the (possibly-still-default-initialized)
num_osd member variable instead of the given nosd value! Luckily
I don't see any other misuse and we fill out
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-06-28 10:52:49 -04:00
Greg Farnum
3e8bdac704
cephtool/test: create an rbd pool since it's no longer automatic
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-06-28 10:52:49 -04:00
Greg Farnum
cdf22275f2
TestOSDMap: provide more flexibility in the PrimaryAffinity check
...
Fix the margins for the primary affinity test.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-28 10:52:49 -04:00
Greg Farnum
51838305a2
osdmap: do not automatically create an rbd pool on cluster creation; skip pool 0
...
We don't use pool ID 0 any more because CephFS can't handle it.
Update the user quick-start to include it, and add some links to support that process.
Fix the tests to handle the new state of life.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-06-28 10:52:49 -04:00
Greg Farnum
760a024a75
TestOSDMap: actually loop through the pools as intended
...
Looks like this was meant to be a loop but (unlike the other tests)
just referred to a constant pool 0. Whoops!
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-06-28 10:52:49 -04:00
Greg Farnum
ae06a6aee7
pgmap: extend mon_pg_warn_min_objects to cover the PG-per-OSD warnings too
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-06-28 10:52:49 -04:00
Greg Farnum
fe0a9aff64
src/jobs: remove these definitely-broken old testing scripts
...
They haven't been touched in 6 years and were considered broken then.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-06-28 10:52:48 -04:00
Haomai Wang
7e2e0ad1c3
Merge pull request #15967 from Adirl/continous
...
msg/async/rdma: register buffer as continuous
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-06-28 22:22:14 +08:00
Joao Eduardo Luis
40f023c2bc
Merge pull request #14102 from renhwztetecs/renhw-wip-moninit-cleanup
...
mon: clean up in ceph_mon.cc
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-06-28 14:36:02 +02:00
Adir Lev
fec89d8be0
msg/async/rdma: register buffer as continuous
...
Change-Id: I1a715de28ace3ff8ae077ca783ad5060e7966d54
Signed-off-by: Adir Lev <adirl@mellanox.com>
2017-06-28 10:37:51 +00:00
Kefu Chai
bebce62124
Merge pull request #15907 from tchaikov/wip-with-zfs
...
cmake: fix the build with -DWITH_ZFS=ON
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-28 10:04:50 +08:00
Haomai Wang
c74625ebf5
Merge pull request #15908 from Adirl/twice
...
msg/async/rdma: use lists properly
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-06-28 09:55:39 +08:00
John Spray
adf20361ba
Merge pull request #15521 from dillaman/wip-rbd-dashboard
...
pybind/mgr/dashboard: initial block integration
Reviewed-by: John Spray <john.spray@redhat.com>
2017-06-27 17:59:32 -04:00
Sage Weil
fc7afc239f
Merge pull request #15853 from liewegas/wip-simpler-ceph
...
qa/tasks/ceph: simplify ceph deployment slightly
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-27 14:13:53 -05:00
Sage Weil
e7006d06fb
qa/tasks/ceph: explicitly add osds to crush map for upgrades
...
Before kraken, ceph-osd didn't add itself to crush... ceph-osd-prestart.sh
did it. And ceph.py doesn't use that.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-27 12:52:35 -04:00
Sage Weil
32ab095362
Merge pull request #15955 from liewegas/wip-20431
...
qa/tasks/dump_stuck: fix for active+clean+remapped
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-27 11:36:38 -05:00
Sage Weil
80e2b156e0
qa/tasks/dump_stuck: fix for active+clean+remapped
...
In d24a888665
we made remapped a clean
state but didn't fix this test.
Fixes: http://tracker.ceph.com/issues/20431
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-27 12:01:07 -04:00
Kefu Chai
f8d5f74663
cmake: compile libzfs backend conditionally
...
* do not REQUIRE libzfs if it is enabled, this follows the way how we
handle `WITH_XFS` option.
* also refactor the cmake script related to libxfs backend support a
little bit.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-27 23:28:03 +08:00
Sage Weil
fe4d15191d
Merge pull request #15874 from elliswuuuuuuuu/remove_unuse_config
...
common/config_opt: remove unused config
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-27 10:22:42 -05:00
Sage Weil
63c29d4358
Merge pull request #15864 from joscollin/wip-CID1412839-uninitialized-pointer-field
...
common: initialize array in struct BackTrace
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-27 10:22:26 -05:00
Sage Weil
6f6d6ed984
Merge pull request #15881 from joscollin/wip-1412776-explicit-null-dereferenced
...
common: Passing null pointer option_name to operator << in md_config_t::parse_option()
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-27 10:22:03 -05:00
Sage Weil
ba734f34e8
Merge pull request #15896 from Yan-waller/wip-waller-mgrcleanup0624
...
mgr: drop repeated log info. and unnecessary write permission
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-27 10:21:46 -05:00
Sage Weil
e8fc74d677
Merge pull request #15910 from wido/cest-api-fork
...
ceph-rest-api: Various REST API fixes
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-27 10:21:15 -05:00
Sage Weil
e57dd54cb9
Merge pull request #15915 from liupan1111/wip-add-perfs
...
src/OSD: add more useful perf counters for performance tuning.
Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-27 10:19:59 -05:00
Sage Weil
f6087a34e8
Merge pull request #15917 from xiexingguo/wip-upmap-fixes
...
mon/OSDMonitor: a couple of upmap and other fixes
Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-27 10:19:41 -05:00
Sage Weil
98d21bdf7a
Merge pull request #15935 from zphj1987/master
...
ceph-conf: fix typo in usage: 'mon add' should be 'mon addr'
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-27 10:19:22 -05:00
Yuri Weinstein
c1b92ea9a5
Merge pull request #15885 from liewegas/wip-radosbench-timeout
...
qa/tasks/radosbench: increase timeout
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2017-06-27 08:03:12 -07:00
Yuri Weinstein
a73f81bedd
Merge pull request #15882 from rzarzynski/wip-20372
...
rgw: fixes for AWSBrowserUploadAbstractor auth
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-27 08:01:02 -07:00
Yuri Weinstein
8d42ecd3b7
Merge pull request #15931 from cbodley/wip-rgw-slo-compression
...
rgw: use uncompressed size for range_to_ofs() in slo/dlo
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-06-27 08:00:12 -07:00
Casey Bodley
c30b28f1b2
Merge pull request #15928 from liewegas/wip-rgw-warning
...
rgw/rgw_op: fix whitespace and indentation warning
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-27 10:30:02 -04:00
Sage Weil
7f3a73baf5
Merge pull request #15920 from wido/docs-mgr-dashboard
...
docs: mgr dashboard
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <jspray@redhat.com>
2017-06-27 09:04:34 -05:00
Adir Lev
2f88b8a113
msg/async/rdma: avoid adding worker twice to pending_workers
...
Change-Id: I4dda9040a055bdb8787ffd23a6928925d0a69d83
Signed-off-by: Adir Lev <adirl@mellanox.com>
2017-06-27 14:00:27 +00:00
Adir lev
5bca4a93d0
msg/async/rdma: avoid adding csi twice to pending_list
...
Change-Id: Id76ffbfebc54c2da339e0e7f063c5420042fbe7c
Signed-off-by: Adir lev <adirl@mellanox.com>
2017-06-27 13:59:55 +00:00
Wido den Hollander
0f15e4e76b
doc: Mgr Dashboard docs update
...
More instructions on how to deploy the dashboard using ceph-mgr
Signed-off-by: Wido den Hollander <wido@42on.com>
2017-06-27 15:42:41 +02:00
huanwen ren
56b52184b8
mon: clean up in ceph_mon.cc
...
The output prints to the ceph-mon.log,
so need replace cout with dout,in addition, keep cout in the usage().
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2017-06-27 18:52:08 +08:00
Mykola Golub
a23c7e5505
Merge pull request #15919 from dillaman/wip-test-cls-rbd
...
test: fix compile warning in ceph_test_cls_rbd
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-06-27 13:04:26 +03:00
Abhishek L
eda363edca
Merge pull request #15934 from myoungwon/omw-mailmap
...
mailmap: add Myoungwon Oh's mailmap and affiliation
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-06-27 07:45:36 +02:00
Kefu Chai
51601f57db
Merge pull request #15914 from wjwithagen/remotes/origin/wip-wjw-freebsd-osd-scrub-repair-3
...
test/osd/osd-scrub-repair.sh: Fix diff options on FreeBSD
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-27 12:03:06 +08:00
Sage Weil
969113d7bf
Merge pull request #15856 from cbodley/wip-rgw-vstart-s3tests
...
vstart: remove rgw_enable_static_website
2017-06-26 22:47:58 -05:00
Sage Weil
0dedf91436
Merge pull request #15863 from gmayyyha/paxosservice-use-func
...
mon/PaxosService: use __func__ instead of hard code function name
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-26 22:47:20 -05:00