Commit Graph

74079 Commits

Author SHA1 Message Date
Daniel Bar-On
29d41af571 msg/async/rdma: remove assert from srq destroy in ~Infiniband
issue:1040242

Even though ibv_destroy_srq does not return 0, all resources
are destroyed. No need to assert.

Change-Id: I96562130d22352390f9f7f9a3e0ddbe77a82d8f4
Signed-off-by: DanielBar-On <danielbo@mellanox.com>
2017-06-18 13:26:24 +00:00
Adirl
fef4e859a1 msg/async/rdma: handle buffers after close msg
fixing an issue of OSD’s going down during recovery process while traffic
is running in the background.
fix is making sure that messages previously pulled from the cqe and are
now stored in the socket queue “buffers” will always be handled and fd
will be notified even if cqe is empty.

issue: 1025030

Change-Id: I6ced6b8ee0152e233632700ccc9ec19970e66b6a
Signed-off-by: Alexander Mikheev <alexm@mellanox.com>
Signed-off-by: Adir Lev <adirl@mellanox.com>
2017-06-18 13:16:49 +00:00
Orit Wasserman
54b916bfd8 Merge pull request #15736 from cbodley/wip-20297
rgw: forward RGWPutBucketPolicy to meta master
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-06-18 09:09:01 +03:00
Orit Wasserman
33a7fc0c3f Merge pull request #15132 from cbodley/wip-doc-rgw-remove-agent
doc/rgw: remove Federated Configuration, clean up multisite
2017-06-18 09:06:46 +03:00
Sage Weil
c994071bac Merge pull request #15658 from xiexingguo/wip-fix-reshard
os/bluestore: fix possible out of order shard(offset == 0); add sanity check

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-17 16:21:28 -05:00
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
Casey Bodley
5ea111f3c9 test/rgw: add multisite test_set_bucket_policy
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-06-16 14:44:51 -04:00
Casey Bodley
2eb86ab971 rgw: forward RGWPutBucketPolicy to meta master
Fixes: http://tracker.ceph.com/issues/20297

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-06-16 14:44:44 -04: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
3a6471a6e6 doc/rgw: update pool names, document namespaces
Fixes: http://tracker.ceph.com/issues/19504

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-06-16 13:32:11 -04:00
Casey Bodley
9cc834e1a0 doc/rgw: remove Upgrade to Older Versions of Jewel page
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-06-16 13:32:11 -04:00
Casey Bodley
cf8a3c19de doc/rgw: remove Federated Configuration page
Fixes: http://tracker.ceph.com/issues/18082

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-06-16 13:32:10 -04:00
Casey Bodley
10ab5fcff7 doc/rgw: clean up multisite config options
remove region stuff, radosgw-agent stuff, and zone/pool stuff that is
duplicated in the multisite page

moved sync log config options into multisite section, added description
for rgw_run_sync_thread

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-06-16 13:32:09 -04: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