Commit Graph

74676 Commits

Author SHA1 Message Date
Sage Weil
0346998b5a doc: recommend against btrfs
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-30 13:54:18 -04:00
Sage Weil
5a2d78ad85 qa: stop testing btrfs
This is too noisy and we don't recommend it anyway.

See http://tracker.ceph.com/issues/20169

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-30 09:28:03 -04:00
Sage Weil
d6a13358b5 Merge pull request #15927 from jcsp/wip-mgr-log-on-load-failed
mgr: cluster log message on plugin load error

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-29 22:04:20 -05:00
Sage Weil
3cd961dfe1 Merge pull request #15951 from wido/issue-20430
osd: Execute crush_location_hook when configured in ceph.conf

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-29 22:03:55 -05:00
Sage Weil
bf87bf0d0d Merge pull request #15954 from Liuchang0812/wip-osd-compact
mon: fix kvstore type in mon compact command

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-29 22:03:37 -05:00
Sage Weil
d68c391bd9 Merge pull request #15957 from liewegas/wip-rc
ceph_release: we are in the 'rc' phase (12.1.z)

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-29 22:03:20 -05:00
Sage Weil
7fe818990a Merge pull request #15968 from xiexingguo/wip-poolopts-fix
mon/OSDMonitor: two pool opts related fix

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-29 22:03:02 -05:00
Sage Weil
fa8cee8c19 Merge pull request #15974 from liewegas/wip-require-osd-release-print
osd/OSDMap: print require_osd_release

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-06-29 22:02:47 -05:00
Sage Weil
a8dd57d8a0 Merge pull request #15976 from liewegas/wip-bluestore-big-cache
os/bluestore: default cache size of 3gb
2017-06-29 22:02:08 -05:00
Kefu Chai
9b5f7235b4 Merge pull request #15489 from xxhdx1985126/master
librados: redirect balanced reads to acting primary when targeting object isn't recovered 

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-30 10:21:37 +08:00
Kefu Chai
303ec788de Merge pull request #14678 from joscollin/wip-cleanup-storeget-return-check
mon: handle cases where store->get() may return error

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-30 09:34:59 +08:00
Kefu Chai
da1c73d26a Merge pull request #15926 from liewegas/wip-log-channel
librados: add log channel to rados_monitor_log2 callback

Reviewed-by: John Spray <john.spray@redhat.com>
2017-06-30 09:32:56 +08:00
Kefu Chai
7ee4907698 Merge pull request #15925 from jcsp/wip-fsstatus-cleanup
mgr: clean up fsstatus module

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-30 09:31:02 +08:00
Kefu Chai
afdddc17f8 Merge pull request #15932 from dillaman/wip-20421
pybind: restore original API for backwards compatibility

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-30 09:29:25 +08:00
Josh Durgin
4bcd6f666b Merge pull request #14760 from dzafman/wip-19657
osd: On EIO from read recover the primary replica from another copy

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-29 14:00:18 -07:00
Yehuda Sadeh
14ab16a46f Merge pull request #15912 from cloudbau/wip-20107
rgw: Fix duplicate tag removal during GC

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Tested-by: Yuri Weinstein <yweinste@redhat.com>
2017-06-29 12:54:28 -07:00
Sage Weil
5712698787 Merge pull request #15894 from liewegas/wip-no-default-pool
mon,osd: do not create rbd pool by default
2017-06-29 11:21:42 -05:00
Kefu Chai
7a9ca4e008 Merge pull request #15471 from tchaikov/wip-radostriper-leak-on-fail
libradosstriper: fix MultiAioCompletion leaks on failure

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-29 12:57:36 +08:00
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
97bb9976c8 Merge pull request #15812 from dzafman/wip-cot-cleanup
tools: Cleanup dead code in ceph-objectstore-tool

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-28 21:31:11 -05:00
Casey Bodley
9f77a53e00 Merge pull request #15983 from cbodley/wip-20386
rgw: fix infinite loop in rest api for log list

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-06-28 16:05:58 -04:00
Josh Durgin
27569da06e Merge pull request #15635 from dzafman/wip-13837
osd: Corrupt objects stop snaptrim and mark pg snaptrim_error

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-28 12:32:04 -07:00
Sage Weil
1530b3400f Merge pull request #15987 from liewegas/wip-19994
doc/release-notes: fix ceph-deploy command
2017-06-28 14:03:02 -05:00
Sage Weil
e1599901b3 doc/release-notes: fix ceph-deploy command
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-28 15:02:34 -04:00
Casey Bodley
d75e6b967d rgw: rest handlers for mdlog and datalog list dont loop
the do-while loops are unnecessary, because cls_log_list() will already
give us the requested number of entries, unless truncated. and these
rest operations return the truncated flag and last_marker, which the
client side is already using to run the same loop

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-06-28 14:36:12 -04:00
Casey Bodley
dd2893ba05 rgw: fix RGWMetadataLog::list_entries() for null last_marker
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-06-28 14:36:12 -04:00
Casey Bodley
112464483e rgw: RGWMetadataLog::list_entries() no longer splices
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-06-28 14:36:02 -04:00
Yuri Weinstein
bdf7fa8279 Merge pull request #15850 from rzarzynski/wip-rgw-20384
rgw: fix wrong error code for expired Swift TempURL's links.

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-06-28 08:14:53 -07:00
Yuri Weinstein
c76f703612 Merge pull request #15883 from rzarzynski/wip-rgw-20395
rgw: omit X-Account-Access-Control if there is no grant to serialize.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-28 08:13:02 -07:00
Yuri Weinstein
6337f98bc3 Merge pull request #15884 from joscollin/wip-1412617-uninitialized-pointer-field
rgw: initialize non-static class members in ESQueryCompiler

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-28 08:12:31 -07:00
Yuri Weinstein
67c681bafe Merge pull request #15886 from joscollin/wip-CID1412616-uninitialized-pointer-field
rgw: initialize Non-static class member worker in RGWReshard

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-28 08:12:04 -07:00
Yuri Weinstein
33cabe95cc Merge pull request #15888 from joscollin/wip-1412615-uninitialized-scalar-field
rgw: initialize Non-static class member val in ESQueryNodeLeafVal_Int

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-28 08:08:36 -07:00
Yuri Weinstein
ea87f42cac Merge pull request #15913 from smithfarm/wip-20417
tests: rgw.py: put client roles in a separate list

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-28 08:07:54 -07: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
Sage Weil
ddc32d5d07 os/bluestore: default cache size of 3gb
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-28 10:48:45 -04:00