Commit Graph

78121 Commits

Author SHA1 Message Date
Sage Weil
c1a6fe52d3 Merge pull request #17644 from Vogtinator/readme-vstart
README: Improve vstart.sh usage
2017-09-12 21:03:42 -05:00
Sage Weil
25ba984310 Merge pull request #17654 from yuyuyu101/wip-spdk-doc
doc/bluestore: add SPDK usage for bluestore

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-12 18:56:25 -05:00
Sage Weil
c959911ce2 Merge pull request #17658 from ukernel/wip-cephfs-seekdir
doc/cephfs/posix: remove stale information for seekdir

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-12 18:54:29 -05:00
Sage Weil
a98b37a7a0 Merge pull request #17669 from ygtzf/parameter-default-value-error
doc: update default value of parameter mon_subscribe_interval

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-12 18:39:14 -05:00
Sage Weil
dd84417c61 Merge pull request #17672 from FrankYu/master
doc: the client inputs the pool name instead of pool ID

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-09-12 18:36:59 -05:00
Patrick Donnelly
f48113f50f
Merge PR #17679 into master
* refs/remotes/upstream/pull/17679/head:
	qa: get asok path from ceph.conf
	qa: use config_path property instead of literal

Reviewed-by: John Spray <john.spray@redhat.com>
2017-09-12 15:56:32 -07:00
Patrick Donnelly
bc3a00af0f
qa: get asok path from ceph.conf
The asok path was recently moved to /tmp to resolve unix path too long errors.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-12 15:52:54 -07:00
Patrick Donnelly
f95798b3ad
qa: use config_path property instead of literal
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-12 15:50:33 -07:00
Tamilarasi Muthamizhan
4d8971e1c8 Merge pull request #17650 from ceph/wip-ceph-deploy-fix
qa/tests: Fix get_system_type failure due to invalid remote name
2017-09-12 15:07:24 -07:00
Mykola Golub
30c92d0a17 Merge pull request #17636 from dillaman/wip-21319
rbd: clean up warnings when mirror commands used on non-setup pool

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-09-12 21:17:19 +03:00
Frank Yu
94af0d3ea4 doc: the client inputs the pool name instead of pool ID
Signed-off-by: Frank Yu <flyxiaoyu@gmail.com>
2017-09-12 23:04:14 +08:00
Kefu Chai
985978e301 Merge pull request #13383 from wonzhq/wip-update-calc-stats
osd: change the conditional in _update_calc_stats

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-12 22:51:33 +08:00
Kefu Chai
fe9196f240 Merge pull request #17640 from tchaikov/wip-diagram-py3
doc/scripts: py3 compatible

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-09-12 21:35:13 +08:00
yaoguotao
d121f5619b doc: update default value of parameter mon_subscribe_interval
Signed-off-by: yaoguotao <yaoguot@gmail.com>
2017-09-12 05:09:10 -04:00
Kefu Chai
d254d07dba Merge pull request #17639 from tchaikov/wip-doc-ceph-disk
doc: update ceph-disk with a state-transition diagram

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-09-12 12:42:14 +08:00
David Zafman
44f51024cc Merge pull request #17538 from dzafman/wip-21272
Add export and remove ceph-objectstore-tool command option

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-11 20:12:27 -07:00
Haomai Wang
537674b786 doc/bluestore: add SPDK usage for bluestore
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-09-11 20:11:29 -07:00
Sage Weil
c54602caa4 Merge pull request #17537 from mychoxin/yuanxin_remove_submit
os/bluestore: remove useless function submit

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-09-11 21:05:25 -05:00
Yan, Zheng
f27bf0ce54 doc/cephfs/posix: remove stale information for seekdir
Current cephfs can support seekdir efficiently. The diverge was
fixed by https://github.com/ceph/ceph/pull/14317

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-09-12 09:49:34 +08:00
Alfredo Deza
e5e50f75ce Merge pull request #17606 from ceph/wip-bz1478598
ceph-volume allow filtering by `uuid`, do not require osd id 

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-09-11 15:44:42 -04:00
Alfredo Deza
ecd5af88da ceph-volume lvm.trigger just split the osd_id once
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 14:21:34 -04:00
Alfredo Deza
5392697121 ceph-volume tests catch improper parsing of osd uuid
When the osd ID existed in the UUID in the same format (e.g. '1-') the
parsing would break returning a bogus UUID that is impossible to find

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 14:21:33 -04:00
Andrew Schoen
f41d359eba tests: remove 'ceph-' prefix from test node hostnames
This updates our Vagrantfile to match the changes in ceph-ansible
introduced by https://github.com/ceph/ceph-ansible/commit/298a63c43

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-09-11 14:21:33 -04:00
Alfredo Deza
b8613c1d7b ceph-volume lvm.api PVolumes should filter by all matching tags, not just one
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 14:21:33 -04:00
Alfredo Deza
120fd6a196 ceph-volume tests pv API should also match all pv_tags
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 14:21:33 -04:00
Alfredo Deza
fe2a7106de ceph-volume tests prove all volume tags have to match in vgs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 14:21:33 -04:00
Casey Bodley
34a374048c Merge pull request #17377 from cbodley/wip-rgw-test-multi-encryption
test/rgw: fix test_encrypted_object_sync for 3+ zones

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-09-11 13:42:00 -04:00
Sage Weil
3b4a9d04be Merge pull request #17102 from mychoxin/yuanxin_print_log_if_add_event_fail
msg/async: print error log if add_event fail

Reviewed-by: Pan Liu <liupan1111@gmail.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-09-11 11:42:44 -05:00
Yuri Weinstein
cfb13b3b06 Merge pull request #16492 from yehudasa/wip-rgw-multi-log
rgw: multisite log tracing

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-09-11 08:31:04 -07:00
Yuri Weinstein
9addaba94e Merge pull request #17400 from theanalyst/fix/rgw-set-attrs-mtime
rgw: rgw_rados: set_attrs now sets the same time for BI & object

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-09-11 08:28:46 -07:00
Kefu Chai
f8cc72ff1c admon/build-doc: be compatible with py3
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-11 23:05:26 +08:00
Kefu Chai
5720c9854b doc/rados: fix the method names
otherwise, sphinx fails to run with py3

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-11 23:05:26 +08:00
Kefu Chai
fda079d5ed doc: switch to upstream sphinx-ditaa
it works with setuptools and is now compatible with py3

the py3 branch is created to track the upstream's master branch

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-11 23:05:26 +08:00
Jason Dillaman
b1644fd3fb Merge pull request #17638 from idryomov/wip-rbd-already-mapped-fixes
krbd: rewrite "already mapped" code

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-09-11 10:58:05 -04:00
Fabian Vogt
1a357143a2 README: Improve vstart.sh usage
Using long options where possible to make it easier to understand directly
and adding bluestore by default as it is the default storage backend.

Signed-off-by: Fabian Vogt <fvogt@suse.com>
2017-09-11 16:39:18 +02:00
Alfredo Deza
6d679855aa ceph-volume lvm.api all vg tags should match, not just one
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 09:08:46 -04:00
Alfredo Deza
80e401ca97 ceph-volume tests prove all tags have to match in lvs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 09:08:46 -04:00
Alfredo Deza
dbaf30c3e4 ceph-volume lvm.api all lv tags should match, not just one
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 09:08:46 -04:00
Alfredo Deza
99a8a71969 ceph-volume lvm.activate allow not using osd_id
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 09:08:45 -04:00
Alfredo Deza
8d1a1a885f ceph-volume tests prove missing args.osd_id is fine
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 09:08:45 -04:00
Alfredo Deza
d18d5e139b ceph-volume tests add is_root and lv fixtures to conftest
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 09:08:45 -04:00
Kefu Chai
965f20d8ee doc/scripts/gen_state_diagram.py: port to py3
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-11 20:51:11 +08:00
Kefu Chai
b35bf318af doc: update ceph-disk with a state transition diagram
also, quote the variabls in source code with double quote.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-11 20:44:35 +08:00
Ilya Dryomov
cce269a82f tests: update unmap.t for "already mapped" warning
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-09-11 14:18:38 +02:00
Mykola Golub
b196d38783 Merge pull request #17621 from idryomov/wip-krbd-xfstests-blockdev
qa/suites/krbd: enable xfstests blockdev tests

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-09-11 14:09:32 +03:00
Ilya Dryomov
69c6f139a7 krbd: rewrite "already mapped" code
The "already mapped" code, introduced in commit d6a66fc8f4 ("rbd:
before rbd map, warn if the image is already mapped") is broken:
because of a use-after-free on attribute strings, the warning isn't
even printed half the time.

Rewrite making use of udev enumeration filters and fix the interface
while at it.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-09-11 11:34:25 +02:00
Vasu Kulkarni
9fe58d5ed6 Fix get_system_type failure due to invalid remote name
recent changes caused the remote name to be invalid, fix the
arg passed to get_system_type

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-10 12:42:16 -07:00
Sage Weil
2809fbf142 Merge pull request #17453 from kungf/eversion_t_opt_max
osd_types: define max in eversion_t::max() to static

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-10 14:21:39 -05:00
Sage Weil
14e783c0b9 Merge pull request #17571 from jcsp/wip-21260
mon: fix dropping mgr metadata for active mgr (#21260)

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-10 14:20:30 -05:00
Sage Weil
bd2569b38c Merge pull request #17572 from xiexingguo/wip-os-tool
tools/ceph_objectstore_tool: fix 'dup' unable to duplicate meta PG

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-10 14:18:37 -05:00