Commit Graph

73596 Commits

Author SHA1 Message Date
Sage Weil
d48a29a938 vstart.sh: load 'restful' (not 'rest') mgr module
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-08 14:29:36 -04:00
Sage Weil
aec50b906c test/vstart_wrapper.sh: fix MGR_PYTHON_PATH
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-08 14:29:36 -04:00
Sage Weil
84e13070a6 vstart.sh: start mgr dashboard, echo URL(s)
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-08 14:29:36 -04:00
Yehuda Sadeh
2076175e0d Merge pull request #15507 from zhangsw/fix-rgw-logtrim-bug
rgw: datalog trim and mdlog trim handles the result returned by osd incorrectly.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-08 11:26:44 -07:00
Sage Weil
b0e9f3ed51 Merge pull request #15102 from majianpeng/blockdevice-pmem
os/bluestore/BlockDevice: support pmem device as bluestore backend

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-08 13:15:52 -05:00
Jason Dillaman
108b38ef5f Merge pull request #15577 from jcsp/wip-dashboard-cleanup
mgr: dashboard code cleanup

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-06-08 13:56:19 -04:00
John Spray
b48011d60b mgr/dashboard: remove confusing SyncObject stuff
This was a hangover from when these wrapper classes
were borrowed from Calamari, which used these
versions/equality functions to work out when
to go fetch data from the ceph cluster.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-08 11:43:20 -04:00
John Spray
f175090596 mgr/dashboard: fix server view on funny version format
Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-08 11:43:20 -04:00
John Spray
f23c68f168 mgr/dashboard: fix error handling in remote_view_cache
Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-08 11:43:20 -04:00
John Spray
4296962edc mgr/dashboard: keep a global librados instance
...so that classes that need one aren't creating
their own all the time.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-08 11:43:15 -04:00
Kefu Chai
630010fdba Merge pull request #15566 from baruza/wip-doc-20199
doc: Change the default values of some OSD options

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-08 23:10:51 +08:00
Sage Weil
5bfd0b4594 Merge pull request #15485 from ceph/wip-hdd-throttle-cost
common/config_opts.h: Lower HDD throttle cost.

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-08 10:02:54 -05:00
Kefu Chai
d010f6a1de Merge pull request #15203 from Liuchang0812/wip-kill-broken-links
doc: kill some broken links

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-08 22:59:11 +08:00
Gregory Farnum
cc7b8e466e Merge pull request #15575 from liewegas/wip-pgnls-note
PendingReleaseNotes: notes on whiteouts vs pgnls
2017-06-08 06:55:37 -07:00
Sage Weil
de6b679faf Merge pull request #15309 from ifed01/wip-bluestore-boost-statfs
os/bluestore: keep statfs replica in RAM to avoid expensive KV retrieval

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-08 08:52:34 -05:00
Sage Weil
e9973adf1f PendingReleaseNotes: notes on whiteouts vs pgnls
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-08 09:41:25 -04:00
Mykola Golub
578468f38c Merge pull request #15532 from dillaman/wip-rbd-mirror-stress
rbd-mirror: lock loss during sync should wait for in-flight copies

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-06-08 14:42:29 +03:00
Mykola Golub
eac34cc5e2 Merge pull request #15518 from dillaman/wip-rbd-missing-default-pool
rbd: removed hardcoded default pool

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-06-08 14:41:51 +03:00
Igor Fedotov
e081091a65 os/bluestore: introduce a debug switch to bypass kv update.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-06-08 04:38:47 -07:00
Igor Fedotov
07761f2a3a os/bluestore: introduce debug parameter to bypass bdev verification
E.g. this allows to backup WAL/DB volumes after preconditioning and quickly rollback to that state when needed.

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-06-08 04:38:47 -07:00
Igor Fedotov
b14ced7bce os/bluestore: keep statfs replica in memory to avoid expensive KV access
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-06-08 04:38:47 -07:00
Igor Fedotov
2e47f36a11 os/bluestore: move volatile_statfs struct out of TransContext
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-06-08 04:37:51 -07:00
Loic Dachary
40e84a131d Merge pull request #15433 from wjwithagen/wip-wjw-prettytable
ceph-disk: add setting for external py-modules for tox-testing

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-06-08 12:52:31 +02:00
Barbora Ančincová
706de54d63 doc: Change the default values of some OSD options
These values were changed to reflect this change a3f9cba

Fixes: http://tracker.ceph.com/issues/20199
Signed-off-by: Bara Ancincova <bara@redhat.com>
2017-06-08 11:49:37 +02:00
Willem Jan Withagen
91d36b64f3 ceph-disk: use system modules if needed
- prettytable usage was introduced in:
	https://github.com/ceph/ceph/commit/3fa8bb1
   It is in the install-deps.sh file to be installed, but
   it is not per default installed in the testenvironment
   So allow tox tests to use "external" modules

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-06-08 11:33:04 +02:00
Kefu Chai
c7034595b8 Merge pull request #14866 from chardan/jfw-wip-halflife_atomic_t-varan
common,test: migrate atomic_t to std::atomic

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-08 09:57:26 +08:00
Sage Weil
8a0d6720d9 Merge pull request #15520 from liewegas/wip-max-object-size
osd: reduce rados_max_object_size from 100 GB -> 128 MB

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-06-07 17:08:32 -05:00
Sage Weil
ca3d9e6a70 osd: reduce rados_max_object_size from 100 GB -> 128 MB
I'm not sure why we had this so huge!  128 MB is a pretty reasonable size.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-07 18:07:23 -04:00
Sage Weil
8ded50ed62 Merge pull request #15230 from chardan/jfw-wip-halflife_atomic_t-xio
xio: migrate atomic_t to std::atomic<>

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-07 16:00:30 -05:00
Sage Weil
c011314b77 Merge pull request #15516 from javacruft/i386-cmake-fixes
cmake: misc fixes for build on i386

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-07 16:00:10 -05:00
Sage Weil
91c5af152e Merge pull request #15525 from wjwithagen/wip-wjw-clang-testosdmap
test: osd/TestOSDMap.cc: fix Clang complain about promotion

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-07 15:59:54 -05:00
Jason Dillaman
e1cfaedc43 rbd: removed hardcoded default rbd pool name
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-06-07 16:26:25 -04:00
Jason Dillaman
708d7bb0c5 rbd-nbd: removed default rbd pool name
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-06-07 16:26:24 -04:00
Jason Dillaman
c6cd5a9418 rbd-replay: removed default rbd pool name
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-06-07 16:26:24 -04:00
Jason Dillaman
d9a9a07c44 pybind/rbd: module should depend on librbd not rbd CLI
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-06-07 16:26:24 -04:00
Jason Dillaman
af615a5933 common: new 'rbd_default_pool' configuration option
The 'rbd' pool will no longer be automatically created. Allow
the user to specify a custom default RBD pool name.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-06-07 16:26:22 -04:00
Jason Dillaman
21d19325f3 rbd-mirror: narrowed scope of exclusive lock op tracking
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-06-07 16:09:10 -04:00
Jason Dillaman
02f9ea4b3f rbd-mirror: partial revert of 649b29d
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-06-07 15:33:51 -04:00
Adam C. Emerson
7059b9b201 Merge pull request #15498 from adamemerson/wip-fixation
test: Fix narrowing conversion
rgw: Support certain archaic and antiquated distributions

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-07 13:29:28 -04:00
Yuri Weinstein
17376dbff6 Merge pull request #15436 from liewegas/wip-versions
mon: {mon,osd,mds} {versions,count-metadata}

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-07 09:36:59 -07:00
Sage Weil
2cbcec1876 Merge pull request #15501 from liewegas/wip-blocked-is-err
mon/PGMap: call blocked requests ERR not WARN

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-06-07 11:17:39 -05:00
Sage Weil
7cacb701ad mon/PGMap: call requests blocked for 128x as long ERR not WARN
- rename the option (max -> warn)
- add an err_..._ratio multiplier
- switch to HEALTH_ERR once requests are blocked long enough
- make the error ratio high (default is 32*128s -> about an hour) so that
we don't trigger on a heavily loaded cluster.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-07 12:16:58 -04:00
Adam C. Emerson
af8d9bdf07 rgw: Support certain archaic and antiquated distributions
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-06-07 12:11:40 -04:00
Adam C. Emerson
42fb84b811 test: Fix narrowing conversion
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-06-07 11:37:43 -04:00
Jianpeng Ma
e25accff7d os/bluestore/BlockDevice:support pmem device as bluestore backend.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-06-07 23:22:52 +08:00
Sage Weil
99332b9afd Merge pull request #15531 from liewegas/wip-osd-pglog
osd: rename osd -> osd_pglog; include pglog-related bufferlists

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-07 09:48:57 -05:00
Sage Weil
85887a7a0a osd/osd_types: put pg_log_entry_t::extra_reqids in osd_pglog mempool
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-07 10:48:03 -04:00
Sage Weil
b322be3be5 osd: put pg_log_entry_t::snaps in osd_pglog mempool
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-07 10:48:03 -04:00
Sage Weil
b7f5261830 osd: map ObjectModDesc to osd_pglog pool
This can consume significant space for EC pools.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-07 10:48:03 -04:00
Sage Weil
5b3cfc0890 osd: move pglog to osd_pglog mempool
This actually everything in the osd mempool, so it's basically a rename.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-07 10:48:02 -04:00