Commit Graph

74065 Commits

Author SHA1 Message Date
Sage Weil
6856fe7d6c Merge pull request #15716 from jcsp/wip-mgr-fsmap
mgr: fix MgrStandby eating messages

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-17 16:21:03 -05:00
Sage Weil
0598bf53d2 Merge pull request #15732 from liewegas/wip-osd-boot-message
osd: do not try to boot until we've seen the first osdmap
2017-06-17 16:20:12 -05:00
Sage Weil
68ae47f24d Merge pull request #15740 from liewegas/wip-pgmap-debug
mon,mgr: print pgmap reports to debug (not cluster) log

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-06-17 16:19:41 -05:00
Sage Weil
a1e55e7d31 Merge pull request #15389 from gregsfortytwo/wip-18126
qa: do not restrict valgrind runs to centos

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-17 16:16:00 -05:00
Kefu Chai
53c04e5be5 Merge pull request #15618 from liupan1111/wip-fix-comment
tools/rados: fixed typo in help information

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-17 11:00:34 +08:00
Jason Dillaman
a10c0fbd28 Merge pull request #15720 from ShiqiCooperation/rbdshiqi
test/unittest_librbd: remove unused variables

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-06-16 22:19:07 -04:00
Sage Weil
d1337f38fc Merge pull request #15741 from wjwithagen/wip-wjw-freebsd-host-errno-2
common/freebsd_errno.cc: fix missing ;
2017-06-16 16:40:05 -05:00
Willem Jan Withagen
5b29a8f478 common/freebsd_errno.cc: fix missing ;
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-06-16 23:36:51 +02:00
Sage Weil
1afcf4e942 mgr/DaemonServer: print PGMapDigest summary on send
Useful for debugging.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-16 17:15:37 -04:00
Sage Weil
bcc4f9b8cb Merge pull request #15495 from wjwithagen/wip-wjw-freebsd-host-errno
core: introduce (and fix) code to pass errno to other OSes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-16 16:14:19 -05:00
Sage Weil
bdf40c546d Merge pull request #15717 from liewegas/wip-20326
qa/tasks/ceph.py: tolerate active+clean+something

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-16 16:12:20 -05:00
Sage Weil
0ed708a105 Merge pull request #15721 from majianpeng/bluestore-nodevice-nosymlink
os/bluestore/BlueStore: no device no symlink.

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-16 16:11:14 -05:00
Sage Weil
b3e2ad5d85 Merge pull request #15559 from dzafman/wip-20186
osd: Check snapset for validity when selecting authoritative shard

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-16 16:03:49 -05:00
Yuri Weinstein
cecd1af8b1 Merge pull request #15552 from TsaiJin/wip-queue-scrub-with-higher-priority
osd/OSD.h: requeue the scrub job with higher priority to shorten the blocking time of related requests

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2017-06-16 14:02:14 -07:00
Sage Weil
4f775a7267 mon/MgrStatMonitor: print PGMapDigest summary on receipt
Useful for debugging.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-16 17:01:05 -04:00
Gregory Farnum
0d97072c27 Merge pull request #15722 from dmick/master
test/osd/osd-dup.sh: use wait_for_clean

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-06-16 13:57:01 -07:00
Casey Bodley
84de9cc8a6 Merge pull request #15735 from theanalyst/rgw-uninit-atomic
rgw_rados: initialize cur_shard

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-16 16:34:03 -04:00
Casey Bodley
5e7eead3a6 Merge pull request #15524 from cbodley/wip-rgw-sync-debug-logging
rgw: raise debug level of meta sync logging

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-06-16 15:11:51 -04:00
Yehuda Sadeh
aa97368841 Merge pull request #15711 from cbodley/wip-rgw-swift-default-auth-error
rgw: fix swift default auth error after auth strategy refactoring

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-06-16 12:03:17 -07:00
Jianpeng Ma
35e75bd6cd os/bluestore/BlueStore: no device no symlink.
If bluestore_block_db_create or bluestore_block_db_create is false
and we use non-exist blockdevice as db/wal. ceph-osd still work and it
use block as db/wal. This bug introduced by 316810d7e7.

If stat(symlink) error and symlink still exist, this is bug.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-06-17 02:42:37 +08:00
Abhishek Lekshmanan
1f6dc3795c rgw_rados: initialize cur_shard
valgrind reported an uninitialized value on use of cur_shard at a few
places, so explicitly declaring this to 0 as we are incrementing this
later

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-06-16 19:39:19 +02:00
Casey Bodley
4c22420bdf Merge pull request #15678 from cbodley/wip-rgw-string-join
rgw: add variadic string join for s3 signature generation

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-06-16 13:27:01 -04:00
Casey Bodley
0aaca98112 rgw: remove debug log statements in RGWMetaSyncShardCR
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-06-16 13:25:10 -04:00
Casey Bodley
06975933da rgw: raise debug level of meta sync logging
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-06-16 13:25:10 -04:00
Casey Bodley
d6808aefd0 Merge pull request #15036 from joke-lee/master
rgw-multisite: fix the problem of rgw website configure 'RedirectAllRequestsTo' failed to sync to slave zone

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-16 13:23:08 -04:00
Orit Wasserman
e5f726c439 Merge pull request #15731 from cbodley/wip-rgw-rest-client-signature
rgw: fix rest client's order of args in get_v2_signature
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-06-16 20:22:51 +03:00
Sage Weil
b92fe4ee94 osd: do not try to boot until we've seen the first osdmap
This is actually not a change in behavior *except* we see this message
instead of

2017-06-15 18:05:29.760938 24a7f700 -1 osd.1 0 osdmap SORTBITWISE OSDMap flag is NOT set; please set it

because the OSDMap() epoch 0 does not have SORTBITWISE.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-16 12:59:39 -04:00
Casey Bodley
1097f0ae24 rgw: fix error mapping after auth strategy refactoring
the changes in bd81c216d0 inadvertently
changed swift's default auth error from EPERM to ACCESS. hacky fix to
change it back

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-06-16 11:58:54 -04:00
Casey Bodley
f8498f5b80 rgw: fix rest client's order of args in get_v2_signature
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-06-16 11:06:38 -04:00
Sage Weil
b8e37dd55a Merge pull request #15672 from liewegas/wip-bluestore-cache-ratios
os/bluestore: handle rounding error in cache ratios

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
2017-06-16 10:03:43 -05:00
Sage Weil
447791fc94 Merge pull request #15718 from ztczll/zl
os/bluestore: remove unused variables

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-06-16 10:00:30 -05:00
Sage Weil
8fc969b5b6 Merge pull request #15730 from liewegas/wip-make-check
ceph-object-corpus: mark MMDSSlaveRequest incompat change
2017-06-16 09:59:21 -05:00
Sage Weil
b1ca557e43 ceph-object-corpus: mark MMDSSlaveRequest incompat change
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-16 10:57:59 -04:00
Sage Weil
94d33248ac Merge pull request #15251 from joscollin/wip-cleanup-redundant-headers-4
common: Remove redundant includes - 4

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-06-16 08:45:29 -05:00
Sage Weil
ca4b358cd5 Merge pull request #15310 from liewegas/wip-qa-scrubs
qa/tasks/ceph: raise exceptions if scrubbing fails or cannot proceed

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-16 08:45:07 -05:00
Sage Weil
f7ede9bad1 Merge pull request #15657 from xiexingguo/wip-reshard-allocation
os/bluestore: fix potential access violation

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-06-16 08:44:34 -05:00
Sage Weil
be0bbe17bf Merge pull request #15706 from tchaikov/wip-20115
ceph-rest-api: be more tolerant on network failure

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-16 08:43:31 -05:00
Sage Weil
965392e1aa Merge pull request #15714 from liewegas/wip-20323
messages/MOSDPing: initialize MOSDPing padding

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-16 08:42:57 -05:00
Jason Dillaman
ba220e4179 Merge pull request #15561 from zy751713126/add-create-rbd-default-info
rbd: add default note info to size (create and resize)

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-06-16 09:02:02 -04:00
Jason Dillaman
7edc62d3f1 Merge pull request #15611 from tchaikov/wip-20175
test/librbd: decouple ceph_test_librbd_api from libceph-common

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-06-16 09:01:10 -04:00
Dan Mick
30efce5ba0 test/osd/osd-dup.sh: use wait_for_clean
Rather than a onetime 'ceph -s' test, which might be too early
on a loaded machine, use wait_for_clean; that's its job

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-06-15 23:14:48 -07:00
zhanglei
8ff1ab4920 os/bluestore:remove invalid statement
Signed-off-by: zhanglei <243290414@qq.com>
2017-06-15 22:51:01 -04:00
shiqi
224795d3bb test/unittest_librbd: Useless variables
Signed-off-by: shiqi <1454927420@qq.com>
2017-06-16 10:34:25 +08:00
Sage Weil
1565b86dc0 qa/tasks/ceph.py: tolerate active+clean+something
where something is, say, snaptrim.  or maybe scrubbing.
or whatever.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-15 22:29:28 -04:00
Sage Weil
9beaf5efd7 messages/MOSDPing: initialize MOSDPing padding
This memory must be initialized or else valgrind will be very unhappy.

Avoid the cost of zeroing (or even allocating) the buffer for normal
padding values by (re)using a static zero buffer.

Fixes: http://tracker.ceph.com/issues/20323
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-15 22:18:08 -04:00
Kefu Chai
84d57eb007 Merge pull request #15622 from joscollin/wip-CID1412576-divide-by-zero
mon: DIVIDE_BY_ZERO in PGMapDigest::dump_pool_stats_full()

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-16 10:04:30 +08:00
Kefu Chai
0202d5f978 Merge pull request #15596 from smithfarm/wip-copying
build/ops: rpm: package COPYING, move sample ceph.conf to ceph-common

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-16 10:03:16 +08:00
Kefu Chai
3a714e848b Merge pull request #15668 from Liuchang0812/wip-fix-mgr-dashboard
mgr/dashboard: fix type error in get_rate function

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-16 10:01:34 +08:00
Kefu Chai
765b10b5e2 Merge pull request #15650 from gmayyyha/filestore-zfs
os/filestore: zfs add get_name()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-16 10:00:02 +08:00
Kefu Chai
791856d1b7 Merge pull request #15680 from xiexingguo/wip-bluestore-20170614
os/bluestore: cleanup bluestore_types

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-16 09:59:25 +08:00