Commit Graph

50166 Commits

Author SHA1 Message Date
Mykola Golub
1a6dfa4621 rbd-mirror: store sync snapshot name in registered client
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-23 09:25:37 +02:00
Mykola Golub
79dcef2794 librbd: add field to MirrorPeerClientMeta to store snap name
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-23 09:25:31 +02:00
Mykola Golub
e92b45278c rbd-mirror: ImageReplayer: pass registered client ID as external param
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-23 09:25:20 +02:00
Loic Dachary
4bb184f1e3 Merge pull request #7687 from yangdongsheng/ceph-disk_nargs
ceph-disk: make some arguments as required if necessary

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-02-23 12:08:46 +07:00
Sage Weil
e9a4cd13ad Merge pull request #7640 from batrick/vstart-btrfs-missing
vstart.sh: silence a harmless msg where btrfs is not found

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-22 21:59:28 -05:00
Jason Dillaman
89764124b3 Merge pull request #7737 from trociny/wip-librados_test_stub-debug
test: more debug logging for TestWatchNotify

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-22 12:37:33 -05:00
Sage Weil
b9a4b977a3 Merge pull request #7714 from SUSE/wip-qa-typo
doc: standardize @param (not @parma, @parmam, @params)

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-02-22 12:36:42 -05:00
Jason Dillaman
289403df3c Merge pull request #7738 from trociny/test-librbd-poolname
test: create pools for rbd tests with different prefix

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-22 12:36:01 -05:00
Sage Weil
dd478ffeff Merge pull request #7727 from jmunhoz/ceph-fix-14829
vstart.sh: avoid race condition starting rgw via vstart.sh

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-22 12:29:47 -05:00
Jason Dillaman
93f255c988 Merge pull request #7614 from trociny/wip-rbd-mirroring-image-reply
rbd-mirror: implement ImageReplayer

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-22 11:47:49 -05:00
Loic Dachary
ebc7a92f18 Merge pull request #7744 from dachary/wip-14838-ceph-disk-dmcrypt
ceph-disk: s/dmcrpyt/dmcrypt/

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2016-02-22 23:07:35 +07:00
Loic Dachary
ef6aafa854 ceph-disk: s/dmcrpyt/dmcrypt/
http://tracker.ceph.com/issues/14838 Fixes: #14838

Signed-off-by: Frode Sandholtbraaten <fsa@basefarm.no>
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-02-22 23:02:46 +07:00
Radoslaw Zarzynski
a7a5cf2b91 rgw: return proper error codes in S3/Keystone auth.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-02-22 16:24:25 +01:00
Radoslaw Zarzynski
19843ce2b5 rgw: enable users of RGWHTTPClient to get HTTP status code.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-02-22 16:24:25 +01:00
Radoslaw Zarzynski
7186d1cbbb rgw: improve debugs around S3/Keystone auth mechanism.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-02-22 16:16:45 +01:00
Kefu Chai
838b367529 Merge pull request #7688 from tchaikov/wip-14788
buffer: hide iterator_impl symbols

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-22 22:42:41 +08:00
Mykola Golub
83da093637 test: create pools for rbd tests with different prefix
This makes easier to find out what test fails to cleanup.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-22 09:37:36 +02:00
xie xingguo
4d26000bc2 OSD: put a guard for updating heartbeat peers
As get_next_up_osd_after() and get_previous_up_osd_before() may refer to the same
osd, so we need to put a guard in case we try to add the same osd into want.
Note that the STL set can handle the above case, so this commit should be only
considered as cleanup, not a big deal.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-22 15:23:14 +08:00
xie xingguo
67b2744b24 OSD: fix typo
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-22 14:35:51 +08:00
Loic Dachary
b8131f893a Merge pull request #7723 from tchaikov/wip-rgw-test
test/radosgw-admin: update the expected usage outputs

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-02-22 12:44:14 +07:00
Haomai Wang
ad44b5eacb test_rados_watch_notify: add async_watch_flush tests
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-22 09:27:33 +08:00
xie xingguo
e17a0c0473 OSD: shutdown OSDService in a more graceful way
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-22 09:11:41 +08:00
Nathan Cutler
a1f20db5e6 ceph_detect_init/__init__.py: remove shebang
This file is installed with permissions 644, making the shebang
redundant and causing RPMLINT to complain.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-02-21 21:06:01 +01:00
Kefu Chai
847c3eba41 Merge pull request #7647 from yuyuyu101/wip-spdk
NVMEDevice: refactor probe/attach codes and support zero command

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-21 19:30:25 +08:00
Mykola Golub
8d27e99b0a test: more debug for TestWatchNotify
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-21 13:10:52 +02:00
Haomai Wang
4c0f6a3b9a NVMEDevice: accept spdk api name changes
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:43:02 +08:00
Haomai Wang
4602f1ba8a spdk: update spdk submodule to accept new interface changes
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:38:11 +08:00
Haomai Wang
feaa457336 NVMEDevice: add default constructor for Task and clean up
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:33:24 +08:00
Haomai Wang
7ef2f4aab3 NVMEDevice: only activate zero command when backend supported
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:30:55 +08:00
Haomai Wang
b5cdc33250 BlockDevice: detect symbol file basename
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:27:10 +08:00
Haomai Wang
d208668d57 BlueStore: fix spdk link file create failed
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:23:54 +08:00
Haomai Wang
84a36a0a29 NVMEDevice: fix atomic and lock changes
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:23:46 +08:00
Haomai Wang
4f868ee49e NVMEDevice: use nvme_probe to simply init
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:22:12 +08:00
Haomai Wang
61ef7d4ea0 spdk: update spdk submodule
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:18:52 +08:00
Haomai Wang
525927044b NVMEDevice: use nvme zero command instead of writing zero
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:18:37 +08:00
Haomai Wang
398e331ea9 NVMEDevice: cleanup task iterator process
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:16:18 +08:00
Javier M. Mellid
809189b4c8 vstart.sh: avoid race condition starting rgw via vstart.sh
In slow environments running vstart.sh hits a race condition setting up
the rgw server. Creating the S3 and Swift users before booting rgw
avoids the issue.

Fixes: #14829

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-02-20 17:33:21 +00:00
Kefu Chai
cf8483f906 test/radosgw-admin: update the expected usage outputs
to match with the latest radosgw-admin changes.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-20 16:58:16 +08:00
Mykola Golub
cc4b73b3f5 test: rbd-mirror: add tool to test ImageReplayer
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-20 10:05:13 +02:00
Mykola Golub
f829186726 test: rbd-mirror: add ImageReplayer tests
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-20 10:05:13 +02:00
Mykola Golub
b3990a153a rbd-mirror: implement ImageReplayer
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-20 10:05:13 +02:00
Haomai Wang
afdc3ccded librados: add async_watch_flush api
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-20 14:37:23 +08:00
Haomai Wang
b651dd7ee6 RadosClient: add async watch_flush version
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-20 14:37:22 +08:00
Haomai Wang
f5d8da6247 Objecter: make linger_callback_flush accept context instead of blocking
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-20 14:37:03 +08:00
Haomai Wang
f977f0ab96 librados: add C api impl and tracing codes
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-20 14:22:44 +08:00
Haomai Wang
f04c96cd7c librados: remove unused variables
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-20 14:22:44 +08:00
Haomai Wang
2be574afd0 test: add aio_unwatch unittest
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-20 14:22:44 +08:00
Haomai Wang
28ac263865 librados: support aio_unwatch api
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-20 14:22:44 +08:00
Haomai Wang
569b121391 librados: add unittest for rados aio watch
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-20 14:22:44 +08:00
Haomai Wang
87e715c5db librados: add async watch api
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-20 14:22:03 +08:00