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
lu.shasha
dcef8555e1
rgw: LCFilter_S3::to_xml the second "prefix" missed "/"
...
Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
2017-09-12 11:19:44 +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
amitkuma
bc4254ebf2
messages: Initialization of variable beat
...
Fixes the coverity issue:
** 717278 Uninitialized scalar field
CID 717278 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member beat is not
initialized in this constructor nor in any functions that it calls.
Signed-off-by: Amit Kumar <amitkuma@redhat.com>
2017-09-12 00:09:00 +05:30
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
yuliyang
b25212ab23
rgw: return 'Access-Control-Allow-Origin' header when the set and delete bucket website through XMLHttpRequest
...
Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
2017-09-11 16:32:33 +08:00
yuliyang
6393af9bf3
rgw: return 'Access-Control-Allow-Origin' header when the set bucket versioning through XMLHttpRequest
...
Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
2017-09-11 15:28:30 +08: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
Sage Weil
745ed76164
Merge pull request #17585 from jdurgin/wip-recovery-delete-encoding-master
...
MOSDPGRecoveryDelete[Reply]: bump header version
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-10 14:18:13 -05:00
Sage Weil
5a3133bf18
Merge pull request #17588 from kungf/aio_submit_size_change
...
os/bluestore: shrink aio submit size to pending value
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-10 14:17:48 -05:00
Sage Weil
04c0044be0
Merge pull request #17599 from tchaikov/wip-encoding-optional
...
encoding: reset optional<> if it is uninitialized
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-10 14:17:32 -05:00
Sage Weil
fbeea651e3
Merge pull request #17600 from jecluis/wip-21309
...
mon/OSDMonitor: don't create pgs if pool was deleted
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-10 14:17:00 -05:00
Ilya Dryomov
9e9598dbf4
krbd: factor out enumerate_devices()
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-09-10 20:01:31 +02:00
Sage Weil
f34821c7bd
Merge pull request #17298 from xiexingguo/wip-pg-null-obc-access
...
osd/PrimaryLogPG: maybe_handle_manifest_detail - sanity check obc existence
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
2017-09-09 15:02:08 -05:00