]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agovstart.sh: simplify the objectstore related logic 17749/head
Kefu Chai [Fri, 15 Sep 2017 04:42:48 +0000 (12:42 +0800)]
vstart.sh: simplify the objectstore related logic

also avoid overriding --memstore specified by command line with
the default "bluestore"

Reported-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #17689 into master
Patrick Donnelly [Thu, 14 Sep 2017 01:29:20 +0000 (18:29 -0700)]
Merge PR #17689 into master

* refs/remotes/upstream/pull/17689/head:
ceph: fix "stopping mds can't export subtree"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #17545 into master
Patrick Donnelly [Thu, 14 Sep 2017 01:29:18 +0000 (18:29 -0700)]
Merge PR #17545 into master

* refs/remotes/upstream/pull/17545/head:
client: fix request reference leak

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
7 years agoMerge pull request #17700 from cbodley/wip-qa-smoke-s3tests
vasukulkarni [Thu, 14 Sep 2017 00:44:24 +0000 (17:44 -0700)]
Merge pull request #17700 from cbodley/wip-qa-smoke-s3tests

qa/smoke: add rgw crypto config for s3tests

7 years agoMerge PR #17608 into master
Patrick Donnelly [Wed, 13 Sep 2017 20:37:57 +0000 (13:37 -0700)]
Merge PR #17608 into master

* refs/remotes/upstream/pull/17608/head:
doc/cephfs/posix: put posix notes in perspective

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #17641 from amitkumar50/cov-messages-12
Yuri Weinstein [Wed, 13 Sep 2017 19:57:45 +0000 (12:57 -0700)]
Merge pull request #17641 from amitkumar50/cov-messages-12

messages: Initialization of variable beat

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #10460 from weiqiaomiao/wqm-wip-rgw-dellc
Yuri Weinstein [Wed, 13 Sep 2017 15:30:03 +0000 (08:30 -0700)]
Merge pull request #10460 from weiqiaomiao/wqm-wip-rgw-dellc

rgw: add tenant to shard_id in RGWDeleteLC::execute()

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
7 years agoMerge pull request #17061 from shashalu/fix-rgw-lc
Yuri Weinstein [Wed, 13 Sep 2017 15:28:24 +0000 (08:28 -0700)]
Merge pull request #17061 from shashalu/fix-rgw-lc

rgw: fix lc process only schdule the first item of lc objects

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: fang.yuxiang <fang.yuxiang@eisoo.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agoqa/smoke: add rgw crypto config for s3tests 17700/head
Casey Bodley [Wed, 13 Sep 2017 15:20:51 +0000 (11:20 -0400)]
qa/smoke: add rgw crypto config for s3tests

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #17631 from joke-lee/RGW-CORS-Access-Control-Allow-Origin-HEADER
Yuri Weinstein [Wed, 13 Sep 2017 15:20:38 +0000 (08:20 -0700)]
Merge pull request #17631 from joke-lee/RGW-CORS-Access-Control-Allow-Origin-HEADER

rgw: return 'Access-Control-Allow-Origin' header when the set bucket versioning through XMLHttpRequest

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #17632 from joke-lee/RGW-CORS-Access-Control-Allow-Origin-HEADER...
Yuri Weinstein [Wed, 13 Sep 2017 15:20:17 +0000 (08:20 -0700)]
Merge pull request #17632 from joke-lee/RGW-CORS-Access-Control-Allow-Origin-HEADER-WEBSITE

rgw: return 'Access-Control-Allow-Origin' header when the set and delete bucket website through XMLHttpRequest

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #17663 from shashalu/fix-rgw-LCFilter
Yuri Weinstein [Wed, 13 Sep 2017 15:19:33 +0000 (08:19 -0700)]
Merge pull request #17663 from shashalu/fix-rgw-LCFilter

rgw: Fix closing tag for Prefix

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #17543 from iliul/fix-dup-global-section
Sage Weil [Wed, 13 Sep 2017 14:38:19 +0000 (09:38 -0500)]
Merge pull request #17543 from iliul/fix-dup-global-section

vstart.sh: Remove duplicate global section

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agovstart.sh: Remove duplicate global section 17543/head
iliul [Thu, 7 Sep 2017 07:31:17 +0000 (07:31 +0000)]
vstart.sh: Remove duplicate global section

Signed-off-by: iliul <liul124@chinaunicom.cn>
7 years agoMerge pull request #17544 from joelin/wip-delete-forgot-mark
Sage Weil [Wed, 13 Sep 2017 13:19:26 +0000 (08:19 -0500)]
Merge pull request #17544 from joelin/wip-delete-forgot-mark

msg: remove the ),it's redundant.

Reviewed-by: Adam Emerson <aemerson@redhat.com>
7 years agoMerge pull request #17515 from xiexingguo/wip-data-digest
Xie Xingguo [Wed, 13 Sep 2017 10:31:10 +0000 (18:31 +0800)]
Merge pull request #17515 from xiexingguo/wip-data-digest

osd/PrimaryLogPG: do not set data digest for bluestore

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17366 from smithfarm/wip-21176
Nathan Cutler [Wed, 13 Sep 2017 07:05:01 +0000 (09:05 +0200)]
Merge pull request #17366 from smithfarm/wip-21176

build/ops: python-numpy-devel build dependency for SUSE

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Ewaznazari <Nazari@keyinternational.academy>
7 years agoMerge pull request #17685 from ygtzf/HashIndex-clerical-error
Jos Collin [Wed, 13 Sep 2017 05:29:35 +0000 (05:29 +0000)]
Merge pull request #17685 from ygtzf/HashIndex-clerical-error

os/filestore/HashIndex.h: fixed a typo in comment

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #17688 from TsaiJin/wip-fix-assert-bug
Haomai Wang [Wed, 13 Sep 2017 05:25:26 +0000 (22:25 -0700)]
Merge pull request #17688 from TsaiJin/wip-fix-assert-bug

msg/asyc/rmda: fix the bug of assert when Infiniband::recv_msg receives disconnect message

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoosd/osd_types.h: default to no data/omap digest for new object 17515/head
xie xingguo [Wed, 6 Sep 2017 02:25:02 +0000 (10:25 +0800)]
osd/osd_types.h: default to no data/omap digest for new object

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoosd/PrimaryLogPG: do not generate data digest for BlueStore by default
xie xingguo [Tue, 5 Sep 2017 12:56:32 +0000 (20:56 +0800)]
osd/PrimaryLogPG: do not generate data digest for BlueStore by default

BlueStore enables CRC by default, so this is a dup and gains
no more benefits.

Turn this off by default, which is good for performance.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoceph: fix "stopping mds can't export subtree" 17689/head
Yan, Zheng [Wed, 13 Sep 2017 03:27:18 +0000 (11:27 +0800)]
ceph: fix "stopping mds can't export subtree"

caused by commit
790c34138f "Make standby-replay mds avoid initiating subtree export"

Fixes: http://tracker.ceph.com/issues/21378
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agoMerge pull request #17687 from yonghengdexin735/wip-zzz-error
Jos Collin [Wed, 13 Sep 2017 03:39:23 +0000 (03:39 +0000)]
Merge pull request #17687 from yonghengdexin735/wip-zzz-error

common: fix typo deamon in comments

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agomsg/asyc/rmda: fix the bug of assert when Infiniband::recv_msg receives 17688/head
Jin Cai [Wed, 13 Sep 2017 02:32:08 +0000 (10:32 +0800)]
msg/asyc/rmda: fix the bug of assert when Infiniband::recv_msg receives
disconnect message

Signed-off-by: Jin Cai <caijin.caij@alibaba-inc.com>
7 years agocommon:fix error word 17687/head
yonghengdexin735 [Wed, 13 Sep 2017 02:22:08 +0000 (10:22 +0800)]
common:fix error word

Signed-off-by: yonghengdexin735 <zhang.zezhu@zte.com.cn>
7 years agoMerge pull request #17613 from smithfarm/wip-12056
Sage Weil [Wed, 13 Sep 2017 02:12:50 +0000 (21:12 -0500)]
Merge pull request #17613 from smithfarm/wip-12056

doc: document include/ipaddr.h

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17644 from Vogtinator/readme-vstart
Sage Weil [Wed, 13 Sep 2017 02:03:42 +0000 (21:03 -0500)]
Merge pull request #17644 from Vogtinator/readme-vstart

README: Improve vstart.sh usage

7 years agoos/filestore/HashIndex.h: fixed a clerical error 17685/head
yaoguotao [Wed, 13 Sep 2017 01:59:53 +0000 (21:59 -0400)]
os/filestore/HashIndex.h: fixed a clerical error

Signed-off-by: yaoguotao <yaoguot@gmail.com>
7 years agoMerge pull request #17654 from yuyuyu101/wip-spdk-doc
Sage Weil [Tue, 12 Sep 2017 23:56:25 +0000 (18:56 -0500)]
Merge pull request #17654 from yuyuyu101/wip-spdk-doc

doc/bluestore: add SPDK usage for bluestore

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17658 from ukernel/wip-cephfs-seekdir
Sage Weil [Tue, 12 Sep 2017 23:54:29 +0000 (18:54 -0500)]
Merge pull request #17658 from ukernel/wip-cephfs-seekdir

doc/cephfs/posix: remove stale information for seekdir

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17669 from ygtzf/parameter-default-value-error
Sage Weil [Tue, 12 Sep 2017 23:39:14 +0000 (18:39 -0500)]
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>
7 years agoMerge pull request #17672 from FrankYu/master
Sage Weil [Tue, 12 Sep 2017 23:36:59 +0000 (18:36 -0500)]
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>
7 years agoMerge PR #17679 into master
Patrick Donnelly [Tue, 12 Sep 2017 22:56:32 +0000 (15:56 -0700)]
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>
7 years agoqa: get asok path from ceph.conf 17679/head
Patrick Donnelly [Tue, 12 Sep 2017 22:51:30 +0000 (15:51 -0700)]
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>
7 years agoqa: use config_path property instead of literal
Patrick Donnelly [Tue, 12 Sep 2017 22:50:33 +0000 (15:50 -0700)]
qa: use config_path property instead of literal

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #17650 from ceph/wip-ceph-deploy-fix
Tamilarasi Muthamizhan [Tue, 12 Sep 2017 22:07:24 +0000 (15:07 -0700)]
Merge pull request #17650 from ceph/wip-ceph-deploy-fix

qa/tests: Fix get_system_type failure due to invalid remote name

7 years agoMerge pull request #17636 from dillaman/wip-21319
Mykola Golub [Tue, 12 Sep 2017 18:17:19 +0000 (21:17 +0300)]
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>
7 years agodoc: the client inputs the pool name instead of pool ID 17672/head
Frank Yu [Tue, 12 Sep 2017 15:04:14 +0000 (23:04 +0800)]
doc: the client inputs the pool name instead of pool ID

Signed-off-by: Frank Yu <flyxiaoyu@gmail.com>
7 years agoMerge pull request #13383 from wonzhq/wip-update-calc-stats
Kefu Chai [Tue, 12 Sep 2017 14:51:33 +0000 (22:51 +0800)]
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>
7 years agoMerge pull request #17640 from tchaikov/wip-diagram-py3
Kefu Chai [Tue, 12 Sep 2017 13:35:13 +0000 (21:35 +0800)]
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>
7 years agodoc: update default value of parameter mon_subscribe_interval 17669/head
yaoguotao [Tue, 12 Sep 2017 09:09:10 +0000 (05:09 -0400)]
doc: update default value of parameter mon_subscribe_interval

Signed-off-by: yaoguotao <yaoguot@gmail.com>
7 years agoMerge pull request #17639 from tchaikov/wip-doc-ceph-disk
Kefu Chai [Tue, 12 Sep 2017 04:42:14 +0000 (12:42 +0800)]
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>
7 years agorgw: LCFilter_S3::to_xml the second "prefix" missed "/" 17663/head
lu.shasha [Tue, 12 Sep 2017 03:19:44 +0000 (11:19 +0800)]
rgw: LCFilter_S3::to_xml the second "prefix" missed "/"

Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
7 years agoMerge pull request #17538 from dzafman/wip-21272
David Zafman [Tue, 12 Sep 2017 03:12:27 +0000 (20:12 -0700)]
Merge pull request #17538 from dzafman/wip-21272

Add export and remove ceph-objectstore-tool command option

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agodoc/bluestore: add SPDK usage for bluestore 17654/head
Haomai Wang [Mon, 11 Sep 2017 21:57:34 +0000 (14:57 -0700)]
doc/bluestore: add SPDK usage for bluestore

Signed-off-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #17537 from mychoxin/yuanxin_remove_submit
Sage Weil [Tue, 12 Sep 2017 02:05:25 +0000 (21:05 -0500)]
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>
7 years agodoc/cephfs/posix: remove stale information for seekdir 17658/head
Yan, Zheng [Tue, 12 Sep 2017 01:46:10 +0000 (09:46 +0800)]
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>
7 years agoMerge pull request #17606 from ceph/wip-bz1478598
Alfredo Deza [Mon, 11 Sep 2017 19:44:42 +0000 (15:44 -0400)]
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>
7 years agomessages: Initialization of variable beat 17641/head
amitkuma [Mon, 11 Sep 2017 18:39:00 +0000 (00:09 +0530)]
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>
7 years agoceph-volume lvm.trigger just split the osd_id once 17606/head
Alfredo Deza [Mon, 11 Sep 2017 16:32:08 +0000 (12:32 -0400)]
ceph-volume lvm.trigger just split the osd_id once

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests catch improper parsing of osd uuid
Alfredo Deza [Mon, 11 Sep 2017 16:30:34 +0000 (12:30 -0400)]
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>
7 years agotests: remove 'ceph-' prefix from test node hostnames
Andrew Schoen [Fri, 8 Sep 2017 20:32:15 +0000 (15:32 -0500)]
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>
7 years agoceph-volume lvm.api PVolumes should filter by all matching tags, not just one
Alfredo Deza [Fri, 8 Sep 2017 16:25:57 +0000 (12:25 -0400)]
ceph-volume lvm.api PVolumes should filter by all matching tags, not just one

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests pv API should also match all pv_tags
Alfredo Deza [Fri, 8 Sep 2017 16:25:31 +0000 (12:25 -0400)]
ceph-volume tests pv API should also match all pv_tags

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests prove all volume tags have to match in vgs
Alfredo Deza [Fri, 8 Sep 2017 15:47:09 +0000 (11:47 -0400)]
ceph-volume tests prove all volume tags have to match in vgs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #17377 from cbodley/wip-rgw-test-multi-encryption
Casey Bodley [Mon, 11 Sep 2017 17:42:00 +0000 (13:42 -0400)]
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>
7 years agoMerge pull request #17102 from mychoxin/yuanxin_print_log_if_add_event_fail
Sage Weil [Mon, 11 Sep 2017 16:42:44 +0000 (11:42 -0500)]
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>
7 years agoMerge pull request #16492 from yehudasa/wip-rgw-multi-log
Yuri Weinstein [Mon, 11 Sep 2017 15:31:04 +0000 (08:31 -0700)]
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>
7 years agoMerge pull request #17400 from theanalyst/fix/rgw-set-attrs-mtime
Yuri Weinstein [Mon, 11 Sep 2017 15:28:46 +0000 (08:28 -0700)]
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>
7 years agoadmon/build-doc: be compatible with py3 17640/head
Kefu Chai [Mon, 11 Sep 2017 13:53:57 +0000 (21:53 +0800)]
admon/build-doc: be compatible with py3

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agodoc/rados: fix the method names
Kefu Chai [Mon, 11 Sep 2017 12:46:53 +0000 (20:46 +0800)]
doc/rados: fix the method names

otherwise, sphinx fails to run with py3

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: switch to upstream sphinx-ditaa
Kefu Chai [Mon, 11 Sep 2017 13:54:33 +0000 (21:54 +0800)]
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>
7 years agoMerge pull request #17638 from idryomov/wip-rbd-already-mapped-fixes
Jason Dillaman [Mon, 11 Sep 2017 14:58:06 +0000 (10:58 -0400)]
Merge pull request #17638 from idryomov/wip-rbd-already-mapped-fixes

krbd: rewrite "already mapped" code

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoREADME: Improve vstart.sh usage 17644/head
Fabian Vogt [Mon, 11 Sep 2017 14:39:18 +0000 (16:39 +0200)]
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>
7 years agoceph-volume lvm.api all vg tags should match, not just one
Alfredo Deza [Fri, 8 Sep 2017 15:46:34 +0000 (11:46 -0400)]
ceph-volume lvm.api all vg tags should match, not just one

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests prove all tags have to match in lvs
Alfredo Deza [Thu, 7 Sep 2017 21:00:22 +0000 (17:00 -0400)]
ceph-volume tests prove all tags have to match in lvs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.api all lv tags should match, not just one
Alfredo Deza [Thu, 7 Sep 2017 20:59:53 +0000 (16:59 -0400)]
ceph-volume lvm.api all lv tags should match, not just one

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.activate allow not using osd_id
Alfredo Deza [Thu, 7 Sep 2017 20:56:55 +0000 (16:56 -0400)]
ceph-volume lvm.activate allow not using osd_id

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests prove missing args.osd_id is fine
Alfredo Deza [Thu, 7 Sep 2017 20:54:19 +0000 (16:54 -0400)]
ceph-volume tests prove missing args.osd_id is fine

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests add is_root and lv fixtures to conftest
Alfredo Deza [Thu, 7 Sep 2017 20:51:43 +0000 (16:51 -0400)]
ceph-volume tests add is_root and lv fixtures to conftest

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/scripts/gen_state_diagram.py: port to py3
Kefu Chai [Mon, 11 Sep 2017 12:50:35 +0000 (20:50 +0800)]
doc/scripts/gen_state_diagram.py: port to py3

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: update ceph-disk with a state transition diagram 17639/head
Kefu Chai [Mon, 11 Sep 2017 12:44:28 +0000 (20:44 +0800)]
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>
7 years agotests: update unmap.t for "already mapped" warning 17638/head
Ilya Dryomov [Thu, 7 Sep 2017 14:05:20 +0000 (16:05 +0200)]
tests: update unmap.t for "already mapped" warning

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoMerge pull request #17621 from idryomov/wip-krbd-xfstests-blockdev
Mykola Golub [Mon, 11 Sep 2017 11:09:32 +0000 (14:09 +0300)]
Merge pull request #17621 from idryomov/wip-krbd-xfstests-blockdev

qa/suites/krbd: enable xfstests blockdev tests

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
7 years agokrbd: rewrite "already mapped" code
Ilya Dryomov [Thu, 7 Sep 2017 14:05:20 +0000 (16:05 +0200)]
krbd: rewrite "already mapped" code

The "already mapped" code, introduced in commit d6a66fc8f49b ("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>
7 years agorgw: return 'Access-Control-Allow-Origin' header when the set and delete bucket websi... 17632/head
yuliyang [Mon, 11 Sep 2017 08:22:55 +0000 (16:22 +0800)]
rgw: return 'Access-Control-Allow-Origin' header when the set and delete bucket website through XMLHttpRequest

Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
7 years agorgw: return 'Access-Control-Allow-Origin' header when the set bucket versioning throu... 17631/head
yuliyang [Mon, 11 Sep 2017 07:28:30 +0000 (15:28 +0800)]
rgw: return 'Access-Control-Allow-Origin' header when the set bucket versioning through XMLHttpRequest

Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
7 years agoFix get_system_type failure due to invalid remote name 17650/head
Vasu Kulkarni [Sun, 10 Sep 2017 19:42:16 +0000 (12:42 -0700)]
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>
7 years agoMerge pull request #17453 from kungf/eversion_t_opt_max
Sage Weil [Sun, 10 Sep 2017 19:21:39 +0000 (14:21 -0500)]
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>
7 years agoMerge pull request #17571 from jcsp/wip-21260
Sage Weil [Sun, 10 Sep 2017 19:20:30 +0000 (14:20 -0500)]
Merge pull request #17571 from jcsp/wip-21260

mon: fix dropping mgr metadata for active mgr (#21260)

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17572 from xiexingguo/wip-os-tool
Sage Weil [Sun, 10 Sep 2017 19:18:37 +0000 (14:18 -0500)]
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>
7 years agoMerge pull request #17585 from jdurgin/wip-recovery-delete-encoding-master
Sage Weil [Sun, 10 Sep 2017 19:18:13 +0000 (14:18 -0500)]
Merge pull request #17585 from jdurgin/wip-recovery-delete-encoding-master

MOSDPGRecoveryDelete[Reply]: bump header version

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17588 from kungf/aio_submit_size_change
Sage Weil [Sun, 10 Sep 2017 19:17:48 +0000 (14:17 -0500)]
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>
7 years agoMerge pull request #17599 from tchaikov/wip-encoding-optional
Sage Weil [Sun, 10 Sep 2017 19:17:32 +0000 (14:17 -0500)]
Merge pull request #17599 from tchaikov/wip-encoding-optional

encoding: reset optional<> if it is uninitialized

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17600 from jecluis/wip-21309
Sage Weil [Sun, 10 Sep 2017 19:17:00 +0000 (14:17 -0500)]
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>
7 years agokrbd: factor out enumerate_devices()
Ilya Dryomov [Thu, 7 Sep 2017 14:05:20 +0000 (16:05 +0200)]
krbd: factor out enumerate_devices()

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoMerge pull request #17298 from xiexingguo/wip-pg-null-obc-access
Sage Weil [Sat, 9 Sep 2017 20:02:08 +0000 (15:02 -0500)]
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>
7 years agoMerge pull request #17559 from dillaman/wip-21181
Mykola Golub [Sat, 9 Sep 2017 08:23:57 +0000 (11:23 +0300)]
Merge pull request #17559 from dillaman/wip-21181

qa/workunits/rbd: relax greps to support upgrade formatting change

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
7 years agodoc: document include/ipaddr.h 17613/head
Nathan Cutler [Sat, 9 Sep 2017 07:33:27 +0000 (09:33 +0200)]
doc: document include/ipaddr.h

Fixes: http://tracker.ceph.com/issues/12056
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #17324 from smithfarm/wip-rbd-symlink
Kefu Chai [Sat, 9 Sep 2017 04:12:08 +0000 (12:12 +0800)]
Merge pull request #17324 from smithfarm/wip-rbd-symlink

build/ops: rpm: drop legacy librbd.so.1 symlink in /usr/lib64/qemu

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Ademar de Souza Reis Jr <areis@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
7 years agoMerge pull request #17512 from tchaikov/wip-chmod-x
Kefu Chai [Sat, 9 Sep 2017 04:09:59 +0000 (12:09 +0800)]
Merge pull request #17512 from tchaikov/wip-chmod-x

common,mon,osd,pybind: silence warning and remove executable mode bit

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
7 years agoMerge pull request #17539 from tchaikov/wip-21204
Kefu Chai [Sat, 9 Sep 2017 04:08:18 +0000 (12:08 +0800)]
Merge pull request #17539 from tchaikov/wip-21204

mon,option: set default value for mon_dns_srv_name

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17549 from iliul/fix-texttable-align
Kefu Chai [Sat, 9 Sep 2017 04:07:38 +0000 (12:07 +0800)]
Merge pull request #17549 from iliul/fix-texttable-align

tools: Modify "rados df" header's alignment

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoceph-objectstore-tool: Make pg removal require --force 17538/head
David Zafman [Sat, 9 Sep 2017 00:53:07 +0000 (17:53 -0700)]
ceph-objectstore-tool: Make pg removal require --force

Add new export-remove to combine the 2 operations

Fixes: http://tracker.ceph.com/issues/21272
Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoceph-objectstore-tool: Better messages for bad --journal-path
David Zafman [Sat, 9 Sep 2017 00:09:48 +0000 (17:09 -0700)]
ceph-objectstore-tool: Better messages for bad --journal-path

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Fix ceph-objectstore-tool test for standalone and latest code
David Zafman [Thu, 7 Sep 2017 03:41:50 +0000 (20:41 -0700)]
test: Fix ceph-objectstore-tool test for standalone and latest code

vstart.sh now defaults to bluestore, so specify filestore
Set environment for run-standalone.sh and cmake build
Create td/cot_dir as test directory
Crush output format change
Change dir into test directory
Give a little time after pool creation
Check for core files as ceph-helpers.sh does

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Move ceph-objectstore-tool test to standalone
David Zafman [Thu, 7 Sep 2017 03:40:37 +0000 (20:40 -0700)]
test: Move ceph-objectstore-tool test to standalone

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #17096 from ceph/wip-ansbile-fixes
Tamilarasi Muthamizhan [Fri, 8 Sep 2017 21:47:12 +0000 (14:47 -0700)]
Merge pull request #17096 from ceph/wip-ansbile-fixes

[qa/tests]: misc ceph-ansible fixes and udpate

7 years agorbd: mirror "get" actions now have cleaner error messages 17636/head
Jason Dillaman [Fri, 8 Sep 2017 20:43:58 +0000 (16:43 -0400)]
rbd: mirror "get" actions now have cleaner error messages

Fixes: http://tracker.ceph.com/issues/21319
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17513 from Liuchang0812/wip-max-avail-in-df
Yuri Weinstein [Fri, 8 Sep 2017 20:41:07 +0000 (13:41 -0700)]
Merge pull request #17513 from Liuchang0812/wip-max-avail-in-df

mon: incorrect MAX AVAIL in "ceph df"

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>