Commit Graph

76272 Commits

Author SHA1 Message Date
Sage Weil
c955bf528f qa/suites/rados/singleton-nomsgr/all/multi-backfill-reject: sleep longer
I saw a failure where the 30% backfill probability was enough that we
just didn't manage to backfill all of the pgs during the 5 minute recovery
timeout during ceph.py shutdown.  Build in some additional time for the
test to recover.

http://pulpito.ceph.com/sage-2017-08-01_15:32:10-rados-wip-sage-testing-distro-basic-smithi/1469184

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 15:50:47 -04:00
Kefu Chai
69c6402bbd Merge pull request #16727 from jcsp/wip-doc-config-hel
doc/qa: cover `config help` command

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-01 23:38:28 +08:00
Kefu Chai
ffbf113fa0 Merge pull request #16707 from ivancich/wip-more-dmclock-docs
doc: Describe mClock's use within Ceph in great detail.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-01 23:37:53 +08:00
Sage Weil
527a3f77db Merge pull request #16730 from liewegas/wip-more-doc-links
doc/release-notes: fix upmap and osd replacement links; add fixme

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-01 10:21:39 -05:00
Sage Weil
71307945bf doc/release-notes: fix a few doc links
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 11:06:21 -04:00
Jos Collin
8669a70fcb Merge pull request #16653 from amitkumar50/Coverity-1409697
rgw: Use comparison instead of assignment

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2017-08-01 14:47:54 +00:00
Jason Dillaman
2589f57ecd Merge pull request #16656 from idryomov/wip-qa-newer-fio
qa/tasks/rbd_fio: bump default fio version to 2.21

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-08-01 10:14:46 -04:00
Kefu Chai
4cac1e40b1 Merge pull request #16652 from shangzhong/wip-update-quick-guide
doc: update the pool names created by vstart.sh by default

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-01 21:50:52 +08:00
Sage Weil
4839485f53 Merge pull request #16637 from ceph/wip-doc-links
doc: upmap docs; various missing links for release notes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-01 08:50:02 -05:00
Sage Weil
5e54676d99 doc/release-notes: add various links to docs
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 09:49:39 -04:00
Sage Weil
aa5b930f60 doc/rados/operations/upmap: document new upmap feature
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 09:49:39 -04:00
Sage Weil
6d7e4b444d Merge pull request #15838 from theanalyst/doc-pool-ns-update
doc: update the rados namespace docs

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-08-01 08:39:18 -05:00
Sage Weil
dbf14eb780 Merge pull request #16623 from xiexingguo/wip-weightset
crush: a couple of weight-set fixes

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-01 08:29:29 -05:00
Sage Weil
0afffa5c58 Merge pull request #16611 from liewegas/wip-doc-health
doc/rados/operations/health-checks: osd section

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-01 08:26:24 -05:00
Sage Weil
dbb1dd33e6 doc/rados/operations/health-checks: add PG health check commentary
Include a link to pg-repair.rst, although there is no
content there yet.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 09:25:42 -04:00
Sage Weil
cb34a63b32 mon/PGMap: include which pgs have unfound objects in detail
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 09:25:42 -04:00
Sage Weil
6a4b83d646 mon/PGMap: put the _toofull states under DEGRADED_FULL
I think this was an oversight?

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 09:25:42 -04:00
Sage Weil
3789f46ead mon/PGMap: 'incomplete' means data is unavailable
Well, data is certainly unavailable, and may also be
degraded in the sense that we can't peer.  I think
unavailable is the more severe of the two, though, so
let's put it there!

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 09:25:42 -04:00
Sage Weil
6bac77e960 doc/rados/operations/health-checks: osd section
First paragraph: explain what the error means.

Second or later paragraph: describe steps to fix or mitigate.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 09:25:41 -04:00
Zhu Shangzhong
c91bb519e8 doc: change the default filesystem/pool names
- s/cephfs_data/cephfs_data_a
- s/cephfs_metadata/cephfs_metadata_a
- s#./rados df#bin/rados df
- update the 'bin/rados df' output
- remove the rbd pool, it isn't created by default anymore.

Signed-off-by: Zhu Shangzhong <zhu.shangzhong@zte.com.cn>
2017-08-01 20:40:58 +08:00
John Spray
ac2b9d63ca qa: include config help in admin socket test
Signed-off-by: John Spray <john.spray@redhat.com>
2017-08-01 13:38:40 +01:00
John Spray
fbf08b6868 doc: document config help command
Signed-off-by: John Spray <john.spray@redhat.com>
2017-08-01 13:38:27 +01:00
Jos Collin
beab3c5ef4 Merge pull request #16721 from joscollin/wip-config-rst-typo
doc: fix typo in config.rst

Reviewed-by: Xie Xingguo <xie.xingguo@zte.com.cn>
2017-08-01 11:21:59 +00:00
John Spray
4f2172cae1 Merge pull request #16723 from tchaikov/wip-doc-kill-warnings
doc: various fixes
2017-08-01 12:06:36 +01:00
Kefu Chai
5c374e7382 Merge pull request #16471 from jan--f/janf-mds-deactivate-doc
doc: reword mds deactivate docs; add optional fs_name argument

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-01 18:52:59 +08:00
Kefu Chai
a8c2b10439 Merge pull request #16620 from cfanz/master
common: use std::move() for better performance

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-08-01 17:45:06 +08:00
Kefu Chai
69607f8092 Merge pull request #16526 from TsaiJin/wip-fix-msg-typo
msg/async: fix the bug of inaccurate calculation of l_msgr_send_bytes

Reviewed-by: Pan Liu <wanjun.lp@alibaba-inc.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-08-01 17:40:27 +08:00
Kefu Chai
24742cf3ef Merge pull request #16666 from scienceluo/wip-luo-auth-branch
auth: Remove unused function in AuthSessionHandler

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-01 17:38:08 +08:00
Kefu Chai
2670d244fd doc: various fixes
- radosgw/s3/bucketops.rst: fix Malformed table.
- operations/health-checks.rst: Title underline too short
- rbd/rados-rbd-cmds.rst: Title underline too short
- rados/operations/index.rst: include health-checks in toc

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-01 17:31:36 +08:00
Jos Collin
eb1f53782a doc: fix typo in config.rst
Fixed the typo introduced by PR#16681

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-08-01 14:16:14 +05:30
Josh Durgin
61908ac890 Merge pull request #16622 from dillaman/wip-cmpext-dne
osd: cmpext operator should ignore -ENOENT on read

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-07-31 23:52:43 -07:00
Kefu Chai
c4b25b114d Merge pull request #16677 from tchaikov/wip-20785
osd: do not send pg_created unless luminous

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-01 13:12:53 +08:00
David Zafman
901f14aa7c Merge pull request #16663 from dzafman/wip-ec-enoent
osd: EC read handling: don't grab an objectstore error to use as the read error

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-31 18:19:02 -07:00
Jos Collin
7e9d87fa2e Merge pull request #16681 from shun-s/wip-doc-config
doc: fix typos in config.rst

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-08-01 00:59:06 +00:00
Gregory Farnum
b16b973e39 Merge pull request #16695 from tchaikov/wip-cmake-disable-vta
cmake: disable -fvar-tracking-assignments for config.cc

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-31 15:05:23 -07:00
Gregory Farnum
861225339d Merge pull request #16697 from wjwithagen/wip-wjw-ENODATA-HashIndex.cc
HashIndex.cc: add compat.h for ENODATA

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-31 14:59:43 -07:00
Adam C. Emerson
d02db19cf8 Merge pull request #16689 from pritha-srivastava:wip-rgw-policy-parse-error
rgw: Fix for Policy Parse exception in case of multiple statements.

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2017-07-31 14:43:58 -04:00
Adam C. Emerson
bf223bab68 Merge pull request #16661 from adamemerson/wip-throttle-minimal
throttle: Minimal destructor fix for Luminous

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-31 14:08:20 -04:00
J. Eric Ivancich
81d3def3c2 doc: Describe mClock's use within Ceph in great detail.
It seems many are initially unclear as to how the current
implementations of mclock op queues work, so we need to document it to
avoid confusion.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2017-07-31 13:20:31 -04:00
Adam C. Emerson
0f52f486ef throttle: Minimal destructor fix for Luminous
Get rid of the undefined behavior of destroying condition variables
while they're being waited on.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-07-31 13:17:46 -04:00
Jason Dillaman
05b182c1c2 Merge pull request #16547 from dillaman/wip-dashboard-iscsi
mgr/dashboard: RBD iSCSI daemon status page

Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-31 10:22:21 -04:00
Song Shun
2556605b79 doc: fix sevral typos
fix sevral typos

Signed-off-by: Song Shun <song.shun3@zte.com.cn>
2017-07-31 22:10:51 +08:00
Jason Dillaman
41c251c243 Merge pull request #16670 from Yan-waller/wip-walle-0729rbdcompile
cls/rbd: silence warning from -Wunused-variable

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-07-31 10:07:45 -04:00
Jason Dillaman
9b3fe6f03b Merge pull request #16583 from lxbsz/ws_macro
librbd: add LIBRBD_SUPPORTS_WRITESAME support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-07-31 09:49:13 -04:00
Yan Jun
b3b1f2cfb2 cls/rbd: silence warning from -Wunused-variable
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-07-31 21:26:13 +08:00
Jason Dillaman
51c7cec7bb Merge pull request #16694 from Songweibin/wip-doc-rbd
rbd: modified some commands' description into imperative sentence

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-07-31 09:12:27 -04:00
Willem Jan Withagen
9667222d98 HashIndex.cc: add compat.h for ENODATA
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-31 15:02:53 +02:00
Kefu Chai
8bc029b6af mon/OSDMonitor: assert(pg in creating_pgs.pg) in send_pg_creates()
and mark OSDMonitor::send_pg_creates() a const method.

See-also: http://tracker.ceph.com/issues/20785
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-31 20:58:58 +08:00
Jason Dillaman
a2857c8181 Merge pull request #16686 from amitkumar50/cov-1351525-1
rbd: fixed coverity 'Argument cannot be negative' warning

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-07-31 08:53:40 -04:00
Kefu Chai
9dc53c276f cmake: disable -fvar-tracking-assignments for config.cc
there are too many variables involved in config.cc, but
-fvar-tracking-assignments is enabled by default, when the compiler
finds that the number of variables exceeds the limit
"max-vartrack-size", it gives up, and tries again disabling this
option.

this change avoids the recompilation of config.cc and also
silences the warning of

src/common/config.cc:77:1: note: variable tracking size limit exceeded
with -fvar-tracking-assignments, retrying without
 md_config_t::md_config_t(bool is_daemon)
 ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-31 20:34:26 +08:00