Kefu Chai
868420e421
mgr: handle "module.set_config(.., None)" correctly
...
otherwise "ceph restful delete-key foo" would fail:
TypeError: ceph_config_set() argument 3 must be string, not None
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-02 18:18:08 +08:00
Kefu Chai
f273712e1b
doc: document bluestore compression settings
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-02 16:42:08 +08:00
Kefu Chai
f27d76400a
doc/man/8/radosgw-admin: document --compression option
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-02 16:36:02 +08:00
Josh Durgin
63693779fc
qa: timeout when waiting for mgr to be available
...
Otherwise during upgrades we wait forever.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-08-02 02:18:28 -04:00
Kefu Chai
31cd44fd8c
Merge pull request #16741 from liewegas/wip-more-doc-links
...
doc/release-notes: fix links, formatting; add crush device class docs
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-02 13:52:38 +08:00
Kefu Chai
1ff1f836da
Merge pull request #16722 from tchaikov/wip-qa-fixes
...
qa/suites: escape the parenthesis of the whitelist text
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-02 13:00:01 +08:00
Kefu Chai
9d4e7ec97b
Merge pull request #16474 from shun-s/wip-fix-deactive
...
ceph-disk: do not remove mount point if deactive --once
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-02 12:58:34 +08:00
Kefu Chai
a70be4e00c
qa/suites: more whitelisting
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-02 10:00:57 +08:00
Sage Weil
a367854011
doc/release-notes: clean up links
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 18:08:44 -04:00
Sage Weil
20d2921194
doc/rados/operations/crush-map: more device class docs
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 18:08:43 -04:00
Sage Weil
47df377aca
crush/CrushTreeDumper: sort tree items by (class, name)
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 16:39:12 -04:00
Sage Weil
1e757ded33
osd/crush/CrushWrapper: include CLASS column in 'osd crush tree'
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 16:05:03 -04:00
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
Sage Weil
41cff36e66
os/bluestore: fix dirty_range on _do_clone_range
...
If we are cloning several extents that start from logical offset 0, we may
need to dirty those extents on the source object if they are being made
shared. However, if there are two or more such extents, and the first
starts at 0, the current code will adjust dirty_range_start to the
second extent because the second time around the loop dirty_range_begin
is still 0.
Fix by adjusting the condition to be dirty_range_begin and dirty_range_end
== 0 so that it only triggers on the first pass.
Fixes: http://tracker.ceph.com/issues/20810
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 15:47:37 -04:00
Casey Bodley
0094e9ebd9
rgw: policy uses ceph::not_fn instead of std::not2
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-08-01 15:42:24 -04:00
Casey Bodley
a0f36e128a
common: add std::not_fn to backport14.h and unit tests
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-08-01 15:42:24 -04:00
Casey Bodley
def8296a8f
test/rgw: add missing object tagging actions to policy tests
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-08-01 15:42:24 -04:00
Casey Bodley
3559a3b846
test/rgw: add tests for match_wildcards, match_policy
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-08-01 15:42:24 -04:00
Casey Bodley
8837cf46e5
test/rgw: rename ceph_test_rgw_iam_policy to unittest_
...
tagging this as a unittest will make it run during 'make check'
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-08-01 15:42:24 -04:00
Casey Bodley
5bd7462f3a
rgw: match wildcards in StringLike policy conditions
...
Fixes: http://tracker.ceph.com/issues/20308
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-08-01 15:42:24 -04:00
Casey Bodley
f3391c2dd4
rgw: split match into match_policy, match_wildcards
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-08-01 15:41:49 -04:00
Sage Weil
3e21fd6134
Merge pull request #16700 from jcsp/wip-20803
...
osd/mon/mds: fix `config set` tell command
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-01 14:13:00 -05:00
Sage Weil
cdac962461
Merge pull request #16701 from jcsp/wip-health-format
...
mon: extensible output format for health checks
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-01 14:12:28 -05:00
Sage Weil
90d2fc2bb5
Merge pull request #16706 from jdurgin/wip-20850
...
osd: do not try to set device class before luminous
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-01 14:12:01 -05:00
Sage Weil
d62716b264
Merge pull request #16712 from gregsfortytwo/wip-20808
...
osd: pg: be more careful with locking around forced pg recovery
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-08-01 14:11:29 -05:00
Gregory Farnum
65e11540aa
Merge pull request #16688 from amitkumar50/cov-1395347-1
...
os: Argument cannot be negative
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-01 11:25:20 -07:00
Jenkins Build Slave User
b661348f15
12.1.2
2017-08-01 17:55:40 +00:00
Casey Bodley
14aed80ac2
Merge pull request #15801 from zhangsw/feature-bucket-sync
...
rgw multisite: feature of bucket sync enable/disable
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-08-01 13:13:18 -04:00
Jason Dillaman
1d54951e47
common: avoid statically allocating configuration options
...
This was resulting in seg faults within rbd-fuse during shutdown. This also
fixes the "variable tracking size limit exceeded with -fvar-tracking-assignments,
retrying without" compiler warning".
Fixes: http://tracker.ceph.com/issues/20869
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-08-01 12:04:02 -04:00
Sage Weil
67e770e05b
Merge pull request #16616 from tchaikov/wip-doc-cleanup
...
doc: remove docs on non-existant command
2017-08-01 11:01:09 -05:00
Jason Dillaman
dd4a912fa3
rbd-fuse: remove dependency on ceph-common
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-08-01 11:54:34 -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
amitkuma
1b62ee5cb4
os: Argument cannot be negative
...
Fixed:
** CID 1395347 (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS)
3. negative_returns: fd is passed to a parameter that cannot be negative
Signed-off-by: Amit Kumar amitkuma@redhat.com
2017-08-01 20:13:06 +05:30
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
John Spray
b34c2655cf
mds: refine "Scrub error" cluster log message
...
Fixes: http://tracker.ceph.com/issues/20246
Signed-off-by: John Spray <john.spray@redhat.com>
2017-08-01 15:06:42 +01:00
John Spray
59c9ba17c6
mds: polish clog messages
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-08-01 15:06:42 +01:00
John Spray
ea37145131
doc: developer logging guidance
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-08-01 15:06:41 +01:00
Sage Weil
c3aa866dca
osd: initialize shardedwq osdmap references on startup
...
The _process methods assumes the shard osdmap refs are
non-null, but that leaves a window between startup and
the first call to prune_pg_waiters (via consume_map()),
which can lead to a seg fault.
Calling prune during startup, before we have any work,
will initialize those references.
Fixes: http://tracker.ceph.com/issues/20748
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 09:58:28 -04:00
Kefu Chai
d12c51ca91
qa/suites: escape the parenthesis of the whitelist text
...
so we can avoid the warnings like
grep: Unmatched ( or \(
because we pass the whitelisted string to `egrep -v "$1"` directly.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-01 21:54:44 +08:00
Kefu Chai
d67d6c57ae
qa/workunits/ceph-disk: fix the path to ceph-helpers-root.sh
...
partially reverts 841f3bd
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-01 21:54:44 +08: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